You are not logged in.

#1 2023-06-18 12:01:49

xmatthias
Member
Registered: 2015-07-07
Posts: 5

Screen stuck for ~10s when unplugging from docking station

I'm running KDE on archlinux, fully updated (the problem persists for weeks now).

Whenever i unplug my laptop (x1 carbon gen9) from the docking station (2 additional monitors), the laptop screen quickly flickers, then goes black for ~10 seconds.
After which, it returns and shows everything normally.

The below is the log output (shortened, xrandr outputs > 100 informative lines, both before and after the "hang")


...
Jun 18 13:58:51 x1 kscreen_backend_launcher[1525]: kscreen.xrandr: XRandROutput 1981 update 
                                                            m_connected: 1 
                                                            m_crtc XRandRCrtc(0x56058342a160) 
                                                            CRTC: 0 
                                                            MODE: 0 
                                                            Connection: 1
Jun 18 13:58:51 x1 kscreen_backend_launcher[1525]: kscreen.xrandr: Disconnected output 1981 from CRTC 63
Jun 18 13:58:51 x1 kscreen_backend_launcher[1525]: kscreen.xrandr: RRSetCrtcConfig (disable output) 
                                                            CRTC: 64
Jun 18 13:59:01 x1 kernel: i915 0000:00:02.0: [drm] *ERROR* [ENCODER:350:DDI TC3/PHY TC3][DPRX] Failed to enable link training
Jun 18 13:59:04 x1 kscreen_backend_launcher[1525]: kscreen.xrandr:         Result: 0
Jun 18 13:59:04 x1 kscreen_backend_launcher[1525]: kscreen.xrandr: XRandROutput 1982 update 
                                                            m_connected: 1 
                                                            m_crtc XRandRCrtc(0x56058342a860) 
                                                            CRTC: 0 
                                                            MODE: 0 
                                                            Connection: 1
Jun 18 13:59:04 x1 kscreen_backend_launcher[1525]: kscreen.xrandr: Disconnected output 1982 from CRTC 64
Jun 18 13:59:04 x1 kscreen_backend_launcher[1525]: kscreen.xrandr: RRSetCrtcConfig (change output) 
                                                            Output: 66 ( "eDP-1" ) 
                                                            CRTC: 62 
                                                            Pos: QPoint(0,0) 
                                                            Mode: KScreen::Mode(Id: "75" , Size: QSize(1920, 1200) @ 60.0008 ) Preferred: "75" 
                                                            Rotation: KScreen::Output::None
Jun 18 13:59:04 x1 kscreen_backend_launcher[1525]: kscreen.xrandr: XRandRCrtc  62  m_timestamp update  164397  =>  1021704
Jun 18 13:59:04 x1 kscreen_backend_launcher[1525]: kscreen.xrandr:         Result:  0  timestamp:  1021704
Jun 18 13:59:04 x1 kscreen_backend_launcher[1525]: kscreen.xrandr: XRandROutput 66 update 
                                                            m_connected: 0 
                                                            m_crtc XRandRCrtc(0x560583429f80) 
                                                            CRTC: 62 
                                                            MODE: 75 
                                                            Connection: 0

The relevant line seems to be the i915 error, which happens 10s after the last log entry - which corresponds to the "hang time".

I've already tried to remove `~/.local/share/kscreen/` (to no avail) - as well as to disable psr via kernel, which didn't change behavior at all, other than causing a "tainted kernel".

Last edited by xmatthias (2023-06-18 12:05:41)

Offline

#2 2023-07-15 12:22:01

xmatthias
Member
Registered: 2015-07-07
Posts: 5

Re: Screen stuck for ~10s when unplugging from docking station

A recent full update fixed this (system was updated a month ago, too).

not sure which update / package exactly, just glad it seems to be gone.

Offline

Board footer

Powered by FluxBB