X crashing under mysterious conditions

Everything about X, Gnome, KDE, ... and everything running on it

X crashing under mysterious conditions

Postby prppedro » 2019-01-23 23:29

Hi, people

My backup computer at my workplace is running Debian Buster. It consists in a Xeon E5420 running on a P5QC with 8 GB DDR3 RAM, outputing through a Nvidia GT 430 video card. Works great, but, after some time (I've been unable to determine if it happens under normal usage or just when sitting idle because I simply don't use it for long periods) the X server crashes. It generally flashes the last kernel message or, sometimes, a blinking cursor. When switching to another terminal, it shows login prompt for a split second before going back to the crashed tty. So I can't get out of it.

I can SSH into the machine, tho. And everything works again after restarting lightdm service. There's nothing really useful on X.org logs, besides this:
Code: Select all
[ 12520.214] (II) NVIDIA(0): Setting mode "CRT-1:nvidia-auto-select"
[ 12520.264] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[ 12520.264] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[ 12520.264] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[ 12520.264] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[ 12520.264] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[ 12520.264] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[ 12520.264] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[ 12520.264] (II) NVIDIA(0):     Config Options in the README.


Also got nothing either on syslog or dmesg. It reports things like this, but I was told that it's pretty normal stuff:
Code: Select all
[   40.339348] random: crng init done
[   40.339356] random: 7 urandom warning(s) missed due to ratelimiting
[  196.893202] perf: interrupt took too long (2521 > 2500), lowering kernel.perf_event_max_sample_rate to 79250
[  203.457268] perf: interrupt took too long (3218 > 3151), lowering kernel.perf_event_max_sample_rate to 62000
[  212.598653] perf: interrupt took too long (4053 > 4022), lowering kernel.perf_event_max_sample_rate to 49250
[  225.213655] perf: interrupt took too long (5082 > 5066), lowering kernel.perf_event_max_sample_rate to 39250
[  242.637318] perf: interrupt took too long (6361 > 6352), lowering kernel.perf_event_max_sample_rate to 31250
[  356.550274] perf: interrupt took too long (7957 > 7951), lowering kernel.perf_event_max_sample_rate to 25000
[ 7442.108423] perf: interrupt took too long (9968 > 9946), lowering kernel.perf_event_max_sample_rate to 20000


I belive that there's some trouble with Nvidia drivers, but I didn't find another GPU to test it out yet... But kinda grinds my gears being unable to break free from the tty in which Xfree was running. It keeps “stealing focus” so I can't login into the system to “uncrash” it. It needs to be connected to the network so I can restart the graphical thing per via remote session.

So, what about this mysterious problem?

Thanks,
-trp
http://tumblr.tadeu.org (Here for English only texts)

In my experience, there's no such thing as Year of Linux...
User avatar
prppedro
 
Posts: 23
Joined: 2017-03-13 16:09
Location: São Paulo/SP

Re: X crashing under mysterious conditions

Postby llivv » 2019-01-24 01:51

have you used nvidia-settings? (recommended)

and here is appendix B
https://www.naic.edu/~phil/hardware/nvidia/doc/driverInstall/appendix-b.html
It's a lot of reading
and can usually be avoided after using nvidia-settings
https://wiki.debian.org/NvidiaGraphicsDrivers/Configuration

other resources are listed here
http://forums.debian.net/viewtopic.php?f=17&t=139769&start=15#p690279
Last edited by llivv on 2019-01-24 20:31, edited 1 time in total.
In memory of Ian Ashley Murdock (1973 - 2015) founder of the Debian project.
User avatar
llivv
 
Posts: 5488
Joined: 2007-02-14 18:10
Location: cold storage

Re: X crashing under mysterious conditions

Postby Head_on_a_Stick » 2019-01-24 05:35

Try nouveau instead.
User avatar
Head_on_a_Stick
 
Posts: 10346
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: X crashing under mysterious conditions

Postby prppedro » 2019-01-24 23:58

llivv wrote:have you used nvidia-settings? (recommended)

and here is appendix B
https://www.naic.edu/~phil/hardware/nvidia/doc/driverInstall/appendix-b.html
It's a lot of reading
and can usually be avoided after using nvidia-settings
https://wiki.debian.org/NvidiaGraphicsDrivers/Configuration

other resources are listed here
http://forums.debian.net/viewtopic.php?f=17&t=139769&start=15#p690279


I might have a look, I'll try some tweaks after the holiday.

Head_on_a_Stick wrote:Try nouveau instead.


I would, and it may be actually a good idea. However, from time to time we like to play some 3D games on it or just run things using accelerated video. I do not know how well nouveau performs in those days, but I remember not having great experiences with it in the past. Does it work with Mesa?

My main rig at work is a i5 750 with a GTX 645 on it... And it works fairly well with the proprietary drivers, running nearly the same kernel (also, both machines are running Buster).
http://tumblr.tadeu.org (Here for English only texts)

In my experience, there's no such thing as Year of Linux...
User avatar
prppedro
 
Posts: 23
Joined: 2017-03-13 16:09
Location: São Paulo/SP

Re: X crashing under mysterious conditions

Postby Bulkley » 2019-01-25 00:07

. . . run things using accelerated video.


By that, do you mean that you are tweaking the video output? That can cause crashes.
Bulkley
 
Posts: 5827
Joined: 2006-02-11 18:35

Re: X crashing under mysterious conditions

Postby prppedro » 2019-01-25 00:15

Bulkley wrote:
. . . run things using accelerated video.


By that, do you mean that you are tweaking the video output? That can cause crashes.


Not really. I'm using whichever it auto-detects, to be quite honest. By “accelerated” I meant things like VDPau.
http://tumblr.tadeu.org (Here for English only texts)

In my experience, there's no such thing as Year of Linux...
User avatar
prppedro
 
Posts: 23
Joined: 2017-03-13 16:09
Location: São Paulo/SP

Re: X crashing under mysterious conditions

Postby Head_on_a_Stick » 2019-01-25 05:34

prppedro wrote:I do not know how well nouveau performs in those days, but I remember not having great experiences with it in the past. Does it work with Mesa?

Yes it does.

The performance of the nouveau driver is pretty good these days, apparently.
User avatar
Head_on_a_Stick
 
Posts: 10346
Joined: 2014-06-01 17:46
Location: /dev/chair


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 10 guests

fashionable