Skip to content
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

Vulkan: Crash: Assertion `r->device_props.limits.maxComputeWorkGroupCount[0] >= group_count' failed #1861

Open
Schrikvis opened this issue Jan 12, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@Schrikvis
Copy link

Bug Description

Steps to reproduce this issue:

  1. Select the Vulkan backend
  2. Restart xemu
  3. xemu crashes on startup

xemu: ../xemu/hw/xbox/nv2a/pgraph/vk/surface-compute.c:506: pgraph_vk_unpack_depth_stencil: Assertion `r->device_props.limits.maxComputeWorkGroupCount[0] >= group_count' failed.

Expected Behavior

Xemu shouldn't crash on startup.

xemu Version

Version: 0.8.8
Branch: master
Commit: ebcacad
Date: omitted

System Information

CPU: AMD Ryzen 9 5900X 12-Core Processor
OS Platform: Linux
OS Version: Arch Linux
Manufacturer: AMD
GPU Model: AMD Radeon RX 7800 XT (radeonsi, navi32, LLVM 18.1.8, DRM 3.59, 6.12.8-zen1-1-zen)
Driver: 4.6 (Core Profile) Mesa 24.3.3-arch1.1
Shader: 4.60

Additional Context

xemu_version: 0.8.8
xemu_branch: master
xemu_commit: ebcacad78b496604291a168aa3bc64ac96823cf9
xemu_date: omitted
xemu_settings_get_base_path: base path: /home/vis/.local/share/xemu/xemu/
xemu_settings_get_path: config path: /home/vis/.local/share/xemu/xemu/xemu.toml
radeonsi: Forcing anisotropy filter to 16x
CPU: AMD Ryzen 9 5900X 12-Core Processor            
OS_Version: Arch Linux
GL_VENDOR: AMD
GL_RENDERER: AMD Radeon RX 7800 XT (radeonsi, navi32, LLVM 18.1.8, DRM 3.59, 6.12.8-zen1-1-zen)
GL_VERSION: 4.6 (Core Profile) Mesa 24.3.3-arch1.1
GL_SHADING_LANGUAGE_VERSION: 4.60
Created QEMU launch parameters: xemu -machine xbox,bootrom=/omitted/Boot ROM image/mcpx_1.0.bin,short-animation=on,kernel-irqchip=off,avpack=hdtv -device smbus-storage,file=/home/vis/.local/share/xemu/xemu/widescreen_eeprom.bin -bios /omitted/BIOS/Complex_4627v1.03.bin -m 64 -drive index=0,media=disk,file=/omitted/Pre-built Xbox HDD image/xbox_hdd.qcow2,locked=on -drive index=1,media=cdrom,file= -display xemu -device usb-hub,port=1,ports=4 -audio none 
Enabled instance extensions:
- VK_KHR_surface
- VK_KHR_xlib_surface
- VK_KHR_get_physical_device_properties2
- VK_KHR_external_semaphore_capabilities
- VK_KHR_external_memory_capabilities
Available physical devices:
- AMD Radeon RX 7800 XT (RADV NAVI32)
Selected physical device: AMD Radeon RX 7800 XT (RADV NAVI32)
- Vendor: 1002, Device: 747e
- Driver Version: 24.3.3
Enabled device extensions:
- VK_KHR_external_semaphore
- VK_KHR_external_memory
- VK_KHR_external_memory_fd
- VK_KHR_external_semaphore_fd
- VK_EXT_custom_border_color
- VK_EXT_provoking_vertex
- VK_EXT_memory_budget
radv: Forcing anisotropy filter to 16x
xemu: ../xemu/hw/xbox/nv2a/pgraph/vk/surface-compute.c:506: pgraph_vk_unpack_depth_stencil: Assertion `r->device_props.limits.maxComputeWorkGroupCount[0] >= group_count' failed.
Aborted (core dumped)
@Schrikvis Schrikvis added the bug Something isn't working label Jan 12, 2025
@Schrikvis Schrikvis changed the title Vulkan: Assertion `r->device_props.limits.maxComputeWorkGroupCount[0] >= group_count' failed Vulkan: Crash: Assertion `r->device_props.limits.maxComputeWorkGroupCount[0] >= group_count' failed Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant