Category Archives: News

Shared items and notes from my feeds and browsing. Subscribe as feed.

Donkey Kong Country 2 and open bus

Source: OSNews

Article note: Neat! It's a lovely, engaging, easily understood "Memory vs. Immediate" example, "Programming is like writing, where one punctuation mark out of place on page 126 renders the whole thing nonsense" story, AND an "Undefined behavior be wild" story, wrapped into one. I might use this as an example with my embedded class in the future.

Apparently, Donkey Kong Country 2 has runs into a bug in the old SNES emulator ZSNES, where one of the barrels that you’re supposed to be able to precisely control the spinning direction of ends up spinning forever.

This bug is caused by ZSNES not emulating open bus behavior. I believe this was originally discovered by Anomie roughly two decades ago, who subsequently fixed the same bug in Snes9x. This original fix hardcoded the specific addresses to return the values that the game depends on rather than properly emulating open bus, but it fixed DKC2 and probably didn’t break anything else. The bug was never fixed in ZSNES, which is now a long abandoned project (last release in 2007).

Purely out of curiosity, I wanted to dig into this a little more to figure out what exactly in the game code causes these barrels to spin forever in an emulator that doesn’t emulate open bus behavior.

↫ jsgroth

Just in case you’ve always wanted to know.

Posted in News | Leave a comment

Wayback: experimental layer to run X desktop environments on Wayland

Source: OSNews

Article note: Interesting, it's not just "of course you can do that with rootful xwyaland", this project is aiming to be _just_ enough Wayland compositor and plumbing to launch a full screen rootful xwayland instance, so you can just use xwayland as your X server for running a whole X11-based environment, with all the resultant properties like like working input plumbing (at the cost of no isolation), and forwarding, and a whole variety of niche WMs because X is older and the amount of bullshit to make a useful WM is much lower than a useful compositor. It's a good way to streamline the graphics code paths in a system and ensure long-term functionality of existing codebases.

With X.org being in maintenance mode, with the process of replacing it with Wayland accelerating pretty quickly now, a lot of projects using X.org are looking for ways to prepare for the future. Alpine Linux, a distribution focused on musl, BusyBox, and OpenRC, also wants to reduce its maintenance burden for X11 applications, and so Alpine Linux maintainer Ariadne Conill has come up with something interesting.

Wayback is an experimental X compatibility layer which allows for running full X desktop environments using Wayland components. It is essentially a stub compositor which provides just enough Wayland capabilities to host a rootful Xwayland server.

It is intended to eventually replace the classic X.org server in Alpine, thus reducing maintenance burden of X applications in Alpine, but a lot of work needs to be done first.

↫ Wayback GitHub page

It’s nowhere near done and most likely contains massive amounts of bugs and issues, but the seed has been planted. Wayback will make it possible to keep running X11-based desktop environments even in a full-Wayland environment. This may be necessary in case you need a specific feature not yet available in the Wayland version of your desktop environment, or if your desktop environment of choice simply isn’t going to move to Wayland at all (due to lack of maintainers or whatever).

It’ll also be a boon for retrocomputing, especially as over the coming years and decades unmaintained X11 desktop environments become become ever harder to keep running on modern Linux distributions. While X.org as it exists today certainly isn’t going anywhere any time soon, it will, eventually, stop working properly on Linux distributions who don’t ship it by default anymore, and it’s awesome to already have the beginnings of a project to address this problem.

Posted in News | Leave a comment

“I want a good parallel computer”

Source: OSNews

Article note: Every academic CompE type person says some variation of "I want a bunch of simple, predictable cores!", but (IMO) the problem is always that so few people can effectively program in an environment with general-purpose concurrency, and memory management in dynamic environments (always, but especially in the face of concurrency) is so impossibly hard, that big unpredictable pipelined out-of-order basically-a-JIT-to-its-internal-instruction-set cores and bolted on constrained SIMD engines keep winning in practice.

The GPU in your computer is about 10 to 100 times more powerful than the CPU, depending on workload. For real-time graphics rendering and machine learning, you are enjoying that power, and doing those workloads on a CPU is not viable. Why aren’t we exploiting that power for other workloads? What prevents a GPU from being a more general purpose computer?

↫ Raph Levien

Fascinating thoughts on parallel computation, including some mentions of earlier projects like Intel’s Larabee or the Connection Machine with 64k processors the ’80s, as well as a defense of the PlayStation 3’s Cell architecture.

Posted in News | Leave a comment

Apple Just Patented an Image Sensor with 20 Stops of Dynamic Range

Source: Hacker News

Article note: Neat. It's leaning into the design space where you get a small sensel (For fill factor and resolution), and stacked dies mean you can pack quite a bit of readout circuity behind the photsensitive layer. Their sensel is basically a photodiode pumping a pair of (MOS) capacitors in vague-power-of-10 sizes attached, with a more sophisticated readout circuit that will separately read the charge on the diode junction capacitance and the caps to get three simultaneous ranges out of one sensel, for post-exposure auto-ranging. A little noise modeling on top and it's a good idea. We've got an undergrad in the lab I'm working in this summer working on a hand-made 4x4 LED array as a sensor to validate a different readout regime, but the same basic LED leakage charging the junction capacitance + noise model sensing mechanism.
Comments
Posted in News | Leave a comment

