Screen goes blank after being idle 4 a long time & then all input devices freeze!
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Screen goes blank after being idle 4 a long time & then all input devices freeze!
( post #1)
I'm running Linux mdk 9.2 on a gateway 310X. Now, whenever I leave my machine idle for extended periods of time (like 4+ hours), I return to find that the monitor is blank (though it's not in power saving mode) and moving the mouse or keyboard does not bring the screen back. I have to reboot (ctrl-alt-del) and then it shows the shutdown process (where it fails to shutdown the saslauth daemon) and reboots. At first, I thought that apm was suspending the machine and messing it up (apm has been known to do that, I understand), so I got rid of it, but the problem persisted. I looked at /var/log/security and saw that it ran "msec" a lot when idle so I disabled that as well. The problem still persists.
Can anybody tell me which log files I should see to diagnose what's happening. Once I know what's causing this, I can try to fix it.
Does this happen only when you're running X? Or does it happen if you're logged in at a console? Can you get to another virtual console by pressing ctrl-alt-F1?
Well... if you're running GNOME, check your Screensaver Preferences and disable "Display Power Management" (in the Advanced tab). I don't think your input devices are actually freezing, because, as you said, you can escape by pressing ctrl-alt-delete.
I've had problems with X blanking the screen and refusing to do anything before. If you can pin it down as a Display Power Management problem, then you should check your X log: /var/log/XFree86.0.log.
This happens when XFree86 is running, yes. I tried to goto the console when the screen froze by pressing ctrl-alt-F2, but no luck.
I have been running KDE., where I've not only disabled power management, but set the uid bit of /usr/bin/apm so that my nonroot id can't even access it. Still the damn thing freezes.
Hmm... I notice from your XFree86.0.log that DPMS (display power management) is still being enabled when you start X.
It looks like you are using the i810 video driver. Try using just the plain VESA driver for a bit and see if the problem stops. Edit your /etc/X11/XF86Config-4 file, and look for
Driver "i810"
Try changing it to Driver "vesa", restart X, and see if the problem recurs. It may be a problem with the particular video driver you're using.
Yeah, that worked. No more blanks, but now I have another problem.
Whenever I try to play a video in mplayer, I get the following error:
Error opening/initializing the selected video_out (-vo) device.
No problems in xine or totem. They work as before. Could this problem be related to the fact that I changed the video driver for X as you instructed? How to I tell mplayer to setect the driver correctly?
1> mplayer will not go to fullscreen mode anymore after I switched the driver to "VESA"
2> When I boot into Linux, the X Server starts up just fine. When I log off, instead of showing the login screen, the screen blanks out. When I shut down, the screen no longer shows the usual status messages (stopping this daemon, that daemon etc) but blanks out altogethrer until the machine shuts down. It then restarts OK.
These problems did not exist when I was using the i1810 driver, but then my X-Server suggered "fatal crashes" after extended periods of inactivity.
Are there any other drivers I should try? Should I reinstall the i1810 thingie from an rpm from somewhere or from source?
Sorry for not getting back sooner. No net access at home for the weekend =(. I'm not sure about mplayer. It sounds like you have a buggy i810 driver (or maybe your hardware is not well tested with the driver, whatever) and the VESA driver isn't fully functional.
Do you know if your kernel is running with framebuffer support or not? The fact that running X messes up the text console suggests that this might be a framebuffer problem...
Distribution: Mandrakes,Redhats,Debians.Suses and FreeBSD
Posts: 52
Rep:
screen goes off after long time
hai all
I had the same problem , i investigated in log files nothing found,also done all changes in the power management options in BIOS as well as in OS.Then i enabled screen saver , now working
without trouble even for days.Anything relation to that. Clarification will be helpful.
Thx for reply. After 1.5 years, I've changed distros to fc3 after I saw how badly broken Mandriva has become and have put all that Mandrake nonsense behind me.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.