1

Ran updates on my laptop recently, and after rebooting, my laptop started behaving weirdly. After I logged in, the screen started flickering, and as soon as I opened a window (the application menu worked just fine), the whole screen froze, except that I was still able to move the mouse.

dmesg is reporting a GPU hang, dmesg output cna be found here: https://pastebin.com/jha5bXQe . The problem still persists after a complete system reinstall, and after installing all updates.

What could I try to get the PC back to working?

2
  • What version of Ubuntu?
    – David
    Jan 10, 2021 at 14:35
  • 20.04.1 LTS. As I said, a recent update broke it, and a reinstall didn't help. Additionally, Manjaro Gnome also behaved weirdly, but Manjaro XFCE worked just fine Jan 11, 2021 at 15:22

4 Answers 4

2

z.Z. kannst du die "nomodeset" option beim booten nutzen.

  • im Grub Menü Taste "e" drücken
  • nomodeset an der richtigen Stelle einfügen (s.h. ubuntuusers nomodeset)
  • "F10" drücken
  • bei jedem bootvorgang

oder dauerhaft in /boot/grub/grub.cfg eintragen

bis die Inteltreiber aktualisiert wurden.


currently you can use the "nomodeset" option when booting.

  • Press the "e" key in the Grub menu
  • Insert nomodeset in the right place (see ubuntuusers nomodeset)
  • Press "F10"
  • with every boot process

or enter it permanently in /boot/grub/grub.cfg

until the Intel drivers have been updated.

9
  • I don't check my inbox very often, so I'm seeing your reply a bit late. I already went full computer nerd on that problem and let apt print all updatable packages to a file after a system reinstall with apt list --upgradable. Then, I made a regex to strip away everything except the package names (perl -pe 's/\/.*\[[^\]]+]//g' updates.txt > updates2.txt). Btw when working with regex I highly recommend regexr.com , really handy. Then I wrote a bash script that read the current "index" from another file, and I simply install ten packages at a time, then make a snapshot with timeshift. Jan 14, 2021 at 9:26
  • Then, if the problem appears, I simply roll back to previous versions until I have found the 'defective' package. So yeah, i found a dirty workaround. But since your answer seems helpful, I accepted it and upvoted it because I know how hard it is to get reputation in the beginning. Jan 14, 2021 at 9:29
  • @VincentGuttmann would you please post the name of the offending package here? I have the same issue. I'm using "nomodeset" as a workaround but I stuck with limited screen resolution. Many thanks Nick
    – matthew
    Feb 5, 2021 at 22:19
  • It lead nowhere. It suddenly appeared after a few reboots, but the package was nowhere to be found. I just gave up on this as all I do on that laptop is office work and nomodest is plenty fine for me. But if you want, I can upload the script to my github or github gists so you can do it yourself. A replacement of the offending laptop is long overdue anyways (imagine a 5yo laptop with a low-end Intel processor, 3rd gen 2 core), and the final nail in the coffin is that this specifllic processor doesn't support AVX, which is required for TensorFlow. Feb 6, 2021 at 23:21
  • @matthew But there were some graphics driver updates recently. I haven't tested yet, but maybe they fixed that bug. I mean, they introduced it I think in December, if not later, and I'd assume that'd be the normal turnaround time for noncritical Bugfixes. Feb 6, 2021 at 23:25
1

After 20.04 apt update & upgrade at 12/1/2021 X-windows freeze just after login, only cursor move, but ctrl-alt-F3 gave consol and dmesg gave: i915 GPU HANG

  1. bios update (Asrock B85) didn't help
  2. grub update: nomodeset didn't help

But stable lowlantency kernel seems work fine.

I have had Ubuntu and dual monitor setup all time latest 14 years in my desktop. Lately there has been several unsolved problem with the Xserver config (20.10 can't install into dual setup at all, resolution problems with vga, reso conflicts, etc (yes, it was hard to configure X by hands, but it was possible;-)).

1
  • I don't feel like configuring X11 myself, though I will try switching to Wayland. Feb 6, 2021 at 23:37
0

appending i915.enable_psr=0 to /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT and sudo update-grub2 then reboot solved it

0

If someone still has this problem.

i915 0000:00:02.0: [drm] GPU HANG: ecode 9:1:85dffffb, in gnome-shell [2712]

My solution was to update kernel from 6.1 to 6.5 using backports. sudo apt install -t backports linux-image-amd64 (change according to architecture).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .