[Beignet] Is "X server found. dri2 connection failed!" normal on Wayland?

Yang, Rong R rong.r.yang at intel.com
Wed Jan 10 08:08:56 UTC 2018


Yes, this warning is legacy, I will apply your patch, thanks.

> -----Original Message-----
> From: Beignet [mailto:beignet-bounces at lists.freedesktop.org] On Behalf Of
> Rebecca N. Palmer
> Sent: Tuesday, January 9, 2018 5:12 AM
> To: beignet at lists.freedesktop.org
> Subject: [Beignet] Is "X server found. dri2 connection failed!" normal on
> Wayland?
> 
> ...and if it is, should we stop printing a warning for it to avoid pointlessly scaring
> users?
> 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=882486
> 
> When I get this warning, everything still seems to work (e.g. the test suite
> passes).  Some other reports have both it and another error (e.g.
> https://bugzilla.redhat.com/show_bug.cgi?id=1478536 ,
> https://bugzilla.redhat.com/show_bug.cgi?id=1460400 ), but these may be
> unrelated bugs (e.g. the second is
> https://bugs.freedesktop.org/show_bug.cgi?id=101485 ).
> 
> Signed-off-by: Rebecca N. Palmer <rebecca_palmer at zoho.com>
> 
> --- a/src/intel/intel_driver.c
> +++ b/src/intel/intel_driver.c
> @@ -235,8 +235,6 @@ if(intel->x11_display) {
>       intel_driver_init_shared(intel, intel->dri_ctx);
>       Xfree(driver_name);
>     }
> -  else
> -    fprintf(stderr, "X server found. dri2 connection failed! \n");
>   }
>   #endif
> 
> 
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/beignet


More information about the Beignet mailing list