View previous topic :: View next topic |
Author |
Message |
yay n00b
Joined: 19 Dec 2023 Posts: 4
|
Posted: Wed Dec 11, 2024 10:28 pm Post subject: intermittent crashing with modesetting |
|
|
Hello,
I've been experiencing system crashes for a couple months now, specifically, as far as I've tested, when I use modesetting:
Code: | Section "Device"
Identifier "Intel Graphics"
Driver "modesetting"
Option "AccelMethod" "glamor"
Option "DRI" "3"
EndSection |
But the same does not happen when I use Intel's drivers (setting VIDEO_CARDS to "intel i915", and using sna and crocus), or, at least, they haven't crashed on me yet .
I've found a very specific setup to trigger this: I'll use Vesktop to share my screen, and eventually (sometimes seconds, sometimes minutes), it'll crash the system. Vesktop will also print "Unrepairable overflow!" sometimes before it happens .
Nonetheless, this happens a lot with Firefox and Discord. Sometimes I'll leave things compiling overnight, with a Firefox window open, and I'll come back to an unresponsive system. SSH doesn't seem to work either.
I was using OpenBox every time this happened.
As of now, I'm using the Intel drivers.
My kernel config: http://0x0.st/Xhhu.txt
emerge --info: https://0x0.st/XhhQ.txt |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54638 Location: 56N 3W
|
Posted: Thu Dec 12, 2024 3:27 pm Post subject: |
|
|
It can be several things.
The kernel i915 driver.
The xorg modesetting driver.
Mesa, which is the package doing your acceleration.
That's a big problem space.
Some things to try to narrow it down.
Turn off acceleration completely. You will hate that. If the problem goes away, try a differerent vesion of mesa.
You could just do that anyway.
Then a different kernel.
Lastly, different xorg. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
yay n00b
Joined: 19 Dec 2023 Posts: 4
|
Posted: Thu Dec 12, 2024 8:43 pm Post subject: |
|
|
I've done almost all that was suggested:
Changed to a stable Mesa version (24.2.6-r2)
Changed to a stable kernel (=gentoo-sources-6.6.62)
Disabled acceleration
The only time that there wasn't a crash was when acceleration was disabled (Again, I assume it wouldn't crash after more than a couple minutes with it being fine).
On a quick sidenote, I was trying to use Hyprland, to see if somehow Wayland would've fixed the issue, and apparently it also crashed overnight. SSH didn't work either, once again.
Now, I'm not sure if it is exactly related, since I can't seem to use the same setup [with Vesktop], for some odd reason.
I'll keep using Hyprland for some time, and see if there are any (meaningful) crash logs. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54638 Location: 56N 3W
|
Posted: Thu Dec 12, 2024 10:11 pm Post subject: |
|
|
With acceleration disnbled, mesa is doing little or nothing, so mesa is implicated.
Can you disble 2D and 3D acceleration separately?
if so, that's worth trying.
Has a bug been reported at bugs.gentoo.org for the issue?
Its worth looking now but it would be good to narrow it down further before creating a bug.
If there is a live mesa ebuild -9999, it may be worth a try.
That's the commit by commit as it happens version, so it may not build at all and if it does, it may not work. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
yay n00b
Joined: 19 Dec 2023 Posts: 4
|
Posted: Fri Dec 13, 2024 12:25 am Post subject: |
|
|
NeddySeagoon wrote: | Can you disble 2D and 3D acceleration separately? |
I sadly don't think I can, or at least, I don't know a way to do that. My apologies.
NeddySeagoon wrote: | Has a bug been reported at bugs.gentoo.org for the issue? |
I haven't seen any kind of issue like this on the bugzilla for xorg-server, intel_clc, xf86-video-intel, or mesa.
And yes, I would like to narrow this down as much as possible. The assumption currently is that it is mesa's doing, but until we have enough evidence that it is actually that, I'd like to keep looking.
NeddySeagoon wrote: | If there is a live mesa ebuild -9999, it may be worth a try. |
There were no issues with compilation or running the actual thing, but it was no different than the previous tries, sadly. |
|
Back to top |
|
|
yay n00b
Joined: 19 Dec 2023 Posts: 4
|
Posted: Wed Dec 18, 2024 5:25 am Post subject: |
|
|
alright, after some tinkering over these past days, and a LOT of recompiling (Unrelated, I simply had egregious env files, and I noticed it right after my last comment. And yes, I emerge'd @world with an empty tree, and no, sadly no changes...).
during this, I actually learned how to disable 3D acceleration as requested by NeddySeagoon (by disabling DRI) when reading the ArchWiki article for some possible answer, and, alas, the same thing.
now, I know this doesn't seem like a i915 driver issue, and I have not seen any "GPU Hang" warnings on dmesg, but nonetheless, I still tried setting i915.enable_psr=0, intel_idle.max_cstate=1 and i915.enable_dc=0 (the psr one might be even more unrelated to the issue, but why not? ).
well, that didn't work either...
I tried running Mesa's tests, and only 1 or 2 failed (running with test-fail-continue, of course), and, from what I've seen, they were failing for unrelated reasons (I'm not exactly sure about this, I might test them later accordingly ).
what other things should I try? other general i915 solutions? or is it a hardware issue?
I did think about the latter and tested my RAM and SATA SSD (memtest86+ and smartmontools, respectively) and neither showed any signs of failure (ran short and long tests with smartmontools just before posting this).
nonetheless, I'm not too hurried about fixing this, but the sooner the better, of course. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|