Distorted video on 1920x1080 monitor with 4K monitor attached

I have a HP ZBook Fury 17 G7 with hybrid graphics (Intel and Nvidia) on Debian 11. I have two external monitors, a Dell 24" 1080 (using a DP to HDMI adapter) and a LG 27" 4K hooked up via a HP Thunderdock. I’m using the nvidia-driver package 460.91.03-1 from the Debian non-free repository.

I would like to have three monitors working: laptop display to my left; 4K monitor in front and above it, the 1080 monitor.

This has worked before, broken, worked again and now broken once again. I took the laptop on vacation and when I came back and hooked everything up, the symptoms came back. Nothing was changed otherwise.

IMG-20211217-114303_2

If I enable both the 4K and 1080 monitors, I get the distorted video on the 1080 monitor seen in the image above. If I disable the 4K monitor, the 1080 monitor works. If I disable the 1080 monitor, the 4K monitor works. The laptop display is not affected.

I have tried different DP-to-HDMI adapters. In fact, using two 1080 monitors works fine.

Nothing in /etc/X11/xorg.conf.d/ at the moment, but I have tried several things. It has worked without anything explicitly configured.

$ xrandr
Screen 0: minimum 8 x 8, current 7680 x 2160, maximum 32767 x 32767
eDP1 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 340mm x 190mm
   3840x2160     60.00*+  40.00  
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
DP3 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
HDMI3 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
DP-1-0.1 connected 3840x2160+3840+0 (normal left inverted right x axis y axis) 600mm x 340mm
   3840x2160     60.00*+  30.00  
   2560x1440     59.95  
   1920x1080     60.00    59.94
[...truncated...]
DP-1-0.2 connected (normal left inverted right x axis y axis)
   1920x1080     60.00 +  59.94    50.00  
   1600x900      60.00  
   1280x1024     75.02    60.02
[...truncated...]
DP-1-0 disconnected (normal left inverted right x axis y axis)
DP-1-1 disconnected (normal left inverted right x axis y axis)
DP-1-2 disconnected (normal left inverted right x axis y axis)
DP-1-3 disconnected (normal left inverted right x axis y axis)
DP-1-4 disconnected (normal left inverted right x axis y axis)
DP-1-5 disconnected (normal left inverted right x axis y axis)
$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation CometLake-H GT2 [UHD Graphics] (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation TU104GLM [Quadro RTX 5000 Mobile / Max-Q] (rev a1)
$ xrandr --listproviders 
Providers: number : 2
Provider 0: id: 0x49 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 7 associated providers: 1 name:modesetting
Provider 1: id: 0x2c6 cap: 0x2, Sink Output crtcs: 4 outputs: 8 associated providers: 1 name:NVIDIA-G0

nvidia-bug-report.log.gz (1.3 MB)

Please check if this was fixed in a more recent driver, v470 or v495.

I pulled 470.86-1 from unstable and ran xrandr xrandr --setprovideroutputsource 1 0 && xrandr --auto. Neither screens turn on.

Please create a new nvidia-bug-report.log.

nvidia-bug-report.log.gz (1.3 MB)

What kind of error is reported when running the xrandr command?

Just noticed: when you had the 470 driver installed, the intel driver was used instead of the modesetting driver. Seems that package came with some additional config.

xrandr doesn’t report any errors. Return code for both commands are 0. When I run xrandr --output DP-1-0.2 --off, I get my 4K monitor although the Dell monitor is now off of course.

Any thoughts on what else I can try?

Not really, since that looks like a bug that should have been fixed in driver v455.23.04

  • Fixed a bug that led to display corruption at some resolutions when
    using an NVIDIA-driven display as a PRIME Display Offload sink.

You could mail your nvidia-bug-report.log to linux-bugs[at]nvidia.com referring to that bug for increased attention.