Asahi Linux M1 GPU drivers can now run Windows games via Steam Proton
youtube.com
youtube.com
So you need to compile a custom kernel for FEX to run and Steam to work.
Still, great work from Lina and the Asahi team, very excited about getting full FEX support on stock kernels (I have a backlog of Humble Bundle games to try with this).
<script>document.referrer.startsWith("https://news.ycombinator.com")&&(console.log("Hacker News is becoming worse than 4chan. Do better."),document.location="https://google.com")</script>Here the relevant text about 16k page size kernels:
> IOMMU 4K patches (in review): The M1 is peculiar in that, although it supports OSes that use either 16K or 4K pages, it really is designed for 16K systems. Its DART IOMMU hardware only supports 16K pages. These chips have 4K support chiefly to make Rosetta work on macOS, but macOS itself always runs with 16K pages – only Rosetta apps end up in 4K mode. Linux can’t really mix page sizes like that and likely never will be able to, so we’re left with a conundrum: running a 16K kernel makes compatibility with older userspace difficult (chiefly Android and x86 emulation), plus distros don’t usually ship 16K kernels; while running a 4K kernel runs into a major mismatch with the DART. This initially seemed like a problem too intractable to solve, but Sven took on the challenge and now has a patch series that makes Linux’s IOMMU support layer play nicely with hardware that has an IOMMU page size larger than the kernel page size! It’s not perfect, as it can’t support a select few corner case drivers (that do things that are fundamentally impossible to support in this situation), but it works well and will support everything we need to make 4K kernels viable.
For anybody who wants to read the whole thing: https://archive.is/Wc0XN
Here's a list of them maintained by the extension mentioned above: https://gitlab.com/smart-referrer/smart-referer/-/blob/gh-pa...
*Ahem*
Complaining about people not reading the article and then denying those people the ability to read the article is 300% concentrated irony. Holy shit.
(I'm assuming the motivations behind the redirect are what marcan is complaining about. marcan's complaint by itself is valid, of course. People only reading headlines is nothing new.)
And while it sure can be frustrating when completely avoidable questions are asked, I don't get why that's so bad that one has to block the website. Especially considering 95% of comments to marcan's post linked above could be summarized as "haha orange site bad" - a lack of substance doesn't seem to be the issue.
I'm sure this frustration has a cause, but I struggle to see what that is.
I went back and read some of the discussion in the other thread. I didn't read everything because of time. What strikes me isn't the bad faith or poor form trying to expose someone or arguing a tangent on an interesting subject. It is how embarrassing it is. And how embarrassing it that they don't know how embarrassing it is. If I managed to even slightly get my point across you will understand why I can't explain why it is embarrassing. What I can say is that it isn't about just about being wrong or being rude. It about not knowing what they are talking about while being convinced that they have a point.
And no I don't think it is ironic. If you consider Hacker News a net negative blocking your blog from being published here is consistent with that view. More would if "all publicity is good publicity" wasn't such a strong idea in money making ventures.
But blocking people just because they are reading HN and learning about Asahi through it seems kinda extreme and uncalled for.
If there is a basic archetype of a HN comment, yours is a perfect example of it
However if you're looking for the basic archetype of a bad HN comment I think yours is actually much more appropriate. Very poor form :-/
He loudly supported a hateful and slanderous campaign that resulted in RMS having to step down from the FSF.
Now he comes along and for whatever reason he's decided to adopt this weird hentai alter ego, which is very obviously him... but for some reason we're not allowed to mention it - because? ...actually I have no idea why.
But he certainly doesn't mind dealing in rumours when it's against people he decides deserve it.
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes...
For day to day the biggest pain points for me were the lack of speaker, microphone, and webcam support. Bluetooth and 3.5mm audio worked fine though. GPU support was useable for browsing and whatnot before so with the recent massive speedup and continued OpenGL support improvements I can only imagine it's even better now. Wi-Fi, touchpad, keyboard, screen brightness, and USB all seemed to work fine for me. I think HDMI out, DP alt mode from the type c, and thunderbolt were all unsupported as was touch-id. Battery life was worse than macOS but still better than a normal laptop (for my usage pattern at least). Software side it's ALARM (Arch Linux ARM) based and "I use Arch btw" so I had no complaints. Users who prefer other distros may not like that and while it's possible to get certain other distros running the experience isn't as good and seems complicated. Wayland is the officially recommended display server option and XWayland works fine in it for running X11 only apps. Early on the 16k pages created a lot of headache but that seemed out of the way towards the end of me having the M1. Some Electron apps were slow to upgrade to a Chromium base which included the 16k page support. I never really messed with FEX or anything about running x86 and/or Windows stuff on it, just native packages. The installer was pretty straightforward to use.
For detailed feature support tables this page has the info https://github.com/AsahiLinux/docs/wiki/Feature-Support
Oh and you can swap the command/option keys around to the non-Apple way if you want:
echo 'options hid-apple swap_opt_cmd=1' | sudo tee -a /etc/modprobe.d/hid-apple.conf options hid_apple swap_opt_cmd=1 fnmode=2 swap_fn_leftctrl=1
(CtrlFn⊞AltSpaceAlt⊞), except for the double-swapped right-option which acts as Win instead of the expected Ctrl.There is a `rightalt_as_rightctrl` patch[2 which doesn't work with Asahi yet, but there's plans to upstream it. However, marcan was planning to make some massive changes in the apple-hid driver, so it might take a while.
> Asahi works great on Apple Silicon. There’s a small collection of software (like Widevine/Zig) that isn’t available on Asahi/ARM64, and some important features that are still in progress (Speakers/Webcam/Mic/External Monitors). GPU and Sleep support is still experimental, but the device is usable enough for me (No critical showstoppers so far).
Widevine has since been solved in a great hack[0].
[0]: https://gist.github.com/DavidBuchanan314/c6b97add51b97e4c3ee...
Only thing I'm missing is standby. It sounds a little ridiculous that I have an expensive laptop at home and I need to boot it every time.
e: i checked linas mastodon and apparently it's using FEX
I like running macOS and it's a pain to have to reboot or run Windows in a VM just to play a game.