this post was submitted on 16 Nov 2023
97 points (96.2% liked)

Linux

48655 readers
2072 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
 

Hi all,

I'm in the market for a new big desktop replacement gaming laptop, and looking at the market there are almost exclusively Nvidia powered.

I was wondering about the state of their new open-source driver. Can I run a plain vanilla kernel with only open source / upstream packages and drivers and expect to get a good experience? How is battery life, performance? Does DRI Prime and Vulkan based GPU selection "just work"?

The only alternative new for my market is a device with an Intel Arc A730M, which I currently think is going to be the one I end up buying.

Edit 19/11: Thanks for all the feedback everyone! Since the reactions were quite mixed - "it works perfectly for me" vs "it's a unmaintainable mess that breaks all the time", I'm going to err on the side of caution and look elsewhere. I found a used laptop with an AMD Radeon RX 6700M, which I'm going to check out the coming days. If not, I've also found Alienware sells their m16 laptop with an RX 7600M XT, which might be a good buy for me (I currently still rock an Alienware 17R1 from 2013 with an MXM card from a decomissioned industrial computer in it).

all 48 comments
sorted by: hot top controversial new old
[–] [email protected] 36 points 1 year ago (1 children)

Nouveau is stable and runs, but don't expect the best performance. The official NVIDIA driver is unstable, lacks proper wayland support but has decent performance. I'd go with anything but a NVIDIA GPU.

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

Yeah, that's what I heard anecdotally

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

I don't think so. I can't find any good information about those new 'open-source' kernel modules in any of the Linux wikis. Just news articles from 2022. Something isn't right there. It's either a marketing stunt and nothing changed or something else. I would dig deeper if I were you.

Concerning NVidia's history: Don't rely on them making user-friendly decisions. Especially when it comes to Linux. The usual drivers work. They have some hiccups and you're going to have some annoying issues with things like Wayland, if something major changes in the kernel you have to wait for NVidia but they'll eventually fix it. It's not open source and you have to live with what they give to you. It mostly works though and performance is great. I'd say this is the same with the newer 'open-source' drivers that just shift things into (proprietary) userspace and firmware.

The true open-source alternative is the 'Nouveau' drivers. For newer graphics cards, expect them to get only a fraction of the performance out of your GPU and having half the features not yet implemented, including power management. So your game will have 10fps and fans on max while it empties your battery in 20 minutes.

On my laptop Nouveau started to be an alternative after several years when development kept up and it got comparable performance and battery life to the proprietary drivers. But you might replace the laptop at that point. Waiting for NVidia or the open source drivers to keep up hasn't been worth it for me in the past. I did that two times and everytime I had to live with the proprietary drivers instead.

So my advice is: Be comfortable using the proprietary drivers if you want to buy NVidia.

Intel Arc got really bad performance reviews. It's not worth spending lots of money on them. But fortunately they're cheap because the gamers don't buy them (for that reason). I live with the iGPU that's part of my CPU. It's alright since I don't play modern games anyways.

But you missed AMD. There are some laptops available with the Ryzen 7040 series and it seems to be a fast CPU. They also made the integrated graphics way faster than before, albeit probably still not on the level for proper gaming. But I bet there are desktop replacements out there that combine it with an AMD GPU.

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

Thanks, that's what I was thinking as well.

I didn't miss AMD. The dedicated GPUs just aren't available new in my wide area, unless they're put into mediocre plastic shells of a budget laptop, and the integrated GPUs don't work for my use case.

I just sold an AMD laptop (with RX 6800s) because I wanted a bigger screen. I don't need top-tier performance, most of the games I play are fine on mainstream gaming hardware. The software experience was perfect but I didn't use the laptop very often because it was 14" and uncomfortable to use in the couch because of the screen hinge design.

I already have a perfectly fine 2021ThinkPad X1 Nano that does everything I want from a portable computer and I noticed I just never had a reason to use the gaming laptop unless I was gaming. I just want something with a bigger screen and better GPU that will only be moved on our living room table and the storage rack, and the occasional car trip. If the 18" Alienware with RX 7900M was for sale here (for a reasonable price) I would buy that, but that is not going to happen.

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

As someone who just had to shell out the money to do a lateral move from an Nvidia 2080 to a RX 6700XT - don't go with Nvidia if you're wanting to have a good time.

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

That's what I got from my past experiences as well, but I haven't owned anything Nvidia since the Pascal (GTX 10x0) era so I wanted to check if anything got better with their open source efforts.

[–] interceder270 -2 points 1 year ago (1 children)

As someone with an Nvidia GPU (3060 mobile) with no issues, this is mostly FUD from AMD fanboys.

Experience > theory, everytime. Especially the theory of strangers on internet forums. :)

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

Yeah, I wish it had just been theory, I wouldn't blatantly say something like my original comment if it weren't based off experience. I've written numerous comments on my experience with Nvidia + Linux [+ Wayland] - such as this comment, primarily the the second, third, and fourth paragraphs. Sadly I don't think its possible to "relative" link direct comments, so I've just linked my instance instead.

Since you mentioned it's a mobile GPU, I'm not sure if perhaps you have also have an internal GPU that is drawing your regular desktop. My friend doesn't have nearly the same amount of issues that I have with Wayland, because he's able to drive his desktop with his iGPU and does GPU passthrough to play games through a Windows VM - the 5600X that I have doesn't include integrated graphics so this was not possible for me.

Either way, if it works for you then fantastic. It certainly didn't work for me, and definitely not for a lack of trying.

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

DONT get an nvidia GPU.

It works but its a nightmare sometimes. The drivers are still bad. Dont't.

-nvidia user

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

