Monitor Flicks connected to Mini-DisplayPort

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.

nvidia-smi:

Fri Aug  4 16:23:47 2023       
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.86.05              Driver Version: 535.86.05    CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA GeForce RTX 3080 ...    Off | 00000000:01:00.0  On |                  N/A |
| N/A   49C    P3              22W / 125W |    481MiB /  8192MiB |      7%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
                                                                                         
+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A      3310      G   /usr/libexec/Xorg                           168MiB |
|    0   N/A  N/A      4190      G   /usr/bin/gnome-shell                        283MiB |
+---------------------------------------------------------------------------------------+


uname -r:

6.4.7-200.fc38.x86_64

neofetch:

OS: Fedora Linux 38 (Workstation Edition) x86_64 
Host: GP66 Leopard 11UH REV:1.0 
Kernel: 6.4.7-200.fc38.x86_64 
ptime: 8 mins 
Packages: 2205 (rpm), 35 (flatpak) 
Shell: zsh 5.9 
Resolution: 2560x1440, 1080x1920, 1920x1080 
DE: GNOME 44.3 
WM: Mutter 
WM Theme: Adwaita 
Theme: Adwaita [GTK2/3] 
Icons: Adwaita [GTK2/3] 
Terminal: gnome-terminal 
CPU: 11th Gen Intel i7-11800H (16) @ 4.600GHz 
GPU: NVIDIA GeForce RTX 3080 Mobile / Max-Q 8GB/16GB 
GPU: Intel TigerLake-H GT1 [UHD Graphics] 
Memory: 2223MiB / 63990MiB

If you need more information, please ask. Thanks for your help!

Are you using xorg or wayland?
Is the nvidia gpu configured as primary as per instructions here.

I would guess this may be related to interaction between the intel & nvidia gpus as well as potentially using wayland.

Note the instructions in that link do not state so, but for that to work and actually set the nvidia gpu as primary one must be using the xorg DE.

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.

Thanks!

image

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.