Microsoft is moving antivirus providers out of the Windows kernel

Source: OSNews

Article note: Good. Limiting vendor access to kernel mode through narrow APIs is a general good, shifty third-party "antivirus" or "anticheat" should be treated like the borderline-malware it is, but the broader market should be consulted on what kind of access is actually needed for effective security software on managed endpoints.

It’s been nearly a year since a faulty CrowdStrike update took down 8.5 million Windows-based machines around the world, and Microsoft wants to ensure such a problem never happens again. After holding a summit with security vendors last year, Microsoft is poised to release a private preview of Windows changes that will move antivirus (AV) and endpoint detection and response (EDR) apps out of the Windows kernel.

↫ Tom Warren at The Verge

After the CrowdStrike incident, one of the first things Microsoft hinted as was moving antivirus and EDR applications out of the kernel, building an entirely new framework for these applications instead. The company has been working together with several large security vendors on these new frameworks and APIs, and it’s now finally ready to show off this new work to the outside world. Instead of designing the new frameworks and APIs in-house and just dumping them on the security vendors, Microsoft requested the security vendors send them detailed documentation on how they want the new frameworks and APIs to work.

This first preview of the new implementation will be private, and will allow security vendors to request changes and additional features. Microsoft states it will take a few iterations before it’s ready for general availability, and on top of that, security software is only the first focus of this new effort. It turns out Microsoft wants to move more stuff out of the kernel, with anti-cheat software – more accurately described as rootkits, like Riot’s Vanguard – being an obvious next target.

Perhaps this effort could have some beneficial side effects for gaming on Linux, which you should be doing anyway if you want better performance, because Windows games seem to perform better on Linux than they do on Windows.

Posted in News | Leave a comment

Snow – Classic Macintosh emulator

Source: Hacker News

