[TRACKING] Hard freezing on Fedora 36 with the new 12th gen system

Mine has been behaving since the last time I checked in. I spent a solid workday teleworking over VMware Horizon, and it handled all of that H264 decoding just fine. I even paired a Keychron K2 and my Bluetooth ear buds… streamed music all day and banged out some YAML. No issues or freezes.

I will say, having followed some of the side discussions in this thread, that the Xorg/Wayland thing was a rabbit hole that I jumped down. What I found during my testing with a few different games at the time was that Xorg, while a little more stable, was not anywhere near as responsive or snappy as the Wayland session. I was able to reproduce crashes under both of them (F36, before I upgraded). This was also in both KDE Plasma and Gnome. I’ve had it crash in both desktop environments just by messing with each respective settings app.

The only thing that has consistently provided relieve from the crashes is the kernel option for the i915 module. I’ve also been seeing the same kind of feedback from folks who own 12th gen Intel laptops from other brands (Lenovo specifically). We even had a kernel regression at one point where they broke us and we had to wait for another update before i915.enable_psr=0 took effect again. I’m pretty sure this isn’t Fedora-specific or desktop environment-specific. It’s definitely not manufacturer-specific.

It is and as I type this on Fedora 37, it’s a part of the bleeding edge distro experience. :slight_smile:
Snapshots are always there for us. Working with Btrfs - Snapshots - Fedora Magazine

i’m with aggraxis on this; the fixes have all been coming from upstream kernel/mesa packages and not specific to Fedora. Thankfully due to Fedora’s ethos, these fixes have come frequently and i’ve had the same experiences as Matt_Hartley; 1240p, fully upto date Fedora37 KDEspin… psr=0 fixes it and it’s rock solid.

I’d rather have working PSR too, but stability > whatever battery life improvements PSR brings.

Why should this freezing problem be specific to Fedora? There are reports from different Distros, e.g. Ubuntu.

BTW - I am using Arch. I found this thread as I was looking for a solution.

Yes, point of origin. However, we’re getting them from Fedora in this instance (distributor).

Per my contact on the Fedora team, this has effective other distros as well. However, we have seen this heavily on Fedora.

My Fedora 37 layout and experiences, for comparison.

BTW, this is great to hear.

I’m getting hard freezes with similar scenario to @JHeffron

KDE Fedora 37, Linux 6.1.9, default KDE Wayland

12th gen Framework with a 500GB Samsung SSD

This happens so far when playing a low-intensity game (Corporate Clash) via WINE. Other than when playing games, it doesn’t happen, which is much better than my experience with Fedora Gnome, which incurred freezes like this all the time, doing basically nothing.

My /etc/default/grub:

GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rd.luks.uuid=luks-135437e1-b6e7-44ae-b9b4-fc2990c4adae rhgb quiet module_blacklist=hid_sensor_hub psr=0"
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true

The logs surrounding the last freeze:

Feb 18 13:49:36 macaria kernel: Asynchronous wait on fence 0000:00:02.0:kwin_wayland[2493]:43f06 timed out (hint:intel_atomic_commit_ready [i915])
Feb 18 13:49:40 macaria touchegg[2967]: Error connecting to Touchégg daemon: Could not connect: Connection refused
Feb 18 13:49:40 macaria touchegg[2967]: Reconnecting in 5 seconds...
Feb 18 13:49:41 macaria kernel: i915 0000:00:02.0: [drm] GPU HANG: ecode 12:1:84dffffb, in CorporateClash. [15795]
Feb 18 13:49:41 macaria kernel: i915 0000:00:02.0: [drm] Resetting chip for stopped heartbeat on rcs0
Feb 18 13:49:41 macaria kernel: i915 0000:00:02.0: [drm] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
Feb 18 13:49:41 macaria kernel: i915 0000:00:02.0: [drm] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
Feb 18 13:49:41 macaria kernel: i915 0000:00:02.0: [drm] CorporateClash.[15795] context reset due to GPU hang
Feb 18 13:49:41 macaria kernel: i915 0000:00:02.0: [drm] GuC firmware i915/adlp_guc_70.bin version 70.5.1
Feb 18 13:49:41 macaria kernel: i915 0000:00:02.0: [drm] HuC firmware i915/tgl_huc.bin version 7.9.3
Feb 18 13:49:41 macaria kernel: i915 0000:00:02.0: [drm] HuC authenticated
Feb 18 13:49:41 macaria kernel: i915 0000:00:02.0: [drm] GuC submission enabled
Feb 18 13:49:41 macaria kernel: i915 0000:00:02.0: [drm] GuC SLPC enabled
Feb 18 13:49:41 macaria kwin_wayland[2493]: kwin_scene_opengl: A graphics reset not attributable to the current GL context occurred.

