x11/xcalib not working on radeondrm(4) ?

Alex Deucher alexdeucher at gmail.com
Thu Feb 27 06:32:48 PST 2014


On Thu, Feb 27, 2014 at 4:30 AM, Alexis de BRUYN
<alexis.mailinglist at de-bruyn.fr> wrote:
> On 27.02.2014 07:40, Michel Dänzer wrote:
>> FWIW, if you set one of your connected outputs as the primary with
>>
>>  xrandr --output DisplayPort-[123] --primary
>>
>> xcalib should work for that output I think. Not sure if its settings
>> will be preserved when switching the primary output though.
> My primary output was not set with xrandr but in /etc/X11/xorg.conf file.
>
> Section "ServerLayout"
>         Identifier      "Server Layout"
>         Option          "Xinerama" "On"
> EndSection
>
> Section "Device"
>   Identifier "ati-radeon-hd-7870"
>   Driver "radeon"
> EndSection
>
> Section "Monitor"
>    Identifier "DisplayPort-0"
>    Option "LeftOf" "DisplayPort-1"
> EndSection
>
> Section "Monitor"
>    Identifier "DisplayPort-1"
>    Option "Primary" "1"
> EndSection
>
> Section "Monitor"
>    Identifier "DisplayPort-2
>    Option "RightOf" "DisplayPort-1"
> EndSection
>
>
> Now if I remove the primary from xorg.conf and I set the primary output
> with xrandr, in each case xcalib is only working on DisplayPort-2.
>
> $ xrandr --output DisplayPort-0 --primary
> $ xcalib -invert -alter
> -> invert colors only effective on DisplayPort-2
>
> $ xrandr --output DisplayPort-1 --primary
> $ xcalib -invert -alter
> -> invert colors only effective on DisplayPort-2
>
> $ xrandr --output DisplayPort-2 --primary
> $ xcalib -invert -alter
> -> invert colors only effective on DisplayPort-2

I think xvidmode only applies to the first crtc since it doesn't
understand multi-head.  IIRC, primary is just a flag for desktop
environments, I don't think it affects xvidmode, but it's been ages
since I looked at it.

Alex


More information about the xorg-driver-ati mailing list