HDMI not working with [GeForce RTX 3080 Mobile

Hi,

I have a new laptop which has a NVIDIA GeForce RTX 3080 Mobile card. When I plug my HDMI monitor, it doesn’t work.

01:00.0 VGA compatible controller: NVIDIA Corporation GA104M [GeForce RTX 3080 Mobile / Max-Q 8GB/16GB] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Lenovo GA104M [GeForce RTX 3080 Mobile / Max-Q 8GB/16GB]
Flags: bus master, fast devsel, latency 0, IRQ 191, IOMMU group 15
Memory at ad000000 (32-bit, non-prefetchable) [size=16M]
Memory at 6000000000 (64-bit, prefetchable) [size=16G]
Memory at 6400000000 (64-bit, prefetchable) [size=32M]
I/O ports at 3000 [size=128]
Expansion ROM at ae080000 [virtual] [disabled] [size=512K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Legacy Endpoint, MSI 00
Capabilities: [b4] Vendor Specific Information: Len=14 <?> Capabilities: [100] Virtual Channel Capabilities: [250] Latency Tolerance Reporting Capabilities: [258] L1 PM Substates Capabilities: [128] Power Budgeting <?>
Capabilities: [420] Advanced Error Reporting
Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?> Capabilities: [900] Secondary PCI Express Capabilities: [bb0] Physical Resizable BAR Capabilities: [c1c] Physical Layer 16.0 GT/s <?>
Capabilities: [d00] Lane Margining at the Receiver <?> Capabilities: [e00] Data Link Feature <?>
Kernel driver in use: nvidia
Kernel modules: nvidia

The system is running Debian bookworm (testing) with linux kernel version 5.15.5-2.

nvidia-bug-report.log.gz (359.0 KB)

Please run

xrandr --setprovideroutputsource NVIDIA-G0 modesetting && xrandr --auto

to enable the monitor on the nvidia.
https://download.nvidia.com/XFree86/Linux-x86_64/495.44/README/primerenderoffload.html

Thanks, it solved the problem.

However, looking at that documentation, I’m failing to identify the root cause of the problem. Moreover, the question that puzzles me at the moment is why this need the user to run any command at all.

A plug and play HDMI monitor is not an exotic setup.

Debian is DIY, it only comes with minimal config.
You’re running it on a hybrid graphics system, the primary graphics card is the intel igpu, your desktop is running on it. If you were to plug in a monitor into a socket conncted to the intel gpu, it would auto-work. If you want the intel gpu to use a connector on the nvidia gpu, you’ll have to tell it to the xserver, because debian is DIY.
The linked manual page explains how to run applications on the nvidia gpu.