Xorg.conf file works on one monitor but not on another
Hello,
I have a strange problem at least I think. My Specs: Code:
Debian Etch Kernel 2.6.24 X works fine on my current Monitor "Acer AL1516". But if I shutdown my system and change my monitor to a "Viewsonic VG510b" and boot, my X system just crashes. Also if don't shutdown my system and just switch the monitor from Acer to Viewsonic, it still works fine. Here is my current xorg.conf file: Code:
# /etc/X11/xorg.conf (xorg X Window System server configuration file) The lines in the Xorg log file that bothers me are: Code:
VIASetModeUseBIOSTable: Cannot find suitable mode!! Would really appreciate if somebody can help me in figuring out what's going on. |
Are you trying to get an xorg.conf that will work with whichever of the two monitors you choose at boot time? Or are you trying to just make it work at boot time with the new monitor?
What resolution do you want to use with the new monitor? Your xorg.conf is strange because: Code:
HorizSync 28-50 Your Screen section limits you to mode 1024x768, but in the big list in your monitor section there is no modeline for 1024x768, so when X starts it needs to find a 1024x768 modeline somewhere that is compatible with that low HorizSync value. I think that is the key to your reported symptom. One place X can get a modeline is from the firmware of the monitor itself. Your old monitor probably provides a 1024x768 modeline that is compatible with your HorizSync value. Your new monitor works with that modeline (I assume not as well as it would work with a better modeline) but your new monitor may not offer a 1024x768 mode at all and if it does it wouldn't offer one compatible with your low HorizSync value. If you just want the new monitor to work, change the HorizSync and VertRefresh ranges to be correct for the new monitor, and probably add a modeline for the mode you want to use for the new monitor and if that isn't 1024x768 edit the screen section to reference that mode. If you want either monitor to work from boot at the slow 1024x768 it is probably getting from the old monitor's firmware, use videogen or similar tool to construct that modeline and put it in your monitor section. If you want either monitor to work from boot with a mode appropriate to that monitor, sorry I don't know how. I'm sure it can be done, but I'd need to try several different things to see what does what to find out how. |
Thanks for all your help! Really appreciate it. My answers are below
Quote:
Quote:
Quote:
Quote:
|
The liveCD includes some program to look at your hardware and compute an entirely new xorg.conf each time you boot. I don't know what program that is, but I expect you could find one and make it part of your standard init script.
You probably don't want to go that far. You're not changing your display adapter on reboot, just your monitor. I'm sure you can get it to reconfigure based on the attached monitor each time you reboot, while keeping the info about the display adapter. One disadvantage of doing it that way is it won't configure well if you turn the computer on with the monitor off. I don't know everything you need to do to automatically reconfigure based on the attached monitor when X starts. One thing you need (maybe the only thing) is to remove the HorizSync line from the Monitor section so the display driver will attempt to get that information from the monitor. |
Quote:
As far as like live CD implementation, I have done that several times on different chipsets and the default Xorg.conf file just works fine. I had never to re-create Xorg.conf file except for this particular chipset which is giving me problems. |
Quote:
Also I noticed these lines in my log files: Code:
(II) VIA(0): Supported additional Video Mode: Any ideas? |
All times are GMT -5. The time now is 09:44 AM. |