Nouveau, NVIDIA, or NVIDIA Optimus?
I recently purchased a Lenovo IdeaPad 5 15ITL05 laptop and I installed Arch Linux on it. On my old laptop [Acer Aspire E1-571G] I used Nouveau and didn't care about NVIDIA drivers. It was working OK. However, with my new laptop I'm not sure if it's the right choice. I feel that the closed-source NVIDIA drivers might provide me with a lot more features than Nouveau. Which graphics driver do you suggest that I use? Nouveau, NVIDIA, or NVIDIA Optimus? What other useful GPU related apps should I install on my laptop to get the best graphics experience?
P.S: This is the output of neofetch on my laptop:
CPU: 11th Gen Intel i7-1165G7 (8) @ 4.700GHz
GPU: NVIDIA GeForce MX450
GPU: Intel TigerLake-LP GT2 [Iris Xe Graphics]
About this post
- Posted
- Archived
- Score
- 107 · 97% up
- Kind
- Text
- ID
- ppftpf
47 comments
Don't use nouveau. The performance is AFAIK, terrible at best, and pretty much defeats the purpose of discrete GPU. Since MX450 isn't a powerful card to start with, I suspect you get worse performance than the integrated GPU. You might as well disable the discrete GPU and use only integrated graphics if you use nouveau...
Read the Arch Wiki page: either use NVIDIA drivers only (recommended if most of the time you're plugged in), or switchable graphics and
prime-run. That said MX450 isn't going to give you a lot compared to Iris Xe; maybe it's only good for some low-end gaming.I second using
nvidiaandprime-run. In that situation, unlike withnouveauornvidia-only, the dGPU will be completely powered down when not in use, saving considerably on battery.Does the nvidia gpu completely power down for you? Lowest mine go is 5w according to nvidia-smi
I have the exact same laptop. Nouveau gets about 100 fps while integrated graphics get about 57 in minecraft, with shaders. It's not really slow.
Interesting looked that one up to and their actually pretty much equal in performance. Still though with low end games I'd probably still prefer to use the MX450 so the CPU doesn't have as much overhead. Depending on the game of course, because I imagine the MX450 would have more access to video memory than the iris Xe graphics would which would run off the system memory
prime-run?
i still use primusrun isn't that the same??
No. That's bumblebee, which has long been deprecated.
Looks like you have 2 graphics cards, one integrated and one dedicated. This is what Optimus is for, so you should use that. There is a great page about it on the arch wiki.
Since I'm not a gamer I know little about GPUs. I guessed that I should go for Optimus. I'll read the Arch Wiki page. Thanks.
I have the same laptop. I'm using nvidia-dkms + optimus-manager and everything works okay.
I've never needed to do anything with optimus-manager.
I just have my DE set to use my intel gpu. Nvidia drivers are installed normally, if I want to launch a game or app and have it use the discreet GPU, I just launch it with prime-run.
Never had to do any configuration for it. Just install the intel drivers and the nvdiia drivers.
This is what I do also. No need for overly-complicated driver setups
I do the same too, but I disable my GPU from the BIOS menu when I'm not using it.
How do you launch Steam games directly from Steam with prime-run? I'm using optimus-manager but prime-run somewhat intrigues me
I have Optimus configured, but my dedicated NVIDIA card is turned off by default. Using integrated helps with power saving as well.
My integrated GPU does however give me screen tears sometimes.
Nvidia of course! forget nouveau ;-) Don't forget to install Nvidia-dkms just in case you change kernel or try different kernel (linux, linus lts or zen for example). Optimus is an option but it is a a pain in the ass to make it work properly (i mean switching off entirely the other card).
Adding some advice to what others have mentioned here, if you want to virtualize Windows for any reason, you can pass the NVidia GPU through to Windows directly and get near native performance. Granted this might only apply if you're looking to game or something but it's a cool way to set things up IMO.
As someone who's spent a good dozen years raging against issues with NVIDIA drivers on various Linux distributions, my advice is: if possible go with AMD GPUs next time.
Hello I am using Ryzen 5 4600H/GTX 1650Ti combo and would like to give you some advice. I don't know how MX450 would work with Nouveau but my setup is completely unusable with it. I keep getting kernel panics and overall a buggy experience. Nvidia drivers on the other hand just works. You just need to keep away from Wayland for now but even that is being worked on right now and I believe Wayland is going to be stable on Nvidia in the near future.
If you get ever Nouveau to work it would not even be worth it because the card would be use useless other than displaying your wallpaper at this point you should just disable Nvidia card and use the integrated graphics only.
For the extra programs I recommend optimus-manager. It allows you to use Nvidia GPU only, integrated GPU only, hybrid (default mode). Normally I use this for power saving but you don't need to configure it for power saving because you have an Intel CPU. With Intel CPUs you can enable Nvidia's rdr3 power management (I might got the name wrong someone correct me if I did) and get the best result without doing custom scripts. You might still want to use the Nvidia GPU only mode because if your external display ports are wired to your Nvidia GPU you can't make your external display as the primary display in Xorg or you will get 1 FPS. If you use your Nvidia GPU only you can avoid this problem and if your display ports are wired to your integrated GPU you can just skip installing optimus-manager and just enable rdr3 and Nvidia driver will take care everything for you.
Only problem is that Nvidia driver is proprietary if that matters to you.
Deleted before we saved it.
Not if you are using Optimus, the second I plug in any external display my pc completely freezes with no way to recover.
ATM my setup is working [kinda] OK with Nouveau. Today I even tested multiple screens and it worked fine. I use i3 window manager on Xorg and I don't have any DE. I remember on my old laptop when I installed NVIDIA drivers, there were tearing effects when I scrolled a page so I rolled back to using Nouveau. I'm not a gamer or graphics designer or ... I haven't cared much about GPUs and because of that I know little about them. Anyway thanks for the info you provided. I have to google some of the things you said though! I have no idea what they are!
If you use i3 and plan to use Nvidia optimus , try using picom for the screen tearing (previously known as Compton) with the experimental backend enabled. I just reinstalled arch on my ThinkPad with an Nvidia gpu (if I didn't have to use the gpu, I wouldn't bother installing drivers for it, bit of a pain and I've had issues with it in past) and this fixed the tearing issue on my machine.
Similar specs here. Gonna try configuring nvidia drivers this weekend. Is there anything i should keep in mind considering that i have hybrid gpu?Any guides you would like to give out for me?
Nvidia driver pretty much takes care of %90 of the things. Only thing I configured was power management on optimus-manager just read its documentation and you will be fine.
Nouveau drivers are total trash and imo aren't worth using at all. Just install Nvidia proprietary drivers and enjoy full use of your hardware.
I use prime with nvidia on my E5-574G, works fine
altough im thinking of going nouveau
I use optimus-manager and bbswitch to use the intel GPU when on battery and nvidia GPU when plugged in
Optimus
I have a T540p and i used Arch. I am now using debian, but the processus is the same.
Just to be clear, 'Optimus' only refers to having a dual-gpu setup; on integrated and one dedicated.
You want to have this feature. That way you always run on integrated, until you explicitly ask for the discrete graphic to have its driver loaded for specific applications only (i use it mostly for games and it's compatible with launchers like steam so it's very useful).
What i do, and from what i read in the thread that might be outdated because i still run on T540p, is use the bumblebee service that uses bbswitch to activate the dedicated graphic card on-demand using the
primusruncommand. It's basically a wrapper like sudo to run the next program using the discrete card if the program interacts with the gpu.What i do :
1 - open the documentation regarding switchable graphics (both debian documentation and arch wiki have wonderful documentation)
2 - install the nvidia driver (you can also use nouveau but the performances are much better with nvidia) and the bumblebee service through the package manager
3 - configure the bumblebee file and blacklist the nvidia driver (the driver must be blacklisted so it's not loaded on startup; it has to be dynamically loaded by bbswitch through the primus wrapper).
4 - TEST THE BEHAVIOUR! THIS IS IMPORTANT!
It may look like it's working but it might not!
There is a way to see if the card is on or off by doing
cat /proc/acpi/bbswitch. If you are running nothing, it should show OFF. If you open a second terminal and runprimusrun glxgears, while the window with the glxgears are turning you should do the previous cat command in the first terminal to see ON. Then, kill the glxgears window and see if the cat command now gives OFF.IF IT ALWAYS SHOWS TO BE ON.
My fix was to use a custom grub option explicitly for my ThinkPad as i documented in this comment :
https://github.com/Bumblebee-Project/bbswitch/issues/96#issuecomment-271481442
It might not be the same for you if you have issues. That is, if you do have any.
I hope this helps you. I rebuilt this setup several times so feel free to ask question.
Take care.
If you ever used pop os you can use Optimus manager + Optimus manager gnome extension / Optimus manager applet QT (for DEs that aren't gnome) to get the same experience (remember to make a config and make the startup mode hybrid instructions are in it's GitHub page and with that you are good) this setup works with AMD , novaeu , and Nvidia if there is a program that is stubborn on using the integrated graphics Optimus-manager comes with prime-offload
Definitely NVIDIA driver. Or if you don't care about it, disabled the dGPU in the UEFI and just use the Intel one.
I'm using Nvidia, and it's working great with Nouveau.
Well I'm not using my machine for gaming right now, but it's working stable for now, on Wayland and Nouveau.