AuthorTopic: Monotor resolution problem. (Read 13425 times)

I've seriously started to be Linux guy. Got vectorlinux 5.8 Gold installed and had many positive surprises from this! but I'm struck with an irritating problem.

During installation final steps I'm asked to select monitor resolution. I'm selecting all kinds of resolutions (during installation) to get the best resolution for my 19'' wide screen LCD monitor. Each wrong resolution selection is leading me with 'out of range' message on my monitor, and I'm starting with a fresh installation again to experiment with new resolution.

Now I'm in 1280x1024. The whole display seems to be stretched horizontally. I've selected 'standard LCD' option while installation to get this. I've learnt that the configuration information is put in /etc/x11/xorg.conf file. I can only stare at that file, as I know nothing about it.

Modes "1280x1024" "1024x768" "800x600" "640x480"Save the file, close your programs and start / restart the X server (Ctrl+Alt+Backspace).If you still are unable to login into the gui, you will need to find the proper Horizontal Sync and Vertical refresh rates from your monitor manual and edit the section which looks like this:

A final note: a complete reinstall is too much for a resolution problem . If you have troubles with your xorg.conf you always can login in tui mode as root and replace your bad xorg.conf with the vesa provided:

I've edited the file in root mode, and put "1440x900" (best view for my LCD screen). The horizontal and vertical frequencies said in the LCD manual are 80KHz and 75Hz. This is what is in my conf file.

HorizSync 24-82VertRefresh 50-75

So think it is well in range. [ctrl]+[alt]+[backspace] did restart the X server, but now I'm getting standard 800x600 display ([settings manager] -> [display]).

This does'nt appear stretched, but my 19'' screen is being under utilized!

I've tried a system restart, but still the same 800x600. I've copied all the text in the vesa file to the conf file (using 'mousepad' and not 'tui' as suggested), and restarted X Server and the system also, but still the same 800x600! I've copied back the backup of the conf file that I already put on root's desktop (with 'mousepad') and restarted X Server and the system, but still the same 800x600!

Is ok to use any text editor of your choice. You can use tui mode if you can't get a gui , but is not necessary to use tui. Please post the output of the lspci command as root, that will give us the exact info about your video card, and

root:# cat /etc/X11/xorg.conf### A Minimum X-Window Configuration With VESA driver### Originally generated using "Xorg -configure" then edited by hand### PLEASE DO NOT MODIFY OR REMOVE THIS FILE## This is a working xorg.conf that can be configured by vxconf# Items that might be modified are marked like this# item value ## ITEM_MARKING# Please, do not play with the marking. Anything else is your's.# Thanks## Eko M. Budi, for Vector Linux#

# Baudrate and SampleRate are only for some Logitech mice. In# almost every case these lines should be omitted.# Option "BaudRate" "9600"# Option "SampleRate" "150"# ChordMiddle is an option for some 3-button Logitech mice# Option "ChordMiddle"

That is the vesa xorg. You can't get your desired resolution with that file. Go back to the other one. If you lost it, use vxconf to generate another. Edit it as we did before. To explain a little: to get a resolution you need three things, a monitor capable of that resolution, same for the video card, and same for the driver. If you post the output of the lspci command we can know what kind of videocard you have, and which is the better driver for it, so you can get the best possible performance and features.

Logged

"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."Jorge Luis Borges, Avatars of the Tortoise. --Jumalauta!!

I'm back with new interesting inputs with me. (what is ISPCI? I'm new to Linux, can you please elaborate on this?)

and here is the problem... I think 'mousepad' is writing data to the conf file in a different character set than the one in which the original conf file is written.

Modes "1024x768" "800x600" "640x480" ## SCREEN_MODES

I dont know what and how but, when I go with [ctrl]+[h] in 'mousepad' and type in the first value in the 'replace' box as "1024x768" and "1440x900" in the second text box and replace all occurances, followed by [ctrl]+[alt]+[backspace]; Linux starts in 800x600 resolution (now the screen mode would be Modes "1440x900" "800x600" "640x480" ## SCREEN_MODES). Next I replace "800x600" by "1152x864" else by typing in values in the 'replace' box and go with [ctrl]+[alt]+[backspace], then Linux starts in "640x480" mode (now the screen mode would be Modes "1440x900" "1152x864" "640x480" ## SCREEN_MODES).

This time, instead of typing in the values in 'replace' box I pasted "640x480" of the conf file in both the boxes, and formed back the following by usingthe 'x' of that "640x480"

Modes "1280x1024" "800x600" "640x480" ## SCREEN_MODES

and [ctrl]+[alt]+[backspace]. Surprisingly I get back my "1280x1024" display.

However Linux did not display "1440x900" display when formed with this trick.

ps: Linux did not display 1024x768 on my 15'' CRT, it could max show me 800x600; so, I think, with 1440x900 as max resolution, may be I should settle down to this 1280x1024.

It is lspci (lowercase "L"), you run it as root and will list all the hardware connected to the motherboard trhough the pci system. lspci -v gives more detailed info, it is very useful. Sorry I never use mousepad, you could try medit instead. You are using the "Vesa" driver now, which is great but can't display your resolution.I don't think that problem with the CRT or this one is unbearable, but yes a driver problem, as I said, we need to find the better one for your video card. Lets see finally that lspci output

Logged

"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."Jorge Luis Borges, Avatars of the Tortoise. --Jumalauta!!

Changed to "via" and the screen mode is Modes "1440x900" "1280x1024" "800x600" "640x480" ## SCREEN_MODESafter X Server/ system restart I still find display stretched, but I have a doubt, [settings manager]->[display] says 'default' resolution is being displayed, but how to know what is that default resolution value?

Shall I manually install this, or there a way to install it through the GSlapt package manager? because I've already installed seamonkey manually which the gslapt package manager does not know about. Can the GSlapt package manager uninstall manual installations? I'm a newbie and am asking this to ensure that I can restore back to original if at all this driver fails.