Page 1 of 1

CentOS8 + Nvidia Drivers + NVidia Optimus

Posted: 2019/11/17 19:27:23
by Adrien.D
Hi,
on fedora, when i install NVidia drivers from rpm fusion with :

Code: Select all

dnf install xorg-x11-drv-nvidia akmod-nvidia
and

Code: Select all

reboot
It works.
But on CentOS8, the driver compiles at boot but black Screen.
Do you have a solution for NVidia Optimus cards for laptops ?

NVidia GeForce 650M on Asus N67VZ

Re: CentOS8 + Nvidia Drivers + NVidia Optimus

Posted: 2019/11/20 06:15:55
by maweos

Re: CentOS8 + Nvidia Drivers + NVidia Optimus

Posted: 2020/06/17 18:00:48
by mwprado
I could use optimus installing cuda repo from nvidia in centos 8.2 and editing this files:

1) /etc/X/xorg.conf.d/10.nvidia.conf

Section "ServerLayout"
Identifier "layout"
Option "AllowNVIDIAGPUScreens"
EndSection

Section "OutputClass"
Identifier "nvidia"
MatchDriver "nvidia-drm"
Driver "nvidia"
Option "AllowEmptyInitialConfiguration"
Option "PrimaryGPU" "no"
Option "SLI" "Auto"
Option "BaseMosaic" "on"
EndSection

Section "OutputClass"
Identifier "intel"
MatchDriver "i915"
Driver "modesetting"
EndSection

2) comment nvidia line in /lib/udev/rules.d/61-gdm.rules
# disable Wayland when using the proprietary nvidia driver
#DRIVER=="nvidia", RUN+="/usr/libexec/gdm-disable-wayland"

Re: CentOS8 + Nvidia Drivers + NVidia Optimus

Posted: 2020/08/01 14:14:23
by mwprado
I've forgotten. I had to install make for build the dkms driver.