bosim / SUSEPrime

Provide nvidia-prime like package for openSUSE
8 stars 3 forks source link

prime-select needs to modprobe nvidia #6

Open RobertKrawitz opened 6 years ago

RobertKrawitz commented 6 years ago

Need to add

modprobe nvidia

after running ldconfig when switching to nvidia, or the X server won't start if the module isn't already loaded.

RobertKrawitz commented 6 years ago

It needs to do a bit more than this:

1) modprobe nvidia needs to be done prior to nvidia-xconfig.

2) The package needs to arrange for modprobe nvidia to be run prior to going into runlevel 5, so that the module is loaded prior to X trying to start.