-
Notifications
You must be signed in to change notification settings - Fork 10
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 and Wayland - build scripts are very broken (list of fixes to make it work) #10
Comments
Thanks! Very appreciate the structured report! Fixed. Please, re-clone from scratch and test again:
|
Added |
Tested - cloning repo
I have 3 GPU listed for Vulkan: (not in order, order is random - Vulkan):
Every other Vulkan app/demo/sample even
This NRISamples for every sample:
Without set of llvmpipe is CPU type https://registry.khronos.org/vulkan/specs/latest/man/html/VkPhysicalDeviceType.html VK_PHYSICAL_DEVICE_TYPE_CPU
|
Thanks for verifications! Yes, I have realized that it's not P.S. Thanks a ton for valuable posts! |
If you have a minute (but I don't insist) could you, please, close this issue and create another one in NRI repo for wrong classification of |
Manual fixes required to make it work:
Modify:
NRISamples/External/NRIFramework/External/NRI
- apply this - Fix detection of wayland-client.h NRI#123NRISamples/External/NRIFramework/External/NRI
- apply this - Fix Linux gcc14 build NRIFramework#11Now you can build - but it wont work (under Wayland for more info - read #11 ).
Continue:
cmake-gui
or in config cmake files (of NRISamples) set these to off:NRISamples/External/NRIFramework/External/NRI/Source/VK/SwapChainVK.hpp
- line 96 edit to:Yes this problem can point on - "something wrong with NRI framework" or detection of number of swapchain images - I have no idea - if you want debug it.
Now it will build and can work under xcb/x11 (in Wayland also work).
But in system with multiple GPU - it will select:
Wrong CPU-emulation or integrated GPU.
To select discrete Nvidia GPU:
This app NRISamples does not have way to select GPU so:
Create file
nvidia_icd.json
And run:
or for AMD
Youl see in output:

And it works.
The text was updated successfully, but these errors were encountered: