I have a MSI Laptop with 3080 Mobile and I installed the NVIDIA drivers through akmod as described in Howto/NVIDIA - RPM Fusion. The laptop has a HDMI and a Mini-DisplayPort, I connected a 24inch laptop to the HDMI and then I bought a mini-DisplayPort to DisplayPort adaptor and used the DisplayPort to connect a 27inch 2k monitor. Note that previously I had the 27inch monitor connected to the HDMI port and had no problems with it. I am using X11. I have a dual boot and the same setup in windows works flawlessly. Can someone help out? Thanks!
The following image is an example of what’s happening, it appears only a fraction of a second and it happens constantly throughout the monitor.
Hi @computersavvy, yes I am using xorg and I configured the nvidia GPU as primary following the instructions from this website, which I believe are the same Howto/Optimus - RPM Fusion.
The following print confirms that I am using xorg and that configured Nvidia as the primary GPU.
That image shows it as configured for primary, but does not confirm using the xorg DE.
Just as a note: I originally placed the “PrimaryGPU” option in both stanzas of that file and since it works have never changed it.
One can confirm using xorg with inxi -Gxx then looking at the Display: shown. It will either show as x11 or as wayland.
The DE used is selected during login from the screen where the password is entered and using the gear icon at the lower right corner of that screen.
Hi @computersavvy, in the login screen I have selected Gnome on Xorg and using the command you provided the output is the following, in Display it shows x11.
I did not follow the instruction from the same website as you, can this have caused the problems?
Maybe I have to install something that I did not installed using this command sudo dnf install gcc kernel-headers kernel-devel akmod-nvidia xorg-x11-drv-nvidia xorg-x11-drv-nvidia-libs xorg-x11-drv-nvidia-libs.i686, or even xrandr?
As I already have the nvidia drivers installed is it save to execute these commands? Do you know anything else that might cause this problems? Thanks!
I note that you seem to be using the 6.4.7 kernel which has been replaced several times. The current kernel for fedora is presently 6.4.12 and the nvidia driver is currently 535.98. Before doing anything else I would suggest doing a full update of the system using sudo dnf upgrade --refresh then test so you are certain everything is the latest and you are not suffering from some artifact that has been removed by the updates. If the problem continues after the updates then the following may be of assistance.
For myself I had to add the option nvidia-drm.modeset=1 into the command line with my RTX 3050 GPU. I still get a (very seldom) occasional blurring of text similar to what you describe, but mine is only within a browser window and not full screen.
You could try adding that option by editing the grub entry during boot (which will have effect only for that one boot) to see if it helps. If it does then the change can be made permanent and if not then it was only a test.
During boot press e while the grub menu is displayed then add the option at the end of the line that begins with linux. The screen gives instructions to continue boot (I use the ctrl-X option).
To make the change permanent edit the grub config file with sudo nano /etc/default/grub and add that option into the line that begins with GRUB_CMDLINE_LINUX=. Once that change has been made then run sudo grub2-mkconfig -o /boot/grub2/grub.cfg to update grub so the change is effective with the next boot.
Hi @computersavvy, just upgraded to 6.4.12-200 and the nvidia driver is currently 535.104, but the problem still remains. I am now going to try changing the grub config.
I went to change the grub config while booting, but I noticed I already had the option nvidia-drm.modeset=1, I don’t know why it isn’t shown in the command cat /proc/cmdline. However by doing cat /etc/default/grub I get the following output. Here you can see that the option nvidia-drm.modeset=1 is set in GRUB_CMDLINE_LINUX. Can it still be a problem since it doesn’t appear in the cat /proc/cmdline command? But it was set in cat /etc/default/grub the entire time.
This is my setup. I have the laptop screen 15.6" (1) set to 144Hz, 32" monitor (2) set to 144HZ (not 165HZ to try to minimize the problems) and a 24" monitor in portrait mode also set to 144Hz. I changed monitors 1 and 3 to 60Hz, but the problem is still there. Previously I had the 32" monitor connected via HDMI and it worked perfectly. Now I have a MiniDisplayPort - DisplayPort adapter and then a DisplayPort-DisplayPort cable connecting to the monitor.