Monitor stays black after update to Nvidia driver 555.58 | F40

After updating to the NVidia 555.58 driver from RPM Fusion, my secondary monitor shows a black screen for the whole time. It is connected via HDMI and an DVI-to-HDMI adapter. Although the screen is black, it still gets recognized by the system settings as a display and I can even move my cursor, windows, etc. to it (of course without seeing them on it). This happens on either Wayland or X11.

Removed driver, wayland

I suspect this may be part of the cause. Sometimes the cables or adapters that switch between modes ( DVI – HDMI – DP ) are not capable of handling the signals from the gpu to the monitor. Is the monitor at the DVI end or at the HDMI end?

We would need to see the output of inxi -Fzxx (posted as preformatted text using the </> button on the toolbar) to see what your GPU is, what ports are being used, the drivers, etc.
We also need to see the output of dnf list installed \*nvidia\*.

Additional information will help troubleshooting immensely.

1 Like

The adapter is on the graphics cards end, so the hdmi cable is plugged into the monitor. But on the previous driver version (550.xx) it worked just fine with this setup.

The output of inxi -Fzxx:

Graphics:
  Device-1: NVIDIA TU117 [GeForce GTX 1650] vendor: ZOTAC driver: nvidia
    v: 555.58.02 arch: Turing pcie: speed: 8 GT/s lanes: 16 ports: active: none
    off: DP-1,DVI-D-1,HDMI-A-1 empty: none bus-ID: 01:00.0 chip-ID: 10de:1f82
  Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 24.1.0
    compositor: kwin_wayland driver: X: loaded: nvidia
    unloaded: fbdev,modesetting,nouveau,vesa alternate: nv gpu: nvidia
    d-rect: 5200x1080 display-ID: 0
  Monitor-1: DP-1 pos: primary,left res: 1360x768 size: N/A
  Monitor-2: DVI-D-1 pos: center res: 1920x1080 size: N/A
  Monitor-3: HDMI-A-1 pos: right res: 1920x1080 size: N/A
  API: EGL v: 1.5 platforms: device: 0 drv: nvidia device: 2 drv: swrast
    gbm: drv: nvidia surfaceless: drv: nvidia wayland: drv: nvidia x11:
    drv: zink inactive: device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 555.58.02
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce GTX 1650/PCIe/SSE2
    display-ID: :0.0
  API: Vulkan v: 1.3.283 surfaces: xcb,xlib,wayland device: 0
    type: discrete-gpu driver: N/A device-ID: 10de:1f82 device: 1 type: cpu
    driver: N/A device-ID: 10005:0000

The output of dnf list installed \*nvidia\*:

akmod-nvidia.x86_64                                                                             3:555.58.02-1.fc40                                                        @rpmfusion-nonfree-updates
kmod-nvidia-6.9.5-200.fc40.x86_64.x86_64                                                        3:550.90.07-1.fc40                                                        @@commandline             
kmod-nvidia-6.9.6-200.fc40.x86_64.x86_64                                                        3:550.90.07-1.fc40                                                        @@commandline             
kmod-nvidia-6.9.7-200.fc40.x86_64.x86_64                                                        3:555.58.02-1.fc40                                                        @@commandline             
nvidia-modprobe.x86_64                                                                          3:555.58.02-1.fc40                                                        @rpmfusion-nonfree-updates
nvidia-persistenced.x86_64                                                                      3:555.58.02-1.fc40                                                        @rpmfusion-nonfree-updates
nvidia-settings.x86_64                                                                          3:555.58.02-1.fc40                                                        @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia.x86_64                                                                      3:555.58.02-1.fc40                                                        @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-cuda.x86_64                                                                 3:555.58.02-1.fc40                                                        @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-cuda-libs.i686                                                              3:555.58.02-1.fc40                                                        @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-cuda-libs.x86_64                                                            3:555.58.02-1.fc40                                                        @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-kmodsrc.x86_64                                                              3:555.58.02-1.fc40                                                        @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-libs.i686                                                                   3:555.58.02-1.fc40                                                        @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-libs.x86_64                                                                 3:555.58.02-1.fc40                                                        @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-power.x86_64                                                                3:555.58.02-1.fc40                                                        @rpmfusion-nonfree-updates

