Re: glamor woes with nouveau

2017-01-25 Thread Olivier Fourdan
Hey! So I was wrong (again), this is not glamor_composite_choose_shader() failed which is the problem, the rendering issue comes from glamor_poly_fill_rect_gl() (the plain ackground is garbled, not the actual content, if that makes any sense). If I force glamor_poly_fill_rect_bail() from glamor_p

Re: glamor woes with nouveau

2017-01-18 Thread Olivier Fourdan
Hi, On 18 January 2017 at 10:27, Olivier Fourdan wrote: >> >> This is where it gets even more confusing, I cannot reproduce the >> issue using "Xephyr -glamor"... Not even with Xephyr running in >> Xwayland. > > And by that I mean, rendering is fine and I don't get the errors > "glamor_composite

Re: glamor woes with nouveau

2017-01-18 Thread Olivier Fourdan
On 18 January 2017 at 10:10, Olivier Fourdan wrote: > Hi Eric > > On 17 January 2017 at 21:25, Eric Anholt wrote: >> >> It sounds like nouveau is failing at the getteximage/texsubimage cycle >> in the fallback path. X sometimes finds bugs in Mesa than our testcases >> miss, because it frequently

Re: glamor woes with nouveau

2017-01-18 Thread Olivier Fourdan
Hi Eric On 17 January 2017 at 21:25, Eric Anholt wrote: > > It sounds like nouveau is failing at the getteximage/texsubimage cycle > in the fallback path. X sometimes finds bugs in Mesa than our testcases > miss, because it frequently reads/writes subsets of a texture. In > comparison, testcase

Re: glamor woes with nouveau

2017-01-17 Thread Adam Jackson
On Tue, 2017-01-17 at 14:33 +0100, Olivier Fourdan wrote: > Hi all, > > I am trying to investigate an issue with Xwayland that affects pixmap > rendering only some hardware with nouveau (basically, older > hardware).  > > Initally, I started looking into this because of reported black icons > in

Re: glamor woes with nouveau

2017-01-17 Thread Eric Anholt
Olivier Fourdan writes: > Hi all, > > I am trying to investigate an issue with Xwayland that affects pixmap > rendering only some hardware with nouveau (basically, older hardware). > > Initally, I started looking into this because of reported black icons in > gtk2 (X11/Xwayland) apps in GNOME and

glamor woes with nouveau

2017-01-17 Thread Olivier Fourdan
Hi all, I am trying to investigate an issue with Xwayland that affects pixmap rendering only some hardware with nouveau (basically, older hardware). Initally, I started looking into this because of reported black icons in gtk2 (X11/Xwayland) apps in GNOME and RH bugzilla, and discovered that one