http://bugs.freedesktop.org/show_bug.cgi?id=10561
------- Comment #18 from [EMAIL PROTECTED] 2007-04-09 06:28 PST -------
(In reply to comment #16)
> (In reply to comment #15)
> > As you can see, two threads are fiddling with GL at the same time.
>
> Actually, I only see one thread dealing with the DRM file descriptor. Am I
> missing something?
No, you're right... I'm not sure I've seen it for real now...
will try harder.
> * Try returning 0 instead of -EAGAIN or even immediately in
> radeon_cp_dispatch_texture(). This will cause textures to be corrupted, but
> does it avoid the hang?
I added a retry count in the while loop, and now the client
exits with an error. The log looks like this:
uploadSubImage( 0xdfb09828, 0xdb1b2808 ) level/width/height/face =
0/1024/1024/0
uploadSubImage: image data is in normal memory
upload image: 1024,1024 at 0,0
upload blit: 1024,1024 at 0,0
blit ofs: 0xe3866000 level: 0/0
DRM_RADEON_TEXTURE: again!
DRM_RADEON_TEXTURE: again!
DRM_RADEON_TEXTURE: again!
DRM_RADEON_TEXTURE: return = -11
offset=0xe3866000
image width=1024 height=1024
blit width=1024 height=1024 data=0xd9fff200
BTW, isn't 1024x1024 too big for a texture???
> * Try adding debugging output in the DRM and/or Mesa code to see how it's
> (not) advancing on the texture upload.
Is the log attached to the previous comment useful?
Or do you need me to add a printf in a more specific place?
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel