[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#538800: /usr/bin/xrandr: setting non-existent output as primary resets screen ordering



2009/7/27 Brice Goglin <Brice.Goglin@ens-lyon.org>:
> Michal Suchanek wrote:
>> Package: x11-xserver-utils
>> Version: 7.4+2
>> Severity: normal
>> File: /usr/bin/xrandr
>>
>>
>> In my .xsessionrc I set up the screen layout with xrandr.
>> Because different drivers name the outputs differently I have the
>> commands repeated with different output names.
>>
>> All works fine except for --primary.
>>
>> Setting non-existent output as primary resets the output order to the
>> driver default.
>>
>
> It looks like xrandr is passing the request with the wrong output up to
> the server. Then the server probably clears the primary status before it
> fails to setup the new primary output. So there's no primary output
> anymore. Patch welcome :)
>
>> I also have some doubts I could set up screen order of more than two
>> screens with such odd xrandr behavior.
>>
>
> Most hardware do not support more than 2 (not-cloned) outputs at the
> same time anyway :)

You should be able to get more than two outputs with multiple cards
(or with special professional cards which will most likely not work
with Xorg). I have no idea how that interacts with xrandr, though.

Thanks

Michal



Reply to: