Bug 92101

Summary: face culling and alpha composition broken with Radeon driver in Kerbal Space Program 1.0.4
Product: Mesa Reporter: kolAflash <kolAflash>
Component: Drivers/Gallium/r600Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact: Default DRI bug account <dri-devel>
Severity: normal    
Priority: medium CC: kolAflash
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Xorg.0.log
dmesg output

Description kolAflash 2015-09-24 12:09:58 UTC
Kerbal Space Program 1.0.4 introduced some new parts, like fairings/Airstream Protective Shell. In difference to other (older) parts, those use "face culling" and "alpha composition".

https://kerbalspaceprogram.com

http://wiki.kerbalspaceprogram.com/wiki/AE-FF2_Airstream_Protective_Shell_%282.5m%29

Those parts render fine on my notebook with Intel GPU. But on my desktop pc with Radeon GPU the rendering fails.

$ /sbin/lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)

http://postimg.org/image/4hm3z9irl/

http://penduin.net/media/screenshot0.png

My notebook and my desktop pc use exactly the same software.

OS: openSUSE 13.2
Kernel: 3.16.7-24-desktop (by openSUSE 13.2)

Only real difference is, that my notebook got an Intel CPU+GPU and my desktop PC got an AMD CPU and extra AMD GPU (see above). On both I'm using only the open source drivers. When installing the closed source AMD GPU drivers on my desktop pc, the problem is gone.

I also tested compiling and using the latest Mesa 11.0 library and installing the latest Radeon drivers from here. But that didn't helped.

http://download.opensuse.org/reposit...openSUSE_13.2/

(snapshot)
https://web.archive.org/web/20150919...E_13.2/x86_64/

Had some discussion with a Kerbal Space Program developer in this forum.

http://forum.kerbalspaceprogram.com/threads/118373-Graphical-glitch-on-some-two-sided-parts?p=2210724#post2210724

Here's a bug report and 2 other forum threads.

http://bugs.kerbalspaceprogram.com/issues/4787#note-2

http://forum.kerbalspaceprogram.com/threads/117186-Fairing-Texture-Issue

http://forum.kerbalspaceprogram.com/threads/117130-Service-bays-and-fairings-z-fighting


For testing just start KSP (Kerbal Space Program), go into Sandbox mode, enter the hangar, use a command capsule, one of the thinner fuel tanks and then put an "Airstream Protective Shell" around it from below.

If you need a copy of KSP for testing, please let me or sal_vager know. I'm pretty sure we can get one for you!

http://forum.kerbalspaceprogram.com/members/16436-sal_vager

Unfortunately the KSP demo doesn't have those latest problematic parts. So you won't be able to do a test with the demo.
Comment 1 Alex Deucher 2015-09-24 13:27:50 UTC
Please attach your xorg log and dmesg output.  What radeon GPU are you using?
Comment 2 kolAflash 2015-09-24 14:51:27 UTC
Created attachment 118431 [details]
Xorg.0.log
Comment 3 kolAflash 2015-09-24 14:51:44 UTC
Created attachment 118432 [details]
dmesg output
Comment 4 kolAflash 2015-09-24 14:55:40 UTC
Sorry, I intended to post my desktop pc's Radeon GPU instead of my notebooks Intel GPU in my initial post.

This is my Radeon GPU:

$ /sbin/lspci | grep VGA
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM]

Product: 299-1E199-800SA
Sapphire Radeon HD 6450 2GB GDDR3


Attached a Xorg log and the dmesg output.
What I did:
Startet my pc, logged into a minimal graphical session and started a window-manager (metacity) and launched the game.
Ingame: Clicked on the building facility and build a minimal rocket with a commando capsule, a small tank and fairings around it. => bug was triggered.
Then closed the game and copied the Xorg log and dmesg output.


If needed, you can find the logs written by the game here:
http://pastebin.ca/3165739
http://pastebin.ca/3165740
Comment 5 GitLab Migration User 2019-09-18 19:19:36 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/554.

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.