this post was submitted on 11 Jul 2023
501 points (96.8% liked)

Linux

47958 readers
1610 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
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 year ago (1 children)

For example installing the GPU driver for an older GPU. Or installing the driver for an obscure printer, touchpad or other weird hardware.

That's not quite my definition of "common".

Average user doesn’t mean total noob. Installing Windows and the relevant drivers is something many users in the “Gamer class” can do.

The "Gamer class" is far from the average user, the average user doesn't even know what a GPU or a driver is and doesn't care. As long as the OS installs all drivers by default or the OEM has preinstalled them all is good.

Getting the same hardware to run under Windows meant downloading the .exe and running it.

Until there's no more drivers for that generation of GPU. The Windows 11 drivers for AMD only go down to the Vega 64, if you have a Fury X or a 7970 you're out of luck. Not that Windows 11 even lets you install on a machine that old.

AMDGPU goes down all the way to GCN 1.2, which means you can even run a 7970 on a modern Linux OS. Even out of the box if your distro has the legacy flags enabled.

It would be fantastic if there was more hardware that works out of the box in Linux, but that's up to the manufacturers. Until more people switch to Linux they don't bother and until they bother everybody complains that XY doesn't work on Linux.

As of right now the biggest hurdle is Nvidia without drivers included in Linux. Without a distro that takes care of installing their drivers they are essentially out of luck.

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

That’s not quite my definition of “common”.

Using a GPU under Linux is not common? And installing Linux on old laptops isn't either?

As of right now the biggest hurdle is Nvidia without drivers included in Linux. Without a distro that takes care of installing their drivers they are essentially out of luck.

I can't say anything about AMD, since the last time I had an AMD GPU is ~15 years ago.

When I installed an Ubuntu variant on my G580, which has a Geforce 635M it automatically installed the current driver for Geforce GPUs when I setup the OS, but that driver doesn't support the 635M. That one needs a legacy driver. And getting that to work was a major pain.

I first installed the legacy driver over apt, but it didn't do anything, because apparently installing the driver doesn't actually load the kernel module for the driver. So I had to load it manually, and it still didn't do anything. Turns out, uninstalling the original driver didn't unload it from the GPU either. So I had to re-install the old driver, unload the module, uninstall the old driver, install the legacy driver and load the legacy module. Took me a few hours to figure all of that out.

No way someone without CLI experience will be able to do that.

[–] [email protected] 2 points 1 year ago (1 children)

Using a GPU under Linux is not common? And installing Linux on old laptops isn’t either?

Installing drivers for an older GPU, obscure printer, touchpad or other weird hardware is not common.

When I installed an Ubuntu variant on my G580, which has a Geforce 635M it automatically installed the current driver for Geforce GPUs when I setup the OS, but that driver doesn’t support the 635M. That one needs a legacy driver. And getting that to work was a major pain.

Which is an issue with Nvidia, they have no drivers for that GPU for Windows 11 either. Not saying that this is not an issue but there is absolutely nothing Linux can do to make every legacy GPU work without help from Nvidia. It uses the open source driver out of the box, which works sometimes but not for everything and definitely not for gaming.

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

Which is an issue with Nvidia, they have no drivers for that GPU for Windows 11 either

https://www.nvidia.com/en-us/drivers/results/180339/

Yes, they do.

Not saying that this is not an issue but there is absolutely nothing Linux can do to make every legacy GPU work without help from Nvidia.

Yes, they can. They literally have the correct (legacy) driver in the Ubuntu repo. But the autoinstaller installs the wrong driver during installing the OS. And if you try to manually install it, there is not even a text prompt in the CLI saying "You just installed that driver, do you want to actually use it to? (Y/n)".

They could have even gone so far as to make a CLI wizard (like many other packages do) or even a GUI wizard. But no, the package just installs and does nothing by default.

It uses the open source driver out of the box, which works sometimes but not for everything and definitely not for gaming.

Also that is not correct. All the *buntu installers ask you when you install the OS whether you also want to have closed source drivers installed, and then it installs the closed source Nvidia drivers. Just the wrong ones.

[–] [email protected] 1 points 1 year ago

Yes, they do.

That driver does not list the 635M but only the desktop version. Which is still impressive but I think they have separate drivers for their mobile chips? The latest driver listed for the 635M is only available for Windows 10 on their website.

Yes, they can. They literally have the correct (legacy) driver in the Ubuntu repo. But the autoinstaller installs the wrong driver during installing the OS. And if you try to manually install it, there is not even a text prompt in the CLI saying “You just installed that driver, do you want to actually use it to? (Y/n)”.

They could have even gone so far as to make a CLI wizard (like many other packages do) or even a GUI wizard. But no, the package just installs and does nothing by default.

Does ubuntu-drivers devices list the correct driver or is the recommended one too new? The driver packages in Ubuntu should install and activate themselves unless you have multiple installed, sounds like you ran into a bug.

Also that is not correct. All the *buntu installers ask you when you install the OS whether you also want to have closed source drivers installed, and then it installs the closed source Nvidia drivers. Just the wrong ones.

That does not change that Nouveau is used by default for the installer itself and by default for the OS if you don't select anything.