Bug 28359 - Regression running Second Life viewer on r600 (mipmap generation issue?)
Summary: Regression running Second Life viewer on r600 (mipmap generation issue?)
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/R600 (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-02 11:29 UTC by Aidan Thornton
Modified: 2012-11-02 17:42 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Aidan Thornton 2010-06-02 11:29:48 UTC
There's a regression in recent git master when running the Second Life viewer on the r600 driver. Objects flash in and out of existence continuously, making Second Life unusable. git bisect points to the commit 055750fafba58fd2ee0f5611b566a71ab0f22984 "Enable hardware mipmap generation for radeon" on the 24th of May, which is plausible since Second Life generates all mipmaps at runtime. 

I'm using a 2600XT card, Linux 2.6.34, latest libdrm master, and the latest unofficial Imprudence client release (since the official client isn't available in an x86_64 version).
Comment 1 Alex Deucher 2010-06-02 12:21:35 UTC
This is probably a dupe of bug 28284
Comment 2 Aidan Thornton 2010-06-03 03:39:12 UTC
Well, I can confirm that the patch Will Dyson attached to bug 28284 does *not* fix this issue for me. Reverting 055750fafba58fd2ee0f5611b566a71ab0f22984, on the other hand, does seem to. Also, the commit in question smells somewhat fishy: as far as I can tell, if anything it *disables* hardware mipmap generation and forces the use of the software path.
Comment 3 Aidan Thornton 2010-06-20 04:50:20 UTC
Small additional detail: the mipmaps themselves appear to be generated fine as far as I can tell, and everything works so long as no mipmap generation is happening. However, when a mipmap is generated the next frame rendered by the viewer reliably fails to render a lot of the in-world objects. In fact, whilst textures are being loaded rapidly enough that at least one mipmap is generated per frame, the same affected objects are consistently not rendered on every frame. 

It appears that hardware mipmap generation and rendering are interacting badly somehow. Given that Second Life relies heavily on streaming textures, this is enough to make it unusable.

(Oh, and the patch pointed to by git bisect does indeed force hardware mipmap generation rather than software as it claims).
Comment 4 Andreas Boll 2012-11-02 16:28:50 UTC
Note: classic r600 driver has been abandoned.
Please use r600g (gallium driver) instead.

Is this still an issue with a newer driver/kernel?
Comment 5 Aidan Thornton 2012-11-02 17:17:57 UTC
Nope, doesn't affect r600g and I don't think it ever actually did (though I wasn't using it at the time because it had - and still has - other unrelated rendering issues that're harder to work around). Guess this probably wants closing?


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.