this post was submitted on 13 Jan 2025
152 points (92.2% liked)

Linux

49050 readers
725 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
 

OK, maybe you wouldn't pay three grand for a Project DIGITS PC. But what about a $1,000 Blackwell PC from Acer, Asus, or Lenovo?


Besides, why not use native Linux as the primary operating system on this new chip family? Linux, after all, already runs on the Grace Blackwell Superchip. Windows doesn't. It's that simple.

Nowadays, Linux runs well with Nvidia chips. Recent benchmarks show that open-source Linux graphic drivers work with Nvidia GPUs as well as its proprietary drivers.

Even Linus Torvalds thinks Nvidia has gotten its open-source and Linux act together. In August 2023, Torvalds said, "Nvidia got much more involved in the kernel. Nvidia went from being on my list of companies who are not good to my list of companies who are doing really good work."

top 22 comments
sorted by: hot top controversial new old
[–] [email protected] 79 points 4 days ago (1 children)

Nowadays, Linux runs well with Nvidia chips. Recent benchmarks show that open-source Linux graphic drivers work with Nvidia GPUs as well as its proprietary drivers.

No, they're not, and I wish people would stop repeating this. If you want to do anything in userspace, it's still proprietary, Nouveau, or NVK, the second of which has never been comparable and the third of which is still in development (though showing a lot of promise). What is basically at feature parity is the kernel drivers, which if the author had read their source, they'd already know. Kernelspace ≠ Userspace.

However, I will agree that even with the proprietary driver, most people will have a comparable experience to anyone with an AMD card. Hell, I can even use my old laptop with an integrated 960M to play the same games it has always been able to play. Linux has become more available to more people than ever, and it's only going to continue to get better.

[–] [email protected] 16 points 4 days ago

As someone who doesn't follow this stuff closely, I appreciate the clarification!

Its nice to hear from someone with more hands on experience. Hope you have a good one :)

[–] pastermil 46 points 4 days ago (1 children)

Thanks to Nvidia, we have more tech waste than we're supposed to.

[–] [email protected] 1 points 4 days ago

This is dedicate to some specific tasks, we'll all probably continue to use online chat bots

[–] [email protected] 20 points 4 days ago* (last edited 4 days ago)

> Checks title > Checks community name

We just had a flashpoint, right?

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

Ahh yes, nvidia... the biggest enemy of linux community

[–] [email protected] 18 points 4 days ago (4 children)

Yes, Microsoft now offers Windows on ARM (WoA). However, WoA is not a first-class citizen in the Windows world. Many Windows programs won't run natively on WoA [...]. In particular, Windows games run poorly on ARM.

Interesting news! Sadly I imagine Windows games on Linux on ARM won't perform any better than on WoA. But maybe this will be more incentive for game developers to ship ARM builds.

[–] [email protected] 10 points 4 days ago (2 children)

Valve is developing an ARM translation layer like Wine.

[–] [email protected] 7 points 4 days ago (1 children)

It would be great if there were a way to translate x86 binaries for ARM without emulation. Has Valve found some way to do that? From a bit of searching I see they've been testing games on ARM, and that testing involves a version of Proton/Wine that runs on ARM. But it looks to me like they're testing with ARM binaries for those games?

I'm as enthusiastic as anyone about more Linux usage, and I agree that Linux support for ARM is a good selling point. But the reason Linux works so well on ARM is that we use all this open-source software that anyone can compile for ARM. I don't think it's honest to point to closed-source software that we can't recompile, and imply that it will work better on Linux because other software runs natively on ARM on Linux.

[–] atzanteol 5 points 4 days ago (1 children)

It would be great if there were a way to translate x86 binaries for ARM without emulation

That's called "emulation".

[–] fruitycoder 1 points 3 days ago (1 children)

If it coukd be baked before rather than at run time it feels like there might be some nuance there

[–] atzanteol 3 points 3 days ago (1 children)

It's a very difficult problem to solve.

Different architectures are more than just translating op codes. They have different ways to address memory, different types, sizes and number of registers. Compiled binaries use offsets within the code to jump, loop, etc. which all changes when you start changing instructions. It's much easier to emulate the platform at runtime.

[–] fruitycoder 2 points 3 days ago (1 children)

No doubt. Software emulation of different arches is still magic to me. Being able to run qemu to run just one program on the CLI as an arm bin was so neat

[–] atzanteol 2 points 2 days ago* (last edited 2 days ago)

It requires a near obsessive understanding of the architecture being emulated, but generally the process is "relatively straightforward" (though not necessarily "easy"). A CPU is a relatively simple device compared to the software built on it. Your basic steps are:

  1. Read an instruction
  2. Perform the instruction
  3. Jump to the next instruction

Throw that in a loop and voilà! You have an emulator. Granted I've handwaved over a lot of complexity (I don't mean to trivialize the effort)...

To translate a binary is very different. Compilers optimize output to behave in a specific way for the target CPU that simply may not work on the new CPU. What do you do, for example, if the code was compiled for a platform that had 12 registers but the new one only has 6? You'd need to re-write the logic to work with fewer registers. That's difficult to do in a way that is generic for any program. An emulator can just present the program with the 12 registers it expects (emulated in memory at the expense of performance).

[–] atzanteol 3 points 4 days ago

Wine Is Not an Emulator.

[–] tiddy 7 points 4 days ago

Can't speak for any other distro but android's winulator (under the hood wine and box64/86) runs pretty well

[–] [email protected] 1 points 4 days ago

From what I’ve seen of Asahi Linux’s progress on emulation, Windows games are running pretty darn well on Apple Silicon - there’s still work to be done, but a lot of recent, complicated stuff is playable.

This gives a bit of hope for gaming on other ARM platforms.

[–] [email protected] 0 points 4 days ago (1 children)

Running x86 games under Rosetta on Apple Silicon has been super playable for me, both Intel Mac binaries and Windows games under WINE. So I don’t see why it wouldn’t be possible on Linux or Windows, assuming they spend enough time and care writing the translation layer.

[–] [email protected] 3 points 4 days ago

I'm sorry, I wasn't completely clear. Yes you can run games on ARM on any OS with an emulator. When I said "won't run any better" I meant you'll get the same emulation slowdown on Linux as on Windows.

The point of the article is that stuff runs faster on Linux because you don't need an emulator, and it implies that that includes games. That's disingenuous because any games that require emulation on Windows will also require emulation on Linux. If there's no ARM build, there's no ARM build.

[–] index 11 points 4 days ago

Top posts on this sub are currently about discord and nvidia...

[–] [email protected] 9 points 4 days ago

Sure would be nice to not have to prepend my programs with prime-run in order to use the dedicated GPU on laptops.

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

That's certainly a cool thought!