Description of problem:
Graphics at players' menu and technology tree are corrupted, when the AMD GPU is used.
When the Intel GPU is used, graphics are fine.
Version-Release number of selected component (if applicable):
Latest version available from FlatHub on the date of the creation of this report.
Also, the version from Fedora from the days of Fedora 26 is affected. I expect the current version from Fedora is also affected.
Steps to Reproduce:
1. Install 0 AD from FlatHub.
2. Click the start button.
3. Right click on the application icon.
4. Click "Launch using Dedicated Graphics Card".
Distribution: 64-bit Fedora 27 with Gnome.
xorg-x11-drv-ati-7.9.0-3.fc27.x86_64 is installed.
Output of $ lspci | grep VGA:
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Thames [Radeon HD 7500M/7600M Series] (rev ff)
Screenshots can be found in the given URL.
Please attach the output of
Created attachment 138584 [details]
Output of $ DRI_PRIME=1 glxinfo.
Created attachment 138585 [details]
Corruption is also in Game Options.
I installed the KDE spin of 64-bit Fedora 29, updated everything, installed 0 AD from FlatHub then launched it using $ DRI_PRIME=1 flatpak run com.play0ad.zeroad, then found out that the bug was fixed.