CentOS, radeon driver, dual monitor, fun (NOT)]

Alex Deucher alexdeucher at gmail.com
Fri Apr 26 08:10:05 PDT 2013


On Fri, Apr 26, 2013 at 10:56 AM,  <m.roth at 5-cent.us> wrote:
> Alex Deucher wrote:
>> On Fri, Apr 26, 2013 at 10:26 AM,  <m.roth at 5-cent.us> wrote:
>>> Well, I posted this a week ago. Does *anyone* have any suggestions as to
>>> what I need to do with my xorg.conf to get my user back to normal?
> <snip>
>> Did you try Dave's suggestion?  Does it work correctly using randr
>> before you try the legacy screen based multi-head setup?
>>
> Which was that, to try to bring up X with no xorg.conf file? I did that
> days before I posted; that was an obvious thing to try. No, that didn't
> work, it left me, IIRC, with one screen. Xorg --configure reported it had
> failed, showed four monitors (?), and left me with both lit, but one
> completely unreachable.

Bring up X without an xorg.conf and use xrandr or the gnome monitors
control panel to enable multi-head.  E.g.,
xrandr --auto
xrandr --output DisplayPort-0 --right-of DisplayPort-1
etc.

Make sure that works first before trying to use zaphod mode.

Post the output of xandr without an xorg.conf here if that doesn't work.

Alex

>
> Right now, so he can work, I've got it using xrandr, xinerama off, and he
> can drag a mouse between windows, but cannot drag anything else between
> them.
>
> And if the problem with xinerama wasn't clear, here's some ascii art:
>
>        _________  _________
>        | |      | | |      |
>        | |      | | |      |
>        | |      | | |      |
>        | |______| | |______|
>        |________| |________|
>
> That's what it looks like after moving the mouse around, with the "L"
> black, and offscreen. Again, using a mouse, we can move it up and down, so
> as to see the whole screen, but cannot move the mouse right to push the
> screen back to the left.
>
> This is what I meant about it looking as though the viewport, or whatever
> the correct X term is, is larger than the screen, though I can't imagine
> why. I've also tried putting in the absolute offset, and that makes no
> difference.
>
>        mark
>> Alex
>>
>>>
>>>       mark
>>>
>>> ---------------------------- Original Message
>>> ----------------------------
>>> Subject: CentOS, radeon driver, dual monitor, fun (NOT)
>>> From:    m.roth at 5-cent.us
>>> Date:    Fri, April 19, 2013 14:56
>>> To:      xorg at lists.x.org
>>> --------------------------------------------------------------------------
>>>
>>> I've just joined the list in desperation, after days of fighting this.
>>>
>>> The ati & radeon drivers in CentOS (== RHEL) 6.4 are what I need to use,
>>> since neither kmod-fglrx nor the proprietary drivers from AMD/ATI have
>>> now
>>> dropped all support for "older" cards. My user has an Advanced Micro
>>> Devices [AMD] nee ATI RV620 [FirePro 2260] card, which is among those no
>>> longer supported (and it was in a machine we got in Nov!).
>>>
>>> Here's the problem: he's got two monitors. Like the rest of us, and as
>>> he
>>> was doing, he wants them side-by-side, like one large screen. I've tried
>>> Xorg --configure, which failed, and I've handcrafted some. The two best
>>> I've gotten give us a choice:
>>>    a) I can enable xinerama, which I gather is xor with randr. In that
>>> case, we
>>>          get what we want... EXCEPT that you can drag things offmonitor.
>>> and if
>>>          go a tad too far, what you wind up where you can move it up and
>>> down,
>>>          off monitor, but the whole thing moves right, and won't come
>>> back. The
>>>          result is an "L" of black; in ascii art,
>>>                   ________   _________
>>>                   |B|     |  |B|      |
>>>                   |B|     |  |B|      |
>>>                   |B|     |  |B|      |
>>>                   |B|     |  |B|      |
>>>                   |BBBBBBB|  |BBBBBBBB|
>>>                   ---------   ---------
>>>    b) I can disable xinerama, in which case we can drag the mouse from
>>>        monitor to monitor, but once logged in, you cannot drag a
>>> *window*
>>>        from one to the other, and they seem to almost be like two
>>> sessions,
>>>        with slightly different menus (he's using gnome; I installed the
>>>        gconf-editor, and disabled the xrandr plugin for gnome, so what I
>>>        get is all my xorg.conf file.
>>>
>>> The latter xorg.conf is as follows:
>>> Section "ServerFlags"
>>>     Option        "AllowMouseOpenFail" "true"
>>> EndSection
>>> <snip> of files, and input device>
>>> Section "Module"
>>>         Load  "glx"
>>> EndSection
>>>
>>> Section       "Device"
>>>   Identifier  "mycard0"
>>>   Driver      "radeon"
>>>   BusID       "PCI:2:0:0"
>>>   Screen      0
>>> EndSection
>>>
>>> Section       "Device"
>>>   Identifier  "mycard1"
>>>   Driver      "radeon"
>>>   BusID       "PCI:2:0:0"
>>>   Screen      1
>>> EndSection
>>>
>>> Section       "Monitor"
>>>   Identifier  "mymon0"
>>>   Option      "Monitor-DisplayPort-0"
>>>   Option      "Rotate" "left"
>>> #   Option      "Position" "0 0"
>>> EndSection
>>> Section       "Monitor"
>>>   Identifier  "mymon1"
>>>   Option      "Monitor-DisplayPort-1"
>>>   Option      "Rotate" "left"
>>> EndSection
>>>
>>> Section       "Screen"
>>>   Identifier  "myhead0"
>>>   Device      "mycard0"
>>>   Monitor     "mymon0"
>>>   DefaultDepth  24
>>>   SubSection  "Display"
>>>     Depth     24
>>>     Modes     "1280x1024"
>>>   EndSubSection
>>> EndSection
>>>
>>> Section       "Screen"
>>>   Identifier  "myhead1"
>>>   Device      "mycard1"
>>>   Monitor     "mymon1"
>>>   DefaultDepth  24
>>>   SubSection "Display"
>>>     Depth     24
>>>     Modes     "1280x1024"
>>>   EndSubSection
>>> EndSection
>>>
>>> Section "ServerLayout"
>>>   Identifier  "layout0"
>>>   InputDevice "keyboard0" "CoreKeyboard"
>>>   InputDevice "mouse0" "CorePointer"
>>>   Screen      0 "myhead0" RightOf "myhead1"
>>>   Screen      1 "myhead1"
>>>   Option      "Xinerama" "0"
>>> EndSection
>>>
>>> Any clues for the poor gladly accepted.
>>>
>>>          mark
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> xorg at lists.x.org: X.Org support
>>> Archives: http://lists.freedesktop.org/archives/xorg
>>> Info: http://lists.x.org/mailman/listinfo/xorg
>>> Your subscription address: alexdeucher at gmail.com
>> _______________________________________________
>> xorg at lists.x.org: X.Org support
>> Archives: http://lists.freedesktop.org/archives/xorg
>> Info: http://lists.x.org/mailman/listinfo/xorg
>> Your subscription address: m.roth at 5-cent.us
>>
>
>


More information about the xorg mailing list