-
Notifications
You must be signed in to change notification settings - Fork 261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux - Failed to create a Vulkan physical device, error code = VK_ERROR_FEATURE_NOT_PRESENT #804
Comments
Ice Lake IGPs on an up-to-date distribution should be fully Vulkan 1.3 compliant. That said, keep in mind RBDOOM-3-BFG is high-end oriented, so even if it was able to boot, it probably won't run well on your system. This is probably why only compatibility with dedicated GPUs is advertised. To play on integrated graphics, stick to version 1.4.0 or older which use OpenGL and a more limited renderer. |
From my Vulkan info:
Yes, I compiled the v1.4.0 and it works well on my machine, but I think it will not be maintained anymore, isn't it? |
1.4.0 won't be maintained anymore, but it should keep working well enough for the foreseeable future. |
By using OpenGL, I get it working with both native compilation and flatpak app. Why it should not work using Vulkan? Is Vulkan less efficient or there are new features harder to run? |
Just having a look at this now, and thanks for posting your vulkaninfo.txt file. The problem is your Intel GPU and/or driver is missing the This should be relatively easy to fix by testing for the Is this still an issue for you and do you need it fixed? Or have you moved permanently to the legacy OpenGL version? Note: If you just want to try this out on your system, you can comment out the line containing |
My goal was to build a Flatpak release using latest version. But I did it by using the OpenGL version because I couldn't run latest.
Thanks for the suggestion! I'll give a try again to latest version and check if it works. Anyway, I think the "issue" is to make it working with most GPU as possible. |
Thanks for the feedback. First let me know if the workaround solves the problem with your Intel GPU. If so we can proceed from there. |
I disabled my AMD discrete GPU and was able to duplicate this issue on my Intel UHD 630 Integrated GPU. Pull request #818 now contains a fix - see the final commit. The performance isn't very good in my case, but at least it runs. |
Hi @SRSaunders, I tried to build your
As suggested, I replaced VK_KHR_FORMAT_FEATURE_FLAGS_2_EXTENSION_NAME <-> VK_KHR_CREATE_RENDERPASS_2_EXTENSION_NAME.
So I tried to comment out both lines:
But now I'm getting:
|
FYI - The only line you need to comment out is: UPDATE: I believe I have finally found the issue by looking deeper into your vulkaninfo.txt: Interestingly your GPU/driver supports UPDATE 2: Fix for both issues ( |
If I build from branch, no patches, it compile and works. Performance are around one-half than OpenGL version.
|
Good news on the RBDoom3BFG branch fixes. I am not surprised with the lower performance of the new Vulkan version vs. OpenGL on your Intel iGPU. There is a lot more going on lighting-wise with the new stream and iGPUs are not ideal for this. However, I think it's still interesting for you to try with an updated nvrhi installation. FYI - the way you updated the nvrhi.h file will not work. Note RBDoom3BFG's version of nvrhi is not the repository head, but detached at RobertBeckebans/nvrhi@1cbc9e9. The file you used is the head version with my changes applied, which is incorrect and won't work. You can do either of the following:
I think option 1 is easier and less likely to break. Try it out and let me know if performance is any better. I suspect it will be similar since push constants are already limited to 128 bytes for Intel iGPUs/drivers on Linux. |
I think I applyed the patch correctly this time and the build succeded, but performance didn't changed. I tryed to increase/decrease the |
Changing the I have just pushed my final commit for that branch which helps with performance for more powerful Nvidia and AMD discrete GPUs, but may not help with your Intel Ice Lake iGPU. You can try it but my testing did not show much benefit for my Coffee Lake iGPU. RBDoom3BFG uses advanced lighting and rendering techniques which benefit from a discrete GPU with dedicated graphics memory, with the exception of the new M-series Apple Silicon GPUs which seem to perform well with this PR. The game will run on an Intel iGPU with shared system memory, just not that well. You can try turning off features in the System Options, or run at a lower resolution. |
After successful compilation of v1.5.1 on Linux (Fedora 38) I'm facing this error on starting the executable (I'm reporting only the relevant part):
Honestly, I don't understand what it means, but I think my Intel GPU lacks some feature. I attached my Vulkan info for details.
vulkaninfo.txt
In your Mod DB description about NVRHI you say:
What Intel models are supported? I'm interested in testing it for Linux, but I need to know if my device is supported.
The text was updated successfully, but these errors were encountered: