View previous topic :: View next topic |
Author |
Message |
JustCauseWhyNot Apprentice
Joined: 07 Dec 2021 Posts: 157
|
Posted: Sat Jan 04, 2025 9:55 pm Post subject: xorg crashing while gaming |
|
|
How do I figure out why no matter the game, proton, or native I keep crashing out of xorg into the tty? I'm very confused by this issue, and it's happening more often. I've checked xorg.log, dmesg, and another log from metalog. I've not found anything in those logs that have helped me solve my issue. I'm very confused as to why, and how to fix it. I'd appreciate any advice anyone has. |
|
Back to top |
|
|
gorg86 Guru
Joined: 20 May 2011 Posts: 322
|
Posted: Sun Jan 05, 2025 12:50 am Post subject: |
|
|
Does that XBOX controller actually work? Try disconnecting it. |
|
Back to top |
|
|
JustCauseWhyNot Apprentice
Joined: 07 Dec 2021 Posts: 157
|
Posted: Tue Jan 07, 2025 5:05 pm Post subject: |
|
|
It does. |
|
Back to top |
|
|
Ralphred l33t
Joined: 31 Dec 2013 Posts: 681
|
Posted: Tue Jan 07, 2025 10:07 pm Post subject: Re: xorg crashing while gaming |
|
|
JustCauseWhyNot wrote: | How do I figure out why no matter the game, proton, or native I keep crashing out of xorg into the tty? | Do you monitor temperatures, power and/or usage at all? If there is no obvious software error (re: nothing Xorg.log or dmesg) these would be my first go to things to look at.
For anyone who's seen me posting in game help threads, I'm going to sound like a broken record, but mangohud is great for this kind of GPU tinkering (it's in the guru overlay, full docs on the githib page)
I'd be using it's logging capabilities to see if anything relevant shows up, capping FPS to lower power/usage of the GPU/CPU for testing, and disabling V-sync so I can use vkcube and glxgears for GPU stress testing.
Also, did you see this in metalog? : Code: | Jan 03 21:38:33 [elogind-daemon] Removed session c1.
Jan 03 21:38:33 [kernel] device: '0:33': device_unregister
Jan 03 21:38:33 [kernel] device: '0:33': device_create_release
Jan 03 21:38:33 [kernel] motrix[11276]: segfault at ea4 ip 00007f263db28f3b sp 00007ffdedd32d70 error 4 in libGLX_nvidia.so.565.77[53f3b,7f263db26000+5c000] likely on CPU 13 (core 5, socket 0) | It appears to be during a shutdown, so maybe to be expected... |
|
Back to top |
|
|
JustCauseWhyNot Apprentice
Joined: 07 Dec 2021 Posts: 157
|
Posted: Tue Jan 07, 2025 10:15 pm Post subject: |
|
|
Quote: | Do you monitor temperatures, power and/or usage at all? If there is no obvious software error (re: nothing Xorg.log or dmesg) these would be my first go to things to look at. | Yes I do. I've not seen anything out of the norm. It's all low temps, and expected power draw. Quote: | capping FPS to lower power/usage of the GPU/CPU for testing, and disabling V-sync | I do that as the default for any game. Quote: | JustCauseWhyNot wrote:
How do I figure out why no matter the game, proton, or native I keep crashing out of xorg into the tty?
Do you monitor temperatures, power and/or usage at all? If there is no obvious software error (re: nothing Xorg.log or dmesg) these would be my first go to things to look at.
For anyone who's seen me posting in game help threads, I'm going to sound like a broken record, but mangohud is great for this kind of GPU tinkering (it's in the guru overlay, full docs on the githib page)
I'd be using it's logging capabilities to see if anything relevant shows up, capping FPS to lower power/usage of the GPU/CPU for testing, and disabling V-sync so I can use vkcube and glxgears for GPU stress testing.
Also, did you see this in metalog? :
Code: | Code:
Jan 03 21:38:33 [elogind-daemon] Removed session c1.
Jan 03 21:38:33 [kernel] device: '0:33': device_unregister
Jan 03 21:38:33 [kernel] device: '0:33': device_create_release
Jan 03 21:38:33 [kernel] motrix[11276]: segfault at ea4 ip 00007f263db28f3b sp 00007ffdedd32d70 error 4 in libGLX_nvidia.so.565.77[53f3b,7f263db26000+5c000] likely on CPU 13 (core 5, socket 0)
| It appears to be during a shutdown, so maybe to be expected... | No I did not. Thanks for catching that. I don't think that's the source of the issue, but idk. I'd assume not though since motrix is just a download manager. |
|
Back to top |
|
|
Ralphred l33t
Joined: 31 Dec 2013 Posts: 681
|
Posted: Tue Jan 07, 2025 10:39 pm Post subject: |
|
|
JustCauseWhyNot wrote: | I've not seen anything out of the norm. It's all low temps, and expected power draw. | What do you consider normal though? We are trying to use lower than "accepted nominal temperatures" as a diagnostic tool: The "first thing to go" when hardware dies is the capacitors - as they die they will work "normally" at lower temps* but not higher; the idea of limiting power usage is to take temps below normal (closer to idle) and see if it still behaves the same way. By being able to lower cpu usage but still have higher gpu usage you are reducing load on the PSU itself.
A QRD of your hardware specs and age could be useful.
*we literally used to use a non-conductive coolant spray to try and identify "problem areas" when doing repairs, can't anymore because of SMD, but the concept is still valid. |
|
Back to top |
|
|
JustCauseWhyNot Apprentice
Joined: 07 Dec 2021 Posts: 157
|
Posted: Tue Jan 07, 2025 10:43 pm Post subject: |
|
|
My hardware is pretty much brand new. I bought my gpu in late april of last year (4070 super that runs under 40c), and my cpu bough late november (9800x3d running under 55-60c during gaming). I'm pretty sure it's not a hardware issue that I'm facing. |
|
Back to top |
|
|
Ralphred l33t
Joined: 31 Dec 2013 Posts: 681
|
Posted: Tue Jan 07, 2025 11:06 pm Post subject: |
|
|
And PSU? |
|
Back to top |
|
|
JustCauseWhyNot Apprentice
Joined: 07 Dec 2021 Posts: 157
|
Posted: Tue Jan 07, 2025 11:11 pm Post subject: |
|
|
Here's my pcpartpicker list. Maybe the issue is with my controller. Cause I've not plugged it in today, and no crashing. That'd be a weird thing to cause that crashing though. |
|
Back to top |
|
|
Ralphred l33t
Joined: 31 Dec 2013 Posts: 681
|
Posted: Tue Jan 07, 2025 11:39 pm Post subject: |
|
|
BeQuiet cases, a man after my own heart. Code: | Maybe the issue is with my controller. | USB or Bluetooth? I use a DS4 myself.
You could try plugging it in with udevadm monitor running, so you can filter the output into log file. Seems odd unless you have a udev rule doing something, or it's getting hooks into the xserver* and sending some errant shutdown command. |
|
Back to top |
|
|
JustCauseWhyNot Apprentice
Joined: 07 Dec 2021 Posts: 157
|
Posted: Tue Jan 07, 2025 11:43 pm Post subject: |
|
|
I have two controllers. One official xbox one series x controller, and 3rd party gamesir g7 he xbox controller. Both I use through usb. Quote: | You could try plugging it in with udevadm monitor running, so you can filter the output into log file. Seems odd unless you have a udev rule doing something, or it's getting hooks into the xserver* and sending some errant shutdown command. | That seems like a good troubleshooting step to do. |
|
Back to top |
|
|
|