Live data from Hacker News

AAA Gaming on Asahi Linux

rosenzweig.io

141–150 of 382 posts

Re: AAA Gaming on Asahi Linux

#143

Earlier quoted context omitted.

An ARM CPU only emulating x86 isn't going to be more efficient than straight x86. ARM is barely more efficient as it is at those performance levels. The real reason Apple is ahead is because they're paying for more expensive more advanced nodes for their CPUs. I you compare CPUs on similar node sizes, you'll see that AMD and Intel are basically caught up architecturally in perf/W metrics.

This is definitely not true. M3 is 2x - 3x more efficient than Lunar Lake on the same N3B node.

I don't think that's true. M3 has much better idle/near-idle power draw, but actual performance per watt when doing things is pretty close.

Re: AAA Gaming on Asahi Linux

#144

Earlier quoted context omitted.

> This means you can display a banner to anybody who has a certain URL in their browser history, but you can't observe whether that banner actually shows up with JS or transmit that information to your server. How do they stop you from using Canvas to see the output and send it back?

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 / captcha where links were white/black squares and your goal was to click all the black ones. Of course, clicking a square revealed that you knew the square was black, which meant the URL under it was in your history.

Re: AAA Gaming on Asahi Linux

#146
post #140

Earlier quoted context omitted.

I guarantee you'll get much further than you would have previously done in the same amount of time, just by virtue of it being able to point you in the right direction. You don't need perfection when learning, you need a wayfinder, and it can do that just fine.

It won’t point you in the right direction though. At least in my experience. It will only give very superficial answers. And fe just trying to write rust - it will try to explain the error message but most of the time says nothing new and to find out how to fix it you will have to read docs and understand things the old way anyway. At least in my experience

What can I say, Claude's been good to me for both computer science and Rust :-)

Re: AAA Gaming on Asahi Linux

#147

Ok, but why would a hardcore Linux person want to play games that embody everything they hate about Windows in their mode of production, data gathering practices, politics, etc?

It's just a platform which is an available option. Nobody forces you to play games that you don't agree with for any reason.

Re: AAA Gaming on Asahi Linux

#148
post #94

Earlier quoted context omitted.

Why Apple does not just implement it? They have more resources than anyone in the world. Patents?

Because they don't care. They've decided that Metal is The One True Way to write 3D-accelerated apps on macOS, so they only implement the things in hardware that Metal requires.

Perhaps, but also geometry shaders are generally losing popularity and on their way out. Per google ai search result (for what it is worth):

Geometry shaders are generally considered less necessary in modern graphics pipelines due to the rise of more flexible and efficient alternatives like mesh shaders which can perform similar geometry manipulation tasks with often better performance and more streamlined workflows

Re: AAA Gaming on Asahi Linux

#149

> 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.

Re: AAA Gaming on Asahi Linux

#150
post #65

Earlier quoted context omitted.

If you mean "I have a mac, is it better to run linux to game?" Then there's a case for it, since you can run AAA games that apple + macos doesn't support / allow.

You’d need to compare with what can be done on macOS including with things like crossover and the GPT. AFAICT, the Linux side is making progress, but still more games can be run from macOS.

The Mac efforts rely on MoltenVK for and Vulkan needs which itself relies on the underlying Metal API. As I understand it Asahi/Honeykrisp driver for Vulkan does not rely on the Metal API so it actually can do more conformant Vulkan than Crossover/Whisky can. For example tranform feedback and other geometry shader stuff will work on Asahi. MoltenVK is working on it, but not there yet.
Post reply on HN