Announcement

Collapse
No announcement yet.

EDID and randr1.2 with radeon

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • EDID and randr1.2 with radeon

    Using the radeon driver, it apparently detects my monitor's supported refresh rates with EDID (I think.) At any rate, randr doesn't let me set my refresh rate higher than 85hz, even though my monitor supports 100hz. I could try and add a modline, but I'd like to do this through randr. Is there any way to do that?

  • #2
    Originally posted by TechMage89 View Post
    Using the radeon driver, it apparently detects my monitor's supported refresh rates with EDID (I think.) At any rate, randr doesn't let me set my refresh rate higher than 85hz, even though my monitor supports 100hz. I could try and add a modline, but I'd like to do this through randr. Is there any way to do that?
    you can add arbitrary modelines with xrandr:
    xrandr --newmode <modeline>
    xrandr --addmode <output> <modename>
    xrandr --output <output> --mode <modename>

    for example to add 1024x768@100Hz to the VGA port:

    xrandr --newmode "1024x768_100.00" 112.25 1024 1096 1200 1376 768 771 775 816 -hsync +vsync
    xrandr --addmode VGA-0 "1024x768_100.00"
    xrandr --output VGA-0 --mode "1024x768_100.00"

    see xrandr --help for more.

    Comment


    • #3
      When I try to do something similar and I get to

      :~$ xrandr --addmode VGA_1 "1440x900_75.00"
      X Error of failed request: BadMatch (invalid parameter attributes)
      Major opcode of failed request: 155 (RANDR)
      Minor opcode of failed request: 18 ()
      Serial number of failed request: 16
      Current serial number in output stream: 17

      What does it mean?

      Comment


      • #4
        Originally posted by sundown View Post
        When I try to do something similar and I get to

        :~$ xrandr --addmode VGA_1 "1440x900_75.00"
        X Error of failed request: BadMatch (invalid parameter attributes)
        Major opcode of failed request: 155 (RANDR)
        Minor opcode of failed request: 18 ()
        Serial number of failed request: 16
        Current serial number in output stream: 17

        What does it mean?
        Did you define "1440x900_75.00" using --newmode?

        Comment


        • #5
          Originally posted by agd5f View Post
          Did you define "1440x900_75.00" using --newmode?
          Sure, I did: xrandr --newmode "1440x900_75.00" 136.49 1440 1536 1688 1936 900 901 904 940 -HSync +Vsync

          Then, I ran the xrandr command to see what it says and it does say at the bottom of all the information provided:
          Code:
          1440x900_75.00 (0x63)  136.5MHz
                  h: width  1440 start 1536 end 1688 total 1936 skew    0 clock   70.5KHz
                  v: height  900 start  901 end  904 total  940           clock   75.0Hz
          Previously that would not appear prior to running the --newmode command, meaning it did something, but than fails with the --addmode

          Comment


          • #6
            Originally posted by sundown View Post
            Sure, I did: xrandr --newmode "1440x900_75.00" 136.49 1440 1536 1688 1936 900 901 904 940 -HSync +Vsync

            Then, I ran the xrandr command to see what it says and it does say at the bottom of all the information provided:
            Code:
            1440x900_75.00 (0x63)  136.5MHz
                    h: width  1440 start 1536 end 1688 total 1936 skew    0 clock   70.5KHz
                    v: height  900 start  901 end  904 total  940           clock   75.0Hz
            Previously that would not appear prior to running the --newmode command, meaning it did something, but than fails with the --addmode
            Are you sure output name is VGA_1? On radeon it's VGA-0 or VGA-1 depending on how many VGA ports you have.

            Comment


            • #7
              Oh sorry, I was doing this on the wrong driver

              OMG it worked... I can't believe I'm running in 75hz I've been dreaming for this for soooo long Thanks a lot.
              How can I memorize this for the system?
              Last edited by sundown; 05-17-2008, 03:20 PM.

              Comment


              • #8
                Originally posted by sundown View Post
                Oh sorry, I was doing this on the wrong driver

                OMG it worked... I can't believe I'm running in 75hz I've been dreaming for this for soooo long Thanks a lot.
                How can I memorize this for the system?
                Add a monitor section and associate it with the output in question then add these to your monitor section:
                Modeline "1440x900_75.00" 136.49 1440 1536 1688 1936 900 901 904 940 -HSync +Vsync
                Option "PerferredMode" "1440x900_75.00"

                See this page for more:
                http://www.intellinuxgraphics.org/dualhead.html

                Comment


                • #9
                  Thanks.

                  I found this easier for understanding http://wiki.debian.org/XStrikeForce/HowToRandR12

                  Comment


                  • #10
                    how do I make this change persistant? The mode doesn't keep over a reboot, and I always want to be at 100hz.

                    Comment


                    • #11
                      Originally posted by TechMage89 View Post
                      Using the radeon driver, it apparently detects my monitor's supported refresh rates with EDID (I think.) At any rate, randr doesn't let me set my refresh rate higher than 85hz, even though my monitor supports 100hz. I could try and add a modline, but I'd like to do this through randr. Is there any way to do that?
                      If you actually want to see the EDID settings, run the command startx -- -logverbose 5 from the console. The EDID information should be in /var/log/Xorg.0.log (or /var/log/XFree86.0.log).

                      On my amd64 box I get something like this:

                      Code:
                       --- EDID for Philips 170S (CRT-0) ---
                      
                       EDID Version                 : 1.3
                       Manufacturer                 : PHL
                       Monitor Name                 : Philips 170S
                       Product ID                   : 2078
                       32-bit Serial Number         : 693129
                       Serial Number String         :  CF  693129
                       Manufacture Date             : 2003, week 32
                       DPMS Capabilities            : Standby Suspend Active Off
                       Prefer first detailed timing : Yes
                       Supports GTF                 : No
                       Maximum Image Size           : 340mm x 270mm
                       Valid HSync Range            : 30.0 kHz - 82.0 kHz
                       Valid VRefresh Range         : 56 Hz - 76 Hz
                       EDID maximum pixel clock     : 140.0 MHz
                       
                       Established Timings:
                         640  x 480  @ 60 Hz
                         640  x 480  @ 72 Hz
                         640  x 480  @ 75 Hz
                         800  x 600  @ 56 Hz
                         800  x 600  @ 60 Hz
                         800  x 600  @ 72 Hz
                         800  x 600  @ 75 Hz
                         1024 x 768  @ 60 Hz
                         1024 x 768  @ 70 Hz
                         1024 x 768  @ 75 Hz
                         1280 x 1024 @ 75 Hz
                       
                       Standard Timings:
                         1152 x 864  @ 70 Hz
                         1152 x 864  @ 75 Hz
                         1280 x 960  @ 60 Hz
                       
                       Detailed Timings:
                         1280 x 1024 @ 60 Hz
                           Pixel Clock      : 108.00 MHz
                           HRes, HSyncStart : 1280, 1328
                           HSyncEnd, HTotal : 1440, 1688
                           VRes, VSyncStart : 1024, 1025
                           VSyncEnd, VTotal : 1028, 1066
                           H/V Polarity     : +/+
                       
                       --- End of EDID for Philips 170S (CRT-0) ---

                      Comment


                      • #12
                        Is it possible to get the edid data on amd64 without starting x? The reason I'm asking is becouse I use a livecd as a thin client for various amd64 boxes. Some of them use ati hardware, a few use nvidia, and one or two use intel hardware. Some of the clients are using crt's, a few are using 4x3 lcd's, but most of them are using 16x10 lcd's

                        Right now I have the livecd setupo to delete the xorg.conf, and then run X -configure, then copy the generated xorg.conf to /etc/X11/xorg.conf. This works pretty good, though it doesnt allow non-standard resolutions to be set, and it adds a few flickers to the startup..

                        So there has to be some way on an amd64 box before xorg starts to get the edid data? Is there?

                        Comment


                        • #13
                          Basically you dont need to setup any res or H/V sync. Everything that is not preset is used from EDID. You can use options to write those values too. Thats how I use it.

                          Comment


                          • #14
                            Originally posted by duby229 View Post
                            Is it possible to get the edid data on amd64 without starting x?
                            Some of the clients are using crt's, a few are using 4x3 lcd's, but most of them are using 16x10 lcd's

                            Just use the X environment of the livecd.

                            If I understand you correctly, the livecd can at least attempt to start X for your screen (one of the crt's, 4x3 lcd's, 16x10 lcd's), so just take a look at /var/log/Xorg.0.log "on the livecd."

                            Even if X does not start, it will still leave a log.

                            You can find a list of known good modelines here:

                            http://linuxhelp.150m.com/resources/modelines.htm
                            http://linux.50webs.org/resources/modelines.htm
                            Last edited by Jade; 05-26-2008, 09:18 AM.

                            Comment


                            • #15
                              Originally posted by duby229 View Post
                              Is it possible to get the edid data on amd64 without starting x?
                              Was my suggestion of any help?

                              Comment

                              Working...
                              X