ValveSoftware / ValveSoftware/Proton

Vulkan Driver Issue

Open
#3,492 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
32.8k
Forks
1.6k
PR merge metrics
PR metrics pending

Description

Hello,

I've found out a behavior that might be affecting other users. It seems for some games the wrong installed Vulkan driver is loaded, leading to crashes or graphical issues.

Setup 1

GPU: Nvidia GTX 970 4 GB
Kernel: 5.4.15
OS: Manjaro Linux
Proton: 4.11-12

Setup 2
GPU: Nvidia 740M 2 Gb ( Intel / Nvidia Hybrid )
Kernel: 5.4.15
OS: Manjaro Linux
Proton: 4.11-12

Scenario

Setup 1: When I set up D9VK for Sonic and All-Stars Racing Transformed (212480) some textures were not loaded properly like the picture below shows:

71359069-e14dfd80-2569-11ea-9752-de874cb5fcb7

Setup 2: the issue didn't happen.

Today I was testing RetroArch with the Vulkan driver on Setup 2 and everything went good. When I tried in Setup 1 the application was crashing. Reading the errors it seemed something related to the "Intel vulkan driver". When I looked for the system installed packages I found: vulkan-intel, lib32-vulkan-intel, vulkan-radeon, lib32-vulkan-radeon. Somehow these packages came installed on the system, but since I'm not using an Intel or Radeon GPU theoretically would not be a problem. I decided to remove them to see if I had any luck. Started RetroArch again with the Vulkan driver activated and it didn't crash. Problem fixed for RetroArch. Then I thought it might be related to the issue I had with Sonic and tried to launch it again with D9VK. All the game textures were properly loaded.

When I looked the Setup 2 installed packages, there was no intel or radeon driver installed, so the problem didn't happen there.

Perhaps there is an issue when deciding which installed Vulkan driver to use. I'm not sure if it is a Proton issue ( since it happens with RetroArch as well ). Anyway, thanks for the great work with Proton so far.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported behavior with RetroArch and Sonic and All-Stars Racing Transformed under the two listed hardware setups. Compare the installed Vulkan packages and driver selection, then verify that the correct driver is used without removing unrelated packages and that both applications launch with their textures rendered correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
computer-graphics, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.