Bug 33075

Summary: [RADEON:KMS:R600G] runescape low detail lighting option makes character models disappear
Product: Mesa Reporter: Brian Paterni <bpaterni>
Component: Drivers/Gallium/r600Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Brian Paterni 2011-01-13 12:41:36 UTC
This bug appears in the browser-, java-based MMORPG game, runescape (you may or may not be familiar with it) The game provides an OpenGL mode if it detects your graphics drivers are capable, which it does now with r600g from mesa git master.

In order to reproduce this bug, you will need to create an account at runescape.com which should be a trivial process. After that, you should be able to enter the game and driver autodection should recognize that r600g is capable of driving runescape. Lighting detail defaults to "high" on my machine, so you will need to find the display options interface in-game and make sure low detail is selected. Now you should see that all characters have been "removed" from display, but ground and other geometry remain drawn.

Linux desktop 2.6.37+ #4 SMP PREEMPT Tue Jan 11 15:01:00 CST 2011 x86_64 GNU/Linux
OpenGL renderer string: Gallium 0.4 on AMD RV770
Mozilla Iceweasel 3.6.13
OpenJDK Runtime Environment (IcedTea6 1.9.2) (6b20-1.9.2-2)

Let me know if there's anything else I can do.
Comment 1 Brian Paterni 2011-02-06 10:56:05 UTC
On git master (68b701f5ded5f6b73a6b07cf37d862fab4836607), I now receive the following on stderr when I switch to low detail lighting:

java: r600_buffer.c:247: r600_upload_user_buffers: Assertion `rctx->real_vertex_buffer[index]' failed.
Comment 2 Jerome Glisse 2011-03-08 09:59:49 UTC
Does it works any better with lastest master ?
Comment 3 Brian Paterni 2011-03-08 11:43:02 UTC
It does actually! The game is no longer crashing and everything seems to be displaying correctly.

I will go ahead and mark this as resolved.
Thank you :)

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.