Live data from Hacker News

AAA Gaming on Asahi Linux

rosenzweig.io

361–370 of 382 posts

Re: AAA Gaming on Asahi Linux

#361

Earlier quoted context omitted.

Canvas can't "see the output", it only sees what is drawn in it (which is not a set of HTML tags, it's JS commands). The screen recording/screen sharing API can be used for this but security is the reason you have to give explicit permission to the site before it can do this.

IIRC, Firefox had a bug where this exact scenario was possible, I think you needed to embed the link in html embedded inside an SVG, which was displayed in the canvas, and then access the bitmap. You could e.g. make the link black if visited and white otherwise, and then the number of white versus black pixels in the bitmap would tell you whether the link was visited or not. There was also that asteroids game / captc…

If you go back far enough there weren't even protections against this sort of thing at all! E.g. you could just say a visited link style was 1px taller then measure that. The protections had to be added in after the fact (often with special case logic for what's allowed to be styled or read on :visited) once security became a major concern!

Re: AAA Gaming on Asahi Linux

#362

> Tessellation enables games like The Witcher 3 to generate geometry. The M1 has hardware tessellation, but it is too limited for DirectX, Vulkan, or OpenGL. We must instead tessellate with arcane compute shaders > Geometry shaders are an older, cruder method to generate geometry. Like tessellation, the M1 lacks geometry shader hardware so we emulate with compute. Is this potentially a part of why Apple doesn't want…

Metal 3 (in 2022) added mesh shaders, which can be used to emulate geometry shaders. We (CodeWeavers) are doing this in (a fork of) MoltenVK, and Apple’s D3DMetal is as well.

Thanks for your efforts in this space!

Re: AAA Gaming on Asahi Linux

#363

Earlier quoted context omitted.

I read the GP differently. I think they meant: if you are on a Mac computer, is gaming better under Linux vs macOS? I think the answer might be yes, because it's possible to play so many more titles!

I played through the entirety of Elden Ring and its DLC on my macbook pro through GPTK which is a pretty modern and demanding game. Don't think that would be possible on asahi.

How would I use GPTK to play some arbitrary Windows game?

Re: AAA Gaming on Asahi Linux

#364

Earlier quoted context omitted.

Have you seen Lunars iGPU?

Yes, M3 is still 2-3x more efficient than Lunar Lake’s GPU as long as it’s not games that were more optimized for x86 and or DirectX. For example, M3 generally wins in compute with a lot less power needed.

Src?

Re: AAA Gaming on Asahi Linux

#365
post #325

Earlier quoted context omitted.

Except it wasn't "taken", but licensed from CodeWeavers in a commercial partnership. This implies that they're contributing cash, not code.

Not sure what agreement they have there, but at the end of the day it’s Wine which has decades of open source development behind it at this point. Plus a bunch of other libraries (gstreamer being a notable inclusion) that are all FOSS. This still fits the pattern of Apple profiting off of OSS projects while contributing back as little as they can get away with.

A non-trivial number of contributions to Wine come from CodeWeavers (30%+ of all commits), which in turn is funded by its work on Crossover, Proton, and commercial agreements with other businesses. Wine would not be the project it is today without the contributions of CodeWeavers. Contributing cash to the companies contributing code is a perfectly adequete form of giving back.

CodeWeavers released an annoucement when Gaming Portal Toolkit was announced.

https://www.codeweavers.com/blog/mjohnson/2023/6/6/wine-come...

Re: AAA Gaming on Asahi Linux

#367

Nice so is this full Linux possibly running on an iPad, or just desk top?

not ipads, those are locked down. Macs though, they have an open bootloader and so far M1 and M2 chips have pretty good linux support, fully reverse-engineered: https://asahilinux.org/fedora/#device-support

Re: AAA Gaming on Asahi Linux

#370
post #369

I’d be curious to know how it compares to gaming on macOS with Game porting toolkit.

Probably not all that different. Game porting toolkit is just WINE.

What's the status of the game porting kit? The last time I used it to get a game running, it proved to be a bit of a miserable slog (to be fair, I was trying to run UnityModManager for a CRPG).
Post reply on HN