Click to See Complete Forum and Search --> : I can do it in windows... Whats wrong with linux? resolutions above 800x600...
hamking
09-30-2001, 01:37 AM
For some reason in linux I can't change the resolution above 800x600. Everytime I try to go above this (1024x786... or somthing like that) the screen goes all frizzy wizzy on me. I don't have any problems running that res. in windows2000.
I have a Gforce 2 GTS 32mb and the nvidia drivers are installed for it. Soldier of Forture runs pretty slick...
anywho... I just want to know how I can bump my res up to that and still be able to see the screen clearly. Linux looks all big and blocky after I've been using win2000 for extended periods of time. Thanks
Craig McPherson
09-30-2001, 11:51 AM
Probably you've specified your sync rates wrong. That's probably the hardest part of getting your monitor to run at a decent resolution. Try to dig up your monitor manual, or look up the sync rates on your Internet. Post your XF86Config file here if you still need help.
I know some good monitors can report to the system a list of every mode and sync rate the monitor can support. Windows 2000 can use this list to give you a list of supported modes and rates, but I don't think any other Windows can, and I don't think any such software support has been developed for use with X.
hamking
09-30-2001, 06:07 PM
Ok, I found the manual for it on the webpage.
Its an NEC MultiSync XV17+http://www.necmitsubishi.com/css/knowledgebase. cfm?knowbase=http://support.necmitsubishi.com/nec/XVseries/xv1745/index.htm (http://www.necmitsubishi.com/css/knowledgebase.cfm?knowbase=http://support.necmitsubishi.com/nec/XVseries/xv1745/index.htm)
Its says that the recommended res is 1024x768 @ 75hz
Now, how can I incorporate that into my XF86Config? here it is:
Section "Module"
Load "glx"
Load "type1"
Load "speedo"
Load "extmod"
Load "freetype"
EndSection
Section "InputDevice"
Driver "keyboard"
Identifier "Keyboard[0]"
Option "Protocol" "Standard"
Option "XkbLayout" "us"
Option "XkbModel" "pc104"
Option "XkbRules" "xfree86"
Option "XkbVariant" "nodeadkeys"
EndSection
Section "InputDevice"
Driver "mouse"
Identifier "Mouse[1]"
Option "Device" "/dev/mouse"
Option "InputFashion" "Mouse"
Option "Name" "WHEEL MOUSE (PS/2)"
Option "Protocol" "IMPS/2"
Option "Vendor" "MICROSOFT"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
HorizSync 31-82
Identifier "Monitor[0]"
ModelName "XV17+"
VendorName "NEC"
VertRefresh 55-100
UseModes "Modes[0]"
EndSection
Section "Modes"
Identifier "Modes[0]"
Modeline "640x480" 23.96 640 656 720 864 480 480 484 501
Modeline "640x480" 27.96 640 656 720 864 480 480 490 501
Modeline "640x480" 31.95 640 656 720 864 480 480 490 501
Modeline "640x480" 35.94 640 656 720 864 480 480 490 501
Modeline "800x600" 43.68 800 832 944 1024 600 600 610 626
Modeline "800x600" 49.92 800 832 944 1024 600 600 610 626
Modeline "800x600" 56.16 800 832 944 1024 600 600 610 626
EndSection
Section "Screen"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "800x600"
EndSubSection
SubSection "Display"
Depth 8
Modes "640x480"
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
Option "NvAgp" "3"
EndSection
Section "Device"
BoardName "GeForce-2"
Driver "nvidia"
Identifier "Device[0]"
Screen 0
VendorName "Nvidia"
EndSection
Section "ServerLayout"
Identifier "Layout[all]"
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
Option "Xinerama" "off"
Screen "Screen[0]"
EndSection
Section "DRI"
Group "video"
Mode 0660
EndSection
Thanks
rattus
09-30-2001, 06:24 PM
read-edid (http://web.onetel.net.uk/~elephant/john/programs/linux/read-edid/) is a little proggie that can sometimes help sorting out modeline problems (which is what you have)
X wont do 1024x768 properly because you haven't told it how you want it to do it with your monitor - I had a monitor that worked in damn near every resolution _except_ 800x600, 'til I sorted a modeline for 800x600.
For a fairly in-depth disuccsion of this issue check out this doozy by ESR at linuxdoc (http://www.linuxdoc.org/HOWTO/XFree86-Video-Timings-HOWTO/index.html), which may be available on your machine at /usr/share/doc/HOWTO/en-html/XFree86-Video-Timings-HOWTO.html
Please, take a good look at this page (http://www.linuxdoc.org/HOWTO/XFree86-Video-Timings-HOWTO/obsolete.html), which explains that if your running XFree86 >= 4.0, you simply have to tell your X that you want whatever 1024x768 mode edid says it can do.
HTH
hamking
09-30-2001, 09:10 PM
ok That worked, now, how to I enter the info into XF86Config?
Example:
Modeline "800x600" 43.68 800 832 944 1024 600 600 610 626
Modeline "800x600" 49.92 800 832 944 1024 600 600 610 626
Modeline "800x600" 56.16 800 832 944 1024 600 600 610 626
now, whats this information?
"800x600" <-screen res... I got that
43.68 <- this is??? there are 3 lines, and this is the only # that changes.
800 832 944 1024 <- ok these are the HTimings
600 600 610 626 <- and these are the VTimings
I'll post the output from "read-edid" so you can help me put together a modeline
# EDID version 1 revision 0
Section "Monitor"
Identifier "NEC:bc43"
VendorName "NEC"
ModelName "NEC:bc43"
# DPMS capabilities: Active off:yes Suspend:yes Standby:yes
Mode "720x400" # vfreq 70.082Hz, hfreq 31.467kHz
DotClock 28.320000
HTimings 720 738 846 900
VTimings 400 412 414 449
Flags "+HSync" "-VSync"
EndMode
Mode "1024x768" # vfreq 76.029Hz, hfreq 60.976kHz
DotClock 80.000000
HTimings 1024 1048 1144 1312
VTimings 768 768 770 802
Flags "-HSync" "-VSync"
EndMode
Mode "640x480" # vfreq 75.000Hz, hfreq 37.500kHz
DotClock 31.500000
HTimings 640 656 720 840
VTimings 480 481 484 500
Flags "-HSync" "-VSync"
EndMode
Mode "800x600" # vfreq 75.000Hz, hfreq 46.875kHz
DotClock 49.500000
HTimings 800 816 896 1056
VTimings 600 601 604 625
Flags "-HSync" "-VSync"
EndMode
EndSection
Ok, all I need to do is put together another modeline, enter it into XF86Config and I'm set... right?
thanks for your help so far
rattus
09-30-2001, 09:42 PM
now, whats this information?
"800x600" <-screen res... I got that
43.68 <- this is??? there are 3 lines, and this is the only # that changes.
That's the dot-clock for the modeline. Based on this output from read-edid
Mode "1024x768" # vfreq 76.029Hz, hfreq 60.976kHz
DotClock 80.000000
HTimings 1024 1048 1144 1312
VTimings 768 768 770 802
Flags "-HSync" "-VSync"
EndMode
the modeline would look like:
Modeline "1024x768" 80.00 1024 1048 1144 1312 768 768 770 802 I remember that there is a way to put the -Hsync and -Vsync flags in, but I don't remember how (man XF86Config ?) and I don't think it's necessary.
Now, we've established that your monitor and video card respond to the edid stuff - and your running XFree86 >= 4.0 ('cos you've got a dri line in there) - according to ESR (http://www.linuxdoc.org/HOWTO/XFree86-Video-Timings-HOWTO/obsolete.html) you don't need modelines at _all_.
I'd delete the modeline entries you've got using your favourite editor (I like to use emacs to edit text, but then I like using a steamroller to crack eggs) and edit this section
Section "Screen"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "800x600"
EndSubSection
SubSection "Display"
Depth 8
Modes "640x480"
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
Option "NvAgp" "3"
EndSection
to read Section "Screen"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
Option "NvAgp" "3"
EndSection
Although I'm not sure about the "NvAgp" option - what does that do?
One thing to check - the distro's I've used _don't_ use XF86Config to control XFree86 4.x - are you sure you shouldn't be working with /etc/X11/XF86Config-4 ? It's possible that the reason nothings working properly is because you're working on the wrong file :rolleyes:
hamking
09-30-2001, 11:39 PM
The "NvAgp" "3" is the agp support for my gforce 2.
For some reason I dont have a XF86Config-4 file. I tried to locate it, and I don't even have one on my system. The config file that I am using has been generated by sax:
#--------#
# »» SaX generated XFree86 config file ««
# Copyright (c) 2000 SuSE GmbH Nuernberg, All rights reserved.
#
# Version: 4.1
# Contact: Marcus Schaefer <sax@suse.de>, 2000
#
# this file has been created from SaX version 4.1
# Please do not edit this file, changes may be lost the
# next time using SaX
I guess i'm not using xfree86-4... or am I? is there a way to find out what I'm running? I have suse7.1, and it says on the outside of the box: XFree86 4.0.2
If i don't have it running, should I just install it off the cd?
rattus
10-01-2001, 12:27 AM
IIRC (and I'm writing this from a losedoze box, so I can't check until this evening) Xfree86 -version will tell you which XFree version you're running (note, I may have got the case wrong on that commandline)
I'd be very surprised if it's not 4.x - particularly with a program generated config file that includes some 4.x only commands.
I'm afraid that I haven't used SUSE - so I can't give better advice. I'd pretty much ignore the "please don't edit this file" bit - hey, it means if you munge it, you can run sax to get back to what you've got now ;)
I'd just give it a go - you'll either have to su or login as root, and I'd do it from a console virtual terminal (ctrl-alt-F2 will get you to tty2 - or would on all the distro's I have used), but I don't know what console based editor(s) you'll have installed.
How do you normally edit text files?
Joeri Sebrechts
10-01-2001, 06:26 AM
Originally posted by hamking:
<STRONG>For some reason in linux I can't change the resolution above 800x600. Everytime I try to go above this (1024x786... or somthing like that) the screen goes all frizzy wizzy on me. I don't have any problems running that res. in windows2000.
I have a Gforce 2 GTS 32mb and the nvidia drivers are installed for it. Soldier of Forture runs pretty slick...
anywho... I just want to know how I can bump my res up to that and still be able to see the screen clearly. Linux looks all big and blocky after I've been using win2000 for extended periods of time. Thanks</STRONG>
What you can try is to make a backup copy of your XF86Config file, perhaps delete it so Xfree doesn't get confused by it's presence, and to run as root, from the shell
XFree86 -configure
This should write out a new XF86Config file with everything your graphics card / monitor combo can support. Since your hardware is recent but not too recent this should work.
Anyway, it worked on my Matrox Millenium II / Nokia 449M combination. I didn't even have to run xvidtune or anything. It was all perfectly configured from the first try.
I remember when I was running caldera openlinux 1.2, with this ancient xfree 3.x, that didn't recognize my matrox card yet (although support was planned, at least that's what the web told me). And I remember the extatic feeling I got after finally getting a modeline that gave me 8 bits 640*480 (because the only thing I got was 320*240).
Now I'm running true colour 1024*768 on the exact same hardware. Funny how things change.
Too bad the same thing doesn't happen with my old laptop (damn fixed res lcd screens, grumble grumble)