Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for Vulkan errors regarding AMD #79

Open
Matt0-dev opened this issue Oct 14, 2023 · 2 comments
Open

Fix for Vulkan errors regarding AMD #79

Matt0-dev opened this issue Oct 14, 2023 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@Matt0-dev
Copy link

Matt0-dev commented Oct 14, 2023

After some testing for AMD drivers I finally found a solution and OBVIOUSLY this isnt an ISSUE post but, I decided to put it here because it will appear in the Valthrun github notif channel.

Since AMD has certain drivers that specifically supports Vulkan (seen here https://www.amd.com/en/support/kb/release-notes/rn-rad-win-vulkan#:~:text=Our%20Vulkan%20beta%20drivers%20for,Vulkan®%20Roadmap%202022%20milestone.) I assume that (correct me if im wrong) vulkan is not completely supported on the newest drivers but, partially due to the fact that OpenGL and DirectX is a more popular choice for applications and games.

The solution is downloading the VulkanSDK and Runtime. (can be found here https://vulkan.lunarg.com/sdk/home)

I'm not too educated and I didn't do that much testing but, these are the steps I did and I'm sure one of you can do some testing to figure out if you can just use the SDK or if the Runtime installs something specific that fixes this issue for AMD users


**Step 1 **

First go to the vulkanSDK and runtime link above and download both
image

Step 2
Run the Vulkan SDK first and make sure to check everything in the Select Components section (once again I do not know if you really need to do this but, I was desperate and just did it for "safe measures" laziness to test more)

Step 3
Run Vulkan Runtime installer and just follow install steps shouldn't take more than like 20 seconds

Step 4
Start Valthrun as you usually would and it should work seeing that you now have the right version of Vulkan-1.dll


Notes

  • I do not know if it is just me but, now valthrun runs at like 600-2k fps in the menu and sometimes in game. This causes the game to get the occasional stutter but this might be a AMD thing since im on the pro drivers

  • I have not tried this on newest AMD drivers I will later or if someone beats me to it I will write it down if it works or doesn't work.

Pls lmk if this works or doesn't work for you and if you need any help my name is verizon9881 on discord and in the server you can usually find me in the support section

@WolverinDEV WolverinDEV added the documentation Improvements or additions to documentation label Oct 14, 2023
@WolverinDEV
Copy link
Collaborator

Hey,
thank you for your investigation.
While installing the Vulkan Runtime does the trick for some people, it does not solves the issue for all people (I've already suggested that solution in Discord a week ago or something :))

I've added a section to the Vulkan related issues Wiki page:
https://wiki.valth.run/#/030_troubleshooting/overlay/040_amd_opengl?id=_3-installing-the-vulkan-runtime

@Matt0-dev
Copy link
Author

I have now fixed vulkan detection and low fps issues using the Vulkan configurator, this is what worked for me it may not work for everyone its just my findings.

detection problems

step 1 - go to vulkan installation analysis
image

step 2- go to vulkan driver info and Enable PCI/VEN
image

step 3 - done it should load the driver

FPS issues

step 1 - open vulkan configurator

step 2 - you will see an area that says vulkan layers configurations go to portability, synchronization, and validation and set each one to Reduced-overhead preset in the settings
image

@Matt0-dev Matt0-dev reopened this Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants