LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   problems with X and resolutions (https://www.linuxquestions.org/questions/linux-software-2/problems-with-x-and-resolutions-59175/)

Tusnal 05-11-2003 06:01 AM

problems with X and resolutions
 
hi i got some problems with the resolutions....... i use RH9 and i installed a new graphic card some geforce4 mx se 128mb and then ....... when i try to go to the x it just gives me 800x600 and that sux!!!!

well i tried to put it to another one like 1024x768 and nothing i restard X and it gives me 800x600 :S weird!!!! i modify the XF86Config manually and put it there "1024x768" and when i try to go to gdm it gimmes a error and i cant see the X windows so????

some help plz!! thx

Tusnal

MasterC 05-11-2003 06:02 AM

Did you install the Nvidia drivers for Linux from www.nvidia.com ?

Follow the README associated with your driver file and edit your XF86Config accordingly.

Cool

Tusnal 05-14-2003 09:25 AM

hmmmmmmmmm still getting the same problem when i try to go in 1024x768 it doesnt show up and gieves me errors like this:

(EE) NVIDIA(0) no modes remaining for display CRT-0
aborting

so i dunno what happend :S what can i do??

MasterC 05-14-2003 09:47 AM

Can you post up your XF86Config-4 file? That will help us in diagnosing your problem ;)

Cool

Tusnal 05-15-2003 05:27 AM

well i am using RH9 for now and it doenst use XF86Config-4 it use XFree86Config without the (-4) dunno why but it does!!!! anyway in this web is the XF86Config and XFree86.0.log for the problem

http://www.geocities.com/tusnal/tmp/XFree86.0.log
http://www.geocities.com/tusnal/tmp/XF86Config.txt

thx for the help.
Tusnal

MasterC 05-15-2003 05:49 AM

The Screens sections defines the resolution you are running at. The first entry determines "default". So:
Code:

Section "Screen"
        Identifier "Screen AGP"
        Device    "NV AGP"
        Monitor    "Monitor0"
        DefaultDepth    24
        SubSection "Display"
                Depth    16
                Modes    "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth    24
                Modes    "1280x1024" "1280x900" "1024x768"
        EndSubSection

Change:
Code:

SubSection "Display"
                Depth    24
                Modes    "1280x1024" "1280x900" "1024x768"
        EndSubSection

to
Code:

SubSection "Display"
                Depth    24
                Modes    "1024x768" "1280x1024" "1280x900"
        EndSubSection

Since your default depth is defined as "24" that's the entry you should be editing.

Cool

MasterC 05-15-2003 05:56 AM

Also, just reading over the Config file again, it looks wrong...

Try editing this section:
Code:

Section "ServerLayout"
        Identifier    "AGP"
        Screen        "Screen AGP"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "DevInputMice" "AlwaysCore"
EndSection

to this:
Code:

Section "ServerLayout"
        Device    "NV AGP"
        Screen        "Screen AGP"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "DevInputMice" "AlwaysCore"
EndSection

OR
Code:

Section "ServerLayout"
        Identifier    "NV AGP"
        Screen        "Screen AGP"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "DevInputMice" "AlwaysCore"
EndSection

I am not sure which one, but the original just doesn't look right.

Cool

Tusnal 05-15-2003 11:12 AM

ok i will try the that NV APG but the 24 display is ok cuz i edited it to much times and still crashed...... some times i just put:

SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection

and doesnt work so i just gonna try that NV AGP and see what happend ok

thx. Tusnal

davecs 05-15-2003 06:42 PM

I think your problem may lie here:

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Unknown monitor"
>> HorizSync 31.5 - 37.9
>> VertRefresh 50.0 - 70.0

Do you have a Windows dual boot? If so, run your monitor at the desired resolution in Windows, press the menu button on the front of your monitor, and check the Vertical Refresh and Horizontal Sync Rates. For example my monitor runs at 1280x1024 and the Vertical Rate is 75.3Hz, the Horizontal Refresh is 80.3kHz. As you can see, both my figures are outside the range defined in your XF86Config file. In fact your XF86Config file is restricting your monitor to ridiculously low refresh rates. This is what happens when your monitor is not listed and you pick a generic one.

I had a problem with picture instability, so I increased my upper figures on the HorizSync and VertRefresh lines to 81 and 76 respectively and now Linux uses the same rates as Windows and all is well.

If you don't have Windows do you know the claimed figures for your monitor. For example if your monitor is capable of 75Hz, your XF86Config file is restricting it to 70 max, which in effect is 60Hz. Worse, if like my monitor, the Horizontal rate for 60Hz is 64kHz, then your XF86Config file has ruled this out altogether so the system will not be able to run the monitor for you.

It has nothing to do with installing the nVidia drivers: all they do is enable 3D OpenGL mode and improve 2D a bit, but they will not override this setting.

If you do not have a Windows dual boot, you will have to increase the upper limits. However I suspect that with Generic monitors, the defaults are low for a good reason: you don't want your monitor fried! Perhaps you can get the data from the manufacturer. If not, perhaps you can increase the rate in small steps until something works, keeping your fingers crossed as you go!

DAVE

chem1 05-15-2003 06:59 PM

Well,
Its a simple problem; I got it when i installed RH9. All youneed to do is to change your monitor type to

SVGA 1024x 786 @ 70 Hz

and it works perfectly

Hope that helps...

Tusnal 05-16-2003 04:38 AM

well about the dual boot yeah i am using XP too and i installed some refreshtool to make it up to 100.

i got in the windows 1024x768 Hz 100 sorry but i got the windows xp in spanish and when i do right click to the desktop and go to monitor it say "frecuency of refresh or something like that!!! " is 100 Hercios and maybe ... that is problem.

i put some new f86conf here http://www.geocities.com/tusnal/tmp/XF86Config.txt

i dunno what is the problem it is let me go to X i just can see the X in 800x600 i just cant get it!!!!!

Tusnal

MasterC 05-16-2003 04:40 AM

The refresh rate that he is referring to is given by your monitor, not windows. Windows is just the other operating system that you'll go into so your monitor is using the frequency you desire. Then you take that and edit your XF86Config file to show that frequency.

Cool

davecs 05-18-2003 08:43 AM

Sorry Tusnal what I meant was you go into Windows and switch to your favourite resolution. Then you press the button ON YOUR MONITOR and you normally get an on-screen menu, and have to select from a number of options. The one that works for me is a logo with a letter "i" in the middle. When I select that on mine I get a reading which says 80.3kHz 75.3Hz. The one which says Hz is your Vertical refresh rate and the one which says kHz is your Horizontal sync.

Hope that's helpful.

DAVE

Tusnal 05-24-2003 06:36 AM

well i got it working finally i just try everything .... and well the Xf86 file is the same like the old one and it works i just changed the monitor to the SVGA and it works thx all u guys!!!

Tusnal


All times are GMT -5. The time now is 03:27 AM.