Problem with monitor not displaying in Ubuntu and Mandriva
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
Problem with monitor not displaying in Ubuntu and Mandriva
I am using a MAG Innovision 19" LDC monitor, model LT926WB. My video card is a Geforce 6600GT. I spent nearly all day trying to install Linux, but I never really had much luck.
On Ubuntu, 6.06 and 6.10, I'm not even able to install it. I boot from CD and it goes to a monitor message "MODE NOT SUPPORTED". So I can't even get to the installation point on that one. I personally think it might be the monitor, because I was able to install it when I had an old 17" CRT.
On Mandriva Free 2007, I get through the installation to the point where I chose to configure my display, but none of the options work. It has a menu where I can choose my monitor model, and my model isn't listed. Every time I test it, it brings up a page with a ton of different colors in itty-bitty blocks. So no real luck there. But at least in Mandriva, I have the option to go into text mode (it defaults to that since the X server won't start due to the graphical mishaps). So I think I have the option to maybe edit the xorg.conf file, and that could possibly resolve the problem.
I've been reading about this issue (actually someone had nearly the exact same problem on this forum, but no resolution was found). I was hoping some tips or clue if possible. I'm at work right now, so I'm sorry if I seem to be a little distracted. I will get any and all the information you guys might request. It seems so easy, but there are little things that always hold me up on it, including that stupid Nvidia card! lol
I'll give that a shot when I get home and post about the problem. Maybe this thread could help someone else too. Pretty much I tried Mandriva, Ubuntu, and openSUSE after this thread to no avail. I went back to XP!
I've printed out quite a bit of documentation on xorg.conf, and I think I might know how to fix the problem, but I'm not going to know for sure until I test it. I'll just dual-boot my system this time, just in case it doesn't work, I can use XP and run a distro as a virtual machine (another learning experience). But I haven't given up yet, I'll post the results as soon as I can.
The easiest solution using Mandriva would be to boot into failsafe mode, log in as root with root password and then type
I'm not so sure about that last bit, if you need to make certain just type:
Then type: ls
If you see anything closely resembling the xorg-configure (could be xorgconf, xorgreconf, ...), that's the thing you are after; substitute that for "xorg-configure" in the above command if required.
The command will guide you through a series of pretty easy questions to draw up your own xorg.conf file. Pick "vesa" for a video driver (install the proper driver as soon as you get in - you can simply download them from the mandriva repositories ; use easy urpmi); also be cautious on the side of vertical and horizontal refresh rates: don't specify anything higher than what your screen can actually support.
Okay, I just edited the xorg.conf file, but it was really tedious. All I did was change the vert/horiz refresh rates. Unfortunately, that didn't make a difference. For some reason, the x server (i think that's what it is), kept resetting every 5 seconds or so. I kept having to press ctrl+alt+backspace to get back to the prompt.
Even after I edited the xorg.conf file it kept restarting itself like that, which is horribly annoying if you can imagine. What else do you suggest I try?
OK, don't worry. I had the same issue and managed to get there even so.
What distribution did you actually try this out on? Ubuntu or Mandriva? And did you just edit xorg.conf or did you generate a completely new one as described in my previous post?
If it was Mandriva (or Suse), I wouldn't be surprised a simple edit didn't cut it. What struck me most was how stubbornly it clung to its own idea of xorg.conf; any changes would be simply discarded unless I proceeded exactly as described. Also, Mandriva and Suse generated a completely mangled version of xorg.conf with many missing bits and most of them in the wrong place, too. Also, setting graphics driver to "vesa" is just as vital as getting the refresh rates right.
If you're on Ubuntu, it should be sufficient to have a look at the xorg.conf I'm using on Debian (and it's pretty much identical on any of the other ones). Might work on Mandriva /Suse as well, just give it a try. Please note the particulars: this file refers to an ACER 19 inch TFT, a PS2 keyboard and mouse and an ATI 1600 Pro card. If your hardware is similar, it should be safe to copy the parts printed in bold; as for the graphics card, I've put in "vesa", which should work with any type of card. I've put in some comments to point out any changes you may need to make to my model xorg.conf.
In order to make the changes, just boot and at the command line:
Type su - (including the space and the dash) + enter
Type your root password + enter
First back up your xorg.conf by typing : cp /etc/X11/xorg.conf /etc/X11/xorg.conf.copy (+ enter; that's what you do after every single command, of course)
Type vi /etc/X11/xorg.conf to bring up your xorg.conf
- Scroll through the screen using the arrows and locate the horizontal and vertical resolutions as well as the driver device section
- Were you able to determine the max resolution (horizontal and vertical)? Now's the time to use them. Type i (be careful, from now on you can actually make changes, wrong ones too!) and correct the resolution values; if necessary, also the driver (we'll use vesa). Pay close attention to the SYNTAX (i.e. the way that data are organized; e.g. if you see that values in a line are separated by a space, make sure to stick to the rule if you're adding something).
- When you're done, type ESC (you leave editing mode)
- Type :w + enter (changes get written out)
- Type :q + enter (quit Vi editor)
You're back at the command line; time to check whether it has helped: type startx or init 5. If all is OK, you should now see a graphical log-in screen.
If you make any mistakes along the way, you'll have to restore your backup by typing
cp /etc/X11/xorg.conf.copy /etc/X11/xorg.conf
and confirm that the current xorg.conf should be overwritten.
Then you start all over.
As pointed out, this procedure may not work on Mandriva and/or Suse.
Here, finally, is my xorg.conf model.
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "Module" # leave this as generated, even when certain parts are missing or different
SubSection "extmod" # simply use "Load extmod" if using Nvidia; leave out following 2 lines in that case
Option "omit xfree86-dga"
Identifier "Generic Keyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105" # use your type of keyboard instead; should have been set already
Option "XkbLayout" "be" # use your keyboard layout instead; should have been set already
Section "ServerFlags" # This part can be left out or left at whatever values were generated
Option "AIGLX" "off" # this option is ATI specific
Option "VendorName" "ACR" # replace with name of your monitor
Option "ModelName" "ACER AL1951" # replace with name of your model
HorizSync 30.-82.0 # minimum and maximum horizontal refresh rates; adjust if necessary
VertRefresh 50.0-75.0 # minimum and maximum vertical refresh rates; adjust if necessary
Option "DPMS" "true"