You are missing the nvidia-gpu-firmware package which is required for many nvidia gpus.
Please reinstall it with dnf install nvidia-gpu-firmware

Note that I asked for the inxi -Fzxx output, not the part strictly limited to the graphics. There is more in that info that may be related to this issue.

Without the requested info I have to guess at the hardware – desktop or laptop? – and other critical information.

1 Like

Zink ? Isn’t that the Mesa 24.1.x NVK or we missing the APU/iGPU part here ?

The complete output of inxi -Fzxx:

System:
  Kernel: 6.9.7-200.fc40.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.41-37.fc40
  Desktop: KDE Plasma v: 6.1.1 tk: Qt v: N/A wm: kwin_wayland dm: SDDM
    Distro: Fedora Linux 40 (KDE Plasma)
Machine:
  Type: Desktop System: HP product: HP Pavilion Desktop 590-p0xxx v: N/A
    serial: <superuser required> Chassis: type: 3 serial: <superuser required>
  Mobo: HP model: 843B v: 00 serial: <superuser required>
    part-nu: 6LK84EA#ABD UEFI: AMI v: F.46 date: 08/03/2021
CPU:
  Info: 6-core model: Intel Core i5-9400 bits: 64 type: MCP arch: Coffee Lake
    rev: A cache: L1: 384 KiB L2: 1.5 MiB L3: 9 MiB
  Speed (MHz): avg: 958 high: 1319 min/max: 800/4100 cores: 1: 931 2: 900
    3: 1319 4: 800 5: 900 6: 900 bogomips: 34798
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: NVIDIA TU117 [GeForce GTX 1650] vendor: ZOTAC driver: nvidia
    v: 555.58.02 arch: Turing pcie: speed: 5 GT/s lanes: 16 ports: active: none
    off: DP-1,DVI-D-1,HDMI-A-1 empty: none bus-ID: 01:00.0 chip-ID: 10de:1f82
  Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 24.1.0
    compositor: kwin_wayland driver: X: loaded: nvidia
    unloaded: fbdev,modesetting,nouveau,vesa alternate: nv gpu: nvidia
    d-rect: 5200x1080 display-ID: 0
  Monitor-1: DP-1 pos: primary,left res: 1360x768 size: N/A
  Monitor-2: DVI-D-1 pos: center res: 1920x1080 size: N/A
  Monitor-3: HDMI-A-1 pos: right res: 1920x1080 size: N/A
  API: EGL v: 1.5 platforms: device: 0 drv: nvidia device: 2 drv: swrast
    gbm: drv: nvidia surfaceless: drv: nvidia wayland: drv: nvidia x11:
    drv: zink inactive: device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 555.58.02
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce GTX 1650/PCIe/SSE2
    display-ID: :0.0
  API: Vulkan v: 1.3.283 surfaces: xcb,xlib,wayland device: 0
    type: discrete-gpu driver: N/A device-ID: 10de:1f82 device: 1 type: cpu
    driver: N/A device-ID: 10005:0000
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:a348
  Device-2: NVIDIA vendor: ZOTAC driver: snd_hda_intel v: kernel pcie:
    speed: 8 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:10fa
  Device-3: M-Audio Uno driver: snd-usb-audio type: USB rev: 1.0
    speed: 12 Mb/s lanes: 1 bus-ID: 1-2:2 chip-ID: 0763:0150
  Device-4: AKAI MPKmini2 driver: hid-generic,snd-usb-audio,usbhid type: USB
    rev: 1.1 speed: 12 Mb/s lanes: 1 bus-ID: 1-3.1.3:8 chip-ID: 2011:0715
  Device-5: Kingston HyperX 7.1 Audio
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 12 Mb/s
    lanes: 1 bus-ID: 1-3.2:6 chip-ID: 0951:16a4
  API: ALSA v: k6.9.7-200.fc40.x86_64 status: kernel-api
  Server-1: PipeWire v: 1.0.7 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin
Network:
  Device-1: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter
    vendor: Hewlett-Packard driver: rtw_8821ce v: N/A pcie: speed: 2.5 GT/s
    lanes: 1 port: 4000 bus-ID: 03:00.0 chip-ID: 10ec:c821
  IF: wlp3s0 state: down mac: <filter>
  Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Hewlett-Packard driver: r8169 v: kernel pcie: speed: 2.5 GT/s
    lanes: 1 port: 3000 bus-ID: 04:00.0 chip-ID: 10ec:8168
  IF: enp4s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: Realtek Bluetooth 4.2 Adapter driver: btusb v: 0.8 type: USB
    rev: 1.1 speed: 12 Mb/s lanes: 1 bus-ID: 1-14:4 chip-ID: 0bda:b00a
  Report: btmgmt ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: <filter> bt-v: 4.2 lmp-v: 8
Drives:
  Local Storage: total: 4.78 TiB used: 467.02 GiB (9.5%)
  ID-1: /dev/nvme0n1 vendor: Western Digital model: PC SN520
    SDAPNUW-256G-1006 size: 238.47 GiB speed: 15.8 Gb/s lanes: 2
    serial: <filter> temp: 28.9 C
  ID-2: /dev/nvme1n1 vendor: SanDisk model: SSD Plus 1TB A3N
    size: 931.51 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 24.9 C
  ID-3: /dev/sda vendor: Seagate model: ST4000DM004-2CV104 size: 3.64 TiB
    speed: 6.0 Gb/s serial: <filter>
Partition:
  ID-1: / size: 929.93 GiB used: 466.73 GiB (50.2%) fs: btrfs
    dev: /dev/nvme1n1p3
  ID-2: /boot size: 973.4 MiB used: 275.3 MiB (28.3%) fs: ext4
    dev: /dev/nvme1n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 19 MiB (3.2%) fs: vfat
    dev: /dev/nvme1n1p1
  ID-4: /home size: 929.93 GiB used: 466.73 GiB (50.2%) fs: btrfs
    dev: /dev/nvme1n1p3
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 43.0 C pch: 46.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 16 GiB available: 15.48 GiB used: 2.62 GiB (16.9%)
  Processes: 371 Power: uptime: 0m wakeups: 0 Init: systemd v: 255
    target: graphical (5) default: graphical
  Packages: pm: flatpak pkgs: 55 Compilers: gcc: 14.1.1 Shell: Bash
    v: 5.2.26 running-in: konsole inxi: 3.3.34

My PC is a desktop and I also installed the nvidia-gpu-firmware package now, but the issue still persists.

I don’t know the latest available firmware for that bios but can see that you have version F.46 dated 8/3/2021. If a newer firmware is available it is usually suggested to update as soon as reasonable. The HP site seems to indicate that version F.51 dated Sept 2023 is available.

:+1:

Is the only monitor with this issue the one using DVI?

1 Like

Is there an easy way to do BIOS updates from Linux? I think for Windows, HP provides a dedicated application for it.

Yes

As indicated by @hamrheadcorvette above it may be that your issue is caused by the mesa version installed.
When did you last do an update? (dnf history --reverse)
What mesa version is installed? ( dnf list installed mesa* )

My system does not have an issue with screens, though I only have two and am using an RTX 3050 with both screens attached with DP and using a DP → HDMI adapter for both.

In any case, I have mesa version 24.1.2-7 installed on 7/3/2024 and this version supposedly contains a fix for problems seen with an earlier mesa version.

1 Like

I did the last update four hours ago.

mesa-dri-drivers.i686                                                                               24.1.2-7.fc40                                                                           @updates
mesa-dri-drivers.x86_64                                                                             24.1.2-7.fc40                                                                           @updates
mesa-filesystem.i686                                                                                24.1.2-7.fc40                                                                           @updates
mesa-filesystem.x86_64                                                                              24.1.2-7.fc40                                                                           @updates
mesa-libEGL.i686                                                                                    24.1.2-7.fc40                                                                           @updates
mesa-libEGL.x86_64                                                                                  24.1.2-7.fc40                                                                           @updates
mesa-libEGL-devel.x86_64                                                                            24.1.2-7.fc40                                                                           @updates
mesa-libGL.i686                                                                                     24.1.2-7.fc40                                                                           @updates
mesa-libGL.x86_64                                                                                   24.1.2-7.fc40                                                                           @updates
mesa-libGLU.x86_64                                                                                  9.0.3-4.fc40                                                                            @fedora 
mesa-libOSMesa.i686                                                                                 24.1.2-7.fc40                                                                           @updates
mesa-libOSMesa.x86_64                                                                               24.1.2-7.fc40                                                                           @updates
mesa-libgbm.i686                                                                                    24.1.2-7.fc40                                                                           @updates
mesa-libgbm.x86_64                                                                                  24.1.2-7.fc40                                                                           @updates
mesa-libglapi.i686                                                                                  24.1.2-7.fc40                                                                           @updates
mesa-libglapi.x86_64                                                                                24.1.2-7.fc40                                                                           @updates
mesa-libxatracker.x86_64                                                                            24.1.2-7.fc40                                                                           @updates
mesa-va-drivers.i686                                                                                24.1.2-7.fc40                                                                           @updates
mesa-va-drivers.x86_64                                                                              24.1.2-7.fc40                                                                           @updates
mesa-vulkan-drivers.i686                                                                            24.1.2-7.fc40                                                                           @updates
mesa-vulkan-drivers.x86_64                                                                          24.1.2-7.fc40                                                                           @updates

:thinking: Something’s not right. Gut feeling here.

You probably would need to download 'Hirens bootcd PE` and put it onto a usb device then boot from that to have a windows environment for updating the bios. I have not used it but others report it makes bios updates simple.
https://www.hirensbootcd.org/usb-booting

1 Like

I updated the BIOS and it solved the issue. Thank you a lot!

3 Likes

Sorry, but it seems that the problem is not fully fixed :frowning: although my second monitor now works, it seems that the nouveau driver is loaded somehow. If that is not related to the above, should I open a new thread?

lsmod |grep nouveau returns:

nouveau              3919872  81
mxm_wmi                12288  1 nouveau
drm_gpuvm              45056  1 nouveau
drm_exec               12288  2 drm_gpuvm,nouveau
gpu_sched              65536  1 nouveau
i2c_algo_bit           20480  1 nouveau
drm_ttm_helper         12288  1 nouveau
ttm                   114688  2 drm_ttm_helper,nouveau
drm_display_helper    274432  1 nouveau
video                  81920  1 nouveau
wmi                    36864  5 hp_wmi,video,wmi_bmof,mxm_wmi,nouveau

But at the same time modinfo -F version nvidia outputs 555.58.02

The OpenGL (EGL) page in KDE Infocenter also shows that the nouveau driver is in use. I think the issue is somehow related to secure boot, but I’m not sure.

You should be able to find details using journalctl. I would start with
journalctl --no-hostname -b -g nvidia| cat (the |cat wraps long lines) and journalctl --no-hostname -b -g nouveau| cat .

This is easy to tell.

  1. the command mokutil --sb-state should return SecureBoot enabled if secure boot is enabled.

  2. You could also use sudo dmesg | grep -iE "nvidia|nouveau|secure" which would provide the kernel notes about secure boot and loading of those modules.

  3. If you did not at some point follow the instructions in the file /usr/share/doc/akmods/README.secureboot or at Howto/Secure Boot - RPM Fusion which tell the user how to import the signing key into Bios then the module will not be recognized as signed and cannot be loaded

Only you will know if the third was done and if the command in the first or second returns SecureBoot disabled then secure boot would not be the issue.

The module is available, regardless of whether it is loaded or not, so that info is correct.

If secure boot is enabled, you have followed the instructions in step 3, and the module still does not load, then you can use the command sudo akmods --force --rebuild to rebuild the module and ensure it is properly signed so it should load with the next reboot.

Okay so I repeated the steps from the Howto/Secure Boot in RPM Fusion and now the nvidia module seems to load properly. But at the same time, the issue with the second screen displaying nothing returned.

So to conclude:

  1. secure boot enabled, but nvidia driver not signed correctly: my pc loads the nouveau driver and all monitors work
  2. secure boot disabled with the incorrectly signed nvidia driver / secure boot enabled with a correctly signed nvidia driver: the nvidia driver loads but the screen with the DVI-HDMI-Adapter stays black

Possible to test without the adapter?

No, because my graphics card only has one HDMI and one DVI output (there is also DP but it is also used), but both my screens only support HDMI.