Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 04-06-2010, 12:12 PM   #1
LQ Newbie
Registered: Mar 2010
Posts: 7

Rep: Reputation: 0
Fullscreen GLUT app, display blanks after approx 30 minutes

I'm running a fullscreen display app which shows a 3D scene in OpenGL. The app runs continiously throughout the day unattended.

Here's the sequence of events in how it's loaded:

1) The computer is turned on, and boots into F11 (x86_64)
2) A non-privileged user is automatically logged on
3) The gnome startup applications list contains an entry for a loading script
4) The loading script waits for the network interface (eth0) to ccome up, then starts the display program

This all works just fine, except that about 30 minutes after the computer is turned on and the app starts running, the screen blanks out. Attaching a mouse to the system and moving it around a bit brings the screen back to life. Likewise, SSHing into the machine and killing / restarting the application works as well. Once either of these fixes has been performed, it runs flawlessly for the rest of the day.

I have turned off the screen saver, and set the power settings for monitor shutdown to 'never'.

Any other thoughts or suggestions would be greatly appreciated.
Old 04-06-2010, 09:13 PM   #2
LQ Newbie
Registered: Apr 2010
Distribution: Slackware
Posts: 23

Rep: Reputation: 6
xset q
xset -dpms
xset q
and compare output with first one. My system shows:

DPMS (Energy Star):
  Standby: 600    Suspend: 1200    Off: 1800
  DPMS is Enabled
  Monitor is On
and after xset -dpms
DPMS (Energy Star):
  Standby: 600    Suspend: 1200    Off: 1800
  DPMS is Disabled
Or simply disable Option "DPMS" in your Monitor section in xorg.conf. Or have your app developer disable DPMS on startup and execute 'killall xscreensaver' - just in case.
Old 04-08-2010, 02:20 PM   #3
LQ Newbie
Registered: Mar 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for the info. Looks like we're on the right track. I'm seeing something kind of interesting now though:

xset -dpms works like a charm, but it appears that there's something else turning it back on. If I check back in after a while (I haven't taken specific measurements yet - 20 minutes maybe?) it seems to have turned itself back on. I edited the xorg.conf to disable DPMS permanently.

Any thoughts on what might be the cause?


f11, fullscreen, glut, opengl

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
LCD on arm-linux blanks after 10 minutes knighttof3 Linux - Embedded & Single-board computer 1 02-06-2010 04:19 AM
[SOLVED] Monitor blanks out when accessing Display Properties in KDE rrrssssss Gentoo 1 11-01-2009 01:19 PM
X app without a window manager not true fullscreen Onyx^ Linux - Software 16 01-14-2009 05:17 AM
Fullscreen console app with C or C++ scottbrown4b Programming 3 05-10-2004 07:03 PM
nvidia+UXGA+XF86config -- display error after screen blanks jagmandan Linux - Laptop and Netbook 3 07-28-2003 12:32 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:49 PM.

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