I'm trying to run Godot 4 with the Forward+ Renderer on an older Thinkpad (T420 i5 2520M). So far I've installed vulkan-intel, lavapipe (vulkan-swrast) and vulkan-ultis for vulkaninfo. Now I don't get the "missing drivers" errors anymore, but now it just crashes. The console output is this:
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.2.dev3.official (013e8e3afb982d4b230f0039b6dc248b48794ab9)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /usr/lib/libc.so.6(+0x3e710) [0x7f0529df1710] (??:0)
[2] llvm::CmpInst::getInversePredicate(llvm::CmpInst::Predicate) (??:0)
[3] [0x7f05140264c0] (??:0)
-- END OF BACKTRACE --
Is vulkan just not supported for older intel CPUs, or am I doing something wrong?
I once had problems getting an OpenGL program running under Windows on a 2nd gen i5 laptop, and discovered that the issue was that Intel had actually removed support for anything later than OpenGL 1.1 from the later versions of their drivers for those iGPUs.
After a little research, it looks like there's a "legacy" version of Mesa (mesa-amber) recommended for iGPUs on anything older than 3rd gen, and also that even the main Mesa drivers don't support Vulkan fully on 3rd and 4th gen Core iX processor iGPUs.
I think that you may just be out of luck trying to use Vulkan on a 2nd gen Core iX CPU iGPU, but I'd love to hear from someone who knows better.
I'm a little bit confused? What would Vulkan have to do with the CPU? Isn't the GPU the important part here?
I actually did that before, but that ended up breaking a bunch of stuff. When running
vulkaninfo
for example, it gives me this output:/home/smorty/.cache/yay/swiftshader-git/src/SwiftShader/src/WSI/VkSurfaceKHR.cpp:246 WARNING: UNSUPPORTED: pSurfaceCapabilities->pNext sType = 1000111000 /home/smorty/.cache/yay/swiftshader-git/src/SwiftShader/src/WSI/VkSurfaceKHR.cpp:246 WARNING: UNSUPPORTED: pSurfaceCapabilities->pNext sType = 1000239000 Speicherzugriffsfehler (Speicherabzug geschrieben) (that's german for "save access denied, memory dump written")
So yeah, that seems to not work unfortunately.