Bug 35861 - [r300g] Unigine Tropics: whiter triangle between center of the screen and horizon
Summary: [r300g] Unigine Tropics: whiter triangle between center of the screen and hor...
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r300 (show other bugs)
Version: git
Hardware: Other All
: medium minor
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-01 02:49 UTC by Pavel Ondračka
Modified: 2019-09-18 18:49 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
terminal output (17.34 KB, text/plain)
2011-04-01 02:49 UTC, Pavel Ondračka
Details
screenshot (360.71 KB, image/png)
2011-04-01 02:50 UTC, Pavel Ondračka
Details
Oilrush output with RADEON_DEBUG=vp (82.52 KB, application/x-bzip2)
2011-09-19 00:05 UTC, Pavel Ondračka
Details

Description Pavel Ondračka 2011-04-01 02:49:13 UTC
Created attachment 45121 [details]
terminal output

There is a strange triangle of whiter area and missing effects between screen center and horizon in Oilrush.

I'm attaching terminal output, however I don't think there is anything important, just a few of: 

Mesa warning: glDraw[Range]Elements(start 130, end 877, count 1650, type 0x1403, indices=0x1c2)
	end is out of bounds (max=876)  Element Buffer 31 (size 3750)
	This should probably be fixed in the application.
and 

Mesa: User error: GL_INVALID_VALUE in glTexSubImage2D(xoffset+width)
OpenGL error: invalid value

However both of those errors are also present with llvmpipe which renders fine (not 100% fine, but this bug is not present there). 
RADEON_NOT_TCL=1 also solves this issue, where READEON_DEBUG=noopt has no effect.

BTW you need to set MESA_EXTENSION_OVERRIDE="-GL_ARB_draw_instanced" when using llvmpipe of software TCL otherwise you run into other troubles like: 

GLShader::loadVertex(): error in "core/shaders/default/meshes/vertex_base.shader" file
defines: UNKNOWN,QUALITY_LOW,MULTISAMPLE_0,USE_INSTANCING,USE_TEXTURE_3D,USE_ALPHA_FADE,USE_ENVIRONMENT,OPENGL,USE_PSEUDO_INSTANCING,USE_PSEUDO_TRANSFORM,HAS_ARB_DRAW_INSTANCED,BASE_AMBIENT_REFLECTION_CUBE,AMBIENT,PAINT,OPACITY,MULTIPLY_0
0:194(39): error: `gl_InstanceID' undeclared
0:194(42): error: Operands to arithmetic operators must be numeric
0:194(19): error: cannot construct `ivec3' from a non-numeric data type
0:194(58): error: Operands to arithmetic operators must be numeric

and almost no rendering at all.

My system
GPU:RV530
mesa: 9f013a8233197d4a0482661cb37cfeac1a61b804
Kernel: 2.6.38

Oilrush version: 0.61
Comment 1 Pavel Ondračka 2011-04-01 02:50:20 UTC
Created attachment 45122 [details]
screenshot
Comment 2 Tom Stellard 2011-09-18 18:21:44 UTC
Is this still an issue with the latest version from git, and if so can you post the output of RADEON_DEBUG=vp ?
Comment 3 Pavel Ondračka 2011-09-19 00:05:34 UTC
Created attachment 51327 [details]
Oilrush output with RADEON_DEBUG=vp

(In reply to comment #2)
> Is this still an issue with the latest version from git, and if so can you post
> the output of RADEON_DEBUG=vp ?

Yes, this is still an issue with latest mesa. Requested log attached. I can also make you an apitrace if you don't have access to the game.
Comment 4 Tom Stellard 2011-09-22 16:03:09 UTC
(In reply to comment #3)
> Yes, this is still an issue with latest mesa. Requested log attached. I can
> also make you an apitrace if you don't have access to the game.

An apitrace would be helpful.
Comment 5 Pavel Ondračka 2011-09-23 00:48:12 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > Yes, this is still an issue with latest mesa. Requested log attached. I can
> > also make you an apitrace if you don't have access to the game.
> 
> An apitrace would be helpful.

Trace uploaded (78,3MB)
http://pavel.ondracka.cz/oilrush-trace.tar.bz2
Comment 6 Tomasz P. 2013-01-11 21:53:23 UTC
Oilrush require at least ATI Radeon HD2600 so maybe this is the reason of this corruption?
Comment 7 Pavel Ondračka 2013-02-08 15:56:27 UTC
(In reply to comment #6)
> Oilrush require at least ATI Radeon HD2600 so maybe this is the reason of
> this corruption?

I can reproduce this even with Unigine Tropics 1.3 which supports opengl 2.1 and hence also r500 cards, reopening.
Comment 8 GitLab Migration User 2019-09-18 18:49:54 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/332.


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.