Hello list,

The environment:

* Gentoo amd64;
* kernel from the drm-radeon-testing branch of
git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6 (latest
HEAD);
* lspci says about my card: "01:00.0 VGA compatible controller: ATI
Technologies Inc RV790 [Radeon HD 4800 Series]";
* libdrm from master;
* mesa from master;
* radeon ddx from master;
* Xorg server 1.7.4 RC 2.

The testbed: the glsnake screensaver from xscreensaver, and
crack-attack - both render badly with master. The symptoms are that
the patterns rendered to the screen leave some traces behind them -
ultimately, the screen turns completely white with the screensaver
(glsnake is not the one with which that happens).

I have bisected this rendering bug to commit
3728673bd1b974e54858fbab6ff62d3607b0d3f0. The comment says:

----
    Note that there's quite a few tests for ctx->Color.BlendEnabled != 0 in
    drivers, etc.  Those tests can remain as-is since the mask will be 0 or ~0
    unless GL_EXT_draw_buffers2 is enabled.
----


And indeed, the r600_dri driver is such one, and more specifically, it
seems, r7xx series (such as my card):

----
f...@erwin ~/src/mesa $ git grep -n BlendEnabled src/mesa/drivers/dri/r600/
src/mesa/drivers/dri/r600/r700_state.c:454:     if
(RGBA_LOGICOP_ENABLED(ctx) || !ctx->Color.BlendEnabled) {
----

Unfortunately, reverting this particular commit is nontrivial :(

-- 
Francis Galiegue, fgalie...@gmail.com
"It seems obvious [...] that at least some 'business intelligence'
tools invest so much intelligence on the business side that they have
nothing left for generating SQL queries" (Stéphane Faroult, in "The
Art of SQL", ISBN 0-596-00894-5)

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to