You are not logged in.

#1 2021-11-06 18:18:59

TotalDirection
Member
Registered: 2021-11-06
Posts: 2

HDMI Sometimes Disconnects, Reconnects After Another Device Connects

This issue most often happens when my laptop goes to sleep, however also happens in some cases when I disconnect the HDMI cable and re-plug it in. I also use another monitor through USB-C -> DisplayPort which has not had any issues (and is plugged in and working when the problematic monitor stops working).

When I plug the HDMI cable into another device, let it connect (which always works), and then reconnect it to my laptop, it generally connects perfectly.

Each time I plug in the HDMI cable I get two of these log messages in /var/log/Xorg.0.log:

[  1905.490] (--) intel(0): HDMI max TMDS frequency 250000KHz
[  1905.491] (--) intel(0): HDMI max TMDS frequency 250000KHz

However these logs occur even when reconnecting the HDMI cable works and enables the display.

I use autorandr to automatically control xrandr, and when unplugging the monitor, I get this output in the journal:

Nov 06 11:04:13 ****-workstation autorandr[184037]: Warning: Output DP3 has a transformation applied. Could not determine correct mode! Using `3840x2160'.
Nov 06 11:04:13 ****-workstation autorandr[184037]: Failed to load profile 'default': Profile not found (line 1420)
Nov 06 11:04:13 ****-workstation autorandr[184037]: autorandr running as user **** (started from batch instance)
Nov 06 11:04:13 ****-workstation autorandr[184037]: docked
Nov 06 11:04:13 ****-workstation autorandr[184037]: mobile

And plugging it back in I get:

Nov 06 11:05:04 ****-workstation autorandr[188127]: Config already loaded
Nov 06 11:05:04 ****-workstation autorandr[188127]: autorandr running as user **** (started from batch instance)
Nov 06 11:05:04 ****-workstation autorandr[188127]: docked (detected) (current)
Nov 06 11:05:04 ****-workstation autorandr[188127]: mobile

Perhaps relevant from /var/log/Xorg.0.log on boot (the display in question is listed as DP3 by xrandr):

[     5.003] (II) config/udev: Adding input device DP-3 (/dev/input/event14)
[     5.003] (**) DP-3: Applying InputClass "libinput keyboard catchall"
[     5.003] (II) Using input driver 'libinput' for 'DP-3'
[     5.003] (**) DP-3: always reports core events
[     5.003] (**) Option "Device" "/dev/input/event14"
[     5.003] (**) Option "_source" "server/udev"
[     5.005] (II) event14 - DP-3: is tagged by udev as: Keyboard Pointingstick
[     5.006] (II) event14 - DP-3: device is a pointer
[     5.006] (II) event14 - DP-3: device is a keyboard
[     5.007] (II) event14 - DP-3: device removed
[     5.024] (II) libinput: DP-3: needs a virtual subdevice
[     5.024] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:02.0/rc/rc0/input20/event14"
[     5.024] (II) XINPUT: Adding extended input device "DP-3" (type: MOUSE, id 10)
[     5.024] (**) Option "AccelerationScheme" "none"
[     5.024] (**) DP-3: (accel) selected scheme none/0
[     5.024] (**) DP-3: (accel) acceleration factor: 2.000
[     5.024] (**) DP-3: (accel) acceleration threshold: 4
[     5.026] (II) event14 - DP-3: is tagged by udev as: Keyboard Pointingstick
[     5.027] (II) event14 - DP-3: device is a pointer
[     5.027] (II) event14 - DP-3: device is a keyboard

Output of xrandr (at this time the USB-C/DisplayPort monitor (DP1) is working, and the HDMI monitor (DP3) is showing "No Signal"):

Screen 0: minimum 8 x 8, current 11520 x 2160, maximum 32767 x 32767
eDP1 connected primary 3840x2160+7680+0 (normal left inverted right x axis y axis) 340mm x 190mm
   3840x2160     60.00*+  59.97
   3200x1800     59.96    60.00    59.94
   2880x1620     60.00    59.96    59.97
   2560x1600     59.99    59.97
   2560x1440     59.96    60.00    59.95
   2048x1536     60.00
   1920x1440     60.00
   1856x1392     60.01
   1792x1344     60.01
   2048x1152     60.00    59.90    59.91
   1920x1200     59.88    59.95
   1920x1080     59.96    60.00    59.93
   1600x1200     60.00
   1680x1050     59.95    59.88
   1400x1050     59.98
   1600x900      60.00    59.95    59.82
   1280x1024     60.02
   1400x900      59.96    59.88
   1280x960      60.00
   1368x768      60.00    59.88    59.85
   1280x800      59.81    59.91
   1280x720      59.86    60.00    59.74
   1024x768      60.00
   1024x576      60.00    59.90    59.82
   960x540       60.00    59.63    59.82
   800x600       60.32    56.25
   864x486       60.00    59.92    59.57
   640x480       59.94
   720x405       59.51    60.00    58.99
   640x360       59.84    59.32    60.00
DP1 connected 3840x2160+0+0 (normal left inverted right x axis y axis) 600mm x 340mm
   1920x1080     60.00*+  50.00    59.94
   1920x1080i    60.00    50.00    59.94
   1680x1050     59.88
   1280x1024     75.02    60.02
   1440x900      74.98    59.90
   1280x960      60.00
   1152x864      75.00
   1280x720      60.00    50.00    59.94
   1440x576      50.00
   1024x768      75.03    70.07    60.00
   1440x480      60.00    59.94
   832x624       74.55
   800x600       72.19    75.00    60.32    56.25
   720x576       50.00
   720x480       60.00    59.94
   640x480       75.00    72.81    66.67    60.00    59.94
   720x400       70.08
DP2 disconnected (normal left inverted right x axis y axis)
DP3 connected 3840x2160+3840+0 (normal left inverted right x axis y axis) 590mm x 330mm
   2560x1440     59.95*+
   1920x1080     60.00    50.00    59.94
   1920x1080i    60.00    50.00    59.94
   1680x1050     59.88
   1600x900      60.00
   1280x1024     60.02
   1280x800      59.91
   1280x720      60.00    50.00    59.94
   1024x768      60.00
   800x600       60.32
   720x576       50.00
   720x480       60.00    59.94
   640x480       60.00    59.94
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

Relevant entry from lspci -v:

00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630] (prog-if 00 [VGA controller])
	DeviceName:  Onboard IGD
	Subsystem: Dell Device 0905
	Flags: bus master, fast devsel, latency 0, IRQ 178
	Memory at eb000000 (64-bit, non-prefetchable) [size=16M]
	Memory at 80000000 (64-bit, prefetchable) [size=256M]
	I/O ports at 4000 [size=64]
	Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
	Capabilities: [40] Vendor Specific Information: Len=0c <?>
	Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
	Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [d0] Power Management version 2
	Capabilities: [100] Process Address Space ID (PASID)
	Capabilities: [200] Address Translation Service (ATS)
	Capabilities: [300] Page Request Interface (PRI)
	Kernel driver in use: i915
	Kernel modules: i915

Offline

#2 2021-11-16 00:04:27

TotalDirection
Member
Registered: 2021-11-06
Posts: 2

Re: HDMI Sometimes Disconnects, Reconnects After Another Device Connects

Some additional behavior I have observed:

When the monitor is working properly, I am able to unplug and replug the monitor several times, and it will reconnect properly. However after some number of reconnections it fails to reconnect, and seems to be in the same condition as when it stops working after the laptop goes to sleep.

When the monitor is not connecting properly, unplugging it and plugging it back in several times it still refuses to connect, but sometimes (after some number of times re-plugging it in) it successfully connects.

In some cases when it shows an image, it seems to get in a loop where it shows the output for a second or two, then says no input is detected, and then reconnects and shows it again, over and over.

I have tried using multiple HDMI cables, with no luck. Since the issue is only present on this specific device, that is what I expected, but still tried it out.

Offline

Board footer

Powered by FluxBB