Bug 82253 - JanusVR Browser rendering misses floors on radeonsi, works on intel
Summary: JanusVR Browser rendering misses floors on radeonsi, works on intel
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-06 15:01 UTC by Christoph Haag
Modified: 2014-12-23 00:05 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
floors missing on radeonsi (213.15 KB, image/jpeg)
2014-08-06 23:12 UTC, Christoph Haag
Details
correct rendering on intel (314.92 KB, image/jpeg)
2014-08-06 23:13 UTC, Christoph Haag
Details

Description Christoph Haag 2014-08-06 15:01:49 UTC
Application download is here: http://janusvr.com/

I made a short apitrace (26 megabyte): http://haagch.frickel.club/janusvr.trace

On intel Ivy Bridge it renders fine.
On radeonsi the floor is missing.

Using mesa git master with this patch: https://bugs.freedesktop.org/show_bug.cgi?id=80880#c10 on a HD 7970M.
Comment 1 Aaron B 2014-08-06 23:02:20 UTC
What sort of problems does this cause? So is it only when using hardware accel?
Comment 2 Christoph Haag 2014-08-06 23:12:38 UTC
Created attachment 104183 [details]
floors missing on radeonsi

It seems to be a purely visual problem in the rendering. Here is a screenshot with radeonsi.

I don't quite know what you mean with hardware accel. I just tried with LIBGL_ALWAYS_SOFTWARE=1 janusvr, so llvmpipe. With llvmpipe the floors are also missing like on radeonsi.
Maybe this was misplaced in the radeonsi component and happens in all llvm using or on all gallium drivers?

Maybe the llvm version is relevant: 3.6svn 214915

Someone told me the shaders are a bit wonky and partly shouldn't work in the first place, but on all proprietary drivers + intel on linux it seems to work, so I don't know.
Comment 3 Christoph Haag 2014-08-06 23:13:14 UTC
Created attachment 104184 [details]
correct rendering on intel
Comment 4 Michel Dänzer 2014-08-07 06:11:16 UTC
Could be an issue in st/mesa or other driver-independent Gallium code then.

Does glretrace also report a few OpenGL API errors like these on intel?

5946: message: major api error 1: GL_INVALID_OPERATION in Inside glBegin/glEnd
5947 @0 glTranslatef(x = 2.000085, y = 0, z = 0)
5947: warning: glGetError(glTranslatef) = GL_INVALID_OPERATION
Comment 5 Christoph Haag 2014-08-07 07:50:26 UTC
(In reply to comment #4)
> Could be an issue in st/mesa or other driver-independent Gallium code then.
> 
> Does glretrace also report a few OpenGL API errors like these on intel?
> 
> 5946: message: major api error 1: GL_INVALID_OPERATION in Inside
> glBegin/glEnd
> 5947 @0 glTranslatef(x = 2.000085, y = 0, z = 0)
> 5947: warning: glGetError(glTranslatef) = GL_INVALID_OPERATION

Yes, it produces exactly the same error log with intel, radeonsi and llvmpipe.
Comment 6 Christoph Haag 2014-12-23 00:05:04 UTC
JanusVR had lots of updates by now.

Whether it was a fix in janusvr or the driver - it works now.


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.