On 13.08.2008 14:49, Jonathan Anderson wrote:
> Hello,
> 
> I'm having trouble running 3D applications (e.g. Google Sketchup) within Wine 
> using DRI (7.1~rc3-1ubuntu4). My problems sound similar to things I've read 
> on 
> this list recently -- weird-looking corruption where there ought to be 3D 
> stuff and a white box around my cursor -- but I thought I'd share some more 
> information about what I'm seeing, as well as offer to help if I can.
> 
> Firstly, disabling DRI:
> Sketchup runs just fine with software rendering if I disable DRI in 
> xorg.conf, 
> but not if I select "Disable 3D acceleration" in driconf. In the latter case, 
> I do see a message to the effect of "disabling 3D acceleration", but I still 
> see the same corruption.
> 
> Secondly, error messages:
> I see an error message related to software fallback; apparently the r300 DRI 
> can't handle something called stippling (ctx->Line.StippleFlag). I don't know 
> if this is a problem or not, but please bear in mind that the software 
> renderer works just great.
> 
> Thirdly, the nature of the corruption:
> What I call corruption is not random, but is rather a corrupted version of 
> something already on the screen. In the attached file wine-distortion.png, 
> you 
> can kinda make out a Konqueror window (which is hidden behind the SketchUp 
> window) where the 3D stuff ought to be. What's interesting is that I *often* 
> see something like this when I open a new window using KDE4, but it's usually 
> hidden pretty quickly by the window's actual contents. I guess that, if I 
> were 
> using a more mature window manager, the place where I expect to see 3D stuff 
> would just be black instead of "corrupted".
> 
> Finally, reproducing the problem:Thirdly
> This problem would probably be easier to diagnose if it was observed in a 
> simple demo program. Fortunately, it is! The attached file gearbox-demo.png 
> is 
> a screenshot of what I see when I run -- surprise, surprise -- the "gearbox" 
> mesa demo. In this demo, the top-left view shows the same problem as 
> SketchUp, 
> but the bottom-left and right-hand views are just fine.
> 
> I've looked inside gearbox.c, but I only see two calls to glViewport(); I'm 
> afraid my OpenGL knowledge is quite limited, but with a little guidance I'd 
> be 
> most happy to dig into this demo code further and isolate the problem, or to 
> build Mesa from Git and try fixes.
> 
> Any ideas?

Note that in case of gearbox, the rubbish in the upper left corner is
not a bug. The demo never draws anything there nor does it clear the
buffer, so anything could be in there.
I don't know what happens with Google Sketchup, maybe it fails to draw
to the correct buffer in the fallback or something like that (or fails
to draw for other reasons), so similar "random" garbage is shown (as you
noticed, it's not really random, those are likely contents of pixmaps
which used to be in these memory locations, they look broken because
they use a non-tiled memory layout whereas the back buffer itself is tiled).

Roland

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to