I915 no extental display output

Hi!

I have a brand new HP ProBook 640 G8 Core i7 that won’t detect the HDMI output. Nothing happens when I connect an external monitor. The only way to get the monitor to show anything is to connect it before boot, power on and quicky close the lid. The resulution is then fixed at 1920x1080. Still, the display settings indicate that OpenSUSE thinks it is using the internal display so I guess something is going on in the hardware.

I have run a number of commands to hopefully show relevant information:

uname -a

Linux localhost.localdomain 5.3.18-lp152.63-default #1 SMP Mon Feb 1 17:31:55 UTC 2021 (98caa86) x86_64 x86_64 x86_64 GNU/Linux

----
lsmod |grep i915

i915                 2379776  0
i2c_algo_bit           16384  1 i915
drm_kms_helper        229376  1 i915
drm                   544768  2 drm_kms_helper,i915
video                  53248  1 i915

----
xrandr

No protocol specified
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
default connected primary 1920x1080+0+0 0mm x 0mm
   1920x1080     77.00* 

----
xrandr --listproviders

No protocol specified
xrandr: Failed to get size of gamma for output default
Providers: number : 0

----
randr --listmonitors

No protocol specified
xrandr: Failed to get size of gamma for output default
Monitors: 1
 0: +*default 1920/508x1080/286+0+0  default
 
----
lspci -k -s 00:02.0

00:02.0 VGA compatible controller: Intel Corporation Iris Xe Graphics (rev 01)
        Subsystem: Hewlett-Packard Company Device 87ea
        Kernel modules: i915

----
inxi -Ga

Graphics:  Device-1: Intel Iris Xe Graphics vendor: Hewlett-Packard driver: N/A bus ID: 00:02.0 chip ID: 8086:9a49 
           Device-2: Quanta type: USB driver: uvcvideo bus ID: 3-2:2 chip ID: 0408:5348 serial: 01.00.00 
           Display: x11 server: X.Org 1.20.3 compositor: kwin_x11 driver: N/A note: display driver n/a 
           unloaded: fbdev,modesetting,vesa alternate: intel display ID: :0 screens: 1 
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.0x11.3") s-diag: 583mm (23") 
           Monitor-1: default res: 1920x1080 hz: 77 
           OpenGL: renderer: llvmpipe (LLVM 9.0.1 256 bits) v: 3.3 Mesa 19.3.4 compat-v: 3.1 direct render: Yes
           
----
glxinfo -B

No protocol specified
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: VMware, Inc. (0xffffffff)
    Device: llvmpipe (LLVM 9.0.1, 256 bits) (0xffffffff)
    Version: 19.3.4
    Accelerated: no
    Video memory: 15688MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 3.3
    Max compat profile version: 3.1
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.1
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 9.0.1, 256 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 19.3.4
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.1 Mesa 19.3.4
OpenGL shading language version string: 1.40
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.1 Mesa 19.3.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10

----
hwinfo --gfxcard

21: PCI 02.0: 0300 VGA compatible controller (VGA)              
  [Created at pci.386]
  Unique ID: _Znp.MVFeoxkWXQB
  SysFS ID: /devices/pci0000:00/0000:00:02.0
  SysFS BusID: 0000:00:02.0
  Hardware Class: graphics card
  Device Name: "Onboard IGD"
  Model: "Intel UHD Graphics"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x9a49 "UHD Graphics"
  SubVendor: pci 0x103c "Hewlett-Packard Company"
  SubDevice: pci 0x87ea 
  Revision: 0x01
  Memory Range: 0x6002000000-0x6002ffffff (rw,non-prefetchable)
  Memory Range: 0x4000000000-0x400fffffff (ro,non-prefetchable)
  I/O Ports: 0x3000-0x303f (rw)
  Memory Range: 0x000c0000-0x000dffff (rw,non-prefetchable,disabled)
  IRQ: 255 (no events)
  Module Alias: "pci:v00008086d00009A49sv0000103Csd000087EAbc03sc00i00"
  Driver Info #0:
    Driver Status: i915 is active
    Driver Activation Cmd: "modprobe i915"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

Primary display adapter: #21

Hope anyone knows what is wrong.

Thanks in advance,
Gunnar

Just tested booting a live Ubuntu 20.04.2 and the external display on HDMI works perfectly with Ubuntu so I guess this is an OpenSUSE problem, not a hardware problem. At least I know I don’t have to use Windows do get the HDMI to work! Still hope there is a solution that lets me stay with OpenSUSE.

A quick search shows that the Live Ubuntu 20.04 is using a more recent kernel (version 5.8), while openSUSE Leap 15.2 is using 5.3.x. You could try using the current stable kernel…

Your 8086:9a49 is Tiger Lake, released only last year, so stable kernel is probably your answer, and maybe also X servers from openSUSE BS repo. Likely the fault justifies making a bug report.

Thanks, I’ll try the newer kernel.

That should do the trick. Let us know how you get on.

Thank you both, with the new kernel the it works perfectly! Sticking with OpenSUSE and Plasma. :slight_smile:

Super!!! :smiley:

Sadly, the new kernel doesn’t seem to be compatible with VirtualBox. Needs kernel-devel and kernel-default-devel which requires glibc-2.33 and nothing provides that dependency.

Any hints on how to fix this?

TIA,
Gunnar

Install Vbox the hardway maybe Be sure you get the new kernel’s development package alos since you will need the header files. Using a non-standard kernel may require rebuilding kernel dependent packages

You’ll run into this with any prebuilt kernel model. IMHO a wiser way would be to go with Tumbleweed. Otherwise you’d be creating something inbetween Leap and Tumbleweed, but untested.

The problem is that kernel-devel and kernel-default-devel packages exist in the stable kernel repo (https://kernel.opensuse.org/stable.html) but they can’t be installed since they require glibc-2.33.

I’ll try tubḿbleweed.

Happy again! Now running Tumbleweed and have run vboxconfig to build the VirtualBox kernel modules. Works! :slight_smile:

WIP for Leap:
https://bugzilla.opensuse.org/show_bug.cgi?id=1182224
https://bugzilla.opensuse.org/show_bug.cgi?id=1182338

With such new graphics try to use new graphics stack - perform full repo vendor change to X11:XOrg repo with Leap.

Thanks but I have already switched to Tumbleweed. Both the external display and virtual box works, now I’m only struggling with super slow http download over ethernet but that’s a story for another topic.