News for hackers. Stuff that matters.
Re:A Nouveau graphics driver update by fny on Friday December 01, 2023 @05:45PM (#38493595)
I still don’t understand why it’s so damn hard to use a NVIDIA GPU on Linux vs Windows. The NVIDIA drivers are closed source for both. Once deep learning took off, I expected things to change, but the other day I tried to install drivers for a new card and my Bluetooth and WiFi stopped working.
Re:A Nouveau graphics driver update by bayindirh on Friday December 01, 2023 @06:11PM (#38493872)
NVIDIA’s main target on Linux is data center cards (Teslas). Desktop is just happen to be supported for the hobbyist market.

This was not like that before their Tesla series took off with such momentum.Currently, X11 and display support is provided at the barely minimum level which doesn’t piss off the people.

I think some parts of their drivers do some black magic, because if that was not the case, there should not be a tug of war about the technical details for providing Wayland support.

Monitor power management and related display parts of the driver break constantly, but not the CUDA parts, because it’s the money making part.

Re:A Nouveau graphics driver update by hellozomo on Friday December 01, 2023 @07:16PM (#38494425)
Not sure where you're getting that from. NVIDIA has supported professional desktop Linux usage since before anyone was doing AI on their GPUs. All of their GPUs worked well.

I've been running NVIDIA GPUs on Linux workstations in personal and professional settings for almost 20 years. It's been always been an extremely functional and high performance experience.

It's annoying that the drivers are proprietary, and have to be rebuilt during kernel upgrades, but they have worked very well for a long time.

Re:A Nouveau graphics driver update by gpderetta on Friday December 01, 2023 @07:21PM (#38494454)
Same. I have been running on and off Nvidia on Linux for more than 20 years and they have committed to the platform for all this time.

It would of course be better if the drivers where OSS and integrated in the kernel, but for more than a decade Nvidia was the only option for high performance graphics on Linux (Intel always had very good stable OSS drivers but not the hardware to match).

Re:A Nouveau graphics driver update by bayindirh on Saturday December 02, 2023 @04:44AM (#38497396)
The problem is, not everyone can get the latest and greatest card a couple of years for their desktop system for their workstations.

For AI work, their cards are great, yes. Also for accelerated science. We have quite a few of their cards at the bottom floor, churning out number non-stop.

However, desktop experience with their cards are constantly degrading after Tesla got up to speed. VSync can't be enabled without losing 25% performance hit. DPMS support was broken for 1.5 years on DisplayPort. Then, DisplayPort started to lose link when you turn off your monitor for whatever reason.

These things add-up, and when your card is deprecated you can't move to open drivers even if said drivers have lower performance, it breaks the camel's back.

If you're on the happy path (hardware + software wise), NVIDIA is great, and if you don't, you're too poor for NVIDIA and they can't be bothered.

So no, I'll not be buying NVIDIA card for my desktop use.

Re:A Nouveau graphics driver update by jwells89 on Friday December 01, 2023 @07:52PM (#38494669)
Official Nvidia drivers for macOS back when those still existed were second class citizens too. They had a rotating cast of odd bugs you’d never see with the Windows drivers.

Non-Windows desktop users definitely don’t seem to be among Nvidia’s chief concerns.

Re:A Nouveau graphics driver update by michaelmrose on Saturday December 02, 2023 @12:04AM (#38496056)
A factor in this case may be the fact that while desktops remain a very sizeable segment in the PC space in the Mac space an actual traditional desktop is available only as a very high priced workstation which starts at $7000 whereas more traditional users are apt to be served by minis or imacs.

There were probably about 1000x more Linux desktop users than Mac Pro users willing to install their own aftermarket GPU even when this was a thing.

Re:A Nouveau graphics driver update by jwells89 on Saturday December 02, 2023 @02:01AM (#38496580)
There is another group of macOS users who were buying Nvidia cards: hackintoshers (those who hack macOS to run on generic PCs). For several years, by far the most cost effective, powerful, and flexible “mac” available was one that you built yourself from a selection of known-compatible components. Many in this group were buying Nvidia GPUs for use in these machines since Nvidia was furnishing macOS drivers at that point.

It’s hard to tell how numerous this group was, but I saw them come up surprisingly often in photos and discussions online, even appearing in production environments (despite legal dodginess). Wouldn’t be surprised if at times this is where most Nvidia cards purchased for use with macOS were sold.

Re:A Nouveau graphics driver update by jdiff on Friday December 01, 2023 @06:31PM (#38494057)
To be, frankly, more fair than they deserve, with CUDA they don't have to worry about anyone else. It's their API, they just have to maintain it themselves. When supporting X or Wayland they have to play nice and integrate with other people and their APIs.
Re:A Nouveau graphics driver update by loeg on Friday December 01, 2023 @07:06PM (#38494343)
They put a ton of effort into supporting the Linux desktop market, all considering.
Re:A Nouveau graphics driver update by est31 on Friday December 01, 2023 @09:18PM (#38495225)
> Desktop is just happen to be supported for the hobbyist market.

That Linux hobbyist market is barely relevant. Desktop Linux is supported by Nvidia because it is a big thing in the SFX industry.

Re:A Nouveau graphics driver update by michaelmrose on Friday December 01, 2023 @11:45PM (#38495958)
> NVIDIA’s main target on Linux is data center cards

Linux has been supported before their were data center cards. Before GPU compute was a thing there was workstations which are in fact still a thing.

> Monitor power management and related display parts of the driver break constantly,

In 20 years of usage this appears to be inaccurate. I'm not even 100% sure what your GPU has to do with monitor power management fails which historically consist wholly and only of distros/desktops setting the sleep threshold way to short and whatever half assed hack is being used to keep their machine from turning the monitor off in the middle of their youtube video fails to work properly. The solution as with a lot of over-complicated things is simplicity. Set the threshold far higher and if you actually want the monitor to shut off do so. In any case it again has little to do with your GPU

> X11 and display support is provided at the barely minimum level which doesn’t piss off the people.

Not sure where this is coming from at all. X11 support has pretty much always been great. The most reasonable thing to suppose is that the Linux desktop ecosystem has been historically somewhat fragile especially if you insist on the latest and greatest and that Nvidia due to open source unfriendliness seems to catch a greater than average share of the blame.

Someone will post a random thread on a entirely unrelated matter without even mentioning nvidia and somewhere down thread someone will be blaming Nvidia.

> Well recently my cat got the mange...

>> Are you running NVIDIA? It's known to cause that.

>>> Oh ya I installed NVIDIA recently and my cat is 100% dead!

>>>> My neighbor installed NVIDIA and my cat is now a dog

Look at this singular thread where NVIDIA is assigned the blame for flaky wifi, bluetooth, and display power management.

Re:A Nouveau graphics driver update by tedunangst on Friday December 01, 2023 @05:50PM (#38493654)
The driver API in the windows kernel changes about once a decade. And they're not actively hostile to loading closed source drivers.
Re:A Nouveau graphics driver update by dietr1ch on Friday December 01, 2023 @06:32PM (#38494070)
Poor multi-trillion company unable to support open source drivers
Re:A Nouveau graphics driver update by tedunangst on Friday December 01, 2023 @06:45PM (#38494173)
Their business plan seems to be working out for them.
Re:A Nouveau graphics driver update by mhh__ on Friday December 01, 2023 @07:11PM (#38494386)
Ok?
Re:A Nouveau graphics driver update by phendrenad2 on Friday December 01, 2023 @09:47PM (#38495401)
Companies won't do anything unless it makes them money, there's no other factor like pride or social pressure. A human might be motivated to change by being looked down upon, but not a corporation.
Re:A Nouveau graphics driver update by xcdzvyn on Friday December 01, 2023 @11:08PM (#38495791)
Who are you trying to argue?
Re:A Nouveau graphics driver update by ladyanita22 on Saturday December 02, 2023 @06:25AM (#38497828)
Poor us. The multi-billion dollar company is doing just fine.
Re:A Nouveau graphics driver update by matheusmoreira on Friday December 01, 2023 @07:19PM (#38494444)
Maybe they should contribute their drivers to the kernel instead of fighting it at every turn.
Re:A Nouveau graphics driver update by phendrenad2 on Friday December 01, 2023 @09:48PM (#38495407)
There's always AMD
Re:A Nouveau graphics driver update by justinclift on Friday December 01, 2023 @11:53PM (#38495996)
Re:A Nouveau graphics driver update by paulmd on Saturday December 02, 2023 @10:42AM (#38499346)
They are, they released an open driver and it’s being upstreamed into the kernel.

https://github.com/NVIDIA/open-gpu-kernel-modules

People still search for reasons to shit on it because they don’t like the company in general and want to back AMD. Nothing is or ever will be good enough for the haters.

http://www.paulgraham.com/fh.html

It's software development, if you're searching for a reason to be discontented, you're always going to find one, it's clearly an unfalsifiable situation for people who just dislike the company on personal grounds.

Re:A Nouveau graphics driver update by johnny22 on Saturday December 02, 2023 @01:17PM (#38500629)
that driver is not being upstreamed and never will be as long as it can only work with the proprietary userspace. It's being used as a reference implementation to improve nouveau.
Re:A Nouveau graphics driver update by matheusmoreira on Saturday December 02, 2023 @03:04PM (#38501532)
I've got nothing against nvidia at all. I just don't like running proprietary software on my computer. Looks like they're finally improving and I'm definitely happy about that. However, the driver has not been upstreamed yet.

I just wish they'd let the nouveau developers do their thing.

Re:A Nouveau graphics driver update by cpburns2009 on Friday December 01, 2023 @06:38PM (#38494117)
You install the Nvidia drivers through your distro package manager. That's worked for me for the past 10 years. In recent years, the driver or some component of it recompiles via dkms whenever you install a new kernel. The Nouveau drivers have never worked for me.
Re:A Nouveau graphics driver update by jandrese on Friday December 01, 2023 @07:16PM (#38494424)
Yeah, I see a lot of people bemoaning the difficulty of installing the nVidia driver on Linux, but in my experience it amounts to clicking a box in the configuration and letting DKMS do its magic. Actually easier than the Windows driver that you have to go to their website and download. Downside is the driver version is usually somewhat behind the Windows version, but that's not been a showstopper for me.
Re:A Nouveau graphics driver update by boredtofears on Friday December 01, 2023 @07:15PM (#38494416)
That’s never worked for me other than to maybe get the native monitor res working. Refresh rates are always off and any remotely advanced configuration has never worked with distro drivers.
Re:A Nouveau graphics driver update by fny on Saturday December 02, 2023 @01:06AM (#38496355)
This is exactly how I borked my Bluetooth and WiFi.
Re:A Nouveau graphics driver update by idonotknowwhy on Friday December 01, 2023 @08:07PM (#38494758)
It's really not hard anymore. I've used it for years, since I got rid of my abomination of a Vega64.

AMD drivers are built into the kernel and work out of the box, but they're still buggy. In my experience, at least 3 times I couldn't boot after a kernel upgrade due to buggy Vega64 drivers.

Re:A Nouveau graphics driver update by vondur on Friday December 01, 2023 @06:31PM (#38494055)
I got used to it back in the days. I would download the driver from Nvidia, make the installer executable. Then drop into run level 3 and run the installer from there. Reboot, and it worked. Every time there was a kernel upgrade I believe you needed to reinstall the drivers, as the Nvidia software installed kmod's. Needless to say, I use ATI cards now. I wonder if Nvidia supported Wayland natively, maybe the installations will go much smoother?
Re:A Nouveau graphics driver update by pmontra on Friday December 01, 2023 @07:04PM (#38494321)
I had a laptop with an ATI card, 2006 to 2013. Then some 3.x kernel dropped the driver and I had to choose between buying a new laptop and stop upgrading the kernel. I stopped the upgrade but no more ATI cards for me after that experience.
Re:A Nouveau graphics driver update by aidenn0 on Friday December 01, 2023 @07:28PM (#38494505)
Nowadays their Linux support is probably better than nvidia; when I bought my nvidia card, the amdgpu drivers were just starting to be a thing, and the radeon drivers were so bad I went nvidia, and it's been a pain ever since. I recently got wayland working, but to give you an idea of performance, I get 86FPS on glxgears when maximized on my 1200p screen.
Re:A Nouveau graphics driver update by OsrsNeedsf2P on Friday December 01, 2023 @06:04PM (#38493798)
Nvidia targets Windows, not Linux. It's as simple as that
Re:A Nouveau graphics driver update by loeg on Friday December 01, 2023 @07:07PM (#38494347)
They put a lot of work into maintaining a Linux driver, actually.
Re:A Nouveau graphics driver update by michaelmrose on Friday December 01, 2023 @05:58PM (#38493753)
It seems likely that in the course of installing your gpu driver via your package manager you installed additional updates that effected other functionality. It is plainly impossible for your GPU driver to effect your wifi.

Its been painless to install closed source nvidia drivers for 20 years so long as your distro provides a package.

Re:A Nouveau graphics driver update by MadnessASAP on Friday December 01, 2023 @07:19PM (#38494443)
I can think of a dozen ways for a GPU driver to affect Wireless NIC. They're both kernel mode so good ol' fashioned SW bugs is a start. Then you could have bad firmware tables causing one driver to trample on the wrong device. All the way too the GPU interfering directly on the bus.
Re:A Nouveau graphics driver update by michaelmrose on Friday December 01, 2023 @10:59PM (#38495751)
If this was so you would be able to trivially reproduce in 60 seconds by rebooting with the in kernel driver in place of the NVIDIA driver. Then you can write a blog post exploring the nature of a bug as likely as you finding out you were the secret love child of Elon Musk and the direct descendant of the Lindbergh baby.
Re:A Nouveau graphics driver update by smoldesu on Friday December 01, 2023 @05:47PM (#38493622)
The main difference is probably that Linux has a dozen+ desktops and (even ideally) multiple desktop implementations to support. Windows has just one, and they update it continuously (not to say it works perfectly either).

In the end, Windows has more users that report bugs on fewer setups. That makes fixing things much easier than Linux.

Re:A Nouveau graphics driver update by yjftsjthsd-h on Friday December 01, 2023 @08:46PM (#38495007)
I... Don't think either of those is true? Driver support is once for all of Xorg and once for all of Wayland AFAIK; it's not like you have a different driver for each desktop environment. And I was rather given to believe that Linux users were far disproportionately likely to report bugs compared to Windows users, though I suppose there are so many more Windows users that they might still manage a higher absolute number of bug reports.
Re:A Nouveau graphics driver update by askiiart on Friday December 01, 2023 @06:32PM (#38494071)
I'm amazed no one's posted is yet, so I guess I'll have to do the honors.

"Nvidia, fuck you" - https://youtu.be/i2lhwb_OckQ

Re:A Nouveau graphics driver update by paulmd on Saturday December 02, 2023 @01:11AM (#38496381)
And there’s the thought-terminating cliche, like every nvidia thread
Re:A Nouveau graphics driver update by still_grokking on Saturday December 02, 2023 @12:39AM (#38496216)
It's much simpler on Linux. You just do `# apt install nvidia-driver`, and reboot. That's all.

This also won't install all the horrible security nightmares that come with the Windows drivers, as that stuff doesn't exist on Linux.

So overall a much better experience than on Windows.