Kubuntu constantly freezing on ThinkPad T510

Bug #1960403 reported by Jonas Gamao
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mesa (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

This happens either during SDDM, or on the desktop, but Kubuntu's constantly freezing up.

I tried disabling the compositor, but it doesn't seem to help. Also, I removed the external monitor, but that doesn't seem to help.

I've installed Lubuntu, and so far it's been fine. However, when I tried to change the SDDM theme via KDE's System Settings, the laptop locked up.

I'll keep Kubuntu on it for now, but I'm gonna have to switch this to Lubuntu in the meantime.

Specs:
* Core i7-640M
* 8GB RAM

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: kubuntu-desktop 1.416
ProcVersionSignature: Ubuntu 5.15.0-18.18-generic 5.15.12
Uname: Linux 5.15.0-18-generic x86_64
ApportVersion: 2.20.11-0ubuntu76
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Wed Feb 9 05:58:18 2022
InstallationDate: Installed on 2021-08-07 (186 days ago)
InstallationMedia: Kubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
SourcePackage: kubuntu-meta
UpgradeStatus: Upgraded to jammy on 2022-02-09 (0 days ago)

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote :
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 1960403

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
Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote :

Adding this PPA fixed this so far

https://launchpad.net/~ernstp/+archive/ubuntu/mesarc

Also, running apport-collect just makes it stuck.

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote :

I meant that nothing shows up on the terminal.

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote :

the following packages were updated that fixed the issue: libegl-mesa0 libgbm1 libgl1-mesa-dri libglapi-mesa libglx-mesa0 libxatracker2 mesa-va-drivers mesa-vdpau-drivers mesa-vulkan-drivers xserver-xorg-video-amdgpu libllvm13

I'll try to run apport-collect some other time, but right now, it's officially stuck.

$ journalctl -r --grep apport
Feb 11 16:52:09 METEOR-ThinkPad-T510 apport[892]: * Starting automatic crash report generation: apport
Feb 11 16:52:09 METEOR-ThinkPad-T510 systemd[1]: Condition check resulted in Unix socket for apport crash forwarding being skipped.

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote :

Hope this helps for now.

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

Jonas,

In comment #5 do you mean the fix was released to Ubuntu, or the fix is only in the Mesa PPA from comment #3?

no longer affects: xserver-xorg-video-intel (Ubuntu)
no longer affects: linux (Ubuntu)
no longer affects: kubuntu-meta (Ubuntu)
no longer affects: xorg (Ubuntu)
tags: added: arrandale i915
Changed in mesa (Ubuntu):
status: New → Incomplete
Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote :

The latter.

Although, not sure if this is related, but the desktop is using llvmpipe, instead of Intel HD for graphics.

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote :

$ DRI_PRIME=0 glxinfo | grep "OpenGL renderer"
OpenGL renderer string: llvmpipe (LLVM 13.0.1, 128 bits)

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote :

I think xserver-xorg-video-intel shouldn't be removed because Intel HD isn't detected.

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

I'm not familiar with the i7-640M but would expect it to use the newer 'modesetting' driver like all other Intel GPUs do.

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

Also you seem to have already confirmed that Mesa 22.0 works as a fix (not yet in Ubuntu).

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote :

i7-640M is a first gen Intel Core CPU

> Also you seem to have already confirmed that Mesa 22.0 works as a fix (not yet in Ubuntu).

It just merely allowed it to be usable, but Intel HD doesn't seem to be detected.

$ sudo lshw -c display
[sudo] password for taliara69:
  *-display
       description: VGA compatible controller
       product: Core Processor Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       logical name: /dev/fb0
       version: 02
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom fb
       configuration: depth=32 driver=i915 latency=0 resolution=1600,2700
       resources: irq:27 memory:f2000000-f23fffff memory:d0000000-dfffffff ioport:1800(size=8) memory:c0000-dffff

$ DRI_PRIME=0 glxinfo | grep "OpenGL renderer"
OpenGL renderer string: llvmpipe (LLVM 13.0.1, 128 bits)

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote :

00:02.0 VGA compatible controller [0300]: Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 02)
        Subsystem: Lenovo Core Processor Integrated Graphics Controller [17aa:215a]
        Kernel driver in use: i915
        Kernel modules: i915

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote :

I also tried the 5.16 from Liquorix kernel, and that didn't help

Operating System: Kubuntu 22.04
KDE Plasma Version: 5.24.3
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Kernel Version: 5.16.0-14.2-liquorix-amd64 (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i7 CPU M 640 @ 2.80GHz
Memory: 7.6 GiB of RAM
Graphics Processor: llvmpipe

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

It sounds like the main problem is still Mesa.

The i7-640M is a "Gen5" Intel GPU apparently:
  https://en.wikipedia.org/wiki/List_of_Intel_graphics_processing_units#Gen5

That means Mesa should select the "i965" Mesa driver for it:
  /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
Make sure your build of Mesa provides that file.

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

If llvmpipe is working, that's just because it avoids using the GPU. It's a slow workaround.

If going back to Mesa version 21.3.5-1ubuntu1 from Ubuntu reintroduces freezes then I suggest that needs to be debugged by KDE/Plasma developers.

Changed in mesa (Ubuntu):
status: Incomplete → New
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

We would be able to at least tell if the problem is Mesa or KDE if you could test regular Ubuntu (with GNOME).

Revision history for this message
Jonas Gamao (yamiyukisenpai) wrote :

Reverting back to the official repo fixed it. I guess that it was fixed since I first reported this.

Please keep it open just in case the issue crops up again.

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

We can do both -- close it now and keep discussing and reopen it later as required.

Changed in mesa (Ubuntu):
status: New → Fix Released
no longer affects: kwin (Ubuntu)
no longer affects: meta-kde (Ubuntu)
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.