External Display HDMI via USB-C Adapter - No signal after wake up

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
mr_pi
Level 1
Level 1
Posts: 2
Joined: Wed Apr 07, 2021 3:18 pm

External Display HDMI via USB-C Adapter - No signal after wake up

Post by mr_pi »

Hi,
I have a very annoying issue with my Linux Mint 20.1 on a Dell XPS 15 laptop and an external display. The XPS 15 does not have a dedicated HDMI port thus I need the original Dell USB-C adapter, which includes a HDMI port to connect to a DELL external display. After a fresh boot everything works as it should. However, after the computer goes to resting mode and I wake it up from suspends, then very frequently (but not always) the external display shows briefly the notification "HDMI no signal" and after a moment goes back to power save mode. Unplugging and plugging back in the HDMI cable or the entire the USB-C adapter sometimes brings the external display back. But often one has to do it multiple times, without any apparent pattern. Another possible solution is to press FN+F8 to force external display into mirror mode, then often (not always) the external display also comes back and one can change the display settings back to the no-mirror mode with the correct (higher) resolution for the external display.

The xrandr and inxi -Fxxxrz output when this happens (see below) still shows the external display as connected, but somehow no signal is passed through. I suspect this is somehow a power saving issue which causes the HDMI via USB-C adapter not to come back online properly. Note that other devises connected via the USB-C adapter like an USB hub with keyboard and mouse work after wake up without any problem.

Before I installed Linux Mint, I had pop! OS 20.10 installed and did not have this issue with exactly the same setup.

Any help is more than appreciated.

Here the output of inxi -Fxxxrz after a suspend without any signal arriving at the external display with resolution 2560x1440:

Code: Select all

System:    Kernel: 5.4.0-67-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 4.8.6 wm: muffin 4.8.1 
           dm: LightDM 1.30.0 Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal 
Machine:   Type: Laptop System: Dell product: XPS 15 9500 v: N/A serial: <filter> Chassis: type: 10 serial: <filter> 
           Mobo: Dell model: 05XYW7 v: A00 serial: <filter> UEFI: Dell v: 1.4.0 date: 08/14/2020 
Battery:   ID-1: BAT0 charge: 65.9 Wh condition: 65.9/84.3 Wh (78%) volts: 12.6/11.4 model: BYD DELL M59JH07 type: Li-poly 
           serial: <filter> status: Full 
CPU:       Topology: 6-Core model: Intel Core i7-10750H bits: 64 type: MT MCP arch: N/A L2 cache: 12.0 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 62399 
           Speed: 800 MHz min/max: 800/5000 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 
           9: 800 10: 800 11: 800 12: 800 
Graphics:  Device-1: Intel UHD Graphics vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:9bc4 
           Device-2: NVIDIA vendor: Dell driver: N/A bus ID: 01:00.0 chip ID: 10de:1f95 
           Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa 
           resolution: 1920x1200~60Hz, 2560x1440~60Hz 
           OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 20.2.6 direct render: Yes 
Audio:     Device-1: Intel Comet Lake PCH cAVS vendor: Dell driver: snd_hda_intel v: kernel bus ID: 00:1f.3 chip ID: 8086:06c8 
           Sound Server: ALSA v: k5.4.0-67-generic 
Network:   Device-1: Intel Wi-Fi 6 AX201 vendor: Bigfoot Networks driver: iwlwifi v: kernel port: 4000 bus ID: 00:14.3 
           chip ID: 8086:06f0 
           Device-2: ASIX AX88179 Gigabit Ethernet type: USB driver: ax88179_178a bus ID: 4-2.1.1:8 chip ID: 0b95:1790 
           serial: <filter> 
           IF: enx000ec6d3d741 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 953.87 GiB used: 370.28 GiB (38.8%) 
           ID-1: /dev/nvme0n1 vendor: Micron model: 2200S NVMe 1024GB size: 953.87 GiB speed: 31.6 Gb/s lanes: 4 
           serial: <filter> rev: 22001050 scheme: GPT 
Partition: ID-1: / size: 55.25 GiB used: 15.40 GiB (27.9%) fs: ext4 dev: /dev/nvme0n1p8 
           ID-2: /home size: 549.70 GiB used: 354.78 GiB (64.5%) fs: ext4 dev: /dev/nvme0n1p7 
           ID-3: swap-1 size: 34.18 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/nvme0n1p9 
Sensors:   System Temperatures: cpu: 46.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/lutris-team-lutris-focal.list 
           1: deb http://ppa.launchpad.net/lutris-team/lutris/ubuntu focal main
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb http://mirror.netcologne.de/linuxmint/packages ulyssa main upstream import backport
           2: deb http://ftp.uni-mainz.de/ubuntu focal main restricted universe multiverse
           3: deb http://ftp.uni-mainz.de/ubuntu focal-updates main restricted universe multiverse
           4: deb http://ftp.uni-mainz.de/ubuntu focal-backports main restricted universe multiverse
           5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
           6: deb http://archive.canonical.com/ubuntu/ focal partner
           Active apt repos in: /etc/apt/sources.list.d/skype-stable.list 
           1: deb [arch=amd64] https://repo.skype.com/deb stable main
           Active apt repos in: /etc/apt/sources.list.d/slack.list 
           1: deb https://packagecloud.io/slacktechnologies/slack/debian/ jessie main
           Active apt repos in: /etc/apt/sources.list.d/teamviewer.list 
           1: deb https://linux.teamviewer.com/deb stable main
Info:      Processes: 315 Uptime: 1h 15m Memory: 31.11 GiB used: 4.10 GiB (13.2%) Init: systemd v: 245 runlevel: 5 Compilers: 
           gcc: 9.3.0 alt: 9 Shell: bash v: 5.0.17 running in: gnome-terminal inxi: 3.0.38
here the output of xrandr when this happens:

Code: Select all

Screen 0: minimum 320 x 200, current 4480 x 1440, maximum 16384 x 16384
eDP-1 connected primary 1920x1200+2560+221 (normal left inverted right x axis y axis) 336mm x 210mm
   1920x1200     59.95*+  59.88    47.96  
   1920x1080     60.01    59.97    59.96    59.93  
   1600x1200     60.00  
   1680x1050     59.95    59.88  
   1600x1024     60.17  
   1400x1050     59.98  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     60.02  
   1440x900      59.89  
   1400x900      59.96    59.88  
   1280x960      60.00  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1360x768      59.80    59.96  
   1280x800      59.99    59.97    59.81    59.91  
   1152x864      60.00  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   960x540       59.96    59.99    59.63    59.82  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   800x512       60.17  
   700x525       59.98  
   800x450       59.95    59.82  
   640x512       60.02  
   720x450       59.89  
   700x450       59.96    59.88  
   640x480       60.00    59.94  
   720x405       59.51    58.99  
   684x384       59.88    59.85  
   680x384       59.80    59.96  
   640x400       59.88    59.98  
   576x432       60.06  
   640x360       59.86    59.83    59.84    59.32  
   512x384       60.00  
   512x288       60.00    59.92  
   480x270       59.63    59.82  
   400x300       60.32    56.34  
   432x243       59.92    59.57  
   320x240       60.05  
   360x202       59.51    59.13  
   320x180       59.84    59.32  
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 connected 2560x1440+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
   2560x1440     59.95*+
   2048x1080     60.00    24.00  
   1920x1080     60.00    50.00    59.94  
   1920x1080i    60.00    50.00    59.94  
   1600x1200     60.00  
   1280x1024     75.02    60.02  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
DP-3 disconnected (normal left inverted right x axis y axis)

best
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
SMG
Level 25
Level 25
Posts: 31047
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: External Display HDMI via USB-C Adapter - No signal after wake up

Post by SMG »

Welcome to the forum, mr_pi.

Your system has a very new processor and may well run better with the 5.8 kernel which is available in Update Manager. If Pop! OS 20.10 is based on Ubuntu 20.10 (I think it is) then you were using the 5.8 kernel when running with Pop! OS and not the 5.4 kernel you currently have installed with Mint. That may be all that is needed to get your system working as you would like it to work.

Open Update Manager. Select View > Linux Kernels and click Continue. Make sure 5.8 is selected on the left panel and then click the top-most option on the right panel. An "Install" button will appear. Install the kernel and then reboot for it to become active.

The other possible difference is I believe Pop! OS installs the Nvidia driver as part of the default install. Did you install the Nvidia driver from Driver Manager?

Edited to add: The 1.6.1 version of Dell XPS 15 9500 System BIOS lists
"Enhancements:
- Enhanced the compatibility of the external monitor when connecting to docking stations and USB dongles."


which also might help this issue.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
mr_pi
Level 1
Level 1
Posts: 2
Joined: Wed Apr 07, 2021 3:18 pm

Re: External Display HDMI via USB-C Adapter - No signal after wake up

Post by mr_pi »

Thanks a lot for the advice. It seems that updating the kernel to the newest one 5.8.x resolved the issue for me. At least since the update the external monitor "woke up" every time just fine, which makes now life much easier - thanks!
User avatar
SMG
Level 25
Level 25
Posts: 31047
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: External Display HDMI via USB-C Adapter - No signal after wake up

Post by SMG »

mr_pi wrote: Sun Apr 18, 2021 2:24 pm It seems that updating the kernel to the newest one 5.8.x resolved the issue for me. At least since the update the external monitor "woke up" every time just fine, which makes now life much easier - thanks!
Glad to hear that worked.

If you will go to your first post in this thread and click the pencil icon to edit the title and add [SOLVED] that will let others know there is a solution in this thread.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Locked

Return to “Hardware Support”