Announcement

Collapse
No announcement yet.

cant disable randr

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

  • cant disable randr

    Hi

    If I plug in my external monitor on my 5850 card it only shows up in 1600x1200. If I restart X with the cable in I get the full 1920x1200.

    I tried to disable xrandr to debug this, but it doesn't seem to have any effect.


    # grep -i randr /etc/ati/amdpcsdb /etc/X11/xorg.conf
    /etc/ati/amdpcsdb:EnableRandR12=SFALSE
    /etc/X11/xorg.conf: Option "EnableRandR12" "false"

    What am I missing?


    xorg.log says this:
    Code:
    [   674.546] (II) fglrx(0): RandR 1.2 support is enabled!
    [   674.546] (II) fglrx(0): RandR 1.2 rotation support is enabled!
    [   674.768] (WW) fglrx(0): Option "EnableRandR12" is not used
    [   674.768] (II) fglrx(0): Disabling in-server RandR and enabling in-driver RandR 1.2.
    [   676.061] (--) RandR disabled
    [   676.061] (II) Initializing built-in extension RANDR
    [   678.225] (II) fglrx(0): Restoring Recent Mode via PCS is not supported in RANDR 1.2 capable environments

  • #2
    Originally posted by neuron View Post
    If I plug in my external monitor on my 5850 card it only shows up in 1600x1200.
    AFAIK it shouldn't show up at all unless it's specifically activated. Do you have some tool running that activates the external monitor?

    can you paste the xrandr output
    a) before plugging in the monitor
    b) after plugging in the monitor
    c) when booting with monitor plugged in
    ?

    I don't think killing xrandr will get you anywhere

    Comment


    • #3
      AFAIK the use of RandR was optional for a while after introduction but it stopped being optional a few releases back.
      Test signature

      Comment


      • #4
        Originally posted by rohcQaH View Post
        AFAIK it shouldn't show up at all unless it's specifically activated. Do you have some tool running that activates the external monitor?
        I actually think fglrx automatically activates external monitors, when hotplugged or coldplugged.

        Comment


        • #5
          It does auto detect, and the resolutions come from xrandr.

          I even get a hotplug event triggered (which is very nice), with some information that it can't auto set the resolution, because that's not supported when on xrandr. (I'm guessing xrandr is supposed to do it, but fails somewhere else).

          Sucks that I can't turn it off to test :/. I can't add a modeline manually either (with xrandr --newmode anyway), it just fails with an xorg error :/

          Comment


          • #6
            plug in and out with screen connected on X start:
            Code:
            [ 17807.554] (II) fglrx(0): EDID vendor "DEL", prod id 40983
            [ 17807.554] (II) fglrx(0): Using hsync ranges from config file
            [ 17807.554] (II) fglrx(0): Using vrefresh ranges from config file
            [ 17807.555] (II) fglrx(0): Printing DDC gathered Modelines:
            [ 17807.555] (II) fglrx(0): Modeline "1920x1200"x0.0  154.00  1920 1968 2000 2080  1200 1203 1209 1235 +hsync -vsync (74.0 kHz)
            [ 17807.555] (II) fglrx(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz)
            [ 17807.555] (II) fglrx(0): Modeline "640x480"x0.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz)
            [ 17807.555] (II) fglrx(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz)
            [ 17807.555] (II) fglrx(0): Modeline "720x400"x0.0   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz)
            [ 17807.555] (II) fglrx(0): Modeline "1280x1024"x0.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz)
            [ 17807.555] (II) fglrx(0): Modeline "1024x768"x0.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz)
            [ 17807.555] (II) fglrx(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
            [ 17807.555] (II) fglrx(0): Modeline "800x600"x0.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz)
            [ 17807.555] (II) fglrx(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz)
            [ 17807.555] (II) fglrx(0): Modeline "1600x1200"x0.0  162.00  1600 1664 1856 2160  1200 1201 1204 1250 +hsync +vsync (75.0 kHz)
            [ 17807.555] (II) fglrx(0): Modeline "1152x864"x0.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz)
            [ 17807.555] (II) fglrx(0): Modeline "1680x1050"x0.0  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync (64.7 kHz)
            [ 17807.562] (II) fglrx(0): xdl_x760_atiddxDisplayScreenEnableDisplays
            [ 18194.526] (II) fglrx(0): Hot-plug event occurs on device: 2:0:0 
            [ 18207.570] (II) fglrx(0): Hot-plug event occurs on device: 2:0:0
            and with screen connected after X start:
            Code:
            [ 18342.738] (II) fglrx(0): Hot-plug event occurs on device: 2:0:0 
            [ 18343.279] (II) fglrx(0): EDID vendor "LGD", prod id 524
            [ 18343.279] (II) fglrx(0): Printing DDC gathered Modelines:
            [ 18343.279] (II) fglrx(0): Modeline "1600x900"x0.0   97.75  1600 1648 1680 1760  900 903 908 926 +hsync -vsync (55.5 kHz)
            [ 18343.297] (II) fglrx(0): xdl_x760_atiddxDisplayScreenEnableDisplays
            [ 18343.915] (II) fglrx(0): EDID vendor "LGD", prod id 524
            [ 18343.915] (II) fglrx(0): Printing DDC gathered Modelines:
            [ 18343.915] (II) fglrx(0): Modeline "1600x900"x0.0   97.75  1600 1648 1680 1760  900 903 908 926 +hsync -vsync (55.5 kHz)
            [ 18343.925] (II) fglrx(0): EDID vendor "LGD", prod id 524
            [ 18343.925] (II) fglrx(0): Printing DDC gathered Modelines:
            [ 18343.925] (II) fglrx(0): Modeline "1600x900"x0.0   97.75  1600 1648 1680 1760  900 903 908 926 +hsync -vsync (55.5 kHz)
            [ 18343.957] (II) fglrx(0): EDID vendor "LGD", prod id 524
            [ 18343.957] (II) fglrx(0): Printing DDC gathered Modelines:
            [ 18343.957] (II) fglrx(0): Modeline "1600x900"x0.0   97.75  1600 1648 1680 1760  900 903 908 926 +hsync -vsync (55.5 kHz)
            [ 18343.976] (II) fglrx(0): EDID vendor "LGD", prod id 524
            [ 18343.977] (II) fglrx(0): Printing DDC gathered Modelines:
            [ 18343.977] (II) fglrx(0): Modeline "1600x900"x0.0   97.75  1600 1648 1680 1760  900 903 908 926 +hsync -vsync (55.5 kHz)
            LGD is the laptop internal monitor. When I plugin the screen with a displaylink cable it seems to use the laptop monitor's edid when enabling tvout.

            Where do I report this?

            Comment


            • #7
              Solved by setting up my screen section like this:
              Code:
              Section "Screen"
              	Identifier "aticonfig-Screen[0]-0"
              	Device     "aticonfig-Device[0]-0"
              	Monitor    "aticonfig-Monitor[0]-0"
              	DefaultDepth     24
              	SubSection "Display"
              		Viewport   0 0
              		Depth     24
              		Virtual	2048 2048
              	EndSubSection
              EndSection
              The Virtual was too small for xrandr to be able to set it.

              I tried to work around the problem by using xrandr --addmode with the exact timings that fglrx gave me. It worked, but when I tried to change to that mode in xrandr it said the virtual size was too small. And allowed me to fix it.

              It should still be reported somewhere though, as there's no warnings in the Xorg.0.log or anything like that to help troubleshoot this. And I'd imagine it'd be a quite normal problem.

              Comment


              • #8
                Originally posted by tball View Post
                I actually think fglrx automatically activates external monitors, when hotplugged or coldplugged.
                What kind of crazy fglrx do you have? Mine doesn't do anything like that.

                Comment


                • #9
                  That's more a problem of the X server, X server up to 1.4 needed Virtual overrides, newer ones should not need that.

                  Comment


                  • #10
                    Also worth mentioning that not all display adapters gets a hardware event when you plug in for example VGA cables.

                    Comment

                    Working...
                    X