Bug 103150

Summary: SecondLife / Advanced Lighting Model / destroys world
Product: xorg Reporter: arne_woerner
Component: Driver/AMDgpuAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
my SecondLife viewer's "About" page...
none
glxinfo's output
none
Xorg.0.log
none
example scene with ALM off
none
example scene with ALM on none

Description arne_woerner 2017-10-08 18:00:29 UTC
Created attachment 134752 [details]
my SecondLife viewer's "About" page...

Hi!

When I play SecondLife I get a quite good frame rate out of my RX550...
... until I enable "Advanced Lighting Model" (ALM)
(because i hoped 2 c shadows at a decent frame rate with that new GPU (b4 i used the APU's HD7660D and fglrx, which produced about 5fps when ALM was enabled, but they looked good))...

Somehow a lot of things just disappear now until i move the camera really close to them (and then it looks like ALM works fine, but it is a ridiculously small area... about as big as a chest...)...
Sometimes I c the things flickering, when i move the camera back&forth in a distance, that is "too" high, but then they disappear again, when the camera stands still again (in a "too" high distance)...
Furthermore my viewer seems to think, that my RX550 can only handle "low-mid" graphics quality, so that i have to override that manually to "mid-high"...

Videobenchmark.net lists the RX550 as "high end"...
https://www.videocardbenchmark.net/video_lookup.php?gpu=Radeon+RX+550&id=3761
so it should be able to present all the shadows (Firestorm only needs less than 1GiB of GPU memory, if i understand the "Preferences" dialog correctly)...
in fact it should even b able to present them at a good frame rate...
Is it possible to fix that?

Thx.

Bye
Arne
Comment 1 arne_woerner 2017-10-08 18:01:12 UTC
Created attachment 134753 [details]
glxinfo's output
Comment 2 arne_woerner 2017-10-08 18:01:47 UTC
Created attachment 134754 [details]
Xorg.0.log
Comment 3 arne_woerner 2017-10-08 18:02:22 UTC
Created attachment 134755 [details]
example scene with ALM off
Comment 4 arne_woerner 2017-10-08 18:02:40 UTC
Created attachment 134756 [details]
example scene with ALM on
Comment 5 arne_woerner 2017-10-08 19:55:43 UTC
in the output of glxinfo:
what does
OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.2.1
OpenGL version string: 3.0 Mesa 17.2.1
mean?

does it mean, that my box does not support OpenGL 4.5?

-arne
Comment 6 Clemens Eisserer 2017-10-09 19:08:21 UTC
your box supports 4.5 in core profile, and 3.0 in compat profile - this is to be expected, as mesa does not implement compat-profile for > 3.0
Comment 7 arne_woerner 2017-10-11 17:09:06 UTC
on Phoronix someone said, he/she was able to use that ALM on Mesa without any big render errors...

can it be, that Mesa does not play nicely with the RX550?

-arne
Comment 8 arne_woerner 2017-10-18 10:54:24 UTC
mesa 17.3 on Mint 18.2 (from some so called PPA) works great on that same RX550... :) so i just have to wait, that it comes to Archlinux/Manjaro... :) *w00t* -arne
Comment 9 Michel Dänzer 2017-10-18 13:42:43 UTC
Resolving per comment 8, thanks for the update.

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.