this post was submitted on 28 Jul 2023
268 points (91.6% liked)

Linux

48413 readers
1268 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
 

So I've been trying to install the proprietary Nvidia drivers on my homelab so I can get my fine ass art generated using Automatic1111 & Stable diffusion. I installed the Nvidia 510 server drivers, everything seems fine, then when I reboot, nothing. WTF Nvidia, why you gotta break X? Why is x even needed on a server driver. What's your problem Nvidia!

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 83 points 1 year ago (2 children)

Nvidia doesn't hate linux, it just don't care and the linux community hates nvidia

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

amd didn't care a few years ago, but their drivers are open, so the community can fix it even if the company don't care(now amd care a lot more, so it's better) nvidia is a closed source crap, and it don't give a fuck too

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

I thought nvidis was opening their drivers some as of sometime last year. Still shit though.

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

It didnt open the parts of the driver that mattered

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

And they can't get all those sweet sweet tracking data they get from Windows users

[–] [email protected] 63 points 1 year ago* (last edited 1 year ago) (4 children)

Linux is their bread and butter when it comes to servers and machine learning, but that's a specialized environment and they don't really care about general desktop use on arbitrary distros. They care about big businesses with big support contracts. Nobody's running Wayland on their supercomputer clusters.

I cannot wait until architecture-agnostic ML libraries are dominant and I can kiss CUDA goodbye for good. I swear, 90% of my tech problems over the past 5 years have boiled down to "Nvidia sucks". I've changed distros three times hoping it would make things easier, and it never really does; it just creates exciting new problems to play whack-a-mole with. I currently have Ubuntu LTS working, and I'm hoping I never need to breathe on it again.

That said, there's honestly some grass-is-greener syndrome going on here, because you know what sucks almost as much as using Nvidia on Linux? Using Nvidia on Windows.

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

I cannot wait until architecture-agnostic ML libraries are dominant and I can kiss CUDA goodbye for good

I really hope this happens. After being on Nvidia for over a decade (960 for 5 years and similar midrange cards before that), I finally went AMD at the end of last year. Then of course AI burst onto the scene this year, and I've not yet managed to get stable diffusion running to the point it's made me wonder if I might have made a bad choice.

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

It's possible to run stable diffusion on amd cards, it's just a bit more tedious and a lot slower. I managed to get it working on my rx 6700 under arch linux just fine. Now that I'm on fedora, it doesn't really want to work for some reason, but I'm sure that it can be fixed as well, I just didn't spend enough time on it.

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

Yeah they don't hate Linux, they just have their own priorities. That said I'm running Nvidia+Wayland happily, for desktop they have worked a lot more on Wayland this year, the upcoming driver fixes a bunch of things, and my distrib handled driver installation and updates, I never have to think about it.

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

It just makes no sense to me though, how is it sustainable for nvidia to not have great Linux kernel support? Like, let the kernel maintainers do their job and reap the benefits. I'm guessing that nvidia sees enterprise support contracts as an essential revenue stream, but eventually even enterprises are going to go with hardware that Linus isn't giving the finger to right? Am I crazy?

load more comments (1 replies)
[–] [email protected] 48 points 1 year ago

nvidia has always been hostile to open source, as far back as i can remember.

back when nvidia bought 3dfx they took down the source code for the open 3dfx drivers within days, if not on the same day. i remember because i had just gotten myself a sweet voodoo 5 some weeks before that, and the great linux support was the reason i chose it... of course the driver code survived elsewhere, but it told me all i needed to know about that company.

also: linus' rant wasn't just a fun stunt, it was necessary to get nvidia to properly cooperate with the open source community if they want to keep making money running linux on their hardware.

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

Companies love to use open source software to reduce their development costs. They hate to contribute back.

load more comments (1 replies)
[–] [email protected] 37 points 1 year ago (2 children)

Takes about 8 hrs to setup properly. But once you do set your Nvidia card with Linux, you just never update your OS and cry to sleep every night.

load more comments (2 replies)
[–] [email protected] 21 points 1 year ago (2 children)

Switched to high powered AMD GPUs years ago... No regrets. Awesome graphics, better support, and a better price point usually.

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

But not the fancy machine learning acceleration

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

I did have many regrets. Mainly overheating and the card eventually failing on me. Funny how these large companies ship their shit to "third world countries" so that people have a lower chance of returning their POS

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

Fine ass art. You're in the lemmynsfw AI porn sub for sure.

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

I’m gonna be that person… I rarely, if ever have issues with nvidia on Linux. Used several 30xx series cards for gaming over the last couple of years and it’s been a great experience.

Is it my distro (Void)?. is it because I’m happy staying on X11? Is it just luck? Interested to hear people’s gripes

[–] [email protected] 6 points 1 year ago* (last edited 1 year ago)

I’m gonna be that person…

Well, you are not alone. While I too would prefer not to use proprietary drivers, I have had no problems on any of my Nvidia machines as well. Ironically, despite the open source drivers, getting a 7900XTX card up and running was an issue for me for months till distros caught up (with newer kernels and mesa libs), while my 4090 installation was a breeze even on the day it was released.

A lot of problems people have with Nvidia GPUs seem to be installation related. I think that is because the installation tends to be distro-specific and people do not necessarily follow the correct procedure for their distro or try installing the drivers directly from the Nvidia site as they would on Windows. For example, Fedora requires you to add RPMFusion, Debian needs non-free to be added to sources, Linux Mint lets you install the proprietary drivers but only after the first boot, and so on. Pop OS! probably makes the process the easiest with their Nvidia-specific ISO.

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

Minimal issues here. Set up Arch, install nVidia, add build hooks before next kernel update, carry on.

load more comments (5 replies)
[–] [email protected] 18 points 1 year ago (3 children)

What i don't get is how nvidia stock is exploding when using their hardware for AI is a nightmare on Linux. How are companies doing this? Are they just offering enterprise support to ibsiders or something?

[–] Crayphish 28 points 1 year ago (3 children)

For what it's worth, NVIDIA's failings on Linux tend to be mostly in the desktop experience. As a compute device driven by cuda and not responsible for the display buffer, they work plenty good. Enterprise will not be running hardware GUI or DEs on the machines that do the AI work, if at all.

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

Even the old 1060 in my truenas scale server, has worked absolutely flawlessly with my jellyfin server.

load more comments (2 replies)
[–] [email protected] 5 points 1 year ago

Nvidia is a breeze on linux vs amd. cuda is the only thing meaningfully supported across Windows and Linux. I fought with my 6900xt for so long trying to get ROCm working that I eventually bought a used 1080ti just to do the AI/ML stuff I wanted to do. I threw that into a server and had everything up and running in literally 10 minutes (and 5 minutes was making proxmox pass the gpu through to the VM).

People want to bitch about nvidia, but their entire ecosystem is better than AMD. The documentation is better and the tooling is better. On paper AMD is competitive but in practice Nvidia has so much more going for it--especially if you are doing any sort of AI/ML.

There are some benefits to to amd on linux; its the reason I replaced my 3070ti for a 6900xt. But that experience taught me: 1. AMD isn't as good on linux as people give it credit for 2. nvidia isn't as bad on linux as people blame it for. You trade different issues. Eg. Lose nvenc and cant use amf unless you use the amdpro driver not the open source one. if you use the pro driver you immediately lose half the benefits of the open source driver which is probably why you switch to amd on linux to begin with. So if you game, you can't stream with a decent encoder--so you have to play with settings and throw cpu horsepower at it.

But hey, my DE doesn't stutter and I dont have to do kludgy workarounds to get some games to play.

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

Their enterprise stuff works like a charm on Linux

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

I'm on the cusp off jumping to Arch. Before I do I'm replacing my rtx 3080 with an RX 6800 XT. They are close enough in performance and identical pricing on eBay.

I've done a bunch of testing and found great support for all my hardware except my Razer Ripsaw HDMI capture device, which I can replace with something supported. It is just the Nvidia bullshit holding me back.

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

When I built my pc, I made sure to get AMD because of the nvidia outcry from the linux community. Thank goodness I got a 6800xt. I haven't had any problems with it. It worked straight out of the box.

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

While I'm using AMD, I have had no issues with Nvidia on Arch using X before I switched earlier this year. One just installs the nvidia or nvidia-dkms package. My main reasons to switch were I had a 1060 6GB and it was getting old, AMD had a better price and if I'm keeping this one as long as my last I wanted to be certain wayland support was good even though I don't use it right now

load more comments (1 replies)
[–] planish 14 points 1 year ago

They love to publish drivers that worked with like 1 release of X 5 years ago when the card came out and never update them.

Except when they update them and it breaks X.

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

Are we just going to post this meme forever and ever here?

[–] pastermil 10 points 1 year ago

Even when we all perish, this meme will remain.

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

Yes. Whenever it's fitting to say "fuck Nvidia!" So likely forever and ever and always.

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

You could just as yourself: has anything changed or is the situation still the same?

load more comments (2 replies)
[–] [email protected] 11 points 1 year ago

If AMD was able to come to the bright side, so can Nvidia. There's still hope, ye faithful!

[–] [email protected] 10 points 1 year ago* (last edited 1 year ago) (2 children)

I call them "novideo" because the nvidia GPU in a PC someone gave me was the bane of my existence on Linux. I ended up buying a Radeon for it because I got so tired of having no video after security updates. Nvidia seems to hate everybody except Windows for some reason. Even Apple ditched them long before they ditched Intel.

But yet, it seems like the majority of Linux users have nvidia anyway.

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

@danielton
@Mr_Esoteric
>But yet, it seems like the majority of Linux users have nvidia anyway.

Probably becouse it's more popular among windows users, so when most people switch to linux from Windows, they use the hardware they already had, which more often than not includes an nvidia GPU

load more comments (1 replies)
[–] [email protected] 4 points 1 year ago (1 children)

Nvidia seems to hate everybody except Windows for some reason.

It's called money. Microsoft and all these big tech companies have lots of agreements with eachother to support certain choices and ignore others. This is also why Lenovo has very limited choice of amd processors, and if they put that in, it's in a model with other serious flaws.

load more comments (1 replies)
[–] [email protected] 9 points 1 year ago (2 children)

I'm hoping the recent explosion of AI/ML stuff will create more incentives for them to have proper support for desktop Linux, but I'm not counting on it.

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

Those are different drivers, or rather different parts of the driver.

CUDA has been a staple in HPC for years now and the situation didn't exactly improve.

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

I mean the number of people using beefy Linux workstations with desktop environments is likely to increase because of it, not referring to the datacenter market they're already entrenched in.

load more comments (1 replies)
[–] [email protected] 7 points 1 year ago

Now now. You hate yourself for buying Nvidia knowing it works badly. :-)

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

535 drivers have been working fine for me in Ubuntu and Manjaro.

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

I've seen this photo a bunch of times. Who is this guy? And why is high flipping the bird?

[–] [email protected] 33 points 1 year ago* (last edited 1 year ago)

Linus Torvalds, creator of the linux kernel, flips the bird to nvidia and they deserve it

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

It's the creator of the linux kernel. In the video he quote says "fuck you nvidia" lol

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

Other people have already told you who Linus is but if you want some context for the image it was from a Q&A: https://youtu.be/dmfDaxYhi9I?t=2864

Go to 47:46 if the link starts you at the beginning of the video (he starts to do the hand gesture at 49:28).

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

Here is an alternative Piped link(s): https://piped.video/dmfDaxYhi9I?t=2864

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source, check me out at GitHub.

load more comments (2 replies)
load more comments (1 replies)
load more comments
view more: next ›