LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Xorg default refresh rate for different resolutions (https://www.linuxquestions.org/questions/linux-software-2/xorg-default-refresh-rate-for-different-resolutions-643170/)

Q.. 05-19-2008 12:38 AM

Xorg default refresh rate for different resolutions
 
At one point Xorg changed behavior of modelines, I think it was Xorg 7.3. I want to set 60hz as the default for various lower resolutions like 640x480 800x600 and 1024x768. By default, I mean what it changes to when you simply run xrandr -s XxY without -r, they are also the first on the list when simply running xrandr. Before, I could do this by setting modelines for each resolution and specifying only those modes in the Screen section. Now it doesn't work. The modes show up, but the highest possible refresh rate is now always the default for each resolution. How could I do what I seek with this newer Xorg?

aus9 05-21-2008 07:22 AM

could you post the sections for your Monitor and screen so we can see what you have pls?

also what distro are you on and do you use KDE gnome or what window manager pls?

Q.. 05-22-2008 12:02 AM

Distro is Fedora 8, using Gnome or Xfce, but honestly I don't think that matters.

The xorg sections are:

Code:

Section "Monitor"

        Option            "RandRRotation" "on"
        Option                "RandRReflection" "on"
        HorizSync        30-82
        VertRefresh        56-76
        Modeline "800x600"  38.22  800 832 912 1024  600 601 604 622  -HSync +Vsync
        Modeline "640x480"  23.86  640 656 720 800  480 481 484 497  -HSync +Vsync
        Identifier  "Monitor0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device    "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth    24
        SubSection "Display"
                Viewport  0 0
                Depth    24
                Modes "1280x1024" "800x600" "640x480"
        EndSubSection
EndSection


aus9 05-22-2008 03:00 AM

honestly if you used kde you could use kde control center that can have its values for screen refresh rates written to xorg.

2) you might try this force
http://www.linuxquestions.org/questi...91#post2365191

ignore the values altho they mention one way of generating modelines xvidtune is another way.

Q.. 05-23-2008 12:21 AM

I have tried all this already. The modes don't get rejected, they just don't get put at the front. Maybe new Xorg is hard coded this way. Also, manually changing rates is not going to work for my intended purpose because the targets run fullscreen. Switch out of full to change, switch back, they go back to the first refresh rate. They must be the default for a res in xorg. Thanks though.

General Failure 05-23-2008 03:30 AM

If I set my Modes like this:
Code:

Modes          "1024x768_85"
I have X running 1024x768 at 85Hz refresh rate. This may be specific to the nvidia driver so YMMV if you're using another driver.

Q.. 05-24-2008 05:20 AM

Oh yes, it's very likely driver related. I'm running the regular "radeon" driver, which apparently sucks just like ati as a whole.


All times are GMT -5. The time now is 07:40 PM.