[PATCH 0/3] Assorted fixes for nouveau

Chia-I Wu olvaffe at gmail.com
Sat Oct 30 10:58:18 PDT 2010


[Re-send to the new list]

2010/10/30 Kristian Høgsberg <krh at bitplanet.net>:
> On Fri, Oct 29, 2010 at 3:20 AM, Chia-I Wu <olvaffe at gmail.com> wrote:
>> Hi list,
>>
>> This patch series fixes several uses of GLES and cairo-gl, and adds a
>> workaround for an xcb-proto bug.  With them applied, I am able to run
>> Wayland on X11 with nouveau driver.
>
> Thanks, that's fantastic news.  They all look good, and I've applied
> them to git://anongit.freedesktop.org/wayland (new repo location, will
> send out mail about this).  I guess the missing piece for wayland on
> KMS with nouveau is the page flip ioctl?
It seems so to me.
>> There are still issues such as pointer images appear to be RGB only (no
>> alpha).  But the clients like flower and dnd are working.
>
> Odd.  The pointer images aren't premultiplied alpha, so we're using a
> different blend mode for those sufaces.  That may be the problem - see
> wlsc_surface_draw().
This turns out to be a bug in mesa (fixed by commit cfc81d93f7b0).
The server used a different blend mode for the new pointer buffer, yet
the GLES driver did not pick up the new buffer it was asked to use.
The area that should be transparent, (255, 255, 255, 0), became
white.
> thanks,
> Kristian

-- 
olv at LunarG.com


More information about the wayland-devel mailing list