this post was submitted on 11 Jul 2023
476 points (96.7% liked)

Linux

48051 readers
838 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
[–] squaresinger@feddit.de 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.

[–] domi@lemmy.secnd.me 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.

[–] squaresinger@feddit.de 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.

[–] domi@lemmy.secnd.me 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.