Re: All-black X windows with etnaviv/xwayland/glamor

2018-03-02 Thread Lukas F . Hartmann
Hi, I made XWayland with Glamor work on etnaviv with a few hacks a while ago and wanted to leave my findings here so that they could be of use in future updates of XWayland and weston. The first two changes are in XWayland: the GBM_BO_USE_SCANOUT had to be removed to not force rendering into a

Re: All-black X windows with etnaviv/xwayland/glamor

2018-02-14 Thread Michel Dänzer
On 2018-02-13 07:34 PM, Lukas F. Hartmann wrote: > Michel Dänzer writes: >> On 2018-02-13 04:23 PM, Lukas F. Hartmann wrote: >>> >>> - Xwayland/glamor registers its gbm buffer with wl_drm_create_prime_buffer >>> (passing a fd) which ends up in drm_create_prime_buffer on the

Re: All-black X windows with etnaviv/xwayland/glamor

2018-02-13 Thread Lukas F. Hartmann
Michel Dänzer writes: > On 2018-02-13 04:23 PM, Lukas F. Hartmann wrote: >> >> - Xwayland/glamor registers its gbm buffer with wl_drm_create_prime_buffer >> (passing a fd) which ends up in drm_create_prime_buffer on the server side. >> I might have made mistakes, but when

Re: All-black X windows with etnaviv/xwayland/glamor

2018-02-13 Thread Michel Dänzer
On 2018-02-13 04:23 PM, Lukas F. Hartmann wrote: > > - I can map and dump the gbm_bo that xwayland/glamor renders into, in > xwl_window_post_damage. X applications are rendered correctly into this > buffer (I dumped a screenshot of xclock and Chromium), so glamor/gles2 mostly > works on