I REGRET buying an nvidia adapter when I had the opportunity to buy an AMD/Radeon adapter.

During the pandemic, I purchased an GeForce GTX 1650. It's an older, Turing hardware-based card, so you'd think the driver support would be pretty mature, right? It has been NOTHING but problems.

On nouveau, it's stable, but 3d acceleration just doesn't work right. Under the nvidia open source driver, it corrupts the screen after boot and locks up entirely second later. Under the proprietary driver, it freezes on boot a good amount of the time.

Now, once I get it booted, it's solid as a rock. I've gotta crank the engine over five or six times every time I DO boot, though. If I had it to do over again, I'd definitely have stuck with AMD.

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

Sounds similar to my most recent Nvidia experience.

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

it's not there yet but in a few years from now there is hope, a vulkan driver is in the work and the nvidia signed firmware would allow power management for newer gpu, but it's not ready yet...

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

Linux noob here. Why do people refuse to use the proprietary driver? I did not had any seriousl issue with my 2080ti on Nobara. I can game and edit videos with better performances than in windows with same pc

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

I have had so many issues with Nvidia drivers, especially on laptops with Optimus. Black screens after booting, random breakage when updating, having to fuck around with OpenGL libraries all the time when you have integrated Intel graphics and Nvidia graphics on the same system. It's just a pain for me on laptops.

Wouldn't be such a big issue on a desktop, but I've had a work-provided workstation with an Nvidia and 99% of the time if something broke on that machine, it was because Nvidia wasn't compatible with some updated kernel or libraries.

Intel and AMD have both provided us with a painless driver experience that just works out of the box all the time and is integrated in all the open source things (mainly the Linux kernel and the Mesa libraries for OpenGL & Vulkan). With Nvidia, you need to throw all that out and use their proprietary blobs for OpenGL and Vulkan.

Also, I just think Nvidia is a scumbag company, trying to force single-vendor proprietary solutions on the market by abusing their dominant position (pushing CUDA while refusing to implement any new OpenCL version for over a decade, so software vendors couldn't just pick a competitive open alternative is one example, the original G-Sync is another). I prefer not to give them any money if I can help it.

[–] interceder270 0 points 1 year ago (1 children)

I've had all those issues back in like 2014.

Nvidia Optimus has come a long way on Linux. Manjaro and Mint have utilities to enable it out of the box.

THAT SAID

We still have to prepend all programs we want to use the Nvidia GPU with prime-run. I'm not sure if mobile AMD users have to do the same, but this is legitimately annoying as hell this many years later and would actually be a good reason to pick AMD over Nvidia.

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

I'm not sure if mobile AMD users have to do the same

No we don't. Mesa and the kernel automatically decide to use the dGPU for intensive tasks. It is only on rare ocassions that I have to use the DRI_PRIME=1 to force the use of the dGPU. It has been months since I last did it

[–] interceder270 1 points 1 year ago

Thanks. I've been curious about that.

Gonna start sharing it as another reason why I would choose AMD over Nvidia, in addition to the drivers being open source.

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

I've been using Linux for over 20 years and I don't get it either. I don't know why a vocal minority get so fixated on it. It's not like it's the only manufacturer with proprietary drivers. As long as the drivers work and are easy to install I don't see a problem.

I've used ATI/AMD cards equally over the years and I've always ended up having more problems overall with them than with Nvidia cards & drivers. If I were inclined to generalize I could say that open source drivers are apparently lower quality, right? 🙂

But that would be just as silly as the other way around. I don't think that open or closed drivers, in itself, automatically says anything about quality.

If closed source drivers really were a problem then Nvidia wouldn't be used by 80% of Linux gamers.

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

A few reasons:

  • There is a strong desire to see if there is secret sauce in the driver that makes their cards so darn performant. Could it be applied to other video drivers?
  • To audit for vulnerabilities and fix them.
  • To allow the driver to use some kernel internals that the kernel developers keep trying to wall proprietary drivers off from.
  • Ideology
  • Community might be able to hack it to work better with Wayland, since the Wayland team has no interest in extending any kind of support to proprietary driver driving GPU's... despite x11 working just fine forever. ... see Ideology.
[–] [email protected] 2 points 1 year ago

Thanks, it does explain some things.

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

Often times it doesn't install or they insist on using free software (read: free as in free speech)

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

Try playing games like Cyberpunk. I dare you :)

You are lucky if you can play without a crash for even one minute with that card. I am not exaggerating. Something is seriously messed up with the 20XX series.

Also Wayland is still a mess for Nvidia cards overall which is becoming more and more important.

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

Weird. I've tried about 12 games, they all work perfectly. Only in one case, I had to switch to an x session. Wayland is super responsive, only some small visual glitch from time to time. Da vinci studio edits and render videos super fast.

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

Its a proprietary driver, which could be an insane security and privacy risk. Its a modification to your kernel, normal on Windows, but not on Linux. It basically makes Linuxes security model weak.

[–] kuneho 8 points 1 year ago (1 children)

based only on the fact that it's proprietary™®©?

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

Yes pretty much.

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

using external kerner driver ("out of tree") come with caveats you need to take care of
typically most linux distros will do this completely transparent but certain usecases will be more complicated
espcially if you install packages outside of your linux distro repository like a newer kernel version or an older Virtual Box version

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

As far as I know, only the kernel module was open sourced and in doing that Nvidia moved a lot of stuff from the driver, to the firmware/software part of their stack instead. So you would still need those, which are not open.

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

No, he sais the nuveau drivers dont work, and the proprietary drivers work well.

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

Here is an alternative Piped link(s):

https://www.piped.video/watch?v=9f4B8uIPqcE

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

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