Garbled screen for KMS and ATI Radeon X800

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


On Sun, Nov 14, 2010 at 8:12 AM, Benjamin Franzke
<benjaminfranzke at googlemail.com> 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:
>  http://lists.freedesktop.org/archives/dri-devel/2010-October/005043.html
>  http://lists.freedesktop.org/archives/dri-devel/2010-October/005044.html

Those patches are old and buggy, please try the latest patches here:
http://people.freedesktop.org/~agd5f/pflip/

> 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:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d8eef5196fcd6f51e443d4dfa0fda8aadc668f9f

Alex

>
> 2010/11/14 Christoph Frieben <christoph.frieben at googlemail.com>:
>> 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 lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
>>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
>


More information about the wayland-devel mailing list