Comments (4)
It looks like you need to install the Vulkan SDK: https://vulkan.lunarg.com/sdk/home. See the Ubuntu package tab.
from raytracinginvulkan.
Thanks, now compile fine. Please, add the instruction on readme.md
. But, can not start:
$ inxi -CG
CPU:
Info: 8-core model: AMD Ryzen 7 5800X3D bits: 64 type: MT MCP cache:
L2: 4 MiB
Speed (MHz): avg: 2982 min/max: 2200/4549 cores: 1: 3127 2: 2879 3: 2879
4: 2875 5: 2875 6: 3598 7: 2878 8: 2874 9: 2877 10: 2878 11: 2878 12: 2879
13: 2876 14: 3589 15: 2879 16: 2879
Graphics:
Device-1: AMD Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] driver: amdgpu
v: kernel
Display: wayland server: X.Org v: 1.22.1.1 with: Xwayland v: 22.1.1
compositor: gnome-shell v: 42.1 driver: X: loaded: amdgpu,ati
unloaded: fbdev,modesetting,radeon,vesa gpu: amdgpu
resolution: 1920x1080~60Hz
OpenGL: renderer: AMD Radeon RX 6800 XT (sienna_cichlid LLVM 13.0.1 DRM
3.42 5.15.0-39-generic)
v: 4.6 Mesa 22.0.1
$ ./build/linux/bin/RayTracer
Vulkan SDK Header Version: 216
Vulkan Instance Extensions:
- VK_KHR_device_group_creation (0.0.1)
- VK_KHR_display (0.0.23)
- VK_KHR_external_fence_capabilities (0.0.1)
- VK_KHR_external_memory_capabilities (0.0.1)
- VK_KHR_external_semaphore_capabilities (0.0.1)
- VK_KHR_get_display_properties2 (0.0.1)
- VK_KHR_get_physical_device_properties2 (0.0.2)
- VK_KHR_get_surface_capabilities2 (0.0.1)
- VK_KHR_surface (0.0.25)
- VK_KHR_surface_protected_capabilities (0.0.1)
- VK_KHR_wayland_surface (0.0.6)
- VK_KHR_xcb_surface (0.0.6)
- VK_KHR_xlib_surface (0.0.6)
- VK_EXT_acquire_drm_display (0.0.1)
- VK_EXT_acquire_xlib_display (0.0.1)
- VK_EXT_debug_report (0.0.10)
- VK_EXT_direct_mode_display (0.0.1)
- VK_EXT_display_surface_counter (0.0.1)
- VK_EXT_debug_utils (0.0.2)
- VK_KHR_portability_enumeration (0.0.1)
Vulkan Instance Layers:
- VK_LAYER_VALVE_steam_overlay_64 (1.2.136) : Steam Overlay Layer
- VK_LAYER_VALVE_steam_fossilize_32 (1.2.136) : Steam Pipeline Caching Layer
- VK_LAYER_VALVE_steam_fossilize_64 (1.2.136) : Steam Pipeline Caching Layer
- VK_LAYER_VALVE_steam_overlay_32 (1.2.136) : Steam Overlay Layer
- VK_LAYER_MESA_device_select (1.2.73) : Linux device selection layer
- VK_LAYER_LUNARG_screenshot (1.3.216) : LunarG image capture layer
- VK_LAYER_LUNARG_api_dump (1.3.216) : LunarG API dump layer
- VK_LAYER_KHRONOS_validation (1.3.216) : Khronos Validation Layer
- VK_LAYER_MESA_overlay (1.2.199) : Mesa Overlay layer
- VK_LAYER_LUNARG_monitor (1.3.216) : Execution Monitoring Layer
- VK_LAYER_KHRONOS_profiles (1.3.216) : Khronos Profiles layer
- VK_LAYER_KHRONOS_synchronization2 (1.3.216) : Khronos Synchronization2 layer
- VK_LAYER_LUNARG_gfxreconstruct (1.3.216) : GFXReconstruct Capture Layer Version 0.9.14-unknown
Vulkan Devices:
- [29631] AMD 'AMD RADV SIENNA_CICHLID' (Discrete GPU: vulkan 1.3.204, driver radv Mesa 22.0.1 - 22.0.1)
- [0] UnknownVendor 'llvmpipe (LLVM 13.0.1, 256 bits)' (CPU: vulkan 1.2.204, driver llvmpipe Mesa 22.0.1 (LLVM 13.0.1) - 0.0.1)
FATAL: cannot find a suitable device
0# 0x0000558627ABDBB2 in ./RayTracer
1# 0x0000558627AC019C in ./RayTracer
2# 0x00007F3AD2A7ED90 in /lib/x86_64-linux-gnu/libc.so.6
3# __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6
4# 0x0000558627AC9585 in ./RayTracer
from raytracinginvulkan.
Unfortunately I do not have AMD hardware at hand to test this with. Could you try another Vulkan ray traced application and check if it works? E.g. Quake 2 RTX.
Otherwise, the error is thrown by SetVulkanDevice()
in main.cpp
defined at line 205. If you feel up for it, you can compile in debug and put some breakpoints to see why it is not picking up a suitable device.
from raytracinginvulkan.
Commit 7590c27 and its GitHub CI file show that it compiles fine on Ubuntu 22.04. As for the comment above, there isn't much the app can do if the request device/driver does not support the necessary features.
from raytracinginvulkan.
Related Issues (20)
- Make scenes consistent across platforms/compilers
- Failed to load icon HOT 2
- Does not start, "found no matching transfer queue" HOT 3
- Benchmark results on RTX 3060 Ti (1440p) HOT 1
- Failed to launch when Vulkan 1.0 GPU present HOT 3
- FATAL: failed to load icon HOT 2
- Benchmark results on RTX 4090 (1440p) HOT 2
- Currently not running on Intel Arc GPUs HOT 6
- Performance on Intel Arc A770 GPU HOT 1
- Benchmark results on RX 7900 XTX (1440p) HOT 6
- Option to select GPU HOT 1
- Benchmark results on RTX 3070 mobile. iGPU -- AMD
- STB not found HOT 4
- Rebuild after Vulkan SDK Upgrade HOT 1
- Please support MSYS2 MINGW64
- VK_BUFFER_USAGE_VERTEX_BUFFER_BIT and VK_BUFFER_USAGE_INDEX_BUFFER_BIT HOT 4
- windows rx 7600 test result
- where to find the imguiConfig.cmake ,imgui-config.cmake, and tinyobjloaderConfig.cmake, and tinyobjloader-config.cmake? HOT 2
- Benchmark comparison between the RTX 3060 and RX 5600 XT HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from raytracinginvulkan.