You are not logged in.

#1 2024-09-13 15:25:11

saturnteam
Member
Registered: 2019-05-20
Posts: 9

HDMI TV endless reconnection

Hi!
I use lenovo thinkpad with nvidia and intel gpu.
nvidia optimus settings is to use nvidia only.

xorg log is full of connection and disconnection:

[   215.989] (--) NVIDIA(GPU-0): SAMSUNG (DFP-4): connected
[   215.989] (--) NVIDIA(GPU-0): SAMSUNG (DFP-4): Internal TMDS
[   215.989] (--) NVIDIA(GPU-0): SAMSUNG (DFP-4): 600.0 MHz maximum pixel clock
[   215.989] (--) NVIDIA(GPU-0): 
[   215.991] (II) NVIDIA(0): Setting mode "NULL"
[   218.095] (--) NVIDIA(GPU-0): DFP-4: disconnected
[   218.095] (--) NVIDIA(GPU-0): DFP-4: Internal TMDS
[   218.095] (--) NVIDIA(GPU-0): DFP-4: 165.0 MHz maximum pixel clock
[   218.095] (--) NVIDIA(GPU-0): 
[   219.149] (--) NVIDIA(GPU-0): SAMSUNG (DFP-4): connected
[   219.149] (--) NVIDIA(GPU-0): SAMSUNG (DFP-4): Internal TMDS
[   219.149] (--) NVIDIA(GPU-0): SAMSUNG (DFP-4): 600.0 MHz maximum pixel clock
[   219.149] (--) NVIDIA(GPU-0): 
[   220.324] (--) NVIDIA(GPU-0): SAMSUNG (DFP-4): connected
[   220.324] (--) NVIDIA(GPU-0): SAMSUNG (DFP-4): Internal TMDS
[   220.324] (--) NVIDIA(GPU-0): SAMSUNG (DFP-4): 600.0 MHz maximum pixel clock
[   220.324] (--) NVIDIA(GPU-0): 
[   220.390] (--) NVIDIA(GPU-0): DFP-4: connected
[   220.390] (--) NVIDIA(GPU-0): DFP-4: Internal TMDS
[   220.390] (--) NVIDIA(GPU-0): DFP-4: 165.0 MHz maximum pixel clock
[   220.390] (--) NVIDIA(GPU-0): 
[   221.294] (--) NVIDIA(GPU-0): DFP-4: disconnected
[   221.294] (--) NVIDIA(GPU-0): DFP-4: Internal TMDS
[   221.294] (--) NVIDIA(GPU-0): DFP-4: 165.0 MHz maximum pixel clock
[   221.294] (--) NVIDIA(GPU-0): 
[   223.280] (--) NVIDIA(GPU-0): SAMSUNG (DFP-4): connected
[   223.280] (--) NVIDIA(GPU-0): SAMSUNG (DFP-4): Internal TMDS
[   223.280] (--) NVIDIA(GPU-0): SAMSUNG (DFP-4): 600.0 MHz maximum pixel clock
[   223.280] (--) NVIDIA(GPU-0): 
[   224.418] (II) NVIDIA(0): Setting mode "HDMI-0: nvidia-auto-select @3840x2160 +0+0 {ViewPortIn=3840x2160, ViewPortOut=3840x2160+0+0}"
[   230.396] (WW) NVIDIA: Wait for channel idle timed out.
[   236.054] (WW) NVIDIA: Wait for channel idle timed out.
[   236.692] (--) NVIDIA(GPU-0): DFP-4: disconnected
[   236.692] (--) NVIDIA(GPU-0): DFP-4: Internal TMDS
[   236.692] (--) NVIDIA(GPU-0): DFP-4: 165.0 MHz maximum pixel clock
[   236.692] (--) NVIDIA(GPU-0): 
[   237.565] (--) NVIDIA(GPU-0): SAMSUNG (DFP-4): connected
[   237.565] (--) NVIDIA(GPU-0): SAMSUNG (DFP-4): Internal TMDS
[   237.565] (--) NVIDIA(GPU-0): SAMSUNG (DFP-4): 600.0 MHz maximum pixel clock
[   237.565] (--) NVIDIA(GPU-0): 

journalctl -b:

Sep 13 18:13:24 archlinux kscreen_backend_launcher[5125]: kscreen.xrandr: XRandROutput 445 update 
                                                                   m_connected: 1 
                                                                   m_crtc QObject(0x0) 
                                                                   CRTC: 0 
                                                                   MODE: 0 
                                                                   Connection: 1
Sep 13 18:13:24 archlinux kscreen_backend_launcher[5125]: kscreen.xrandr: Output 445 : connected = false , enabled = false
Sep 13 18:13:24 archlinux kscreen_backend_launcher[5125]: kscreen.xrandr: XRandROutput 446 update 
                                                                   m_connected: 1 
                                                                   m_crtc QObject(0x0) 
                                                                   CRTC: 0 
                                                                   MODE: 0 
                                                                   Connection: 1
Sep 13 18:13:24 archlinux kscreen_backend_launcher[5125]: kscreen.xrandr: Output 446 : connected = false , enabled = false
Sep 13 18:13:24 archlinux kscreen_backend_launcher[5125]: kscreen.xrandr: XRandROutput 447 update 
                                                                   m_connected: 1 
                                                                   m_crtc QObject(0x0) 
                                                                   CRTC: 0 
                                                                   MODE: 0 
                                                                   Connection: 1
Sep 13 18:13:24 archlinux kscreen_backend_launcher[5125]: kscreen.xrandr: Output 447 : connected = false , enabled = false

I attempted to connect a small 1024x700 screen, and it connected without any problems.

The laptop also successfully connected on Windows.

I experienced this issue about six months ago, and occasionally the laptop would connect to the screen, but now it doesn't connect at all.


On Wayland I can't connect any screen.


Both nvidia and nvidia-open are not working with external screen.

Kernel parameters:

GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 ibt=off nvidia_drm.modeset=1 nvidia_drm.fbdev=1 NVreg_PreserPreserveVideoMemoryAllocations=1"

How can I fix this?

Offline

#2 2024-09-13 15:47:02

seth
Member
Registered: 2012-09-03
Posts: 57,278

Re: HDMI TV endless reconnection

Cable?
The signal might only be good enough for https://wiki.archlinux.org/title/NVIDIA … ubsampling

Offline

#3 2024-09-13 16:03:04

saturnteam
Member
Registered: 2019-05-20
Posts: 9

Re: HDMI TV endless reconnection

seth wrote:

Cable?
The signal might only be good enough for https://wiki.archlinux.org/title/NVIDIA … ubsampling

I've tried three cables and different ports

Offline

#4 2024-09-14 19:55:58

seth
Member
Registered: 2012-09-03
Posts: 57,278

Re: HDMI TV endless reconnection

Enable https://wiki.archlinux.org/title/NVIDIA … de_setting - use the "nvidia_drm.modeset=1" kernel parameter (modprobe.conf won't do!)
Then w/ the troublesome monitor attached post the output of

for OUT in /sys/class/drm/card*; do echo $OUT; edid-decode $OUT/edid; echo "================="; done

You'll need https://aur.archlinux.org/packages/edid-decode-git

Also please test the behavior on a bare-bones X11 session (openbox, icewm, i3) and esp. w/o output managing daemon (kscreen, autorandr - every fat desktop environment has one, hence the bare bones stuff)

Ceterum censeo:

The laptop also successfully connected on Windows.

3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.

Offline

Board footer

Powered by FluxBB