I need to know how to exit the X server in order to download NVIDIA driver that I need to run PixInsight. Currently PixInsight won’t run with the the nouveau graphics drivers. When I try to install the driver, the installation stopped and warned me that I need to exit the X server. I’ve read NVIDIA Read Me and it gave instruction to write a new file to turn it off, but no instruction on how to turn it back on. I rather consult with you before I do anything.
Exiting the xserver should not be not required.
Install the nvidia drivers from rpmfusion as shown here Configuration - RPM Fusion and here Howto/NVIDIA - RPM Fusion .
Once that is done then wait about 5 minutes before rebooting.
Verify that secure boot is disabled with mokutil --sb-state. If it is disabled then a reboot should properly load the drivers. If not already disabled then during the reboot you can disable it by entering the bios setup and turning it off. Secure boot must be disabled for the default nvidia drivers to load properly. (One may also sign the modules themselves to enable loading with secure boot enabled)
The RPM Fusion people package the nvidia code so that it works on fedora.
Use their version and test your app, it will very likely work. As you update
your system you will get updated nvidia drivers automatically.
Note that if you installed the drivers from nvidia then you should remove the same before installing the drivers from rpmfusion. There is a potential for lingering files that are installed differently to cause conflict.
Most installation packages also include the ability to remove the software so try that before installing from rpmfusion. I have not used an nvidia ‘.run’ file for some time so am not familiar with how to uninstall it.
We need to know for certain the nvidia drivers are loaded. lsmod | grep nvidia will answer that.
We also need to know what the kernel command line is. cat /proc/cmdline will provide that.
Once this info is available more pointers may be available.
In particular, the command line probably should include the nvidia-drm.modeset=1 option and the nvidia drivers must be loaded.
Ok, neither of those commands required that one be root to run them, but not a problem.
If you want to test the effect of adding the nvidia-drm.modeset=1 into the command line for one boot only then it is easy to do by editing the grub command line during boot.
When the grub menu displays press e to edit and on the line that begins with linux add that option into the options shown. Then ctrl+X will continue booting and you can test to see if there are any changes to the items you noted as not working properly.
This change is for the one boot only and is temporary until it is actually added to the permanent grub config, but allows testing of options to see the results.
Are you running as X11 or wayland? I cannot use wayland with nvidia and see the mouse move slowly under wayland, as well as kernel panics.
If so tey useing X11, tou can pick that feom the cogwhell on the lower left(?) on the lovin screen.