Graphics:
  Device-1: Intel TigerLake-H GT1 [UHD Graphics] vendor: Micro-Star MSI
    driver: i915 v: kernel arch: Gen-12.1 ports: active: eDP-1 empty: none
    bus-ID: 00:02.0 chip-ID: 8086:9a60
  Device-2: NVIDIA GA104M [GeForce RTX 3080 Mobile / Max-Q 8GB/16GB]
    vendor: Micro-Star MSI driver: nvidia v: 535.86.05 arch: Ampere pcie:
    speed: 16 GT/s lanes: 16 ports: active: none off: DP-1,HDMI-A-1
    empty: DP-2,eDP-2 bus-ID: 01:00.0 chip-ID: 10de:249c
  Device-3: Bison HD Webcam driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 bus-ID: 3-13:5 chip-ID: 5986:211c
  Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 22.1.9
    compositor: gnome-shell v: 44.3 driver: X: loaded: modesetting,nvidia
    unloaded: fbdev,nouveau,vesa alternate: nv dri: iris
    gpu: i915,nvidia,nvidia-nvswitch display-ID: :0 screens: 1
  Screen-1: 0 s-res: 5560x2066 s-dpi: 96
  Monitor-1: DP-1 mapped: DP-0 note: disabled pos: primary,top-center
    model: LG (GoldStar) ULTRAGEAR res: 2560x1440 dpi: 93 diag: 800mm (31.5")
  Monitor-2: HDMI-A-1 mapped: HDMI-0 note: disabled pos: middle-r
    model: AOC 24G2W1G4 res: 1080x1920 dpi: 93 diag: 604mm (23.8")
  Monitor-3: eDP-1 mapped: eDP-1-1 pos: bottom-l model: LG Display 0x0625
    res: 1920x1080 dpi: 142 diag: 395mm (15.5")
  API: OpenGL v: 4.6.0 NVIDIA 535.86.05 renderer: NVIDIA GeForce RTX 3080
    Laptop GPU/PCIe/SSE2 direct-render: Yes

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!

When installing akmod-nvidia it pulls in all the needed dependencies. Your inxi output above shows the nvidia drivers are in use.

Please post the output of cat /proc/cmdline. There is a possibility that some options are not properly set.

Hello @computersavvy, the output of cat /proc/cmdline is the following

BOOT_IMAGE=/vmlinuz-6.4.7-200.fc38.x86_64 root=UUID=74786b7a-f383-401b-a9bd-1623bf65a6e5 ro rootflags=subvol=root rd.driver.blacklist=nouveau modprobe.blacklist=nouveau resume=UUID=7ccbb249-9a05-4f83-8518-1015adfa5cba rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau

Thanks for the help!

Thanks for that update.

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.

GRUB_TIMEOUT="5"
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT="saved"
GRUB_DISABLE_SUBMENU="true"
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="resume=UUID=7ccbb249-9a05-4f83-8518-1015adfa5cba rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1"
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG="false"

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.

I recorded a video using my smartphone and uploaded it to weTransfer, if possible you can download to understand better the problem?

Once again, thank you for your help!

Hello again @computersavvy, I still haven’t managed to fix my issue. However, I do have a new theory. I don’t if I mentioned, but my setup has a dual boot with Windows 11. Yesterday I was in windows and wanted to test out the HDR of the monitor, and once I turned on the feature in the windows settings I started to get the same “flickers” I have in Fedora.

Does fedora have HDR, how can I see if it is enabled for this monitor and if it is enabled how can I disable it to test if it fixes my issue?

Thanks for your help!

When last posted you were running a 6.4.12 kernel and using an nvidia driver that is now outdated (535.104.05).
The latest fedora kernel is 6.5.6, and the nvidia driver from rpmfusion is 535.113.01.

Have you updated to the latest kernel and drivers?
What is the output of dnf list installed \*nvidia\*
What is the output of uname -a
What is the output of xrandr
What is the output of inxi -Gxx

I would note that it has only been within the last couple of driver updates for my nvidia GPU (3050) that use of the DP ports has become possible. The DP ports were not functional until just recently so driver updates have had a benefit for me.

I don’t have any info about the HDR feature, but would ask what the monitor native resolution and refresh rate are. the xrandr output may show us that.

Hi @computersavvy, I haven’t updated yet. I’ve had this issue for a couple updates. I was going to update later this week.

dnf list installed \*nvidia\*:

akmod-nvidia.x86_64                       3:535.104.05-1.fc38 @rpmfusion-nonfree-nvidia-driver
kmod-nvidia-6.4.12-200.fc38.x86_64.x86_64 3:535.104.05-1.fc38 @@commandline     
kmod-nvidia-6.4.13-200.fc38.x86_64.x86_64 3:535.104.05-1.fc38 @@commandline     
kmod-nvidia-6.4.7-200.fc38.x86_64.x86_64  3:535.104.05-1.fc38 @@commandline     
libnvidia-container-tools.x86_64          1.13.5-1            @libnvidia-container
libnvidia-container1.x86_64               1.13.5-1            @libnvidia-container
nvidia-container-toolkit.x86_64           1.13.5-1            @libnvidia-container
nvidia-container-toolkit-base.x86_64      1.13.5-1            @libnvidia-container
nvidia-docker2.noarch                     2.13.0-1            @cuda-fedora37-x86_64
nvidia-gpu-firmware.noarch                20230804-153.fc38   @updates          
nvidia-persistenced.x86_64                3:535.104.05-1.fc38 @rpmfusion-nonfree-nvidia-driver
nvidia-settings.x86_64                    3:535.104.05-1.fc38 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia.x86_64                3:535.104.05-1.fc38 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda.x86_64           3:535.104.05-1.fc38 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.i686        3:535.104.05-1.fc38 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.x86_64      3:535.104.05-1.fc38 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-kmodsrc.x86_64        3:535.104.05-1.fc38 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.i686             3:535.104.05-1.fc38 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.x86_64           3:535.104.05-1.fc38 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-power.x86_64          3:535.104.05-1.fc38 @rpmfusion-nonfree-nvidia-driver

uname -a

Linux pedrobolsa.Home 6.4.13-200.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Aug 30 17:07:31 UTC 2023 x86_64 GNU/Linux

xrandr

Screen 0: minimum 8 x 8, current 5560 x 2065, maximum 32767 x 32767
DP-0 connected primary 2560x1440+1920+0 (normal left inverted right x axis y axis) 697mm x 392mm
   2560x1440    164.96 + 143.97*  120.00    99.95    59.95  
   1920x1080    119.88   100.00    60.00    59.94    50.00  
   1280x720      59.94    50.00  
   1024x768      60.00  
   800x600       60.32  
   720x480       59.94  
   640x480       59.94    59.93  
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected 1080x1920+4480+145 right (normal left inverted right x axis y axis) 527mm x 296mm
   1920x1080     60.00 + 144.00   119.98*  119.88    99.93    59.94    50.00  
   1680x1050     59.88  
   1440x900      59.90  
   1280x1024     75.02    60.02  
   1280x720      59.94    50.00  
   1024x768     119.99   100.00    75.03    70.07    60.00  
   800x600      119.97   100.00    75.00    72.19    60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480      120.01    99.99    75.00    72.81    59.94    59.93  
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
eDP-1-1 connected 1920x1080+0+360 (normal left inverted right x axis y axis) 344mm x 194mm
   1920x1080    144.00 +  60.01    59.97    59.96    60.00*   59.93  
   1680x1050     59.95    59.88  
   1400x1050     74.76    59.98  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     85.02    75.02    60.02  
   1400x900      59.96    59.88  
   1280x960      85.00    60.00  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1280x800      59.99    59.97    59.81    59.91  
   1152x864      75.00  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      85.00    75.05    60.04    85.00    75.03    70.07    60.00  
   1024x768i     86.96  
   960x720       85.00    75.00    60.00  
   928x696       75.00    60.05  
   896x672       75.05    60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   832x624       74.55  
   960x540       59.96    59.99    59.63    59.82  
   800x600       85.00    75.00    70.00    65.00    60.00    85.14    72.19    75.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   700x525       74.76    59.98  
   800x450       59.95    59.82  
   640x512       85.02    75.02    60.02  
   700x450       59.96    59.88  
   640x480       85.09    60.00    85.01    72.81    75.00    59.94  
   720x405       59.51    58.99  
   720x400       85.04  
   684x384       59.88    59.85  
   640x400       59.88    59.98    85.08  
   576x432       75.00  
   640x360       59.86    59.83    59.84    59.32  
   640x350       85.08  
   512x384       85.00    75.03    70.07    60.00  
   512x384i      87.06  
   512x288       60.00    59.92  
   416x312       74.66  
   480x270       59.63    59.82  
   400x300       85.27    72.19    75.12    60.32    56.34  
   432x243       59.92    59.57  
   320x240       85.18    72.81    75.00    60.05  
   360x202       59.51    59.13  
   360x200       85.04  
   320x200       85.27  
   320x180       59.84    59.32  
   320x175       85.27  
  1680x1050 (0x1ef) 119.000MHz +HSync -VSync
        h: width  1680 start 1728 end 1760 total 1840 skew    0 clock  64.67KHz
        v: height 1050 start 1053 end 1059 total 1080           clock  59.88Hz
  1280x1024 (0x1f7) 135.000MHz +HSync +VSync
        h: width  1280 start 1296 end 1440 total 1688 skew    0 clock  79.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  75.02Hz
  1280x1024 (0x1f8) 108.000MHz +HSync +VSync
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz
  1024x768 (0x20e) 78.750MHz +HSync +VSync
        h: width  1024 start 1040 end 1136 total 1312 skew    0 clock  60.02KHz
        v: height  768 start  769 end  772 total  800           clock  75.03Hz
  1024x768 (0x20f) 75.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1328 skew    0 clock  56.48KHz
        v: height  768 start  771 end  777 total  806           clock  70.07Hz
  1024x768 (0x210) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  800x600 (0x22a) 50.000MHz +HSync +VSync
        h: width   800 start  856 end  976 total 1040 skew    0 clock  48.08KHz
        v: height  600 start  637 end  643 total  666           clock  72.19Hz
  800x600 (0x22b) 49.500MHz +HSync +VSync
        h: width   800 start  816 end  896 total 1056 skew    0 clock  46.88KHz
        v: height  600 start  601 end  604 total  625           clock  75.00Hz
  800x600 (0x22c) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  800x600 (0x22d) 36.000MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock  35.16KHz
        v: height  600 start  601 end  603 total  625           clock  56.25Hz
  640x480 (0x23f) 31.500MHz -HSync -VSync
        h: width   640 start  656 end  720 total  840 skew    0 clock  37.50KHz
        v: height  480 start  481 end  484 total  500           clock  75.00Hz
  640x480 (0x240) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz

inxi -Gxx:

Graphics:
  Device-1: Intel TigerLake-H GT1 [UHD Graphics] vendor: Micro-Star MSI
    driver: i915 v: kernel arch: Gen-12.1 ports: active: eDP-1 empty: none
    bus-ID: 00:02.0 chip-ID: 8086:9a60
  Device-2: NVIDIA GA104M [GeForce RTX 3080 Mobile / Max-Q 8GB/16GB]
    vendor: Micro-Star MSI driver: nvidia v: 535.104.05 arch: Ampere pcie:
    speed: 16 GT/s lanes: 16 ports: active: none off: DP-1
    empty: DP-2,HDMI-A-1,eDP-2 bus-ID: 01:00.0 chip-ID: 10de:249c
  Device-3: Bison HD Webcam driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 bus-ID: 3-13:4 chip-ID: 5986:211c
  Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 22.1.9
    compositor: gnome-shell v: 44.4 driver: X: loaded: modesetting,nvidia
    unloaded: fbdev,nouveau,vesa alternate: nv dri: iris
    gpu: i915,nvidia,nvidia-nvswitch display-ID: :0 screens: 1
  Screen-1: 0 s-res: 5560x2065 s-dpi: 96
  Monitor-1: DP-0 pos: primary,top-center res: 2560x1440 dpi: 93
    diag: 800mm (31.48")
  Monitor-2: HDMI-0 pos: middle-r res: 1080x1920 dpi: 93 diag: 604mm (23.8")
  Monitor-3: eDP-1-1 pos: bottom-l res: 1920x1080 dpi: 142
    diag: 395mm (15.55")
  API: OpenGL v: 4.6.0 NVIDIA 535.104.05 renderer: NVIDIA GeForce RTX 3080
    Laptop GPU/PCIe/SSE2 direct-render: Yes

Everything there looks good to me.

The only thing that concerns me are these lines.

libnvidia-container-tools.x86_64          1.13.5-1            @libnvidia-container
libnvidia-container1.x86_64               1.13.5-1            @libnvidia-container
nvidia-container-toolkit.x86_64           1.13.5-1            @libnvidia-container
nvidia-container-toolkit-base.x86_64      1.13.5-1            @libnvidia-container
nvidia-docker2.noarch                     2.13.0-1            @cuda-fedora37-x86_64

which seem to indicate that you may still have some of the repos enabled that sometimes cause problems with nvidia installed from rpmfusion. Unless you absolutely need the container tools installed there I would avoid those repos.

I suggest that you do the upgrade with sudo dnf upgrade --refresh --disablerepo cuda-fedora\* --disablerepo libnvidia-container and see what it tells you. Tools from the F37 era are probably not what you want for F38 and beyond.

You are, I hope, aware that this next upgrade will install kernel 6.5.6 (or newer) as well as providing the newer nvidia 535.113.01 driver.

Hey @computersavvy, sorry for the late reply. I even updated to Fedora 39, but the problem persists.

Below I will output the new versions, I truly can’t stand this anymore.

dnf list installed \*nvidia\*:

Installed Packages
akmod-nvidia.x86_64                                               3:545.29.06-3.fc39                          @rpmfusion-nonfree-nvidia-driver
kmod-nvidia-6.6.11-100.fc38.x86_64.x86_64                         3:545.29.06-3.fc39                          @@commandline                   
kmod-nvidia-6.6.11-200.fc39.x86_64.x86_64                         3:545.29.06-2.fc39                          @@commandline                   
kmod-nvidia-6.7.3-200.fc39.x86_64.x86_64                          3:545.29.06-3.fc39                          @@commandline                   
libnvidia-container-tools.x86_64                                  1.13.5-1                                    @libnvidia-container            
libnvidia-container1.x86_64                                       1.13.5-1                                    @libnvidia-container            
nvidia-container-toolkit.x86_64                                   1.13.5-1                                    @libnvidia-container            
nvidia-container-toolkit-base.x86_64                              1.13.5-1                                    @libnvidia-container            
nvidia-docker2.noarch                                             2.13.0-1                                    @cuda-fedora37-x86_64           
nvidia-gpu-firmware.noarch                                        20240115-2.fc39                             @updates                        
nvidia-modprobe.x86_64                                            3:545.29.06-1.fc39                          @rpmfusion-nonfree-nvidia-driver
nvidia-persistenced.x86_64                                        3:545.29.06-1.fc39                          @rpmfusion-nonfree-nvidia-driver
nvidia-settings.x86_64                                            3:545.29.06-1.fc39                          @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia.x86_64                                        3:545.29.06-2.fc39                          @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda.x86_64                                   3:545.29.06-2.fc39                          @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.i686                                3:545.29.06-2.fc39                          @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.x86_64                              3:545.29.06-2.fc39                          @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-kmodsrc.x86_64                                3:545.29.06-2.fc39                          @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.i686                                     3:545.29.06-2.fc39                          @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.x86_64                                   3:545.29.06-2.fc39                          @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-power.x86_64                                  3:545.29.06-2.fc39                          @rpmfusion-nonfree-nvidia-driver

uname -a:

Linux -.Home 6.7.3-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Feb  1 03:29:52 UTC 2024 x86_64 GNU/Linux

xrandr:

Screen 0: minimum 8 x 8, current 3640 x 1920, maximum 32767 x 32767
DP-0 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 700mm x 390mm
   2560x1440    164.96*+ 143.97   120.00    99.95    59.95  
   1920x1080    119.88   100.00    60.00    59.94    50.00  
   1280x720      59.94    50.00  
   1024x768      60.00  
   800x600       60.32  
   720x480       59.94  
   640x480       59.94    59.93  
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected 1080x1920+2560+0 right (normal left inverted right x axis y axis) 527mm x 296mm
   1920x1080     60.00*+ 144.00   119.98   119.88    99.93    59.94    50.00  
   1680x1050     59.88  
   1440x900      59.90  
   1280x1024     75.02    60.02  
   1280x720      59.94    50.00  
   1024x768     119.99   100.00    75.03    70.07    60.00  
   800x600      119.97   100.00    75.00    72.19    60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480      120.01    99.99    75.00    72.81    59.94    59.93  
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
eDP-1-1 connected (normal left inverted right x axis y axis)
   1920x1080    144.00 +  60.01    59.97    59.96    60.00    59.93  
   1680x1050     59.95    59.88  
   1400x1050     74.76    59.98  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     85.02    75.02    60.02  
   1400x900      59.96    59.88  
   1280x960      85.00    60.00  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1280x800      59.99    59.97    59.81    59.91  
   1152x864      75.00  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      85.00    75.05    60.04    85.00    75.03    70.07    60.00  
   1024x768i     86.96  
   960x720       85.00    75.00    60.00  
   928x696       75.00    60.05  
   896x672       75.05    60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   832x624       74.55  
   960x540       59.96    59.99    59.63    59.82  
   800x600       85.00    75.00    70.00    65.00    60.00    85.14    72.19    75.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   700x525       74.76    59.98  
   800x450       59.95    59.82  
   640x512       85.02    75.02    60.02  
   700x450       59.96    59.88  
   640x480       85.09    60.00    85.01    72.81    75.00    59.94  
   720x405       59.51    58.99  
   720x400       85.04  
   684x384       59.88    59.85  
   640x400       59.88    59.98    85.08  
   576x432       75.00  
   640x360       59.86    59.83    59.84    59.32  
   640x350       85.08  
   512x384       85.00    75.03    70.07    60.00  
   512x384i      87.06  
   512x288       60.00    59.92  
   416x312       74.66  
   480x270       59.63    59.82  
   400x300       85.27    72.19    75.12    60.32    56.34  
   432x243       59.92    59.57  
   320x240       85.18    72.81    75.00    60.05  
   360x202       59.51    59.13  
   360x200       85.04  
   320x200       85.27  
   320x180       59.84    59.32  
   320x175       85.27  
  1680x1050 (0x1c7) 119.000MHz +HSync -VSync
        h: width  1680 start 1728 end 1760 total 1840 skew    0 clock  64.67KHz
        v: height 1050 start 1053 end 1059 total 1080           clock  59.88Hz
  1280x1024 (0x1c9) 135.000MHz +HSync +VSync
        h: width  1280 start 1296 end 1440 total 1688 skew    0 clock  79.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  75.02Hz
  1280x1024 (0x1ca) 108.000MHz +HSync +VSync
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz
  1024x768 (0x1cf) 78.750MHz +HSync +VSync
        h: width  1024 start 1040 end 1136 total 1312 skew    0 clock  60.02KHz
        v: height  768 start  769 end  772 total  800           clock  75.03Hz
  1024x768 (0x1d0) 75.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1328 skew    0 clock  56.48KHz
        v: height  768 start  771 end  777 total  806           clock  70.07Hz
  1024x768 (0x1d1) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  800x600 (0x1d5) 50.000MHz +HSync +VSync
        h: width   800 start  856 end  976 total 1040 skew    0 clock  48.08KHz
        v: height  600 start  637 end  643 total  666           clock  72.19Hz
  800x600 (0x1d4) 49.500MHz +HSync +VSync
        h: width   800 start  816 end  896 total 1056 skew    0 clock  46.88KHz
        v: height  600 start  601 end  604 total  625           clock  75.00Hz
  800x600 (0x1d6) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  800x600 (0x1d7) 36.000MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock  35.16KHz
        v: height  600 start  601 end  603 total  625           clock  56.25Hz
  640x480 (0x1dc) 31.500MHz -HSync -VSync
        h: width   640 start  656 end  720 total  840 skew    0 clock  37.50KHz
        v: height  480 start  481 end  484 total  500           clock  75.00Hz
  640x480 (0x1de) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz

inxi -Gxx:

Graphics:
  Device-1: Intel TigerLake-H GT1 [UHD Graphics] vendor: Micro-Star MSI
    driver: i915 v: kernel arch: Gen-12.1 ports: active: none off: eDP-1
    empty: none bus-ID: 00:02.0 chip-ID: 8086:9a60
  Device-2: NVIDIA GA104M [GeForce RTX 3080 Mobile / Max-Q 8GB/16GB]
    vendor: Micro-Star MSI driver: nvidia v: 545.29.06 arch: Ampere pcie:
    speed: 5 GT/s lanes: 16 ports: active: none off: HDMI-A-1
    empty: DP-1,DP-2,eDP-2 bus-ID: 01:00.0 chip-ID: 10de:249c
  Device-3: Bison HD Webcam driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 bus-ID: 3-13:5 chip-ID: 5986:211c
  Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 23.2.4
    compositor: gnome-shell v: 45.3 driver: X: loaded: modesetting,nvidia
    unloaded: fbdev,nouveau,vesa alternate: nv dri: iris
    gpu: i915,nvidia,nvidia-nvswitch display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3640x1920 s-dpi: 96
  Monitor-1: DP-0 pos: primary,left res: 2560x1440 dpi: 93
    diag: 801mm (31.55")
  Monitor-2: HDMI-0 pos: right res: 1080x1920 dpi: 93 diag: 604mm (23.8")
  Monitor-3: eDP-1-1 size-res: N/A
  API: OpenGL v: 4.6.0 vendor: nvidia v: 545.29.06 glx-v: 1.4
    direct-render: yes renderer: NVIDIA GeForce RTX 3080 Laptop GPU/PCIe/SSE2
  API: EGL Message: EGL data requires eglinfo. Check --recommends.

sudo dnf upgrade --refresh --disablerepo cuda-fedora\* --disablerepo libnvidia-container:

No repository match: cuda-fedora*
Copr repo for PyCharm owned by phracek                                                                        2.4 kB/s | 2.1 kB     00:00    
Copr repo for scrcpy owned by zeno                                                                             13 kB/s | 1.8 kB     00:00    
Docker CE Stable - x86_64                                                                                      65 kB/s | 3.5 kB     00:00    
Fedora 39 - x86_64                                                                                             63 kB/s |  24 kB     00:00    
Fedora 39 openh264 (From Cisco) - x86_64                                                                      5.5 kB/s | 989  B     00:00    
Fedora 39 - x86_64 - Updates                                                                                   86 kB/s |  19 kB     00:00    
google-chrome                                                                                                 3.2 kB/s | 1.3 kB     00:00    
Google Cloud CLI                                                                                              4.3 kB/s | 1.4 kB     00:00    
Hashicorp Stable - x86_64                                                                                      16 kB/s | 1.4 kB     00:00    
Kubernetes                                                                                                    4.0 kB/s | 1.4 kB     00:00    
ProtonVPN Fedora Stable repository                                                                            2.1 kB/s | 659  B     00:00    
RPM Fusion for Fedora 39 - Free                                                                                17 kB/s | 6.5 kB     00:00    
RPM Fusion for Fedora 39 - Free - Updates                                                                      16 kB/s | 6.4 kB     00:00    
RPM Fusion for Fedora 39 - Nonfree                                                                             18 kB/s | 6.6 kB     00:00    
RPM Fusion for Fedora 39 - Nonfree - NVIDIA Driver                                                             18 kB/s | 6.4 kB     00:00    
RPM Fusion for Fedora 39 - Nonfree - Steam                                                                     17 kB/s | 6.2 kB     00:00    
RPM Fusion for Fedora 39 - Nonfree - Updates                                                                   17 kB/s | 6.5 kB     00:00    
TablePlus - x86_64 - Stable                                                                                    16 kB/s | 3.0 kB     00:00    
Fedora VirtualBox Repo                                                                                        4.1 kB/s | 819  B     00:00    
Visual Studio Code                                                                                            6.2 kB/s | 1.5 kB     00:00    
Dependencies resolved.
==============================================================================================================================================
 Package                                   Architecture  Version                      Repository                                         Size
==============================================================================================================================================
Installing:
 kernel                                    x86_64        6.7.4-200.fc39               updates                                           160 k
 kernel-core                               x86_64        6.7.4-200.fc39               updates                                            16 M
 kernel-devel                              x86_64        6.7.4-200.fc39               updates                                            20 M
 kernel-modules                            x86_64        6.7.4-200.fc39               updates                                            59 M
 kernel-modules-core                       x86_64        6.7.4-200.fc39               updates                                            33 M
 kernel-modules-extra                      x86_64        6.7.4-200.fc39               updates                                           2.6 M
Upgrading:
 ansible-srpm-macros                       noarch        1-12.fc39                    updates                                            21 k
 bind-libs                                 x86_64        32:9.18.24-1.fc39            updates                                           1.3 M
 bind-license                              noarch        32:9.18.24-1.fc39            updates                                            14 k
 bind-utils                                x86_64        32:9.18.24-1.fc39            updates                                           224 k
 blivet-gui-runtime                        noarch        2.5.0-1.fc39                 updates                                           417 k
 code                                      x86_64        1.86.2-1707854644.el8        code                                              135 M
 code-insiders                             x86_64        1.87.0-1708323025.el8        code                                              135 M
 cups-browsed                              x86_64        1:2.0.0-4.fc39               updates                                           142 k
 device-mapper-persistent-data             x86_64        1.0.11-1.fc39                updates                                           1.0 M
 discord                                   x86_64        0.0.43-1.fc39                rpmfusion-nonfree-updates                          70 M
 expat                                     i686          2.6.0-1.fc39                 updates                                           117 k
 expat                                     x86_64        2.6.0-1.fc39                 updates                                           113 k
 firefox                                   x86_64        122.0.1-1.fc39               updates                                            65 M
 firefox-langpacks                         x86_64        122.0.1-1.fc39               updates                                            44 M
 fontconfig                                x86_64        2.14.2-6.fc39                updates                                           296 k
 fontconfig-devel                          x86_64        2.14.2-6.fc39                updates                                           164 k
 freerdp-libs                              x86_64        2:2.11.5-1.fc39              updates                                           1.0 M
 fwupd                                     x86_64        1.9.13-1.fc39                updates                                           2.1 M
 fwupd-plugin-flashrom                     x86_64        1.9.13-1.fc39                updates                                            23 k
 fwupd-plugin-modem-manager                x86_64        1.9.13-1.fc39                updates                                            57 k
 fwupd-plugin-uefi-capsule-data            x86_64        1.9.13-1.fc39                updates                                           2.0 M
 git                                       x86_64        2.43.2-1.fc39                updates                                            53 k
 git-core                                  x86_64        2.43.2-1.fc39                updates                                           4.5 M
 git-core-doc                              noarch        2.43.2-1.fc39                updates                                           2.9 M
 gjs                                       x86_64        1.78.3-2.fc39                updates                                           518 k
 gnome-bluetooth                           x86_64        1:42.8-1.fc39                updates                                            44 k
 gnome-bluetooth-libs                      x86_64        1:42.8-1.fc39                updates                                           288 k
 gnome-shell                               x86_64        45.4-1.fc39                  updates                                           1.7 M
 go-filesystem                             x86_64        3.4.0-2.fc39                 updates                                           8.7 k
 go-srpm-macros                            noarch        3.4.0-2.fc39                 updates                                            27 k
 golang                                    x86_64        1.21.7-1.fc39                updates                                           665 k
 golang-bin                                x86_64        1.21.7-1.fc39                updates                                            24 M
 golang-src                                noarch        1.21.7-1.fc39                updates                                            12 M
 google-chrome-stable                      x86_64        121.0.6167.184-1             google-chrome                                     103 M
 gtk4                                      x86_64        4.12.5-1.fc39                updates                                           5.3 M
 hwdata                                    noarch        0.379-1.fc39                 updates                                           1.6 M
 ibus                                      x86_64        1.5.29-1.fc39                updates                                            14 M
 ibus-gtk2                                 x86_64        1.5.29-1.fc39                updates                                            30 k
 ibus-gtk3                                 x86_64        1.5.29-1.fc39                updates                                            30 k
 ibus-gtk4                                 x86_64        1.5.29-1.fc39                updates                                            29 k
 ibus-libpinyin                            x86_64        1.15.7-1.fc39                updates                                           941 k
 ibus-libs                                 x86_64        1.5.29-1.fc39                updates                                           264 k
 ibus-setup                                noarch        1.5.29-1.fc39                updates                                            85 k
 ibus-typing-booster                       noarch        2.25.0-1.fc39                updates                                           1.2 M
 inxi                                      noarch        3.3.32-1.fc39                updates                                           564 k
 kernel-devel-matched                      x86_64        6.7.4-200.fc39               updates                                           160 k
 libadwaita                                x86_64        1.4.3-2.fc39                 updates                                           542 k
 libblkid                                  x86_64        2.39.3-5.fc39                updates                                           116 k
 libblkid-devel                            x86_64        2.39.3-5.fc39                updates                                            18 k
 libfdisk                                  x86_64        2.39.3-5.fc39                updates                                           162 k
 libgit2                                   x86_64        1.7.2-1.fc39                 updates                                           538 k
 libmount                                  x86_64        2.39.3-5.fc39                updates                                           154 k
 libmount-devel                            x86_64        2.39.3-5.fc39                updates                                            18 k
 libsmartcols                              x86_64        2.39.3-5.fc39                updates                                            67 k
 libsolv                                   x86_64        0.7.28-1.fc39                updates                                           426 k
 libuuid                                   x86_64        2.39.3-5.fc39                updates                                            28 k
 libwinpr                                  x86_64        2:2.11.5-1.fc39              updates                                           356 k
 mbedtls                                   x86_64        2.28.7-1.fc39                updates                                           403 k
 mozjs115                                  x86_64        115.7.0-1.fc39               updates                                           4.6 M
 mutter                                    x86_64        45.4-1.fc39                  updates                                           2.5 M
 mutter-common                             noarch        45.4-1.fc39                  updates                                            21 k
 netavark                                  x86_64        1.10.3-1.fc39                updates                                           3.4 M
 perl-Git                                  noarch        2.43.2-1.fc39                updates                                            40 k
 pipewire-codec-aptx                       x86_64        1.0.3-1.fc39                 rpmfusion-free-updates                             26 k
 python3-cryptography                      x86_64        41.0.7-1.fc39                updates                                           1.2 M
 python3-pygit2                            x86_64        1.14.0-1.fc39                updates                                           292 k
 python3-pytz                              noarch        2024.1-1.fc39                updates                                            64 k
 python3-rpm                               x86_64        4.19.1.1-1.fc39              updates                                            68 k
 python3-rpmautospec                       noarch        0.6.1-3.fc39                 updates                                            69 k
 python3-unbound                           x86_64        1.19.1-2.fc39                updates                                           117 k
 qt5-qtbase                                x86_64        5.15.12-5.fc39               updates                                           3.6 M
 qt5-qtbase-common                         noarch        5.15.12-5.fc39               updates                                            12 k
 qt5-qtbase-gui                            x86_64        5.15.12-5.fc39               updates                                           6.4 M
 redhat-rpm-config                         noarch        265-1.fc39                   updates                                            78 k
 rpm                                       x86_64        4.19.1.1-1.fc39              updates                                           538 k
 rpm-build                                 x86_64        4.19.1.1-1.fc39              updates                                            78 k
 rpm-build-libs                            x86_64        4.19.1.1-1.fc39              updates                                            95 k
 rpm-libs                                  x86_64        4.19.1.1-1.fc39              updates                                           312 k
 rpm-plugin-selinux                        x86_64        4.19.1.1-1.fc39              updates                                            20 k
 rpm-plugin-systemd-inhibit                x86_64        4.19.1.1-1.fc39              updates                                            20 k
 rpm-sign-libs                             x86_64        4.19.1.1-1.fc39              updates                                            26 k
 rpmautospec-rpm-macros                    noarch        0.6.1-3.fc39                 updates                                           9.9 k
 scrcpy                                    x86_64        2.3.1-3.fc39                 copr:copr.fedorainfracloud.org:zeno:scrcpy        167 k
 skopeo                                    x86_64        1:1.14.2-1.fc39              updates                                           8.4 M
 tcpdump                                   x86_64        14:4.99.4-3.fc39             updates                                           526 k
 unbound-anchor                            x86_64        1.19.1-2.fc39                updates                                            35 k
 unbound-libs                              x86_64        1.19.1-2.fc39                updates                                           543 k
 util-linux                                x86_64        2.39.3-5.fc39                updates                                           1.2 M
 util-linux-core                           x86_64        2.39.3-5.fc39                updates                                           508 k
 vim-data                                  noarch        2:9.1.113-1.fc39             updates                                            23 k
 vim-minimal                               x86_64        2:9.1.113-1.fc39             updates                                           806 k
 virtiofsd                                 x86_64        1.10.1-1.fc39                updates                                           1.0 M
 xen-libs                                  x86_64        4.17.2-6.fc39                updates                                           641 k
 xen-licenses                              x86_64        4.17.2-6.fc39                updates                                            54 k
Installing dependencies:
 forge-srpm-macros                         noarch        0.2.0-3.fc39                 updates                                            19 k
Removing:
 kernel                                    x86_64        6.6.11-100.fc38              @updates                                            0  
 kernel-core                               x86_64        6.6.11-100.fc38              @updates                                           66 M
 kernel-devel                              x86_64        6.6.11-100.fc38              @updates                                           69 M
 kernel-modules                            x86_64        6.6.11-100.fc38              @updates                                           56 M
 kernel-modules-core                       x86_64        6.6.11-100.fc38              @updates                                           31 M
 kernel-modules-extra                      x86_64        6.6.11-100.fc38              @updates                                          2.4 M
Removing dependent packages:
 kmod-nvidia-6.6.11-100.fc38.x86_64        x86_64        3:545.29.06-3.fc39           @@commandline                                      43 M

Transaction Summary
==============================================================================================================================================
Install   7 Packages
Upgrade  94 Packages
Remove    7 Packages

Total download size: 802 M

Note: I am still using the same laptop, 3080 mobile, I have a minidisplay port to display port adapter and then a displayPort-displayPort cable connecting it to a 27" 1440p at 144Hz (this monitor is flickering, but it doesnt happen if I connect it via HDMI even under the same settings) and I have a HDMI cable connected to a 24" 1080p 60Hz monitor.

I couldn’t find an Edit button, I just wanted to add another information. Sometimes the 27" screen goes full black for a second and then the image returns and the flickering continues

I mentioned this before and cannot assist if you continue to have packages from different repos installed that potentially can conflict and interfere with others.

I strongly recommend that you remove those packages and disable those repos so the only thing nvidia related is installed directly from fedora (the firmware package) or from rpmfusion. Once that has been cleaned up things may begin to work correctly, or at least be on a known level for trouble shooting and configs.

How did you install this? I ask because mixing “RPM Fusion for Fedora 39 - Nonfree - NVIDIA Driver” packages with packages from other sources may cause problems if the other packages aren’t being maintained. You might want to look at dnf info installed \*nvidia\*| grep ' grep -E '^From|^Name' . In addition to a bunch of rpmfusion-nonfree entries you should have:

Name         : kmod-nvidia-545.29.06-3.fc39.x86_64
From repo    : @commandline
Name         : nvidia-gpu-firmware
From repo    : updates

anything else needs investigation.

Edit: corrected package version

I disagree. The nvidia GPU installed according to the inxi output is

and has the proper driver version installed.
I am not sure the 470 driver even supports the RTX 3080 GPU.

The other packages I showed above, and referenced twice in this thread, can certainly cause conflicts and other problems.

@select You have been chasing this problem for some time and as yet have not tried removing packages that have been suggested as a potential cause. If you want to solve the issue please consider trying the fixes that have been proposed.

Your last update shows that you now have the 6.7.4 kernel installed. If you have rebooted after that update then you should now have the 6.7.4 kernel running (as would be revealed with uname -r) and the package

kmod-nvidia-6.7.4-200.fc39.x86_64.x86_64                          3:545.29.06-3.fc39                          @@commandline

should be installed as well.

No amount of updates will assist if you still have very outdated packages from other repos installed that are the cause of the problem.

Step by step I suggest

  1. disable the offending repos
    sudo dnf config-manager --disable cuda-fedora37
    sudo dnf config-manager --disable libnvidia-container
  2. remove the packages from those repos
    sudo dnf remove libnvidia-container* nvidia-container-toolkit* nvidia-docker2
  3. reboot and test to see if there is a difference.

This is your system so do as you feel appropriate.

You are right – I was pasting from my old iMac and forgot to change the version.