Intel UHD Graphics: external monitor detected but black screen (has a preferred mode but no current mode set)

Bug #1907870 reported by Juan Manuel Diaz
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xorg-server (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Hi! I have an HP ProBook 440 G7 with i7-10510U and INTEL UHD GRAPHICS.

The problem:

When i connect to my external monitor (a Samsung BX2250) via HDMI, the screen is detected (i can see it in display settings) but the external monitor remains black. Seams like a bad frequency or resolution. I tried adding a new mode to xrandr with no luck. Also i tried different versions of kernels from 5.4 to 5.9.

I am using Ubuntu 20.10

This is my lspci

0:00.0 Host bridge: Intel Corporation Device 9b61 (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics (rev 02)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 0c)
00:12.0 Signal processing controller: Intel Corporation Comet Lake Thermal Subsytem
00:14.0 USB controller: Intel Corporation Device 02ed
00:14.2 RAM memory: Intel Corporation Device 02ef
00:14.3 Network controller: Intel Corporation Wireless-AC 9462
00:14.5 SD Host controller: Intel Corporation Device 02f5
00:15.0 Serial bus controller [0c80]: Intel Corporation Serial IO I2C Host Controller
00:16.0 Communication controller: Intel Corporation Comet Lake Management Engine Interface
00:17.0 SATA controller: Intel Corporation Comet Lake SATA AHCI Controller
00:1d.0 PCI bridge: Intel Corporation Device 02b0 (rev f0)
00:1d.4 PCI bridge: Intel Corporation Device 02b4 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Device 0284
00:1f.3 Multimedia audio controller: Intel Corporation Device 02c8
00:1f.4 SMBus: Intel Corporation Device 02a3
00:1f.5 Serial bus controller [0c80]: Intel Corporation Comet Lake SPI (flash) Controller
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
02:00.0 Non-Volatile memory controller: Sandisk Corp Device 5009 (rev 01)

inxi -Gx output:

Graphics: Device-1: Intel UHD Graphics vendor: Hewlett-Packard driver: i915 v: kernel bus ID: 00:02.0
           Device-2: Lite-On HP HD Camera type: USB driver: uvcvideo bus ID: 1-2:2
           Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa resolution: 1366x768~60Hz
           OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 20.2.1 direct render: Yes

xrandr output (with hdmi cable connected to external monitor):

Screen 0: minimum 320 x 200, current 1366 x 768, maximum 16384 x 16384
eDP-1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 309mm x 173mm
   1366x768 60.06*+ 40.04
   1360x768 59.80 59.96
   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
HDMI-1 connected (normal left inverted right x axis y axis)
   1920x1080 60.00 + 50.00 59.94
   1920x1080i 60.00 50.00 59.94
   1600x1200 60.00
   1680x1050 59.88
   1280x1024 75.02 60.02
   1440x900 74.98 59.90
   1280x960 60.00
   1280x800 59.91
   1152x864 75.00
   1280x720 60.00 50.00 59.94
   1024x768 75.03 70.07 60.00
   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
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu50.2
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: skip
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
DistUpgraded: 2020-12-01 08:50:37,996 ERROR got error from PostInstallScript ./xorg_fix_proprietary.py (g-exec-error-quark: Failed to execute child process “./xorg_fix_proprietary.py” (No such file or directory) (8))
DistroCodename: groovy
DistroRelease: Ubuntu 20.10
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes
GraphicsCard:
 Intel Corporation UHD Graphics [8086:9b41] (rev 02) (prog-if 00 [VGA controller])
   Subsystem: Hewlett-Packard Company UHD Graphics [103c:869d]
InstallationDate: Installed on 2020-11-16 (26 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 003: ID 06cb:00d8 Synaptics, Inc.
 Bus 001 Device 002: ID 04ca:7095 Lite-On Technology Corp. HP HD Camera
 Bus 001 Device 004: ID 8087:0026 Intel Corp.
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: HP HP ProBook 440 G7
Package: xorg 1:7.7+19ubuntu15
PackageArchitecture: amd64
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.9.12-050912-generic root=UUID=0015a88d-fad3-4540-b132-4318e705008f ro i915.modeset=1 quiet splash vt.handoff=7
Tags: groovy ubuntu
Uname: Linux 5.9.12-050912-generic x86_64
UpgradeStatus: Upgraded to groovy on 2020-12-01 (12 days ago)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 10/19/2020
dmi.bios.release: 6.1
dmi.bios.vendor: HP
dmi.bios.version: S71 Ver. 01.06.01
dmi.board.name: 869D
dmi.board.vendor: HP
dmi.board.version: KBC Version 02.2D.00
dmi.chassis.asset.tag: 5CD0198H0Y
dmi.chassis.type: 10
dmi.chassis.vendor: HP
dmi.ec.firmware.release: 2.45
dmi.modalias: dmi:bvnHP:bvrS71Ver.01.06.01:bd10/19/2020:br6.1:efr2.45:svnHP:pnHPProBook440G7:pvr:rvnHP:rn869D:rvrKBCVersion02.2D.00:cvnHP:ct10:cvr:
dmi.product.family: 103C_5336AN HP ProBook
dmi.product.name: HP ProBook 440 G7
dmi.product.sku: 9DJ28LT#AC8
dmi.sys.vendor: HP
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.102-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 20.2.1-1
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.20.9-2ubuntu1.1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-1ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20200714-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.16-1

Revision history for this message
lotuspsychje (lotuspsychje) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:
apport-collect 1907870

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Revision history for this message
Juan Manuel Diaz (juanchomdiaz) wrote : CurrentDmesg.txt

apport information

tags: added: apport-collected groovy ubuntu
description: updated
Revision history for this message
Juan Manuel Diaz (juanchomdiaz) wrote : Dependencies.txt

apport information

Revision history for this message
Juan Manuel Diaz (juanchomdiaz) wrote : DpkgLog.txt

apport information

Revision history for this message
Juan Manuel Diaz (juanchomdiaz) wrote : Lspci.txt

apport information

Revision history for this message
Juan Manuel Diaz (juanchomdiaz) wrote : Lspci-vt.txt

apport information

Revision history for this message
Juan Manuel Diaz (juanchomdiaz) wrote : Lsusb-t.txt

apport information

Revision history for this message
Juan Manuel Diaz (juanchomdiaz) wrote : Lsusb-v.txt

apport information

Revision history for this message
Juan Manuel Diaz (juanchomdiaz) wrote : MonitorsUser.xml.txt

apport information

Revision history for this message
Juan Manuel Diaz (juanchomdiaz) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Juan Manuel Diaz (juanchomdiaz) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Juan Manuel Diaz (juanchomdiaz) wrote : ProcEnviron.txt

apport information

Revision history for this message
Juan Manuel Diaz (juanchomdiaz) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Juan Manuel Diaz (juanchomdiaz) wrote : ProcModules.txt

apport information

Revision history for this message
Juan Manuel Diaz (juanchomdiaz) wrote : UdevDb.txt

apport information

Revision history for this message
Juan Manuel Diaz (juanchomdiaz) wrote : XorgLog.txt

apport information

Revision history for this message
Juan Manuel Diaz (juanchomdiaz) wrote : XorgLogOld.txt

apport information

Revision history for this message
Juan Manuel Diaz (juanchomdiaz) wrote : Xrandr.txt

apport information

Revision history for this message
Juan Manuel Diaz (juanchomdiaz) wrote : acpidump.txt

apport information

Revision history for this message
Juan Manuel Diaz (juanchomdiaz) wrote : xdpyinfo.txt

apport information

affects: xorg (Ubuntu) → linux (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: Secondary screen detected but black screen with Intel UHD graphics on kernel 5.9

Please try selecting 'Ubuntu on Wayland' from the login screen, before you enter your password.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Also, while the monitor is plugged in please run:

  xrandr --verbose > xrandrv.txt

and attach the resulting text file here.

Changed in xorg-server (Ubuntu):
status: New → Incomplete
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Please also run:

  grep . /sys/class/drm/*/modes > drmmodes.txt

and attach the resulting text file here.

Revision history for this message
Juan Manuel Diaz (juanchomdiaz) wrote :

Using Wayland didn't solve the problem, even worst... it makes the desktop more unstable.

Revision history for this message
Juan Manuel Diaz (juanchomdiaz) wrote :
Revision history for this message
Juan Manuel Diaz (juanchomdiaz) wrote :
Revision history for this message
Juan Manuel Diaz (juanchomdiaz) wrote :
Revision history for this message
Juan Manuel Diaz (juanchomdiaz) wrote :

Just in case... same cable and same external monitor works perfect on my HP Omen 15 with Nvidia GTX1060 and Ubuntu 20.04

Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: HDMI monitor detected but black screen (has a preferred mode but no current mode) with Intel UHD graphics on kernel 5.9

I think this is probably a bug in 'mutter'. Less likely a bug in 'gnome-control-center' or 'xorg-server'.

summary: - Secondary screen detected but black screen with Intel UHD graphics on
- kernel 5.9
+ HDMI monitor detected but black screen (has a preferred mode but no
+ current mode) with Intel UHD graphics on kernel 5.9
no longer affects: linux (Ubuntu)
Changed in xorg-server (Ubuntu):
status: Incomplete → New
tags: added: multimonitor
Revision history for this message
Juan Manuel Diaz (juanchomdiaz) wrote :

I read about a bug similar to this affecting mutter 3.34,but said that they can see the poi ter in the second screen. In this case my monitor falls in no-signal after a few seconds of trying to get the correct mode.

(pls, sorry for my English)

Regards
JM

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

That sounds like a different bug.

The cause of this bug appears to be related to your HDMI monitor not having a current mode set. Although it does list a 'preferred' mode. That much is clear in the xrandr output.

Failing to set a current mode is most likely a bug in 'libmutter'.

Revision history for this message
Juan Manuel Diaz (juanchomdiaz) wrote :

I tried with Plasma desktop... Same result.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

That's a good point. We might be able to rule out mutter... Can you please run this command in Plasma desktop:

  xrandr --verbose > plasmaxrandr.txt

and attach the resulting file here?

Changed in mutter (Ubuntu):
status: New → Incomplete
Changed in gnome-control-center (Ubuntu):
status: New → Incomplete
Revision history for this message
Juan Manuel Diaz (juanchomdiaz) wrote :
no longer affects: mutter (Ubuntu)
no longer affects: gnome-control-center (Ubuntu)
summary: - HDMI monitor detected but black screen (has a preferred mode but no
- current mode) with Intel UHD graphics on kernel 5.9
+ Samsung SMBX2250 monitor detected but black screen (has a preferred mode
+ but no current mode set)
Revision history for this message
Juan Manuel Diaz (juanchomdiaz) wrote :

HI! I had tested with Fedora 33... same results...

Happy Xmass

summary: - Samsung SMBX2250 monitor detected but black screen (has a preferred mode
- but no current mode set)
+ Intel UHD Graphics: external monitor detected but black screen (has a
+ preferred mode but no current mode set)
Revision history for this message
Juan Manuel Diaz (juanchomdiaz) wrote :

Hi! I have updates on this: ¡IT WAS A CABLE PROBLEM!

Same cable and same monitor that works OK with my HP OMEN 15 doesn't work with my HP 440 G7... I tried with a different cable (a shorter one) and everything looks normal.

Please, mark this as closed.

Thanks everyone for the help,

HAPPY 2021.

Changed in xorg-server (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.