Garbled screen for KMS and ATI Radeon X800

Alex Deucher alexdeucher at
Sun Nov 14 09:46:04 PST 2010

On Sun, Nov 14, 2010 at 8:12 AM, Benjamin Franzke
<benjaminfranzke at> wrote:
> Using the classic driver wont work...
> It doesnt implement initialization for opengl es2, and some of the new
> extensions needed for wayland (EGL_MESA_drm_image and surfaceless
> opengl).
> So your chances to get wayland running on drm are better with the r300g driver..
> Btw the function, thats implemented by the patch Alex linked, exists
> already in r300g.
> What you might need are the page-flip patches Alex posted on the
> dri-devel mailing list:

Those patches are old and buggy, please try the latest patches here:

> But that doesnt mean it works then:
> With the patches on r300g i can see some parts of wayland, but the
> wayland image starts at about 5/6 vertically and in the middle
> horizontally.
> It looks like the image is read from a wrong buffer..

The gallium drivers may need a fix similar to this one to make sure
the flushing happens at the right time:


> 2010/11/14 Christoph Frieben <christoph.frieben at>:
>> 2010/11/13 Alex Deucher:
>>> Try the r300 classic mesa 3D driver.
>> No luck after adding "--disable-gallium" of the build options of mesa:
>> $ ./compositor
>> failed to create context
>> failed to create compositor
>> -Christoph
>> _______________________________________________
>> wayland-devel mailing list
>> wayland-devel at
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at

More information about the wayland-devel mailing list