Vulkan on older intel CPUs (on manjaro)

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:


<span style="color:#323232;">handle_crash: Program crashed with signal 11
</span><span style="color:#323232;">Engine version: Godot Engine v4.2.dev3.official (013e8e3afb982d4b230f0039b6dc248b48794ab9)
</span><span style="color:#323232;">Dumping the backtrace. Please include this when reporting the bug to the project developer.
</span><span style="color:#323232;">[1] /usr/lib/libc.so.6(+0x3e710) [0x7f0529df1710] (??:0)
</span><span style="color:#323232;">[2] llvm::CmpInst::getInversePredicate(llvm::CmpInst::Predicate) (??:0)
</span><span style="color:#323232;">[3] [0x7f05140264c0] (??:0)
</span><span style="color:#323232;">-- END OF BACKTRACE --
</span><span style="color:#323232;">
</span>

Is vulkan just not supported for older intel CPUs, or am I doing something wrong?

Redkey, (edited )

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.

LinuxUserGD,
@LinuxUserGD@feddit.de avatar

lavapipe is a software renderer and should be compatible with any CPU afaik

TheTrueLinuxDev,

Maybe try installing swiftshader?

Smorty, (edited )

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.

TheTrueLinuxDev,

Oof, sorry. :( I had hoped that they sorted it out by then…

LinuxUserGD,
@LinuxUserGD@feddit.de avatar

“Please include this when reporting the bug to the project developer.”

So just search if there is already an issue on GitHub (e. g. github.com/godotengine/godot/issues/70506#issueco… ) and file a bug report otherwise.

Maybe try previous stable 4.1.1 release.

Feyter,

I’m a little bit confused? What would Vulkan have to do with the CPU? Isn’t the GPU the important part here?

Smorty,

It’s the iGPU. So I’m using the built in GPU in the i5.

Schmeckinger,

It uses a HD 3000 and I think the oldest intel GPU with vulxan support on linux is HD 4000. Not 100% sure tho.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • test
  • CafeMeta
  • [email protected]
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • TheResearchGuardian
  • Ask_kbincafe
  • KbinCafe
  • feritale
  • Socialism
  • oklahoma
  • SuperSentai
  • KamenRider
  • All magazines