Page 1 of 1

How to choose Nvidia GPU as prime?

Posted: Sun Aug 07, 2022 6:41 am
by leslie1017
I have intel iGPU and Nvidia dGPU, I've installed Nvidia driver from MX tools, and disable iGPU in BIOS, after reboot MX KDE is still running on intel iGPU, my laptop has 4K monitor, and I have external 2x4K monitor, 1x1080p monitor, I need Nvidia dGPU running as default to display all these monitors. With intel iGPU as default, only laptop 4k monitor is displaying.

How to set Nvidia dGPU as prime? (same as ubuntu prime-select nvidia)

Re: How to choose Nvidia GPU as prime?

Posted: Sun Aug 07, 2022 9:56 am
by Huckleberry Finn
You can uncomment (or add if not existing) the line in:

/usr/share/X11/xorg.conf.d/...-nvidia...conf

Code: Select all

Section "OutputClass"
...
    # Option "PrimaryGPU" "yes"
...

Re: How to choose Nvidia GPU as prime?

Posted: Sun Aug 07, 2022 10:43 am
by Huckleberry Finn
Also have a look at these threads (btw: you'll also need AllowEmptyInitialConfiguration and the Basemosaic lines for the external monitors)

https://forum.mxlinux.org/viewtopic.php ... 52#p663452

https://forum.mxlinux.org/viewtopic.php ... 26#p658326

https://forum.mxlinux.org/viewtopic.php ... 41#p657641