Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] strange crashes when xscreensaver running
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
v_andal
Guru
Guru


Joined: 26 Aug 2008
Posts: 545
Location: Germany

PostPosted: Thu Sep 15, 2011 8:42 am    Post subject: [SOLVED] strange crashes when xscreensaver running Reply with quote

Recently I had to change my old good AMD64 desktop because it finally died after 8 years of working. The new one has

Quote:

vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz


Usually, I leave my computer running with the xscreensaver locking the display. But I've discovered that when I come in the morning the computer is dead. It does not respond to keyboard, no network, nothing. So I have to do hard reset. Nothing is written in the logs. The system kind of "disappears".

To make sure, that the problem is with xscreensaver, I've left the system running in terminal mode and it worked all 2 weeks while I was in vacation. Then I've left Xorg running without xscreensaver, again the system has survived the night. Only the conky has crashed.

This left me wondering, what xscreensaver can do to completely wipe out the system? Probably it has something to do with the idle modes of CPU. Maybe there are some suggestion on what I should check in my kernel configuration (I don't use genkernel). Just in case, my current .config file can be obtained from http://vandal.sdf-eu.org/my_config


Last edited by v_andal on Tue Nov 22, 2011 9:01 am; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23062

PostPosted: Fri Sep 16, 2011 2:53 am    Post subject: Reply with quote

Do you use any screensaver programs from xscreensaver or is it only present to lock the display? If you use screensavers, try turning them off overnight.
Back to top
View user's profile Send private message
v_andal
Guru
Guru


Joined: 26 Aug 2008
Posts: 545
Location: Germany

PostPosted: Fri Sep 16, 2011 8:56 am    Post subject: Reply with quote

I've also thought about this. So I've disabled the screensavers, just left the locking. Same thing.

Interesting is that conky has crashed. So it shouldn't be the screensaver. It should be some code that attempts to access hardware (which conky does as well, to check the CPU temperature for example).

Actually, I've also experienced problems with xscreensaver on HP625 laptop with AMD V series CPU. There it also was freezing the system, so I had to disable it. But then I thought that it has some conflicts with Radeon card. Now my desktop has Intel Sandy Bridge, but xscreensaver still crashes the system. So I came to thinking that it might be something with the power management. I just don't know what specifically to disable :)
Back to top
View user's profile Send private message
Kiwon Um
n00b
n00b


Joined: 15 Jul 2009
Posts: 49

PostPosted: Tue Nov 15, 2011 4:46 am    Post subject: Reply with quote

I have exactly the same problem. When the monitor get turned on from the auto-display-sleeping, the system suddenly gets stuck after locking off. Did you solve this problem?
Back to top
View user's profile Send private message
v_andal
Guru
Guru


Joined: 26 Aug 2008
Posts: 545
Location: Germany

PostPosted: Tue Nov 15, 2011 10:12 am    Post subject: Reply with quote

No. I've simply stopped using xscreensaver.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23062

PostPosted: Wed Nov 16, 2011 3:18 am    Post subject: Reply with quote

What video card and video driver are you using? Does it matter if you disable DPMS, so that the monitor can show a black background but never disable its backlight?
Back to top
View user's profile Send private message
Kiwon Um
n00b
n00b


Joined: 15 Jul 2009
Posts: 49

PostPosted: Wed Nov 16, 2011 5:01 am    Post subject: Reply with quote

v_andal wrote:
No. I've simply stopped using xscreensaver.

After switching to gnome-screensaver and rebuilding packages depend on xorg-server, it seems to work fine.
Try:
Code:
emerge -1av `equery depends xorg-server|awk '{print " ="$1}'`
Back to top
View user's profile Send private message
v_andal
Guru
Guru


Joined: 26 Aug 2008
Posts: 545
Location: Germany

PostPosted: Wed Nov 16, 2011 8:25 am    Post subject: Reply with quote

Hu wrote:
What video card and video driver are you using? Does it matter if you disable DPMS, so that the monitor can show a black background but never disable its backlight?


My video card is Intel Sandy Bridge, but I've experienced the same thing on laptop with Radeon video card.

I haven't tried to disable DPMS. I'll try tonight and see if this helps.

Actually, I've tried to use xlockmore instead of xscreensaver and looks like it works fine. Well, provided that I don't use any heavy DE it is very simple for me to exit Xorg at the end of the day and start it again in the morning. That is why I kind of quit using screensavers :)
Back to top
View user's profile Send private message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 846
Location: Close to Annecy (France)

PostPosted: Wed Nov 16, 2011 9:51 am    Post subject: Reply with quote

Hello,

I had exactly the same problem. It happened several times, sometime not with X but with the console blanker.
Last result was a global corruption of emerge repository and finally I did a full re-install (not a pb as I was installing this machine).
My graphic card is a Matrox ("mga").

Nevertheless, after this full reinstall (so with latest software available), I didn't faced this issue anymore.

Bye

Laurent
Back to top
View user's profile Send private message
v_andal
Guru
Guru


Joined: 26 Aug 2008
Posts: 545
Location: Germany

PostPosted: Thu Nov 17, 2011 9:24 am    Post subject: Reply with quote

Well. My system is freshly installed from scratch. So another reinstall does not make sense :)


I've tried to disable DPMS. It did help. Well, I first should make sure that the problem was not fixed by some of the upgrades, so tonight I'll let the xscreensaver to run with DMPS enabled :)
Back to top
View user's profile Send private message
v_andal
Guru
Guru


Joined: 26 Aug 2008
Posts: 545
Location: Germany

PostPosted: Tue Nov 22, 2011 9:01 am    Post subject: Reply with quote

Unfortunately I can't reproduce the problem any more. I haven't use xscreensaver for long time and during this time quite a few things have changed. I've switched to using sawfish instead of fluxbox. The xorg was updated. Kernel was updated. Quite a few other packages was updated. I don't have any desire to search what has fixed the problem. I'm satisfied with the final status that the problem is gone. So I mark the topic as SOLVED.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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