this post was submitted on 28 May 2024
362 points (97.9% liked)

Linux

48185 readers
1238 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Update : more games!

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 8 points 5 months ago

The Asahi team never fails to impress. You can support the project at their Patreon. You don't need to care about Apple hardware to see the value in the work they're doing getting ported over to ARM PCs. Who knows? You might be donating to the health of your preferred distro on a device you will own down the road.

[–] [email protected] 6 points 5 months ago* (last edited 5 months ago)

Btw the "official COPR" for krun on Fedora seems unmaintained, but there is a new one with recent builds.

[–] [email protected] 8 points 5 months ago

BUT CAN IT RUN CRYSIS

Yes it can

[–] [email protected] 8 points 5 months ago (1 children)
[–] [email protected] 14 points 5 months ago (1 children)
[–] [email protected] 6 points 5 months ago

Now it's complete! No party without Doom. ^^

[–] [email protected] 29 points 5 months ago (2 children)
[–] [email protected] 2 points 5 months ago (1 children)

I've always thought GOAT stands for Gentleman Of All Trades. I make a wild guess it's Girl Of All Trades in this case?

[–] [email protected] 8 points 5 months ago (1 children)

Always thought it was "Greatest of all time"

[–] [email protected] 4 points 5 months ago* (last edited 5 months ago)

Yeah, that's what I meant too.

[–] [email protected] 7 points 5 months ago

I wanna do Mesa because of Lina

The brain however does not want to cooperate (it wants to defrag)

[–] [email protected] 22 points 5 months ago

The Gods be damned it can run Crysis

[–] [email protected] 37 points 5 months ago (2 children)

So how does that work given that most Steam games are x86/x64 and the M2 is an ARM processor? Does it emulate an x86 CPU? Isn't that slow, given that it's an entirely different architecture, or is there some kind of secret sauce?

[–] [email protected] 39 points 5 months ago (1 children)

Emulation.

Definitely going to incur a performance hit relative to native code, but in principle it could be perfectly good. It's not like the GPU is running x86 code in the first place. On macOS, Apple provides Rosetta to run x86 Mac apps, and it's very, very good. Not sure how FEX compares.

[–] [email protected] 10 points 5 months ago

Virtualization actually, dont know why though

[–] [email protected] 116 points 5 months ago (7 children)

is linux already better for gaming on macs than macos?

[–] [email protected] 4 points 5 months ago (1 children)

You can use Whisky which is a convenient wrapper for WINE to run the Windows version of Steam. Simple games like Dredge work flawlessly on my M1 but anything used for benchmarking FPS is unacceptably slow. Translation of Intel code is the biggest issue. I assume Asahi has the same limitations as Mac OS but it is impressive what they’ve been able to do.

[–] [email protected] 2 points 5 months ago (2 children)

There's a native Linux version of Steam (at least for Ubuntu / Mint) that works great. It also uses a proprietary Wine wrapper called Proton, that's pre-configured for all your Steam Library games.

[–] [email protected] 2 points 5 months ago* (last edited 5 months ago)

Native in this case means processor architecture, not OS. The Linux Steam is still x86/x86_64 code and to run it on an ARM system (even running Linux) will require an emulation layer. This adds substantial amounts of overhead, much more than Wine/Proton does for Windows games on Linux.

[–] [email protected] 2 points 5 months ago

Sorry I was very unclear. Whisky is an app for MacOS. I’ve used Steam on Ubuntu as well and it works OK but sometimes is a pain to find a version of proton that works for a given game.

[–] [email protected] 8 points 5 months ago

You've gotten a lot of answers (mostly no), but I will say Minecraft runs better on Linux on Mac than MacOS on Mac!

[–] [email protected] 39 points 5 months ago

As an actual M1+Asahi user and a gamer: Asahi is not there yet. Right now, if you're on macOS, Crossover (or Porting Kit) and/or Parallels is able to run more games and with better performance compared to Asahi (using krun + FEX). Also, Steam on macOS (non-native) is much more peformant compared to Asahi, where it's currently slow and glitchy.

But that will all change in the future once the Vulkan driver and TSO patches are ready. FEX is also seeing a lot of improvements, so by the end of the year, there's a good chance that gaming on Asahi would be much better than macOS.

[–] [email protected] 1 points 5 months ago

If the game relies on 32bit libraries, IIRC macos dropped the support for those? And there's a lot of games that rely on 32bit.

So if one really cannot play 32bit games on macos then yeah. If the game doesn't do anything fancy with OpenGL, and is using OpenGL, then I think that it'll run great.

[–] [email protected] 13 points 5 months ago

I'd argue that it may come to that, given the poor availability of (steam) games for the macos platform. And when it is available, you may end up with a disclaimer that it may not run anyway.

[–] [email protected] -1 points 5 months ago (1 children)

No Vulkan and just WineD3D on OpenGL makes it hard to consider good. Might be pretty good after they find a way to run Vulkan on it, which might be tricky given how the hardware was explicitly designed to run just the proprietary Metal API.

[–] [email protected] 18 points 5 months ago* (last edited 5 months ago) (1 children)

A vulkan driver already exists and has made progress, it just needs some more time.

[–] [email protected] 4 points 5 months ago (1 children)

I've heard something about Apple Silicon GPUs being tile-based and not immediate mode, which means the Vulkan API is different compared to regular PCs. How has this been addressed in the Vulkan driver?

[–] [email protected] 13 points 5 months ago (1 children)

The blog has multiple progress posts https://asahilinux.org/blog/

I’ll admit im not an expert but shes not brought up tiling at all as a problem.

[–] [email protected] 3 points 5 months ago

Yeah, in a Reddit comment, Hector Martin himself said that the memory bandwidth on the Apple SIlicon GPU is so big that any potential performance problems due to TBDR vs IMR are basically insignificant.

...which is a funny fact because I had another Reddit user swear up and down that TBDR was a big problem and that's why Apple decided not to support Vulkan and instead is forcing everyone to go Metal.

[–] [email protected] 43 points 5 months ago

Sure looks like it

[–] [email protected] 15 points 5 months ago (5 children)

I have no idea what asahi linux is and at that point I am to afraid to ask

[–] [email protected] 4 points 5 months ago

Linux distro for apple ARM devices with reverse engineered drivers.

[–] [email protected] 4 points 5 months ago

Asahi Linux is the "have linux run on apple M series CPUs" project

[–] [email protected] 12 points 5 months ago (1 children)

Asahi means “rising sun” in Japanese, and it is also the name of an apple cultivar. 旭りんご (asahi ringo) is what we know as the McIntosh Apple, the apple variety that gave the Mac its name.

If you're thinking what I'm thinking, it doesn't seem to have anything to do with beer.

[–] [email protected] 1 points 5 months ago (1 children)

Isn't it cause its the handle of the main dev?

[–] [email protected] 4 points 5 months ago (1 children)

No, lead dev is marcan. Asahi Lina is a vtuber who had reverse-engineered Apple GPU and wrote the driver for it (in tandem with Alyssa Rosenzweig)

[–] [email protected] 1 points 5 months ago

They are both on Mastodon. Lina just posted an updated list of games, there's a ton of them

[–] [email protected] 54 points 5 months ago (1 children)

Fedora linux distribution for apple silicon (M series) computers

[–] [email protected] 34 points 5 months ago (1 children)

With added firmware/drivers for better hardware compatibility

[–] [email protected] 8 points 5 months ago

Yeah, I think my comment really undersold the work that the Asahi team has been doing