Confused on Steam Play and Proton? Be sure to check out our guide.
Lunarg vulkan sdk setup
Page: «2/3»
  Go to:
sr_ls_boy Jan 16, 2018
Quoting: GuestIt was mentioned earlier that mesa-vulkan-drivers is installed.
The version of that package should be for him at 17.2.5-X He mentioned 1.0.61.1, which
is his vulkan ICD loader package.

To be sure, /usr/lib/x86_64-linux-gnu/libvulkan_radeon.so should exist.
That is the only library provided by mesa/radv.
sr_ls_boy Jan 16, 2018
P.S.

How did you come across your LunarG SDK? From their web page?
If so, maybe you should scrub it. Instead install " libvulkan-dev".
That provides headers file & libvulkan.so.

I was thinking there might be some incompatibilities with the different
library versions. LunarG is at 1.0.65.0 but Debian is at 1.0.61.1.
dvd Jan 16, 2018
Quoting: sr_ls_boyP.S.

How did you come across your LunarG SDK? From their web page?
If so, maybe you should scrub it. Instead install " libvulkan-dev".
That provides headers file & libvulkan.so.

I was thinking there might be some incompatibilities with the different
library versions. LunarG is at 1.0.65.0 but Debian is at 1.0.61.1.

yes, on their website. I have all the packages that you mentioned installed and updated to whatever is in testing right now.

VK initialization fails no matter if i run the local lunarg sdk version or the global version from the packages.
dvd Jan 16, 2018
Quoting: GuestIt was mentioned earlier that mesa-vulkan-drivers is installed. The libraries are all in the right location. I was thinking that maybe it was trying for the 32bit drivers, but my Debian is _really_ rusty. Could also be that something is assuming /usr/lib to be the 64bit path.

I would test other things - any freebie game, Sascha Willems' demos, glfw demo, etc. See if they work. If so, then basically rely on them instead. The lunarg SDK is good for validation layers though.

Yes i remembered reading somewhere about vulkan programs needing validation, that's why i tried to do a local lunarg sdk installation.
dvd Jan 16, 2018
Quoting: Guest
Quoting: dvd
Quoting: GuestIt was mentioned earlier that mesa-vulkan-drivers is installed. The libraries are all in the right location. I was thinking that maybe it was trying for the 32bit drivers, but my Debian is _really_ rusty. Could also be that something is assuming /usr/lib to be the 64bit path.

I would test other things - any freebie game, Sascha Willems' demos, glfw demo, etc. See if they work. If so, then basically rely on them instead. The lunarg SDK is good for validation layers though.

Yes i remembered reading somewhere about vulkan programs needing validation, that's why i tried to do a local lunarg sdk installation.

Vulkan programs don't _need_ validation layers, but it's (very) highly recommended to use them during development. A shipping product shouldn't enable them because it will just slow everything down.

Sorry, you're right, but i just want to get the thing working before dwelving deeper into the documentation.
dvd Jan 16, 2018
The trouble is not (only) the SDK, but vulkan support. Native applications fail with initialising vulkan, from what i gather, becuase they cannot query a list of physical devices. I downloaded some vulkan project from git, they all throw the same error, including system vulkaninfo.
hilpara Jan 17, 2018
I didn't see anywhere if you are using amdgpu or radeon module? I used to have R9 270x and Vulkan worked "fine". But as far as I can remember you need to use amdgpu kernel module to get Vulkan work.
dvd Jan 17, 2018
Both are installed and loaded by the kernel. I tried blacklisting the radeon module and removing the X bit (xserver-xorg-video-radeon) but that just broke OGL hardware acceleration, did nothing to the errors i get from vulkan applications.
hilpara Jan 17, 2018
Did you also add the kernel parameters amdgpu.si_support=1 radeon.si_support=0 after blacklisting the radeon module? I never removed any bits anywhere to get Vulkan working.
dvd Jan 17, 2018
Quoting: hilparaDid you also add the kernel parameters amdgpu.si_support=1 radeon.si_support=0 after blacklisting the radeon module? I never removed any bits anywhere to get Vulkan working.

That was it! Thanks, i never knew i'd have to add those parameters!
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register


Or login with...
Sign in with Steam Sign in with Google
Social logins require cookies to stay logged in.

Buy Games
Buy games with our affiliate / partner links: