Upgrade from 17.10 to 18.04 lost native 3D hardware acceleration for intel UHD 620, laptop is XPS 9370

Bug #1768497 reported by Santiago Franco
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
High
Unassigned

Bug Description

Hi,

I did an upgrade via terminal yesterday, everything seemed to work fine but then I noticed very heavy CPU usage by gnome-shell. The problem is that the UHD card is not fully recognized, so it uses instead llvmpipe, so no native 3D acceleration :-( This was working great in 17.10

Some outputs which might be useful:
______________________________________
sudo lspci -nnk | grep -i vga

-A3 00:02.0 VGA compatible controller [0300]: Intel Corporation UHD Graphics 620 [8086:5917] (rev 07) Subsystem: Dell UHD Graphics 620 [1028:07e6] Kernel driver in use: i915 Kernel modules: i915

glxinfo | grep llv

Device: llvmpipe (LLVM 6.0, 256 bits) (0xffffffff) OpenGL renderer string: llvmpipe (LLVM 6.0, 256 bits)
____________________________________

Pls let me know if providing more info would help. I am not sure if the driver is missing or if XORG is broken, please help. I am using XORG at the moment, Wayland freezes befpre desktop environment shows up (it was working in 17.10).

Thanks!
---
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: santiago 1756 F.... pulseaudio
 /dev/snd/controlC1: santiago 1756 F.... pulseaudio
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 18.04
InstallationDate: Installed on 2018-02-22 (69 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20180105.1)
MachineType: Dell Inc. XPS 13 9370
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-20-generic root=UUID=2446979d-5a7e-47f0-8993-0072227049ff ro resume=/dev/nvme0n1p4 resume_offset=28704768
ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
RelatedPackageVersions:
 linux-restricted-modules-4.15.0-20-generic N/A
 linux-backports-modules-4.15.0-20-generic N/A
 linux-firmware 1.173
Tags: bionic
Uname: Linux 4.15.0-20-generic x86_64
UpgradeStatus: Upgraded to bionic on 2018-04-30 (2 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 02/21/2018
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.2.1
dmi.board.name: 0F6P3V
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.2.1:bd02/21/2018:svnDellInc.:pnXPS139370:pvr:rvnDellInc.:rn0F6P3V:rvrA00:cvnDellInc.:ct9:cvr:
dmi.product.family: XPS
dmi.product.name: XPS 13 9370
dmi.sys.vendor: Dell Inc.

summary: - XPS 9370 Upgrade from 17.10 to 18.04 lost native 3D hardware
- acceleration for intel UHD 620, laptop is XPS 9370
+ Upgrade from 17.10 to 18.04 lost native 3D hardware acceleration for
+ intel UHD 620, laptop is XPS 9370
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1768497

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: artful
Revision history for this message
Santiago Franco (santiago-franco) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected bionic
description: updated
Revision history for this message
Santiago Franco (santiago-franco) wrote : CRDA.txt

apport information

Revision history for this message
Santiago Franco (santiago-franco) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Santiago Franco (santiago-franco) wrote : IwConfig.txt

apport information

Revision history for this message
Santiago Franco (santiago-franco) wrote : Lspci.txt

apport information

Revision history for this message
Santiago Franco (santiago-franco) wrote : Lsusb.txt

apport information

Revision history for this message
Santiago Franco (santiago-franco) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Santiago Franco (santiago-franco) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Santiago Franco (santiago-franco) wrote : ProcEnviron.txt

apport information

Revision history for this message
Santiago Franco (santiago-franco) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Santiago Franco (santiago-franco) wrote : ProcModules.txt

apport information

Revision history for this message
Santiago Franco (santiago-franco) wrote : PulseList.txt

apport information

Revision history for this message
Santiago Franco (santiago-franco) wrote : RfKill.txt

apport information

Revision history for this message
Santiago Franco (santiago-franco) wrote : UdevDb.txt

apport information

Revision history for this message
Santiago Franco (santiago-franco) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Santiago Franco (santiago-franco) wrote :

Ok, found the culprit, for some reason LIBGL_ALWAYS_SOFTWARE was set to 1, apparently, this tells Ubuntu to use the LLVM renderer. The article below says this is sometimes set when the GUI does not work correctly or crashes. I have been lately been switching between Wayland and Xorg, and had a couple of crashes in Wayland, so maybe it happened on one of those occasions. This is pure speculation on my part.

I found the solution at https://askubuntu.com/questions/908381/desktop-stuck-on-software-rendering-libgl-always-software-set?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa

Basically, type systemctl --user unset-environment LIBGL_ALWAYS_SOFTWARE and reboot, then glxinfo and system settings report the correct UHD renderer is being used ;-)

Not sure if I should close the bug or not, this is a fix but no idea why LIBGL_ALWAYS_SOFTWARE was set to 1. I am happy to collaborate if anybody wants to investigate it, otherwise, I am also happy if somebody wants to close it.

Changed in linux (Ubuntu):
importance: Undecided → High
status: Confirmed → Incomplete
tags: added: needs-bisect
Revision history for this message
Emiliano (retorquere) wrote :

I think I'm seeing the same problem; the systemctl command did not fix it for me. I've submitted my logs at https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1772366

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
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.