Monday, May 25, 2009

Solution for: Screen goes black(sleep) in Mandriva 2009.1

I experienced the above issue with my recently installed Mandriva 2009.1 after updating some packages from Main testing repo.
The issue i face was, the following post i took from Mandriva forum, which i posted there.
I am using 2009.1 KDE 4.2.3 on my laptop with Intel 845 chipest.
I have some problems:
1- While opening video, some time screen goes black, or may be in the middle of a video.
Even the video is running there, bcoz sound is still there. Just the screen shows black.
2- This problem also exists without video. Some time while surfing, working.

And i had no choice except to go tty1 to reboot the system. Facing this problem from last 4 days. And facing it twice and thrice a day.

Yesterday i update the system from main testing repo, and there were some updates for intel card. But after that also i face this problem.
I updated it from testing repo in this hope, that it will solve the problem. But the problem is still there.
I disabled Mian testing repo after updating.


Now lets come to the solution part. It was a bit easy task to overcome this problem.
For the current session, open terminal and type the following and then hit Enter.
xset -dpms

Now to avoid this sleeping problem next time, do the following:
1- open .bash_profile file from your home directory.(view->show hidden files)
2- and put the same command above at the end and keep one line blank after that command.
It should be like this:
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH
unset USERNAME
xset -dpms


This will not effect your screen saver, i tested this.
DPMS is standby, suspend and off.
To stop screen saver put this at the end of that file:
xset s off

Screen saver will not effect any thing, mean the sleeping problem(black). So its upto you now.

NOTE: I will update this post time to time for further updates regarding my laptop. That what is the result after that command.

References:
Mandriva Forum post
Bugzilla


UPDATE-1: Today (26-05-2009) at 5PM, i face this problem again, but this time the screen goes white and i had to restart it by the old way again, i am working on it. Will come back with solution soon.

UPDATE-2: Today (28-05-2009), I update the Intel driver on 26-05-2009 from Main test repos and until now no more black or white screens.

ANL

No comments: