felixdoerre / primus_vk

Vulkan GPU-offloading layer
BSD 2-Clause "Simplified" License
230 stars 17 forks source link

Game issue with lutris #54

Closed ggoupy closed 5 years ago

ggoupy commented 5 years ago

Hello, I have a problem trying to use primus_vk for world of warcraft with lutris. I am on fedora 30.

I installed primus_vk and set up the game configuration settings as: Optimus launcher: primus vk Vulkan ICD loader: Auto(Default) -in the first test- Vulkan ICD loader: primus_vk_wrapper.json -in the second test-

So in the first case, the launcher and game both launch but the display looks really weird ... (take a look at the the test1*.png pictures and test1-log.txt)

And in the second case, the launcher launch well but I have an error starting the game (3d accelerator card not supported, test2*.png and test2-log.txt)

I don't know where the error comes from... Do you have an idea ?

(sorry for my bad english)

test1_game-display test1_game-settings test1-log.txt test2_game-error test2_game-settings test2-log.txt

ggoupy commented 5 years ago

Now I can launch the game with the game config Optimus launcher: primus vk Vulkan ICD loader: Auto(Default)

without the weird display in the launcher, but still weird in the game ... And I don't know why the launcher looks good now...

EDIT: I am 90% sure that the problem comes from between primus_vk and DXVK beacause if I disable it in settings, I dont have problems but the game is very laggy

felixdoerre commented 5 years ago

Do you have the latest code? ( i.e. is e3c4f6cebe30823a85ea4b4c6514d2858bd52d53 included?). These artifacts look a lot like those, that were fixed in that commit. So you need that code version (or just take current master) and you need it compiled for 32 and for 64 bit (I assume the launcher is a 32-bit executable and the game is a 64-bit executable).

So, are you sure, that you have the latest version of primus_vk in both 32 and 64 bit?

felixdoerre commented 5 years ago

As for the two "test scenarios":

Vulkan ICD loader: Auto(Default) -in the first test- Vulkan ICD loader: primus_vk_wrapper.json -in the second test-

the "first test" is the way that primus_vk should work. The second is expected to fail (we need the the intel icd and the primus_vk_wrapped-nvidia icd, so primus_vk can interact with both drivers)

ggoupy commented 5 years ago

I finally decided to use prime on my nvidia gpu so I don't have this problem no more.

I installed primus_vk from another repository with rpm so I assume that it would be better to install it manually from git.