pop-os / pop

A project for managing all Pop!_OS sources
https://system76.com/pop
2.43k stars 84 forks source link

Vulkan usage fails with Radeon HD 7870 GHz Edition GPU, despite being a supported Vulkan card #757

Open smeep0 opened 4 years ago

smeep0 commented 4 years ago

NAME="Pop!_OS" VERSION="19.10" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Pop!_OS 19.10" VERSION_ID="19.10" HOME_URL="https://system76.com/pop" SUPPORT_URL="http://support.system76.com" BUG_REPORT_URL="https://github.com/pop-os/pop/issues" PRIVACY_POLICY_URL="https://system76.com/privacy" VERSION_CODENAME=eoan UBUNTU_CODENAME=eoan LOGO=distributor-logo-pop-os

Steam Proton

When trying to run a DirectX9 game using Proton, the game will run as usual with PROTON_NO_D3D11=1 %command% as part of the "Set Launch Options...".

However when adding the PROTON_USE_D9VK=1 in the Launch options, or using it as part of the user_settings.py, the game will seemingly be launching, but nothing will start and the "Launching" button on Steam will revert back to "Play".

Install Pop!_OS and Steam. Configure Steam to launch Proton for non-Linux-native games. Install a DX9 game such as Assassin's Creed or eqivalent. Right click game entry -> Properties... -> Set Launch Options... Enter PROTON_NO_D3D11=1 PROTON_NO_D3D11=1 DXVK_HUD=compiler gamemoderun %command% and click "Ok". Game will not run. Remove entry PROTON_NO_D3D11=1 from above line and game will run as normal, abeit with horrible framerates in big crowds.

According to ProtonDB, the above Set Launch Options is ideal to get the above game running with no problems. However the game refuses to run with the PROTON_NO_D3D11=1 entry.

Other Notes:

using vulkaninfo (after installing with sudo apt install vulkan-tools) yields:

ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_intel.so: wrong ELF class: > ELFCLASS32 ERROR: [Loader Message] Code 0 : /usr/lib/i386-linux-gnu/libvulkan_radeon.so: wrong ELF class: ELFCLASS32

VULKANINFO

Vulkan Instance Version: 1.1.114

/build/vulkan-tools-IZAxVX/vulkan-tools-1.1.114.0+dfsg1/vulkaninfo/vulkaninfo.c:5884: failed >with VK_ERROR_INITIALIZATION_FAILED

After having talked with the Pop!_Community (chat.pop-os.org) the issue seems to also be linked with others who have encountered the same Vulkan-related errors with the same GPU:

The full VK_LOADER_DEBUG=all vulkaninfo log can be found here.

No current solution can be found.

andrea-zanetti commented 4 years ago

Any news on this?This is still a blocker in march 2020...

smeep0 commented 4 years ago

It's gotten even worse now...

Used to be having radeon.si_support=0 amdgpu.si_support=1 in the kernel parameters would've resolved this issue. Now, even with radeon.cik_support=0 amdgpu.cik_support=1 radeon.si_support=0 amdgpu.si_support=1, Vulkan refuses to run even when it did before.