Interesting why is it trying to connect to Touchegg? Isn’t Touchegg Xorg only?

@nadb Oh you can ignore touchegg, I had it installed cause I was testing X11 session to see if it behaved better, and I guess I didn’t fully disable its backend before starting this Wayland session. I got the exact same crash before installing touchegg, so I highly doubt that’s part of the problem.

I got that error over and over for the entire couple hours prior to the crash in the log. The timing just looks suspicious :slight_smile:

Try it with the following?

add “Nomodeset” to the grub cmdline to check if the intel drivers are at fault.

Had this issue on Debian Bookworm, specifically when using Gnome Settings. I added psr=0 to GRUB_CMDLINE_LINUX_DEFAULT at /etc/default/grub then sudo update-grub and I haven’t experienced hard freezes ever since.

Just got the same crash in X11. This honestly is kind of a showstopper bug for me. Might have to switch to using Windows on this thing (I’ve tried Fedora Gnome and it was much worse than KDE, and I doubt changing distros is gonna fix anything, it’s the same underlying stuff)

Logs:

Feb 18 23:06:15 macaria kernel: Asynchronous wait on fence 0000:00:02.0:kwin_x11[2193]:b0f72 timed out (hint:intel_atomic_commit_ready [i915])
Feb 18 23:06:18 macaria kernel: i915 0000:00:02.0: [drm] GPU HANG: ecode 12:1:84dffffb, in CorporateClash. [16280]
Feb 18 23:06:18 macaria kernel: i915 0000:00:02.0: [drm] Resetting chip for stopped heartbeat on rcs0
Feb 18 23:06:18 macaria kernel: i915 0000:00:02.0: [drm] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
Feb 18 23:06:18 macaria kernel: i915 0000:00:02.0: [drm] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
Feb 18 23:06:18 macaria kernel: i915 0000:00:02.0: [drm] CorporateClash.[16280] context reset due to GPU hang
Feb 18 23:06:18 macaria kernel: i915 0000:00:02.0: [drm] GuC firmware i915/adlp_guc_70.bin version 70.5.1
Feb 18 23:06:18 macaria kernel: i915 0000:00:02.0: [drm] HuC firmware i915/tgl_huc.bin version 7.9.3
Feb 18 23:06:18 macaria kernel: i915 0000:00:02.0: [drm] HuC authenticated
Feb 18 23:06:18 macaria kernel: i915 0000:00:02.0: [drm] GuC submission enabled
Feb 18 23:06:18 macaria kernel: i915 0000:00:02.0: [drm] GuC SLPC enabled
Feb 18 23:06:18 macaria ksmserver[2986]: Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: VA-API test failed: failed to initialise VAAPI connection. (t=0.521279) |[1][GFX>
Feb 18 23:06:18 macaria kwin_x11[2193]: kwin_scene_opengl: A graphics reset not attributable to the current GL context occurred.
Feb 18 23:06:18 macaria kwin_x11[2193]: OpenGL vendor string:                   Intel
Feb 18 23:06:18 macaria kwin_x11[2193]: OpenGL renderer string:                 Mesa Intel(R) Graphics (ADL GT2)
Feb 18 23:06:18 macaria kwin_x11[2193]: OpenGL version string:                  4.6 (Compatibility Profile) Mesa 22.3.5
Feb 18 23:06:18 macaria kwin_x11[2193]: OpenGL shading language version string: 4.60
Feb 18 23:06:18 macaria kwin_x11[2193]: Driver:                                 Intel
Feb 18 23:06:18 macaria kwin_x11[2193]: GPU class:                              Unknown
Feb 18 23:06:18 macaria kwin_x11[2193]: OpenGL version:                         4.6
Feb 18 23:06:18 macaria kwin_x11[2193]: GLSL version:                           4.60
Feb 18 23:06:18 macaria kwin_x11[2193]: Mesa version:                           22.3.5
Feb 18 23:06:18 macaria kwin_x11[2193]: X server version:                       1.20.14
Feb 18 23:06:18 macaria kwin_x11[2193]: Linux kernel version:                   6.1.11
Feb 18 23:06:18 macaria kwin_x11[2193]: Requires strict binding:                yes
Feb 18 23:06:18 macaria kwin_x11[2193]: GLSL shaders:                           yes
Feb 18 23:06:18 macaria kwin_x11[2193]: Texture NPOT support:                   yes
Feb 18 23:06:18 macaria kwin_x11[2193]: Virtual Machine:                        no
Feb 18 23:06:29 macaria kernel: Asynchronous wait on fence 0000:00:02.0:Xorg[1490]:62374a timed out (hint:intel_atomic_commit_ready [i915])

I can try that next just to try to troubleshoot this bug before I jump ship to Windows… I’m not sure what that would do here, though. Wouldn’t that only affect graphics while booting?

Edit: I’ve decided to give Fedora Gnome another try, now that the psr=0 tweak is so official. If I still get crashes of a similar nature, I can only assume it’s a bug in the Intel graphics drivers (a bug which appears to have maybe been seen in posts through out the last 5 years, which is perplexing)

I would also upgrade to Fedora 37. No kernel parameters, no hard freezes since December 26th. Before that it was weekly.

2 Likes

This issue used to occur to me almost every 30min to an hour. I noticed that almost all the time I would face GPU hangs on the newest kernel and Mesa were related to gnome-control-center in journalctl. I found that switching from Gnome to Hyprland has resolved all issues for me (it has been about 2 weeks of heavy usage with no GPU hangs). Maybe, Hyprland just isn’t triggering the issue in the same way Gnome and KDE are? In case this info is useful for yall, here are my kernel info and mesa version:

Kernel Version

6.1.12-arch1-1 #1 SMP PREEMPT_DYNAMIC x86_64 GNU/Linux

Kernel Parameters

root=PARTUUID=[Root UUID] zswap.enabled=0 rootflags=subvol=@ rw rootfstype=btrfs

Mesa version

22.3.5

This. This if the first thing to try. Then if that doesn’t let us know. I’d lose the additional parameters for testing unless they came provide by default.

Yeah, all the crashes I’ve posted about have been on Fedora 37. Granted, it was all under the KDE spin, so maybe this is somehow a problem with KDE’s window manager… Stinks cuz I much prefer KDE. But I can live with Gnome over Windows

Fedora tends to focus more on GNOME as it’s their official environment.

Now on stock latest Fedora 37 (gnome)

Getting some hangs that last 2-5 seconds, with these logs:

Feb 24 21:19:03 macaria kernel: Asynchronous wait on fence 0000:00:02.0:gnome-shell[1899]:46dfe timed out (hint:intel_atomic_commit_ready [i915])
Feb 24 21:19:07 macaria kernel: i915 0000:00:02.0: [drm] GPU HANG: ecode 12:0:00000000
Feb 24 21:19:07 macaria kernel: i915 0000:00:02.0: [drm] Resetting chip for stopped heartbeat on rcs0
Feb 24 21:19:07 macaria kernel: i915 0000:00:02.0: [drm] GuC firmware i915/adlp_guc_70.bin version 70.5.1
Feb 24 21:19:07 macaria kernel: i915 0000:00:02.0: [drm] HuC firmware i915/tgl_huc.bin version 7.9.3
Feb 24 21:19:07 macaria kernel: i915 0000:00:02.0: [drm] HuC authenticated
Feb 24 21:19:07 macaria kernel: i915 0000:00:02.0: [drm] GuC submission enabled
Feb 24 21:19:07 macaria kernel: i915 0000:00:02.0: [drm] GuC SLPC enabled

Some of them don’t include the i915 message, but they all show GPU HANG. I wasn’t even playing any games this time, just running apps and streaming a remote desktop. Something’s definitely still up.

[gabe@macaria ~]$ cat /etc/default/grub 
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rhgb quiet nvme.noacpi=1 psr=0 module_blacklist=hid_sensor_hub"
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true

I have psr=0 in my grub, is this maybe causing the problem now?

That is more likely causing the issue.

@nadb Sure, I can remove that. Got it from the Framework Fedora 37 install recs Fedora 37 Installation on the Framework Laptop - Framework Guides