<div dir="ltr">It's also importante to note that this patch is indispensable (there's no workaround) to make X server work with non-seat0 seats when you have a graphics card with non-KMS driver (while it tries to keep current behaviour when you have a KMS-compliant one), thus I really appreciate any review for it.</div>

<div class="gmail_extra"><br clear="all"><div><div dir="ltr">CANTATE DOMINO CANTICUM NOVUM<div>QUIA MIRABILIA FECIT</div><div><br></div><div>Laércio</div></div></div>
<br><br><div class="gmail_quote">2014-02-01 0:19 GMT-02:00 Laércio de Sousa <span dir="ltr"><<a href="mailto:lbsousajr@gmail.com" target="_blank">lbsousajr@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<p dir="ltr">Yes, they do, provided you tag another suitable device (e.g. a USB hub) as "master-of-seat" in udev.</p>
<p dir="ltr">You'll also need to configure the card via custom xorg.conf. In case your display manager doesn't allow X server command line customization, you can use Oleg Samarin's patch to introduce new key MatchSeay in xorg.conf.</p>



<div class="gmail_quote">Em 31/01/2014 20:11, "Dave Airlie" <<a href="mailto:airlied@gmail.com" target="_blank">airlied@gmail.com</a>> escreveu:<div><div class="h5"><br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


On Fri, Jan 31, 2014 at 9:19 PM, Laércio de Sousa <<a href="mailto:lbsousajr@gmail.com" target="_blank">lbsousajr@gmail.com</a>> wrote:<br>
> This fixes a bug that prevents X.Org from starting properly on,<br>
> e.g., NVIDIA cards with proprietary drivers, when "-seat" option<br>
> is passed with an argument different from "seat0".<br>
<br>
Do nvidia cards with the binary driver work in other seats? I can't<br>
imagine they would since the drivers don't integrate with udev etc.<br>
<br>
Dave.<br>
<br>
><br>
> Fixes: <a href="https://bugs.freedesktop.org/show_bug.cgi?id=66851" target="_blank">https://bugs.freedesktop.org/show_bug.cgi?id=66851</a><br>
><br>
> Signed-off-by: Laércio de Sousa <<a href="mailto:lbsousajr@gmail.com" target="_blank">lbsousajr@gmail.com</a>><br>
> ---<br>
>  hw/xfree86/common/xf86Bus.c | 4 ++--<br>
>  1 file changed, 2 insertions(+), 2 deletions(-)<br>
><br>
> diff --git a/hw/xfree86/common/xf86Bus.c b/hw/xfree86/common/xf86Bus.c<br>
> index 329d0b3..23dfa37 100644<br>
> --- a/hw/xfree86/common/xf86Bus.c<br>
> +++ b/hw/xfree86/common/xf86Bus.c<br>
> @@ -81,7 +81,7 @@ xf86CallDriverProbe(DriverPtr drv, Bool detect_only)<br>
>      if (drv->platformProbe != NULL) {<br>
>          foundScreen = xf86platformProbeDev(drv);<br>
>      }<br>
> -    if (ServerIsNotSeat0())<br>
> +    if (ServerIsNotSeat0() && foundScreen)<br>
>          return foundScreen;<br>
>  #endif<br>
><br>
> @@ -201,7 +201,7 @@ xf86BusProbe(void)<br>
>  {<br>
>  #ifdef XSERVER_PLATFORM_BUS<br>
>      xf86platformProbe();<br>
> -    if (ServerIsNotSeat0())<br>
> +    if (ServerIsNotSeat0() && xf86_num_platform_devices > 0)<br>
>          return;<br>
>  #endif<br>
>  #ifdef XSERVER_LIBPCIACCESS<br>
> --<br>
> 1.8.1.4<br>
><br>
> _______________________________________________<br>
> <a href="mailto:xorg-devel@lists.x.org" target="_blank">xorg-devel@lists.x.org</a>: X.Org development<br>
> Archives: <a href="http://lists.x.org/archives/xorg-devel" target="_blank">http://lists.x.org/archives/xorg-devel</a><br>
> Info: <a href="http://lists.x.org/mailman/listinfo/xorg-devel" target="_blank">http://lists.x.org/mailman/listinfo/xorg-devel</a><br>
</blockquote></div></div></div>
</blockquote></div><br></div>