Hello! I’m trying to replace my Kubuntu installation with a Manjaro system. I’m currently stuck with the proper configuration I need with nVidia proprietary drivers. I need a configuration using the nVidia GPU alone, without the Intel GPU and without any offloading with PRIME.
It was incredibly simple to do this in Kubuntu: the nvidia-settings application had a specific tab for selecting one of these three options (Intel only, nVidia only, PRIME). I’m a little surprised to see that the same application (and same version) does not include that tab. I think it is currently using PRIME by default. I tried many ways to disable and only use nVidia, but no way worked. In particular, I guess the reference point is this:
X Error of failed request: BadName (named color or font does not exist)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 11 (RRQueryOutputProperty)
Serial number of failed request: 41
Current serial number in output stream: 41
So, any idea why the choice is missing in nvidia-settings? Any idea what the error means? Anyone who can provide info on how to go with nVidia only?
thanks for your help. Unfortunately I already tried to install nvidia-driver-440xx, but the only thing I get after the reboot is a black screen.
Anyway, I followed all the steps you reported precisely again, but I keep getting a black screen. I fixed by reinstalling the previous one: video-hybrid-intel-nvidia-440xx-prime.
Given that you need to use a hybrid driver i think you might be using a laptop. Given that you might need to still use the hybrid driver so that you can use the IGPU’s output to the display. What you seem to be looking for would be to create a Reverse PRIME configuration. Take note though that you use the proprietary NVIDIA driver though, so the Xorg config is not the same as the one shown in the wiki.
I suspect I should be installing video-nvidia as you said. The other one is only for hybrid setup, which is the one I do not want. This explains why the menu I’m looking for is missing. But for some reason I get a black screen.
In the system settings, I see that video-linux is also installed. Isn’t that nouveau? Should I uninstall it?
Removing hybrid and installing video-nvidia results in a black screen.
Do you see anything wrong in the configuration in the picture?
There is nothing in this system that needs to be backed up. I’m only investigating a possible migration from Kubuntu. I can experiment freely.
Thanks for your help.
Yes, I read that part, but it is completely unclear to me whether that is really my case and how to implement that on this machine. It is unlikely I can make that work without more info. Do you think that is somehow related to Optimus Manager - Manjaro Linux?
optimus-manager --switch nvidia
seems interesting, but I’m unsure if that is an up to date document.
sorry for the ignorance, which conf file do you need?
I’ve read that the current approach for offloading is setting env variables: Chapter 34. PRIME Render Offload. I therefore tried to put those in /etc/environment, but it seems Plasma is not appreciating it. It seems to crash and have severe issues with repainting, so it is not probably the proper way to go.
If I set those only for glxgears instead, it seems to work properly. But I’d like to use that approach system-wide.
After much reading, my understanding is that Ubuntu includes a “prime-select” tool that does what I need, but it is not available in Manjaro. I tried a few tools in github, but mostly broke the system.
AFAIK Manjaro’s wiki about Optimus is still valid. There have been lots of threads about various methods in the archived forum as well, but I don’t have the time now to study them all, I’ll just leave them for reference below.
I don’t think one could boot up straight with nVidia as a dGPU from a laptop as it still needs the Intel drivers to start, this is dictated in the BIOS/UEFI. In most BIOS/UEFIs there is some secret code you can type for accessing hidden settings where you could take a look for more entries regarding dGPU and whatnot, you can search the web for it, and maybe you could be lucky disabling the Intel GPU right from the BIOS/UEFI. But double-check everything before applying because you could be left with a blank screen forever (almost)
thanks for the info. Unfortunately I already tried optimus-manager, but guess it is outdated too. I see that it has 5 switching methods: None (I don’t know what this is), nouveau (I guess this is not for me), bbswitch (I’ve been told this is deprecated), ACPI (tried this, but it disabled nvidia entirely, it didn’t even load the module probably) and custom (I don’t know how to implement). I’ll read the links you provided though, thanks.
The only thing I’ve been able to use is the env variable described here: Chapter 34. PRIME Render Offload. But if I place it in /etc/environment, kwin is messed up badly.
I also found projects claiming to do what Ubuntu does, but I typically get a black screen.