On 5 June 2014 22:59, Michal Srb <[email protected]> wrote:
> Hi,
>
> When you have two graphic cards that both have Source Output and Sink Output
> capabilities (intel and nouveau for example). It's very easy to flip
> parameters of xrandr --setprovideroutputsource and attempt to provide outputs
> of the main screen to the slave screen.
>
> That triggers assert fault in:
>   ProcRRSetProviderOutputSource
>   xf86RandR14ProviderSetOutputSource
>   DetachUnboundGPU
>     assert(slave->isGPU);
>
> And whole X server crashes. I would like to fix it, but I am not sure what
> would be the best approach:
>
> 1) Add check to ProcRRSetProviderOutputSource and return BadValue when the
> provider is the main screen.

Seems like the best option.

Dave.
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to