[SOLVED] Changing resolution stops signal to monitor.
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
My friend for a while now (I'm using his account) has had problems with his resolution. When he logs in the resolution is 800x600. Whenever we try to change it to 1440x900, either through system settings or xrandr, the monitor stops getting any signal. This problem only happens with this one account, another made before it is unaffected.
It started when he ran an old windows program in wine (Like Total Annihilation or Red Alert 1.
When we installed twm and logged into that, the resolution was fine.
His machine is a Debian Wheezy 32b and the window manager with a problem is gnome2.
Everything else works fine without any issues, other than compensating for the lack of window space.
Is it choosing an incompatible refresh rate? Check the refresh rate it's trying to use and the specs on the monitor to make sure they match for the resolution you're using.
For the monitor not getting signal, there are several possibilities.
1. The monitor is getting a signal, but does not recognize it and so behaves as if there is no signal. (There is no recognizable signal).
2. There actually is no signal. For this to happen with a specific resolution would mean that the video driver is shutting down the video card. This is not normal.
This is what the system power saving does when it shuts down the monitor.
3. The screen is black, which looks like no signal. There is actually something else wrong.
Wine changed a video setting and it is getting restored each time you use that particular account.
I cannot tell you exactly where to look for where it save this setting.
Sometimes when programs that use video are not shutdown correctly, they leave the video settings they were using. Sometimes these bad settings can get saved because some drivers just save the video register values without knowing what they mean. They will save invalid register settings too.
First backup the hidden directories of the messed up user account.
Delete hidden directories until the problem ceases.
Then restore all except the last one deleted.
If really desperate, clean out all hidden directories and start over setting the user preferences.
That is an unusual video resolution.
Try some normal ones like 1024x768 1600x1024 and vesa modes to see if it is just that one mode. If it is just that one mode, then it might be that it only works with some config setting and that user did something to get a game working that clobbered the special config.
One place for video mode config is the X11 config, where special video modes have modelines.
Is the user using the system X11 config or their own?
Some commercial drivers (I think Matrox) could store customized mode settings per mode per user. This would be one way to affect one mode for one user.
Bring up the driver config tool and check that mode. Reset it to a standard setting.
Last edited by selfprogrammed; 07-25-2013 at 10:10 PM.
The real vvbudh here, I believe I am using an X11 file, I see it in my home folder. I will try to change the screen resolution to 1024x768, I do believe that that one worked before. However I am a little hesitant to do more major deleting of files without the help of my friend Tom, because Tom is the one who got me into and knows a lot more about Linux.
I tried to switch it to 1024x768 but to no avail, the screen went black and the on blue light on the power button went to the off orange light. It remained black for a few sec (about 10[I have waited for 2 mins before so I didn't expect this was any different]) and so I manually rebooted. Entered my account and still the same resolution.
I'm not sure about how I can help make this problem more understandable. Is there anything I can do and post here to help you? If so please give some step by step instructions if you wouldn't mind. I still don't quite understand all of what my friend Tom really does to my computer.
Also, how would I go about checking the refresh rates?
I first typed this command into the terminal. (With the help of Tom's knowledge and the assistance from selfprogrammed.)
ls -d .??* | tr '\n' '\0' | xargs -0 tar -cvzf backup.tar.gz
This backs up all of the hidden files in your computer? (I think so) and then after that you delete them by using this command.
rm -rv .*
This instantly solved my issues. Now all you need to do is extract the files from the backup.tar.gz files and put them back in your home folder one by one and see which one (if any) change the resolution. You must log out and login again after each extraction to see which one caused the problem.
To speed the process up, put back all the a*, and test, then all the b* and test, etc..
Then when you get a problem, try renaming the directory instead of deleting it.
For example if the problem shows up with k*.
>> rename ".k" "._k" .k*
This will disable usage of the hidden directories.
Then change them back to their proper name one at at time.
My monitor tells me what the refresh rate is.
Just push a few buttons to get the info display.
There are several low level tools to display the X11 video settings, but the names are so hard to remember. I keep notes, ... somewhere ...
>> ls /usr/bin/ls*
>> ls /bin/ls*
>> ls /usr/bin/*gl* -- opengl reporting tool
>> ls /usr/bin/*ext*
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.