NVIDIA doesn't output video to HDMI on laptop

Since updating to NVIDIA 570.124.04, my laptop won’t recognize any screen from the HDMI output, using Wayland. I’ve tweaked with the NVIDIA manual but have found no clue.
There’s no errors in dmesg.
The HDMI is connected to the NVIDIA GPU.

inxi:

raphics:
  Device-1: NVIDIA GA107M [GeForce RTX 3050 Mobile]
    vendor: Acer Incorporated ALI driver: nvidia v: 570.124.04 arch: Ampere
    pcie: speed: 16 GT/s lanes: 8 bus-ID: 01:00.0 chip-ID: 10de:25a2
    class-ID: 0300
  Device-2: Advanced Micro Devices [AMD/ATI] Rembrandt [Radeon 680M]
    vendor: Acer Incorporated ALI driver: amdgpu v: kernel arch: RDNA-2 pcie:
    speed: 16 GT/s lanes: 16 ports: active: DP-3,eDP-1 empty: DP-1, DP-2,
    DP-4, DP-5, DP-6, DP-7, DP-8, Writeback-1 bus-ID: 75:00.0
    chip-ID: 1002:1681 class-ID: 0300 temp: 48.0 C
  Device-3: Chicony ACER HD User Facing driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 bus-ID: 5-1:2 chip-ID: 04f2:b76f class-ID: fe01
    serial: <filter>
  Display: wayland server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.6
    compositor: kwin_wayland driver: X: loaded: modesetting unloaded: vesa
    alternate: fbdev dri: radeonsi gpu: amdgpu d-rect: 1920x2160 display-ID: 0
  Monitor-1: DP-3 pos: primary,top model: LG (GoldStar) E2250
    serial: <filter> res: mode: 1920x1080 hz: 60 scale: 100% (1) dpi: 102
    size: 1394x784mm (54.88x30.87") diag: 551mm (21.7") modes: max: 1920x1080
    min: 640x480
  Monitor-2: eDP-1 pos: bottom model: BOE Display 0x0b02 res:
    mode: 1920x1080 hz: 144 scale: 100% (1) dpi: 142
    size: 344x194mm (13.54x7.64") diag: 395mm (15.5") modes: max: 1920x1080
    min: 640x480
  API: EGL v: 1.5 hw: drv: nvidia drv: amd radeonsi platforms: device: 0
    drv: nvidia device: 1 drv: radeonsi device: 2 drv: swrast gbm:
    drv: kms_swrast surfaceless: drv: nvidia wayland: drv: radeonsi x11:
    drv: radeonsi
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: amd mesa v: 24.3.4 glx-v: 1.4
    direct-render: yes renderer: AMD Radeon 660M (radeonsi rembrandt LLVM
    19.1.7 DRM 3.59 6.12.13-1-longterm) device-ID: 1002:1681 display-ID: :1.0
  API: Vulkan v: 1.4.304 layers: 4 surfaces: xcb,xlib,wayland device: 0
    type: integrated-gpu driver: N/A device-ID: 1002:1681 device: 1
    type: discrete-gpu driver: N/A device-ID: 10de:25a2
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: nvidia-settings, nvidia-smi,
    radeontop wl: wayland-info x11: xdpyinfo, xprop, xrandr

Hybrid graphics with displays connected to the AMD iGPU?

Please also show us the results of

xrandr
xrandr --listproviders

Yes, both embbeded and external LG display are connected to the AMD iGPU

Screen 0: minimum 16 x 16, current 1920 x 2160, maximum 32767 x 32767
DP-3 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 1394mm x 784mm
   1920x1080     59.96*+
   1440x1080     59.99  
   1400x1050     59.98  
   1280x1024     59.89  
   1280x960      59.94  
   1152x864      59.96  
   1024x768      59.92  
   800x600       59.86  
   640x480       59.38  
   320x240       59.29  
   1680x1050     59.95  
   1440x900      59.89  
   1280x800      59.81  
   1152x720      59.97  
   960x600       59.63  
   928x580       59.88  
   800x500       59.50  
   768x480       59.90  
   720x480       59.71  
   640x400       59.95  
   320x200       58.14  
   1600x900      59.95  
   1368x768      59.88  
   1280x720      59.86  
   1024x576      59.90  
   864x486       59.92  
   720x400       59.27  
   640x350       59.28  
eDP-1 connected 1920x1080+0+1080 (normal left inverted right x axis y axis) 344mm x 194mm
   1920x1080    143.88*+
   1440x1080    143.80  
   1400x1050    143.89  
   1280x1024    143.79  
   1280x960     143.86  
   1152x864     143.92  
   1024x768     143.87  
   800x600      143.83  
   640x480      143.85  
   320x240      142.05  
   1680x1050    143.88  
   1440x900     143.86  
   1280x800     143.84  
   1152x720     143.77  
   960x600      143.72  
   928x580      143.50  
   800x500      143.68  
   768x480      143.69  
   720x480      143.85  
   640x400      143.37  
   320x200      141.40  
   1600x900     143.93  
   1368x768     143.77  
   1280x720     143.67  
   1024x576     143.91  
   864x486      143.63  
   720x400      143.88  
   640x350      143.57  

Providers: number : 0

The NVidia↔Wayland relationship seems to have a history of flaws. Does HDMI connected display work at all if using Xorg instead of Wayland? xrandr --listproviders AFAIK normally produces results only within Xorg sessions.

It doesn’t work on X11 aswell

Providers: number : 1
Provider 0: id: 0x4b; cap: 0xf (Source Output, Sink Output, Source Offload, Sink Offload); crtcs: 4; outputs: 9; associated providers: 0; name: modesetting
    output eDP-1
    output DP-1
    output DP-2
    output DP-3
    output DP-4
    output DP-5
    output DP-6
    output DP-7
    output DP-8

@mrmazda Not in my experience, desktop environment, Mesa, Vulkan environment setup is more likely the issue with AMD and Nvidia gpu setup… I suspect fighting each other for control…

1 Like

Specific laptop brand/model? Does you laptop have UEFI hybrid graphics settings? (What’s possible will depend on how the hybrid graphics is implemented.)

Just in case this is of interest:

@JoseskVolpe In the inxi output I would expect to see loaded: amdgpu(maybe modesetting),nvidia not loaded: modesetting… The Nvidia GPU shows no connection info (did it ever?).

Can you post the output from inxi -Saz

Can you post the output from /sbin/lspci -nnk | grep -EA3 "VGA|Display|3D"

So there are no BIOS settings for the iGPU and dGPU in this system.

No doubt. Clearly you are an (the?) NVidia guru here. I remember vividly a statement by SUSE’s NVidia maintainer/packager in one of many bug reports I’ve read about difficulties getting two different brand GPUs to play nice together. As I don’t remember how long ago he wrote it, before replying here, I tried to find it, but without success. What I don’t remember is him saying anything to the effect that such situations have become obsolete news.

I agree, things that require a guru to get sorted. Automagic that works for those with a single GPU doesn’t seem to exist for those with more than one.

@mrmazda well I always had issues with my AMD RX550 as primary display and Nvidia Quadro T400, since moved to Intel ARC and Nvidia Turing which is much more stable… Now I do set the Nvidia device as the Mesa Vulkan one via /etc/environment containing MESA_VK_DEVICE_SELECT="10de:1eb1" for the Nvidia GPU.

So many changing goal posts with the likes of Mesa, deprecation of older Intel and Nvidia GPU (I suspect GCN is there somewhere in favor of RDNA), newer Intel GPU’s with Xe support, Nvidia moving to the Open/GSP driver. Wayland is in there too…

Now I also upgraded all my screens (24" Curved @48-100Hz VRR :wink:) to ones with DP as these work better with my ARC setup (and probably if switch to Nvidia as primary device) and Wayland.

Acer Nitro 5 AN515-47. There’s no UEFI graphics settings.

System:
  Kernel: 6.12.13-1-longterm arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/vmlinuz-6.12.13-1-longterm
    root=/dev/mapper/OpenSUSE-SYSTEM splash=silent quiet security=apparmor
    resume=/dev/OpenSUSE/SWAP acpi_backlight=native amd_iommu=on
    mitigations=auto rd.shell=0 rd.driver.blacklist=nouveau
  Desktop: KDE Plasma v: 6.2.5 tk: Qt v: N/A info: frameworks v: 6.10.0
    wm: kwin_wayland tools: avail: xscreensaver vt: 3 dm: SDDM Distro: openSUSE
    Tumbleweed-Slowroll 20250205

01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA107M [GeForce RTX 3050 Mobile] [10de:25a2] (rev a1)
        Subsystem: Acer Incorporated [ALI] Device [1025:159e]
        Kernel driver in use: nvidia
        Kernel modules: nouveau, nvidia_drm, nvidia
--
75:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt [Radeon 680M] [1002:1681] (rev 0b)
        Subsystem: Acer Incorporated [ALI] Device [1025:159e]
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu

@JoseskVolpe What gives you the impression that the Nvidia GPU has an output to drive a monitor, all indications are it’s only the AMD gpu that is connected to the HDMI port or are there two physical ports DP and HDMI? Or are you using Thunderbolt? Do the connected monitors and connected cables conform to the required specs?

Does Fn+F5 work to turn off the connected display?

Before this bug, connecting displays to the HDMI would increase NVIDIA usage, it’s also where the driver indicates usage in both Windows and Linux, i can also passthrough it to a VM and use it as a VM display. There’s the HDMI port and a DisplayPort-compatible USB-C/Thunderbolt port, aswell the embedded display. The main monitor (LG) is connected to the USB-C port, which is part of AMD video output.

No, only the one connected to the USB-C.
The system don’t even recognize the HDMI port exists.

@JoseskVolpe I’m assuming it had Windows installed? Is it still present and did the HDMI port work then?

Yes, it still works in Windows

@JoseskVolpe So in Windows, one wonders if it’s being powered off on shutdown, similar to wifi/bluetooth/USB issues some folks have.

In the Windows device manager for the Nvidia GPU or the HDMI connected monitor, can you check and turn off any associated power features.

NVIDIA GPU still works in Linux and can render. But i’ll reboot and see.

@JoseskVolpe Yes, it looks fine to run Prime Render Offload.

I’ve disabled the NVIDIA adapter in Windows then rebooted to OpenSuse, it still doesn’t work