LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-30-2013, 01:21 PM   #1
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,653

Rep: Reputation: 255Reputation: 255Reputation: 255
Crash Monitor/Display regularly?


Hi,

I have reinstalled Debian, and visibly
my Monitor turns off.

Similarly to the DPMS OFF.


I can still do SSH, and I typed:

vbetool dpms on
as indicated here, but the monitor does not turn ON again..

https://wiki.debian.org/accessibility

What would you suggest?

thanks in advance




edit: if I do over ssh (su): echo 3 > /proc/acpi/sleep
then the all pc is crashed !
cold reset
Code:
(2) systems where it is possible to call the video BIOS during S3
  resume. Unfortunately, it is not correct to call the video BIOS at
  that point, but it happens to work on some machines. Use
  acpi_sleep=s3_bios.

(3) systems that initialize video card into vga text mode and where
  the BIOS works well enough to be able to set video mode. Use
  acpi_sleep=s3_mode on these.

(4) on some systems s3_bios kicks video into text mode, and
  acpi_sleep=s3_bios,s3_mode is needed.

(5) radeon systems, where X can soft-boot your video card. You'll need
  a new enough X, and a plain text console (no vesafb or radeonfb). See
  http://www.doesi.gmxhome.de/linux/tm800s3/s3.html for more information.
  Alternatively, you should use vbetool (6) instead.

(6) other radeon systems, where vbetool is enough to bring system back
  to life. It needs text console to be working. Do vbetool vbestate
  save > /tmp/delme; echo 3 > /proc/acpi/sleep; vbetool post; vbetool
  vbestate restore < /tmp/delme; setfont <whatever>, and your video
  should work.

Last edited by Xeratul; 07-30-2013 at 01:27 PM.
 
Old 07-30-2013, 01:40 PM   #2
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,653

Original Poster
Rep: Reputation: 255Reputation: 255Reputation: 255
OK... temporally I enginneeered this very ugly script that is started at boot:

by vbetool.sh on


Code:
if [ "$1" = "--loopdpmsoff"    ] ; then 
  while [ 1 ] ; do
     sudo vbetool dpms off
     echo "DPMS OFF"
     echo sleeping_dpms_off
     sleep 5m 
     echo sleeping 
     sudo vbetool dpms off
  done
  exit
fi






if [ "$1" = "--loopdpmson"    ] ; then 

  while [ 1 ] ; do
     sudo vbetool dpms on
     echo "DPMS ON"
     echo sleeping_dpms_on
     sleep 5m 
     echo sleeping 
     sudo vbetool dpms on
  done
  exit
fi





if [ "$1" = "on"    ] ; then 
        cd
	screen -ls
	if [ "$DISPLAY" != ""    ] ; then 
	    xterm  -e screen -D -S mydpms -R -d  bash ~/.myrescuescripts/vbetool.sh --loopdpmson
	  else
	    screen -D -S mydpms -R -d  bash ~/.myrescuescripts/vbetool.sh --loopdpmson
	fi


   exit
fi 




if [ "$1" = "off"    ] ; then 
        cd
	screen -ls
	if [ "$DISPLAY" != ""    ] ; then 
	    xterm-e screen -D -S mydpms -R -d  bash ~/.myrescuescripts/vbetool.sh --loopdpmsoff
	  else
	    screen -D -S mydpms -R -d  bash ~/.myrescuescripts/vbetool.sh --loopdpmsoff
	fi


   exit
fi
let's test if it fixes the x11 bug or whatever it might be

Last edited by Xeratul; 07-30-2013 at 01:46 PM.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LCD Monitor kdesktop crash Geoff_Mac Linux - Hardware 9 11-30-2006 02:03 AM
crash monitor? cougyr Linux - Hardware 10 07-22-2006 02:30 PM
Display In Suse 9.3 Crash, Help, Thanx avicenna-Indonesia Linux - Hardware 3 08-24-2005 09:57 AM
Display crash after using OpnGL in Mandrake 10.0 TVDC Linux - Newbie 4 09-28-2004 04:12 AM
Monitor crash on RedHat 9 with S3 ProSavageDDR. What should I do? smota Linux - Newbie 1 12-16-2003 04:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:45 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration