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

Yes, the i915 fix consistently prevents all freezes on my end, regardles of extensions installed and activities performed.

1 Like

Okay, thanks for that. Gathering details for our partner at Fedora. So this helps.

1 Like

No worries. Trying again now without UI extensions nor i915 patch. Will report back in.

Closing the loop. It seems that disabling the extensions may only (at best) delay the freezes but even that is not confirmed. Ended up needing to re-patch via i915.conf to prevent freezes, as per usual.

had firefox crash again with youtube videos. (connected to dock).

this is firefox output when ran from console:

$ firefox
ā€¦
libva info: VA-API version 1.16.0
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_16
libva info: va_openDriver() returns 0
Redirecting call to abort() to mozalloc_abort

Exiting due to channel error.
Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: Receive IPC close with reason=AbnormalShutdown (t=105.004) Exiting due to channel error.
Exiting due to channel error.
Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: Receive IPC close with reason=AbnormalShutdown (t=44.9751) Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Segmentation fault (core dumped)

ā€¦going to try no dock connectivity nowā€¦

10-15mins later with laptop on battery, no external displayā€¦ Firefox quits with the same output as above. iā€™ve only got 20 minutes into a YT video too so 2 crashes in that period isnā€™t great.

not a dock issue for me @Matt_Hartley.

Iā€™ve not had this many issues so frequentlyā€¦ wondering if there is something with OS updates or the 3.06beta UEFI update. iā€™ll report back when/if i find something.

while i dont use chrom* for a browser, i do have discord and vscode that use chromium base and those are rock solid.

Hi,
If this is just about firefox crashing I think it should probably be a different topic. However, firefox does crash on Fedora 37 while playing youtube or other videos on my 12th gen system using the old (factory) 3.05 BIOS.
I think this issue is related to hardware decoding AV1 videos. If I tell youtube to not use AV1 (but VP09 instead) it never crashed but with AV1 it does pretty much every 10 minutes or a lot faster. I read some bugzilla thread somewhere but it was marked as fixedā€¦ which it obviously isnā€™t.

3 Likes

Had Firefox crashing while playing YouTube videos as well a few times in the last couple of days. Also with HW acceleration enabled. Havent tested it without though.
Happens with and without dock.
Not sure, if this started happening right after the 3.06 BIOS update or after a new kernel thoughā€¦ Pretty sure it started with kernel 6.0.14

Unsure whether any of the changes will resolve the freeze issues weā€™re seeing but there are quite a few of i915 specific fixes in the recently release 6.1.2 kernel according to the changelog.

1 Like

Trying out kernel 6.1.2 (without i915 patch) as part of Fedora Test Days.. Will report back with how my machine fares, whether it still freezes or not.

2 Likes

What do you call the i915 patch? (seems there are a couple different variants)

By i915 patch I mean the first one posted here by @Aggraxis. Has consistently worked.

In short:

/etc/modprobe.d/i915.conf
options i915 enable_psr=0
sudo dracut --force
reboot 
1 Like

Update here from no i915 patch + 6.1.2 kernel land, so far no freezes like before. Been going for about a day now. Plenty of suspends, various activity, and more. Looks promising so far.

Fwiw, Iā€™m testing this (since today) with mesa 22.3.2 and linux 6.1.2 and without i915.enable_psr=0. Iā€™ll report back.

https://gitlab.freedesktop.org/drm/intel/-/issues/6757#note_1707882

Peeps over on the Intel Alder Lake GPU issue tracker are also testing 6.1.2 without the i915 patch.

2 Likes

disabling AV1 seems better but still got crashing with youtube playback on vp9.
iā€™ve switched to chromium for youtubing and so far no crash. Seems like a firefox specific problem rather than hw related so iā€™m happy to use that and/or move away from firefox if the problem persists long term. Iā€™ll keep an eye on ff releases.

I brought it up i here due to the chrom* ecode/crashing thats been mentioned thinking its possibly similar but as youā€™ve sugested, not sure itā€™s related.

Later today or Monday, I will be putting together some trackable items that will be compiled and shared with Fedora.

Please check back here later, Iā€™ll list them out and ask anyone experiencing issues to share specific details - makes tracking this MUCH easier. :slight_smile: So later today or Monday, check back here for the details. Thanks everyone.

3 Likes

Interestingly I had a crash while using mpv (and yt-dlp) with hardware accelerated AV1 decoding for playback. So maybe it isnā€™t Firefox but the VAAPI Driver or ffmpeg maybe.

i think it got it the wrong way around. seems youtube uses vp9 as default, av1 as fallback/low res playback. disabled vp9 and forced av1 but similar issue but seems far less frequent.
iā€™ve disabled the enforced HW decode in about:config (media.hardware-video-decoding.force-enabled = false, so default FF config) that i was using, but still crashing. iā€™m trying media.hardware-video-decoding.enabled = false and Settings > Use hardware acceleration when available = unticked tonight to see if it makes any difference to prove if itā€™s a hw decoder issue or something else.

i dont beleive iā€™ve done any updates so these should be the only changes iā€™ve done.
weird that chromium hasnā€™t had problem if it is a hw decoder issue, but thats what weā€™re trying to get to the bottom of here :slight_smile:. frustratingly the FF abrt crash report is low quality so unable to bug report it to fedora/mozilla or gain any insights myself as to possibilities.

Update here from no i915 patch (enable_psr=0) + kernel 6.1.x land. Over the past couple days kernel 6.1.2 has been rock solid. Minimal to no freezes, great improvement over 6.0.x kernels.

I also tried out 6.1.3 but for some reason hit freezes on it. Doesnā€™t seem to be any reversions of the i915 fixes that landed in 6.1.2 mentioned in the 6.1.3 changelog so Iā€™m somewhat at a loss as to why the regression in behaviour.

Now that 6.1.4 is out contains various i915 patches (6.1.4 changelog), Iā€™ll be trying it out.

In summary: 6.1.2 seems quite good, 6.1.3 froze quite a bit exhibiting similar behaviour to 6.0.x kernels, and 6.1.4 Iā€™m just starting to test now. Letā€™s see. :crossed_fingers:

EDIT: Apparently 6.0.16 onward may also be working fine re: comments below.

2 Likes

Well this is probably it and related to the issue:

So it should be fixed in future kernel(?) and/or firefox update.

Funny enough I have been using 6.0.16 the last 3-4 days on Fedora 37 without the psr_enable=0 fix and it seems fine so far.

Nice! Looks like a bunch of i915 specific patches landed in 6.0.16 as well (changelog). Perhaps the issue only persists through 6.0.15.

1 Like