r/linuxquestions • u/YetAnotherZhengli • Dec 22 '23
nvidia has bad support for linux...
which i can confirm on my machine. There are lower fps sometimes and some en/decoding features are just completely missing...
So how do large AI businesses train their models? Do they... run Windows on their servers?
thanks for being patient, quite a beginner here
13
u/newmikey Dec 22 '23
Car manufacturers have bad support for large families because they make small two seaters which I can confirm on my car.
1
12
Dec 22 '23
since you probably haven't seen this classic: from emperor penguin himself
4
1
u/Pribhowmik Mar 27 '24 edited Mar 27 '24
He apologized for unprofessional behavior for years, probably includes Nvidia too. You gotta hear what Nvidia officially said in response, Linux support is important for them, but they would keep providing Nvidia proprietary codes instead for best gpu experience. The entire data center industry has pretty much fully convened on Nvidia's proprietary drivers.
-3
u/Transcender49 Dec 22 '23
After spending literally a week trying to get nvidia drivers to work on my HP laptop, only to receive a bios update that breaks the nvidia drivers again, allow me to say:
Fk you nvidia and fk you HP
-5
u/Transcender49 Dec 22 '23
After spending literally a week trying to get nvidia drivers to work on my HP laptop, only to receive a bios update that breaks the nvidia drivers again, allow me to say it again:
F**k you nvidia and f*k you HP
3
2
u/VU22 Dec 22 '23
Every AI server is run on linux what are you talking about
2
u/YetAnotherZhengli Dec 22 '23
That's my first thought... My brain power didn't make it to figure it out
2
26
9
u/edparadox Dec 22 '23
So how do large AI businesses train their models? Do they... run Windows on their servers?
No, this is one of the main reasons the (Linux) proprietary driver is being developed and used.
8
4
u/TheJoshGriffith Dec 22 '23
The interaction between AI and a GPU is nothing like that which exists between a GUI and a GPU. It has been purpose built and has to tolerate a lot less compatibility and flexibility by comparison, so generally holds a lot more stable.
3
Dec 22 '23
you describe video problems. Computtion is something entirely else. For example headless driver just for computation does not have video at all :)
4
u/hershko Dec 22 '23
Training an AI is computational. Nvidia support that great on Linux.
Running a game is desktop graphics. Nvidia support for that on Linux is indeed subpar compared to Windows.
There's no contradiction between these two statements. It's two different things.
2
u/devino21 Dec 22 '23
GeForce is for Gaming, Tesla is for Data Centers (at least that's what's in ours). Different stack.
0
u/Alan_Reddit_M Dec 22 '23 edited Dec 22 '23
Nvidia support for Linux is really great, not as great as Windows, but yet again, nobody is running windows on a server.
Games on Linux run slowly because of the performance overhead introduced by wine/proton, as well as Xwayland. These are all compatibility layers that need to perform some level of translation or emulation, thus introducing an extra computational cost.
However, old Nvidia GPUs don't have support for Linux since their drivers went EOL before Nvidia started working with Linux, that is, before AI became mainstream, thus, if you are using a GT card a considerable performance loss is to be expected
2
4
u/FortunatelyLethal Dec 22 '23
ehm, you seem to be misinformed....
Games on Linux do not run slowly.
I am currently running a RTX 4080 on Arch Linux with Wayland.
Perfectly running all newest titles on max settings.
Only thing that causes problems in ray tracing, everything else works fine :D
2
u/Alan_Reddit_M Dec 22 '23
Well, of course everything is going to run fast on a bleeding edge GPU, but my Gtx 1050 suffers a lot more from the performance penalties, Genshin Impact for example drops from 60fps (Windows) to about 50 on Linux. It's not terrible, but the performance penalty is very real
1
u/FortunatelyLethal Dec 22 '23
Then please specify such things in your statements.
Games on Linux run slowlyGames run well on Linux. Yes, Linux introduces some additional config work you have to do to get some games running or running better but proton certainly does not make games run slowly.
1
u/Anthonyg5005 primarily windows user Dec 23 '23
I've even seen better performance with proton than native windows
1
u/FortunatelyLethal Dec 22 '23
but I generally agree that Proton can sometimes give you a performance hit.
Mostly said performance hit is not noticeable though.
I am actually surprised you get such a big performance penalty when playing genshin through proton. Which proton version are you using?
1
u/Alan_Reddit_M Dec 23 '23 edited Dec 23 '23
I think I'm like 2 o 3 releases behind, the reason being, the game won't even launch on the most recent version, and when it does by some miracle launch, the colors are all messed up
That being said, it's probably a problem of me using a 7 years old GPU and not actually a problem with Proton
1
u/bobo76565657 Dec 22 '23 edited Dec 22 '23
They train their models with an Nvidia card, which has better support for that kind of thing than AMD does. I've been running NVidia on stock-configuration of Mint for over year and its been working great. an RTX 2060 and now and RTX3060. Both worked right out of the box. They manage memory differently (better than) AMD cards, so you need to use them if your working with AI. AMD cards simply cannot do the job.
What fact makes you think NVidia cards have bad support? I know I hear it from people all the time on Reddit, but I don't know what they're doing with those cads because I litterally just plug it in the MB, let Mint update the driver, and keep working. I use NVidia's drivers, not the open-source one, maybe that's why it works for me and not others.
1
1
u/mehdital Dec 22 '23
It can be annoying, yes but in my experience, it takes a few days of tampering with the driver versions and settings until it works. And then it just works forever.
1
u/no_brains101 Dec 22 '23
Found the nix user.
Nothing just "works forever" lol
It's why I'm using nix. It's not just going to randomly become undone...
1
u/YaroKasear1 Dec 22 '23
AI and GP computing are completely different workloads than desktop graphics.
Large AI businesses train their models on Linux using nVidia's proprietary drivers with their high end support models like GRID on extremely specialized hardware that costs into the five figures PER PIECE OF HARDWARE to buy, to say nothing of power costs.
As to their desktop performance, I've found their proprietary driver delivers the best gaming experience on Linux and is why, despite nVidia's rep with many Linux users, I still buy nVidia hardware.
1
u/Doppelkrampf Dec 23 '23
Yeah that is true. Also the sky is blue most of the time and giving people attention on any media because of dislike and cringe or clickbaity stuff is still supporting exactly those people and they don´t care about you disliking them as long as you make them money.
-3
u/bizdelnick Dec 22 '23
They usually use only one distro of specific version that is well supported, they can also build a custom kernel version if they need specific hardware support. And they only use CUDA (maybe OpenCL, I'm not sure), not all the graphics stack that really sucks with Nvidia.
0
0
51
u/[deleted] Dec 22 '23
Nvidia has better linux support than windows, because of all those ai companies you mention. Nobody uses windows for that stuff.
But noone runs graphics on headless servers either - except for maybe geforce now or other cloud gaming service. So the compute support in the drivers is industry-leading, but the graphics support is lacking. This is not anything to do with linux - because that's just a kernel. Rather it's to do with cooperation or lack thereof between nvidia and the developers of the grapical desktop software used.