9 ms·
Asahi Lina is truly an inspiration for open source reverse engineering. For those not aware, they also live stream their coding sessions quite often: https://ww
by jamies 4y ago
Asahi Lina is truly an inspiration for open source reverse engineering. For those not aware, they also live stream their coding sessions quite often: https://www.youtube.com/@AsahiLina https://www.youtube.com/@AsahiLina
I'm excited for the day that I can easily install SteamOS (the modern one that runs on the Steamdeck) on an M2 Mac mini for an insanely powered "Steam console" for my living room TV.
- goosedragons 4y agoBuy a Ryzen mini PC with a Radeon 680M and get that now with HoloISO? M2 really isn't that fast. And as a bonus you won't have to run every game under a translation layer.
- ozarker 4y agoI wonder how long it's going to take for games to start generally supporting ARM. Getting Linux running well on M1/M2/etc.. seems like only half the battle for making a good gaming machine out of these.
- sofixa 4y agoI have Steam on a Mac, and roughly 1/3 of my library supports M1 Macs. I have some old games in my library, so that's pretty decent numbers for a relatively new platform that is 64 bit only, relatively niche in general, and extremely niche for gaming.
- nicoburns 4y agoI'd guess that will probably only happen when either windows gets widespread ARM adoption, or there's a new Xbox or PlayStation console that uses an ARM processor. Which... might be a while.
- mepian 4y agoThere's the Nintendo Switch which does get ports.
- cubefox 4y agoThe Nintendo Switch console already uses an ARM SoC by Nvidia. But I'm not sure whether this has meaningfully increased the probability of porting games to MacOS. The Switch uses Vulkan, but Apple uses Metal, a proprietary graphics API. Whether ports make sense probably depends on how strongly the Mac market share increases compared to Windows.
- jsheard 4y agoThe Switch can use Vulkan but it's unusual in offering a wide range of APIs, from OpenGL and Vulkan (the implementations likely derived from Nvidia's existing PC driver) or a custom low-level API tailored to the hardware called NVN. From what I gather from the emulation scene, the majority of Switch titles with non-trivial performance requirements use NVN. Even idTech, which famously uses Vulkan on PC, uses NVN instead for its Switch ports.
- cubefox 4y agoInteresting, I didn't know that. I thought Vulkan was already pretty low-level compared to OpenGL. Then I guess Metal on Mac can't be such a big issue either.
- smoldesu 4y agoI wouldn't count on many developers going back to update old games with ARM support. It's more likely that the community will work to build some sort of Box86 + Proton stack to get games working, which should get a lot of the classics working[0]. From there, I think the struggle will be getting Box86 to run fast enough for modern games. Apple's ARM CPUs have great IPC, but that can still get annihilated when it's forced to simulate SIMD/AVX instructions. I assume Apple has some sort of vector acceleration framework in Apple Silicon, but it will take time and effort to reverse-engineer and implement. Things are certainly looking better than they did a couple years ago, but getting ARM to run x86 code faster-than-native is an uphill battle. Maybe even an impossible one, but I've been surprised before (like with DXVK). [0] Crysis on a Rockchip ARM SOC, for example: https://youtu.be/k6C5mZvanFU?t=1069 https://youtu.be/k6C5mZvanFU?t=1069
- nicoburns 4y ago> I assume Apple has some sort of vector acceleration framework in Apple Silicon, but it will take time and effort to reverse-engineer and implement. I'm pretty sure it's just vanilla ARM NEON so I don't think it will take any reverse engineering. The Apple Silicon GPU is custom, but the CPU is just minor extensions to (and compatible with) AArch64. Rumour has it that this is because AArch64 was designed by Apple and donated to ARM (who Apple has close relationship with being that they were a founding member).
- saagarjha 4y agoApple support NEON (and uses it for most SIMD code) but it also has other proprietary ISA extensions for e.g. matrix multiply.
- shaunsingh0207 4y agonote that the proprietary extensions are extremely unlikely to gain linux support though, unless upstream arm adopts something similar though amx won’t help out with emulation much
- smoldesu 4y ago
- est31 4y agoDesktop games*. ARM is a major target for gaming already. Games are 61 percent of app store revenue and 71 percent of play store revenue. And mobile games are the majority of the gaming market (51%). https://www.businessofapps.com/data/mobile-games-revenue/ https://www.businessofapps.com/data/mobile-games-revenue/
- kuschku 4y agoHow many sprites to you need to add to a one-armed bandit before it becomes a game?
- ajvs 4y agoGetting Waydroid to run well on Linux has big issues still unfortunately if you wanted to use it to play Android games. Managed to get it working for a few months on a previous Ubuntu version, now can't get it to work at all.
- klooney 4y ago16k pages is going to make everything hard, I'm not holding my breath.
- nicoburns 4y agoI think the Asahi project will release a 4k kernel version for those really need/want it at some point. As I understand there are no technical barriers, they're just delaying it to push more projects into supporting the 16k mode (which has better perf).
- sliken 4y agoI believe 4k pages works with Asahi Linux today. However the CPU can do 4k and 16k pages, the GPU is 16k pages only. So you give up accelerated 3D to run 4k pages.
- sophacles 4y agoWhat role does page size play here, and why is 16K a problem?
- jraph 4y agoSibling comments said it all, though "The Quest for Netflix on Asahi Linux", posted on HN [1] as a very good, detailed explanation of this and is a nice read. [1] https://news.ycombinator.com/item?id=35081510 https://news.ycombinator.com/item?id=35081510
- fulafel 4y agoLinux gaming has been developing in the opposite direction for a while, moving away from even x86 Linux native ports and toward running x86 Windows games under emulation.
- kccqzy 4y agoThey are running x86 Windows games under Wine. Remember that Wine stands for Wine is not an emulator.
- fulafel 4y agoThe recursive acronym tradition of course (GNU's Not Unix, Eine Is Not Emacs etc) traditionally implied the implementation being superset or better than the thing it's replacing and referencing in the acronym. Wine FAQ concludes > "Wine is not just an emulator" is more accurate. Thinking of Wine as just an emulator is really forgetting about the other things it is. Wine's "emulator" is really just a binary loader that allows Windows applications to interface with the Wine API replacement.
- foresto 4y agoTry to remember that hardware emulation is not the only kind of emulation. Wine (written as WinE when I first encountered it, IIRC) emulates the Windows runtime environment.
- heywhatupboys 4y agoI did not expect the coding live streams of GPU engineering to be presented by a virtual anime persona with a squeaky voice.
- pja 4y agoBetter believe in cyberpunk futures; you're in one.
- IceDane 4y agoAs interesting as it would be to watch some of these streams, it's completely unbearable to watch and listen with this persona involved. If they were trying for something that would ensure a very niche audience, this was a good choice. I honestly find it very hard to take someone seriously who chooses this kind of persona, even though it's hard to argue with their technical ability and results.
- sebzim4500 4y agoPersonally, I was more suprised by the wii sports music and all the pink.
- LeonM 4y agoAFAIK, that is music made by Marcan (Lina) him/her self. Amongst other talents, Marcan also appears to be musician. There are a few interviews with Marcan where you can see pianos in the background, for example here: https://youtu.be/dF2YQ92WKpM?t=989 https://youtu.be/dF2YQ92WKpM?t=989 He/she is quite the creative person I must say.
- realjhol 4y agoIt's just Marcan being weird and creepy.
- TimTheTinker 4y agoMarcan is very busy with a lot of other things, like upstreaming patches to the Linux mainline and improving platform support. He's been clear that he's not Asahi Lina... and he's also not a GPU hacker as far as I know.