luigifcruz / CyberEther

Multi-platform GPU-accelerated interface for compute-intensive pipelines. Radio, the final frontier.
MIT License
407 stars 14 forks source link

Segmentation Fault on Ubuntu 22.04 #78

Open pnietog opened 3 months ago

pnietog commented 3 months ago

Tried to run on Ubuntu 22.04.4 LTS, but I get a segmentation fault right after the window is created.

JETSTREAM [DEBUG] | [INSTANCE] Creating instance.
JETSTREAM [DEBUG] | [INSTANCE] Building interface
JETSTREAM [DEBUG] | Initializing Vulkan backend.
JETSTREAM [DEBUG] | [VULKAN] Required layer found: VK_LAYER_KHRONOS_validation
JETSTREAM [DEBUG] | [VULKAN] Supported required instance extensions: ["VK_KHR_surface", "VK_KHR_xcb_surface", "VK_EXT_debug_report"]
JETSTREAM [DEBUG] | [VULKAN] Supported required device extensions: ["VK_KHR_swapchain"]
JETSTREAM [DEBUG] | [VULKAN] Supported optional device extensions: {"VK_EXT_external_memory_host", "VK_KHR_external_memory_fd"}
JETSTREAM [INFO]  | -----------------------------------------------------
JETSTREAM [INFO]  | Jetstream Heterogeneous Backend [VULKAN]
JETSTREAM [INFO]  | -----------------------------------------------------
JETSTREAM [INFO]  | Device Name:      Intel(R) UHD Graphics (CML GT2)
JETSTREAM [INFO]  | Device Type:      INTEGRATED
JETSTREAM [INFO]  | API Version:      1.3.255
JETSTREAM [INFO]  | Unified Memory:   YES
JETSTREAM [INFO]  | Processor Count:  16
JETSTREAM [INFO]  | Device Memory:    11.60 GB
JETSTREAM [INFO]  | Staging Buffer:   64.00 MB
JETSTREAM [INFO]  | Interoperability:
JETSTREAM [INFO]  |   - Can Import Device Memory: YES
JETSTREAM [INFO]  |   - Can Export Device Memory: YES
JETSTREAM [INFO]  |   - Can Export Host Memory:   YES
JETSTREAM [INFO]  | -----------------------------------------------------
JETSTREAM [DEBUG] | [VULKAN] Creating GLFW viewport.
JETSTREAM [DEBUG] | [VULKAN] Swap mailbox presentation mode is available.
JETSTREAM [DEBUG] | [VULKAN] Creating window.
JETSTREAM [DEBUG] | [VULKAN] Creating ImGui.
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  149 ()
  Minor opcode of failed request:  4
  Serial number of failed request:  208
  Current serial number in output stream:  226
Segmentation fault (core dumped)

dmesg info:

cyberether[7099]: segfault at 80 ip 000074a4a9c8249b sp 00007ffc64046e90 error 4 in libvulkan_intel.so[74a4a9a7d000+657000] likely on CPU 7 (core 7, socket 0)

I haven't checked the code, as I am not yet sure everything is properly installed, but just so you know :)