Closed arcivanov closed 4 years ago
vkcube/pp run fine:
bash-5.0$ ENABLE_PRIMUS_LAYER=1 optirun vkcube
PrimusVK: Searching for display GPU:
PrimusVK: 0x562a943061c0:
PrimusVK: 0x562a943061f0:
PrimusVK: Got integrated gpu!
PrimusVK: Device: Intel(R) UHD Graphics 630 (CFL GT2)
PrimusVK: Type: 1
PrimusVK: Searching for render GPU:
PrimusVK: 0x562a943061c0.
PrimusVK: Got discrete gpu!
PrimusVK: Device: Quadro T2000
PrimusVK: Type: 2
PrimusVK: fetching dispatch for 0x562a944ed080
PrimusVK: Creating display device finished!: 0
PrimusVK: fetching dispatch for 0x562a94428ff0
PrimusVK: CreateDevice done
PrimusVK: Application requested 3 images.
PrimusVK: Creating Swapchain for size: 500x500
PrimusVK: MinImageCount: 3
PrimusVK: fetching device for: 0x562a94428ff0
PrimusVK: FamilyIndexCount: 0
PrimusVK: Dev: 0x562a944ed080
PrimusVK: Swapchainfunc: 0x7f3bd26f6f90
PrimusVK: >> Swapchain create done 0;0x562a944212b0
PrimusVK: Image aquiring: 3
PrimusVK: Selected render mem: 9;7 display: 0
PrimusVK: Creating image: 500x500
PrimusVK: Creating image: 500x500
PrimusVK: Creating image: 500x500
PrimusVK: Creating image: 500x500
PrimusVK: Creating image: 500x500
PrimusVK: Creating image: 500x500
PrimusVK: Creating image: 500x500
PrimusVK: Creating image: 500x500
PrimusVK: Creating image: 500x500
PrimusVK: Creating a Swapchain thread.
PrimusVK: Count: 3
PrimusVK: >> Destroy swapchain: 0x562a944212b0
Hi, I've checked vkmark and tried this locally and yes, this is a bug in primus_vk. I corrected it in the current master. The bug was triggered by the mailbox
presentation mode that is selected by vkmark and is probably not that often selected by games and other applications. With the corrected version vkmark works on my system. Does it work for you now?
Works for me, thanks!
Fedora 32.