Article note: Neat! Always good to see motion around platform emulation. BasiliskII is HLE (and has the tradeoff of inaccuracies and super cool tricks as a result), MAME and qemu-system-m68k are both a little ugly to use - though the latter has become quite capable in recent years, it's good enough to mostly run A/UX 3.x, and the only other success at that was Shoebill, which is both long abandoned and was rather special-purpose. This is more similar to MiniVMac, but already has Mac II/'020 support (but no higher, so it can't get in the A/UX game yet) and is a little more conventionally structured.
Comments
Posted in News | Leave a comment

Games run faster on SteamOS than Windows 11, Ars testing finds

Source: Ars Technica

Article note: This is pretty hilarious, Wintendo machines have been one of the only really unassailable strongholds for Microsoft. The actual benchmarks _are_ a narrow case (SteamOS on AMD gaming handhelds), and the AMD thing is important because one of the only pieces of software they haven't botched in recent years is their Vulkan driver stack, but ... SteamOS isn't very special among Linux distros, and I suspect it will mostly generalize to anything but Nviaida who are too busy running AI grifts to care. Windows 11, from UI to performance, really is creaking under the weight of all the upselling roach motel crapware.

Nearly a decade ago, Ars testing found that Valve's "Steam Machines"-era version of SteamOS performed significantly worse than Windows when SteamOS's Linux game ports were tested on the same hardware as their Windows counterparts. Today, though, Ars testing on the Lenovo Legion Go S finds recent games generally run at higher frame rates on SteamOS 3.7 than on Windows 11. The performance advantage is yet another way that Valve's upstart OS is differentiating itself from the "default" Windows installation used by most PC gamers for decades now.

While users have been able to install Windows on the Steam Deck since its 2022 launch, Valve doesn't offer official "Windows on Deck" support for this alternative hardware use case. Lenovo's Legion Go S, on the other hand, is the first gaming portable explicitly designed to work with either Windows 11 (in hardware first released in January) or SteamOS (in hardware first released in May, alongside a new version of SteamOS designed for non-Valve AMD hardware).

To test the performance impact of this operating system choice, we started with the SteamOS version of the Legion Go S (provided by Lenovo) and tested five high-end 3D games released in the last five years using built-in benchmarking tools and two different graphics/resolution tiers. We then installed Windows 11 on the handheld, downloaded updated drivers from Lenovo's support site, and re-ran the benchmarks on the same games downloaded through Steam for Windows.

Read full article

Comments

Posted in News | Leave a comment

Microsoft extends free Windows 10 security updates into 2026, with strings attached

Source: Ars Technica

Article note: Microsoft gettin' visibly nervous about "Slow Adoption" (people not wanting their new shit) AND finding a new way to pressure users on the existing platform into the panopticon roach motel.

Last fall, Microsoft announced that individuals who wanted to keep using Windows 10 past its official end-of-support date could do so by opting into the company's Extended Security Update (ESU) program at a cost of $30 per PC. That payment would get users a single year of additional security updates. Today, less than four months before that October 14, 2025, cutoff, Microsoft is announcing additional options for people who can't or don't want to pay that fee.

Individuals who want to pay $30 for the additional year of updates will still be able to do so. But Microsoft will also extend a year of additional Windows 10 security updates to any users who opt into Windows Backup, a relatively recent Windows 10 and Windows 11 app that backs up some settings and files using a Microsoft account. Users can also opt into ESU updates by spending 1,000 Microsoft Rewards points, which are handed out for everything from making purchases with your Microsoft account to doing Bing searches.

These offers don't formally extend the end-of-support date for Windows 10. But for users who don't want to move to Windows 11 or who can't do so because their PC doesn't meet the requirements, they do effectively offer an additional year of free updates for the OS that's still installed on a slim majority of the world’s Windows PCs, according to Statcounter data.

Read full article

Comments

Posted in News | Leave a comment

Magic Lantern Software for Canon Cameras Is Back

Source: Slashdot

Article note: Oh shit, someone is taking over after a1ex wound down their activity, it's been like 5 years since anyone was really in charge there. It'll be super cool if they can get things moving (especially in terms of supporting newer cameras) again, ML is a lovely piece of software that I wasted a _bunch_ of time hacking around in trying to build a less-fake prototype for my PhD.

Magic Lantern, the popular open-source suite of software enhancements for Canon DSLR cameras, has returned under new leadership. The revived project aims to offer regular updates and support for additional models, including compatibility for Canon's newer mirrorless cameras equipped with DIGIC X processors. PetaPixel reports: The new lead developer, names_are_hard, announced Magic Lantern's return yesterday on Magic Lantern's forums, seen by Reddit r/cinematography users and confirmed on the official Magic Lantern website. "It's been a long journey, but official Magic Lantern builds return, for all cameras," names_are_hard writes. They add that this means that there will be new, regular releases for all supported cameras and new cameras will be supported. As of now, the supported cameras are almost entirely DSLR models, save for tools for the original EOS M mirrorless camera. However, one of the members of the core Magic Lantern team, which comprises developers g3ggo, kitor, and WalterSchulz, says the team is looking at supporting cameras with DIGIC X processors, which includes mirrorless EOS R models. "It would be awesome if they start supporting new cameras. Imaging unlocking Open Gate on the R5/R6 lines, or RAW on cameras that don't have it (like R6, R7, etc.)," writes Redditor user machado34. "I believe it will be possible. They say they're exploring up to DIGIC X," adds 3dforlife. "In fact we are," developer kitor replies. "Just DIGIC 8 is stubborn and X adds some new (undocumented) hardware on top of that." Kitor is listed as the chief DIGIC 8 and DIGIC X hacker on Magic Lantern's forums, plus kitor is chiefly in charge of the revived website and Magic Lantern's social media presence. If the team can crack mirrorless cameras, it would be a boon. [...] The new Magic Lantern core team of devs, plus many other key players who are involved to various degrees in bringing Magic Lantern back to life, have built a new repo, formalized the code base, and developed a new, efficient build system. "Around 2020, our old lead dev, a1ex, after years of hard work, left the project. The documentation was fragmentary. Nobody understood the build system. A very small number of volunteers kept things alive, but nothing worked well. Nobody had deep knowledge of Magic Lantern code," names_are_hard writes. "Those that remained had to learn how everything worked, then fix it. Then add support for new cams without breaking the old ones." "We have an updated website. We have a new repo. We have new supported models. We have a new build system. We have cleaner, faster, smaller code." The team is now using Git, building on modern operating systems with contemporary tools, and compiling clean. "This was a lot of work, and invisible to users, but very useful for devs. It's easier than ever to join as a dev." Alongside the exciting return, Magic Lantern has added support for numerous new Canon DSLR cameras, including the 200D, 6D Mark II, 750D, and 7D Mark II.

Read more of this story at Slashdot.

Posted in News | Leave a comment

linux-firmware >= 20250613.12fe085f-5 upgrade requires manual intervention

Source: Arch Linux: Recent news updates

Article note: Yesss. The linux-firmware blob has been growing toward 300MB of things-most-systems-don't-need, Debian and the RHELatives have already done this and it makes life better. And, like so many problems, it's mostly Nividia's fault.

With 20250613.12fe085f-5, we split our firmware into several vendor-focused packages. linux-firmware is now an empty package depending on our default set of firmware.

Unfortunately, this coincided with upstream reorganizing the symlink layout of the NVIDIA firmware, resulting in a situation that Pacman cannot handle. When attempting to upgrade from 20250508.788aadc8-2 or earlier, you will see the following errors:

linux-firmware-nvidia: /usr/lib/firmware/nvidia/ad103 exists in filesystem
linux-firmware-nvidia: /usr/lib/firmware/nvidia/ad104 exists in filesystem
linux-firmware-nvidia: /usr/lib/firmware/nvidia/ad106 exists in filesystem
linux-firmware-nvidia: /usr/lib/firmware/nvidia/ad107 exists in filesystem

To progress with the system upgrade, first remove linux-firmware, then reinstall it as part of the upgrade:

# pacman -Rdd linux-firmware
# pacman -Syu linux-firmware
Posted in News | Leave a comment