LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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

Reply
 
Search this Thread
Old 01-28-2004, 08:16 PM   #1
hari_seldon99
Member
 
Registered: Jun 2003
Location: Front of PC
Distribution: Linux Mandrake
Posts: 212

Rep: Reputation: 30
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.



Thanks in advance,

AR
 
Old 01-28-2004, 09:38 PM   #2
moxfyre
LQ Newbie
 
Registered: Jan 2004
Location: College Park, Maryland
Distribution: Debian unstable
Posts: 14

Rep: Reputation: 0
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.

Hope this helps!

Dan
 
Old 01-29-2004, 02:48 AM   #3
hari_seldon99
Member
 
Registered: Jun 2003
Location: Front of PC
Distribution: Linux Mandrake
Posts: 212

Original Poster
Rep: Reputation: 30
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.

I'll check /var/log/XFree86.0.log, thanks.

AR
 
Old 01-29-2004, 04:58 AM   #4
hari_seldon99
Member
 
Registered: Jun 2003
Location: Front of PC
Distribution: Linux Mandrake
Posts: 212

Original Poster
Rep: Reputation: 30
It happened again! I rebooted and looked at /var/log/XFree86.0.log.old. It's too big to incluse here. I've posted it on

http://www.ph.utexas.edu/~daneel/xfree86log/

. Note the last line that says

Fatal Server error:
lockup


So I guess the X-server is doing something bad...

In line 1877 it does something to the mouse or the ps2 port/driver or whatever, then it says :

Error in I830WaitLpRing(), now is 4888, start is 2887

The rest of it is Sanskrit ...

Do peruse and assist!
Thanks
 
Old 01-29-2004, 10:30 AM   #5
moxfyre
LQ Newbie
 
Registered: Jan 2004
Location: College Park, Maryland
Distribution: Debian unstable
Posts: 14

Rep: Reputation: 0
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.
 
Old 01-29-2004, 05:22 PM   #6
hari_seldon99
Member
 
Registered: Jun 2003
Location: Front of PC
Distribution: Linux Mandrake
Posts: 212

Original Poster
Rep: Reputation: 30
Hi,


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?

Thanks.
AR
 
Old 01-31-2004, 02:35 AM   #7
hari_seldon99
Member
 
Registered: Jun 2003
Location: Front of PC
Distribution: Linux Mandrake
Posts: 212

Original Poster
Rep: Reputation: 30
I'm having additional problems.....


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?


Please do offer suggestions. I'm utterly lost
 
Old 02-02-2004, 07:40 PM   #8
moxfyre
LQ Newbie
 
Registered: Jan 2004
Location: College Park, Maryland
Distribution: Debian unstable
Posts: 14

Rep: Reputation: 0
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...
 
Old 02-02-2004, 08:57 PM   #9
hari_seldon99
Member
 
Registered: Jun 2003
Location: Front of PC
Distribution: Linux Mandrake
Posts: 212

Original Poster
Rep: Reputation: 30
Yeah, I think it is running in framebuffer mode.

So should I verify about that by booting in linux-nonfb and seeing if that works??
 
Old 07-13-2005, 12:21 AM   #10
sikkalgopal
Member
 
Registered: Aug 2004
Location: india
Distribution: Mandrakes,Redhats,Debians.Suses and FreeBSD
Posts: 52

Rep: Reputation: 15
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.

Thanks
bye
 
Old 07-13-2005, 12:31 AM   #11
hari_seldon99
Member
 
Registered: Jun 2003
Location: Front of PC
Distribution: Linux Mandrake
Posts: 212

Original Poster
Rep: Reputation: 30
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Screen blank for a long time during FC3 shutdown Gethyn Fedora 4 04-17-2005 07:12 AM
Blank screen for long time after GRUB selection matthewgoeden Linux - General 2 03-10-2005 11:12 AM
Gentoo, X locks up after long idle time ksas025 Linux - Hardware 5 11-10-2004 07:11 AM
input devices freeze Chuck23 Fedora 2 06-28-2004 05:09 PM
Screen goes blank after being idle 4 a long time & then all input devices freeze! hari_seldon99 Linux - Newbie 2 01-28-2004 07:45 PM


All times are GMT -5. The time now is 06:47 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration