All-black X windows with etnaviv/xwayland/glamor

Michel Dänzer michel at daenzer.net
Tue Feb 13 15:42:19 UTC 2018


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 etnaviv, it's just a presentation problem.
> - 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 mapping the gbm_bo on that side (using gbm_bo_import and then gbm_map_bo), it appears that the buffer is empty (maybe it cannot be transferred correctly?).

Unless there's a dma-buf API usage mistake in userspace, it sounds like
a kernel issue, since the two processes are seeing different contents in
what should be one and the same BO.

Can you test Xorg with DRI3? Do OpenGL apps work correctly with that?


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the xorg-devel mailing list