VulkanMod icon indicating copy to clipboard operation
VulkanMod copied to clipboard

vulkanmod seems to pick llvmpipe as it's default device and not the gpu (it's pretty smart ngl)

Open Etaash-mathamsetty opened this issue 3 years ago • 5 comments

it decided to use cpu rendering by default, so is there any way to change the device. (this is a linux issue btw) image it is probably caused by my gpu having only 512 MB of vram, but its an igpu so vram does not matter at all!

Etaash-mathamsetty avatar Jul 03 '22 15:07 Etaash-mathamsetty

the best solution would be to ignore cpu devices when initializing vulkan

Etaash-mathamsetty avatar Jul 03 '22 16:07 Etaash-mathamsetty

Maybe uninstall llvmpipe? Also what does glxinfo -B say? It'll give info about the default gpu.

polarbub avatar Jul 03 '22 17:07 polarbub

Maybe uninstall llvmpipe? Also what does glxinfo -B say? It'll give info about the default gpu.

default gpu is my igpu, this project's device picker is setup incorrectly and I don't think I can uninstall llvmpipe in flatpak

Etaash-mathamsetty avatar Jul 03 '22 19:07 Etaash-mathamsetty

Something wrong with your system, but I think your PR will fix the problem. And don't say it's "smart" just because some code doesn't function properly lol

teppyboy avatar Jul 05 '22 21:07 teppyboy

Something wrong with your system, but I think your PR will fix the problem. And don't say it's "smart" just because some code doesn't function properly lol

nothing is wrong with my system lol (everything else vulkan works just fine, in fact my igpu can run quake 2 with actual rtx without issue), and I called it smart because it's the first time I have ever seen a bug like this

Etaash-mathamsetty avatar Jul 05 '22 22:07 Etaash-mathamsetty

I'm having this same issue on Linux, and I obviously cant just remove LLVM.

deafkite42 avatar Sep 03 '22 01:09 deafkite42

I'm having this same issue on Linux, and I obviously cant just remove LLVM.

can you try the linked PR?

Etaash-mathamsetty avatar Sep 03 '22 16:09 Etaash-mathamsetty