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. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1768497 Title: Upgrade from 17.10 to 18.04 lost native 3D hardware acceleration for intel UHD 620, laptop is XPS 9370 Status in linux package in Ubuntu: Confirmed 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. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1768497/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp

