News for hackers. Stuff that matters.
Re:Red Hat to Author New Linux Driver for Nvidia GPUs in Rust by aumerle on Wednesday March 20, 2024 @11:01PM (#39774532)
Sigh. So yet another rewrite, which will result in yet another round of regressions. Hopefully, at the end of it we will have something better than yet another unofficial driver with partial functionality that lags behind in support for newer hardware.

It's a real shame that many things in Linux land are so badly designed/maintained that they have to be re-written from scratch every few years. The major exception being the base kernel itself I suppose.

Re:Red Hat to Author New Linux Driver for Nvidia GPUs in Rust by tristan957 on Thursday March 21, 2024 @12:40AM (#39774928)
This is completely on Nvidia. Don't buy a GPU from them if you care about Linux support.
Re:Red Hat to Author New Linux Driver for Nvidia GPUs in Rust by Mathnerd314 on Thursday March 21, 2024 @02:09AM (#39775317)
My understanding was that the proprietary drivers work fine.
Re:Red Hat to Author New Linux Driver for Nvidia GPUs in Rust by fayalalebrun on Thursday March 21, 2024 @02:35AM (#39775446)
Even though the newest nvidia drivers have started to support GBM, the Wayland compatibility story is still not great. In my experience on Wayland, several OpenGL programs refuse to work, and Vulkan does not work at all. This is with driver 545.
Re:Red Hat to Author New Linux Driver for Nvidia GPUs in Rust by mrmlz on Thursday March 21, 2024 @04:51AM (#39776163)
Perhaps Wayland is to blame?
Re:Red Hat to Author New Linux Driver for Nvidia GPUs in Rust by la_oveja on Thursday March 21, 2024 @04:59AM (#39776221)
no its not. wayland strangely works flawlessly on amd, such a big mystery.
Re:Red Hat to Author New Linux Driver for Nvidia GPUs in Rust by JackSlateur on Thursday March 21, 2024 @06:23AM (#39776791)
On the other hand, nvidia hardware -unlike amd's- never crashed my PC.

So I guess the situation is not simply black & white but a bit more nuanced.

Re:Red Hat to Author New Linux Driver for Nvidia GPUs in Rust by mrmlz on Thursday March 21, 2024 @06:01AM (#39776658)
So if I design something that works with one vendor but not the other then its their fault?
Re:Red Hat to Author New Linux Driver for Nvidia GPUs in Rust by la_oveja on Thursday March 21, 2024 @06:44AM (#39776923)
wayland is a protocol that uses the gbm api.

amd uses the gbm properly, nvidia is half cooked and previously used eglstreams instead of because they did not like gbm. reality is every compositor just uses gbm.

Re:Red Hat to Author New Linux Driver for Nvidia GPUs in Rust by mrmlz on Thursday March 21, 2024 @09:58AM (#39778572)
Re:Red Hat to Author New Linux Driver for Nvidia GPUs in Rust by lakomen on Thursday March 21, 2024 @01:11PM (#39781415)
Ok long story, I'll try to keep it short. New motherboard, Asus w680 ace ipmi. It has an extra ipmi card. Nvidia-drm.modeset = 1 is required for Wayland to render anything other than 1920×1080. I have a 4k monitor. I insert the IPMI card, disable the aspeed gpu on the card via jumper. The card is still active. But the BCM isn't working, correct cabling and all. The Aspeed card being active clashes with the Nvidia 4070 card. I have to disable modeset. Effectively I can't do Wayland with the IPMI card plugged in. Bonus fun: I ordered the motherboard via Amazon DE, they imported it from Amazon US, because with import taxes it's over 150€ cheaper than directly from DE. I contact Asus support (which was hard enough, I can not talk to Asus US support only DE), and waste about a month doing pointless things, going past the instant return period of Amazon. They tell me to contact ASUS RMA. I can only get in touch with ASUS DE RMA. They tell me to talk to Amazon, because I don't have an invoice, Amazon refuses to give me one because it's an imported product. I contact Amazon 2 times. Both times some Indian support people promise me the heavens, I have to tell them, "I can't send the motherboard back, I'm using it and about 2400€ worth of components on it, I use the motherboard for work". They say, no problem we'll send you a replacement in 3 days. 2 months have now passed, no replacement in sight.
Re:Red Hat to Author New Linux Driver for Nvidia GPUs in Rust by mrmlz on Thursday March 21, 2024 @10:01AM (#39778604)
I've used the prop-drivers for a couple of years now with absolutely zero issues so I'd say so. But I guess your use case might vary. I don't use Wayland.
Re:Red Hat to Author New Linux Driver for Nvidia GPUs in Rust by uluyol on Thursday March 21, 2024 @02:23AM (#39775388)
Which regressions for Nvidia hardware are you talking about?

Nouveau supports seriously ancient Nvidia hardware. It's perfectly reasonable to make a clean break once in a while (both AMD and Intel have done it in their open source drivers).

Re:Red Hat to Author New Linux Driver for Nvidia GPUs in Rust by bdjsiqoocwk on Thursday March 21, 2024 @03:13AM (#39775608)
And the church of rust is contributing to the problem.