http://bugs.freedesktop.org/show_bug.cgi?id=25544





--- Comment #3 from Roland Scheidegger <[email protected]>  
2009-12-10 14:49:42 PST ---
(In reply to comment #2)
> Yes, that patch resolves the error on R200 with no problems on rv250.
> 
> It looks like the texture unit differences and hardware bugs cause other 
> issues
> on R200 not present on rv250; dark and strobed textures with Compiz alt-tab 
> and
> cube effects whilst running most games crash on a "drmRadeonCmdBuffer: -22"
> error with the following dmesg.
> 
> [drm:r100_cs_track_texture_check] *ERROR* No texture bound to unit 1
> [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
> 
> I'll open another bug after a bit more testing as I've just started using KMS.

Looks like the command verifier isn't getting along with fake enable of texture
unit 1. So in some cases when unit 0 is active and 1 is not, we need to enable
unit 1 too due to hw bug, but set to LOOKUP_DISABLE. Since that'll not actually
sample from the "enabled" unit, that's just fine and it's not necessary a
texture is bound on that unit. But cs_track_texture_check can't deal with that
since it only sees unit 1 is enabled but no texture is actually bound and hence
complains... 

I don't know how to fix this though, could either make the track_texture_check
more clever or maybe the userspace driver should just bind some valid texture
(maybe just take the one from unit 0?) so it doesn't look special from the
kernel side.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to