Skip to content

NSBMU Intel Arc Vulkan issue #1548

Open
@IrishBruse

Description

@IrishBruse

Current Behavior

Black screen on nsmbu with vulkan but works with opengl fine
Gets to the blue yoshi but then the fade to titlescreen crashs and starts spamming logs with vkGetFenceStatus

Expected Behavior

Title screen to open

Steps to Reproduce

Just launch nsmbu with crash fix

System Info (Optional)

System Info
System:
  Kernel: 6.14.4-061404-generic arch: x86_64 bits: 64 compiler: gcc v: 14.2.0 clocksource: tsc
  Desktop: Cinnamon v: 6.4.8 tk: GTK v: 3.24.41 wm: Muffin v: 6.4.1 vt: 7 dm: LightDM v: 1.30.0
    Distro: Linux Mint 22.1 Xia base: Ubuntu 24.04 noble
Machine:
  Type: Desktop System: PCSpecialist product: Pulsar Elite v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: PRIME B760-PLUS D4 v: Rev 1.xx serial: <superuser required>
    part-nu: 3039567 uuid: <superuser required> UEFI: American Megatrends v: 1805 date: 10/30/2024
Battery:
  Device-1: hidpp_battery_0 model: Logitech G305 Lightspeed Wireless Gaming Mouse serial: <filter>
    charge: 100% (should be ignored) rechargeable: yes status: discharging
CPU:
  Info: 10-core (6-mt/4-st) model: 12th Gen Intel Core i5-12600KF bits: 64 type: MST AMCP
    smt: enabled arch: Alder Lake rev: 2 cache: L1: 864 KiB L2: 9.5 MiB L3: 20 MiB
  Speed (MHz): avg: 3199 high: 4501 min/max: 800/4900:3600 cores: 1: 4500 2: 4500 3: 3046 4: 2226
    5: 2359 6: 4000 7: 4501 8: 4500 9: 3847 10: 1987 11: 799 12: 4109 13: 986 14: 3449 15: 3331
    16: 3058 bogomips: 117964
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel driver: xe v: kernel pcie: speed: 2.5 GT/s lanes: 1 ports: active: DP-2,HDMI-A-3
    empty: DP-1, DP-3, HDMI-A-1, HDMI-A-2, HDMI-A-4 bus-ID: 03:00.0 chip-ID: 8086:e20b class-ID: 0300
  Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X: loaded: modesetting
    unloaded: fbdev,vesa dri: iris gpu: xe display-ID: :0 screens: 1
  Screen-1: 0 s-res: 4480x1440 s-dpi: 96 s-size: 1185x381mm (46.65x15.00")
    s-diag: 1245mm (49.01")
  Monitor-1: DP-2 pos: primary,right model: AOC Q24G2 serial: <filter> res: 2560x1440 hz: 165
    dpi: 124 size: 526x296mm (20.71x11.65") diag: 604mm (23.8") modes: max: 2560x1440 min: 720x400
  Monitor-2: HDMI-A-3 mapped: HDMI-3 pos: left model: BenQ GL2250H serial: <filter>
    res: 1920x1080 hz: 60 dpi: 102 size: 477x268mm (18.78x10.55") diag: 547mm (21.5") modes:
    max: 1920x1080 min: 720x400
  API: EGL v: 1.5 hw: drv: intel iris platforms: device: 0 drv: iris device: 1 drv: swrast gbm:
    drv: iris surfaceless: drv: iris x11: drv: iris inactive: wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.2.8-1ubuntu1~24.04.1 glx-v: 1.4
    direct-render: yes renderer: Mesa Intel Graphics (BMG G21) device-ID: 8086:e20b
  API: Vulkan v: 1.3.275 layers: 8 surfaces: xcb,xlib device: 0 type: discrete-gpu driver: N/A
    device-ID: 8086:e20b device: 1 type: cpu driver: N/A device-ID: 10005:0000
Audio:
  Device-1: Intel Raptor Lake High Definition Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel
    bus-ID: 00:1f.3 chip-ID: 8086:7a50 class-ID: 0403
  Device-2: Intel driver: snd_hda_intel v: kernel pcie: speed: 2.5 GT/s lanes: 1 bus-ID: 04:00.0
    chip-ID: 8086:e2f7 class-ID: 0403
  Device-3: Audio-Technica AT2020USB+ driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 1.1
    speed: 12 Mb/s lanes: 1 bus-ID: 1-4.1:5 chip-ID: 0909:001c class-ID: 0300
  Device-4: Logitech [G533 Wireless Headset Dongle] driver: hid-generic,snd-usb-audio,usbhid
    type: USB rev: 1.1 speed: 12 Mb/s lanes: 1 bus-ID: 1-4.4:9 chip-ID: 046d:0a66 class-ID: 0300
  API: ALSA v: k6.14.4-061404-generic status: kernel-api
  Server-1: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active
  Server-2: PulseAudio v: 16.1 status: off (using pipewire-pulse)
Network:
  Device-1: Realtek RTL8125 2.5GbE vendor: ASUSTeK driver: r8169 v: kernel pcie: speed: 5 GT/s
    lanes: 1 port: 4000 bus-ID: 08:00.0 chip-ID: 10ec:8125 class-ID: 0200
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) driver: btusb v: 0.8 type: USB
    rev: 2.0 speed: 12 Mb/s lanes: 1 bus-ID: 1-10.2:6 chip-ID: 0a12:0001 class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 4.0 lmp-v: 6 sub-v: 22bb
    hci-v: 6 rev: 22bb class-ID: 7c0104
RAID:
  Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd v: 0.6 port: N/A
    bus-ID: 00:0e.0 chip-ID: 8086:467f rev: class-ID: 0104
Drives:
  Local Storage: total: 2.29 TiB used: 740.74 GiB (31.7%)
  ID-1: /dev/nvme0n1 model: PCSPECIALIST PCS3480 512GB size: 476.94 GiB speed: 31.6 Gb/s lanes: 4
    tech: SSD serial: <filter> fw-rev: SN10660 temp: 32.9 C scheme: GPT
  ID-2: /dev/nvme1n1 vendor: Western Digital model: WD Blue SN570 1TB size: 931.51 GiB
    speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter> fw-rev: 234110WD temp: 33.9 C scheme: GPT
  ID-3: /dev/sda vendor: Western Digital model: WD10EZEX-00MFCA0 size: 931.51 GiB speed: 6.0 Gb/s
    tech: HDD rpm: 7200 serial: <filter> fw-rev: 1A01 scheme: MBR
Partition:
  ID-1: / size: 66.11 GiB used: 27.96 GiB (42.3%) fs: ext4 dev: /dev/nvme1n1p3
  ID-2: /boot/efi size: 486 MiB used: 11.3 MiB (2.3%) fs: vfat dev: /dev/nvme1n1p1
  ID-3: /home size: 273.95 GiB used: 139.83 GiB (51.0%) fs: ext4 dev: /dev/nvme1n1p2
Swap:
  ID-1: swap-1 type: partition size: 8.38 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/nvme1n1p9
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 16 rev: 2.0 speed: 480 Mb/s lanes: 1
    chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-2:2 info: ASUSTek AURA LED Controller type: HID driver: hid-generic,usbhid
    interfaces: 2 rev: 2.0 speed: 12 Mb/s lanes: 1 power: 16mA chip-ID: 0b05:19af class-ID: 0300
    serial: <filter>
  Hub-2: 1-4:3 info: Genesys Logic Hub ports: 4 rev: 2.1 speed: 480 Mb/s lanes: 1
    chip-ID: 05e3:0610 class-ID: 0900
  Device-1: 1-4.1:5 info: Audio-Technica AT2020USB+ type: audio,HID
    driver: hid-generic,snd-usb-audio,usbhid interfaces: 4 rev: 1.1 speed: 12 Mb/s lanes: 1
    power: 100mA chip-ID: 0909:001c class-ID: 0300
  Device-2: 1-4.2:7 info: SteelSeries ApS Apex 9 TKL type: keyboard,HID
    driver: hid-generic,usbhid interfaces: 5 rev: 2.0 speed: 12 Mb/s lanes: 1 power: 500mA
    chip-ID: 1038:1634 class-ID: 0300
  Device-3: 1-4.3:8 info: Logitech USB Receiver type: keyboard,mouse,HID
    driver: logitech-djreceiver,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s lanes: 1 power: 98mA
    chip-ID: 046d:c53f class-ID: 0300
  Device-4: 1-4.4:9 info: Logitech [G533 Wireless Headset Dongle] type: audio,HID
    driver: hid-generic,snd-usb-audio,usbhid interfaces: 4 rev: 1.1 speed: 12 Mb/s lanes: 1
    power: 100mA chip-ID: 046d:0a66 class-ID: 0300
  Hub-3: 1-10:4 info: ASMedia ASM1074 High-Speed hub ports: 4 rev: 2.1 speed: 480 Mb/s lanes: 1
    power: 100mA chip-ID: 174c:2074 class-ID: 0900
  Device-1: 1-10.2:6 info: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) type: bluetooth
    driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s lanes: 1 chip-ID: 0a12:0001 class-ID: e001
  Hub-4: 2-0:1 info: super-speed hub ports: 9 rev: 3.1 speed: 20 Gb/s lanes: 2 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-5: 2-9:2 info: ASMedia ASM1074 SuperSpeed hub ports: 4 rev: 3.0 speed: 5 Gb/s lanes: 1
    power: 8mA chip-ID: 174c:3074 class-ID: 0900
Sensors:
  System Temperatures: cpu: 34.5 C mobo: N/A
  Fan Speeds (rpm): N/A
Repos:
  Packages: 3602 pm: dpkg pkgs: 3590 pm: flatpak pkgs: 12
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/canonical-kernel-team-proposed-noble.list
    1: deb [signed-by=/etc/apt/keyrings/canonical-kernel-team-proposed-noble.gpg] https: //ppa.launchpadcontent.net/canonical-kernel-team/proposed/ubuntu noble main
  Active apt repos in: /etc/apt/sources.list.d/cappelikan-ppa-noble.list
    1: deb [signed-by=/etc/apt/keyrings/cappelikan-ppa-noble.gpg] https: //ppa.launchpadcontent.net/cappelikan/ppa/ubuntu noble main
  Active apt repos in: /etc/apt/sources.list.d/danielrichter2007-grub-customizer-noble.list
    1: deb [signed-by=/etc/apt/keyrings/danielrichter2007-grub-customizer-noble.gpg] https: //ppa.launchpadcontent.net/danielrichter2007/grub-customizer/ubuntu noble main
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
    1: deb [arch=amd64] https: //dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/obsproject-obs-studio-noble.list
    1: deb [signed-by=/etc/apt/keyrings/obsproject-obs-studio-noble.gpg] https: //ppa.launchpadcontent.net/obsproject/obs-studio/ubuntu noble main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb https: //ftp.crifo.org/mint-packages xia main upstream import backport
    2: deb http: //ftp.snt.utwente.nl/pub/os/linux/ubuntu noble main restricted universe multiverse
    3: deb http: //ftp.snt.utwente.nl/pub/os/linux/ubuntu noble-updates main restricted universe multiverse
    4: deb http: //ftp.snt.utwente.nl/pub/os/linux/ubuntu noble-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse
  No active apt repos in: /etc/apt/sources.list.d/steam-beta.list
  Active apt repos in: /etc/apt/sources.list.d/steam-stable.list
    1: deb [arch=amd64,i386 signed-by=/usr/share/keyrings/steam.gpg] https: //repo.steampowered.com/steam/ stable steam
    2: deb-src [arch=amd64,i386 signed-by=/usr/share/keyrings/steam.gpg] https: //repo.steampowered.com/steam/ stable steam
  Active apt repos in: /etc/apt/sources.list.d/ubuntuhandbook1-gimp-3-noble.list
    1: deb [signed-by=/etc/apt/keyrings/ubuntuhandbook1-gimp-3-noble.gpg] https: //ppa.launchpadcontent.net/ubuntuhandbook1/gimp-3/ubuntu noble main
  Active apt repos in: /etc/apt/sources.list.d/vscode.list
    1: deb [arch=amd64,arm64,armhf] https: //packages.microsoft.com/repos/code stable main
  Active apt repos in: /etc/apt/sources.list.d/zhangsongcui3371-fastfetch-noble.list
    1: deb [signed-by=/etc/apt/keyrings/zhangsongcui3371-fastfetch-noble.gpg] https: //ppa.launchpadcontent.net/zhangsongcui3371/fastfetch/ubuntu noble main
  No nix channels found for user: econn
Info:
  Memory: total: 32 GiB available: 31.13 GiB used: 4.93 GiB (15.8%)
  Processes: 446 Power: uptime: 2h 15m states: freeze,mem,disk suspend: deep wakeups: 0
    hibernate: platform Init: systemd v: 255 target: graphical (5) default: graphical
  Compilers: clang: 18.1.3 gcc: 13.3.0 Client: Unknown python3.12 client inxi: 3.3.34


Emulation Settings (Optional)

No response

Logs (Optional)

Logs
[20:06:39.718] error when trying to check visiblity of preset: unknown constant found "$custom" in expression: $custom == 1
[20:06:39.718] error when trying to check visiblity of preset: unknown constant found "$custom" in expression: $custom == 1
[20:06:39.749] ------- Init Cemu 2.6 -------
[20:06:39.749] Init Wii U memory space (base: 0x000078be28000000)
[20:06:39.749] mlc01 path: /home/econn/data/Emulators/mlc01
[20:06:39.749] CPU: 12th Gen Intel(R) Core(TM) i5-12600KF
[20:06:39.749] RAM: 31880MB
[20:06:39.749] Platform: Linux
[20:06:39.749] Used CPU extensions: SSSE3, SSE4.1, AVX, AVX2, LZCNT, MOVBE, BMI2, AES-NI, INVARIANT-TSC
[20:06:39.751] IOSU_CRYPTO: No otp.bin found. Online mode cannot be used
[20:06:39.751] IOSU_CRYPTO: No Seeprom.bin found. Online mode cannot be used
[20:07:02.005] Mounting title 0005000010101d00
[20:07:02.005] Base: /home/econn/data/Emulation/Wii U/New Super Mario Bros. U (USA) (En,Fr,Es).wux [WUD]
[20:07:02.005] Update: /home/econn/data/Emulators/mlc01/usr/title/0005000e/10101d00 [Folder]
[20:07:02.005] DLC: Not present
[20:07:02.006] Shared font CafeCn.ttf is not present
[20:07:02.012] Recompiler initialized
[20:07:02.169] ------- Init Vulkan graphics backend -------
[20:07:02.180] Vulkan instance version: 1.3
[20:07:02.184] Using GPU: Intel(R) Graphics (BMG G21)
[20:07:02.184] Driver version: Mesa 24.2.8-1ubuntu1~24.04.1
[20:07:02.184] Vulkan: present_wait extension: supported
[20:07:02.184] VulkanLimits: UBAlignment 64 nonCoherentAtomSize 64
[20:07:02.190] Using available debug function: vkCreateDebugUtilsMessengerEXT()
[20:07:02.190] Vulkan device memory info:
[20:07:02.190] Heap 0 - Size 12216MB Flags 0x00000001
[20:07:02.190] Heap 1 - Size 15940MB Flags 0x00000000
[20:07:02.190] Memory 0 - HeapIndex 0 Flags 0x00000001
[20:07:02.190] Memory 1 - HeapIndex 0 Flags 0x00000001
[20:07:02.190] Memory 2 - HeapIndex 1 Flags 0x0000000e
[20:07:02.190] Memory 3 - HeapIndex 0 Flags 0x00000007
[20:07:02.190] Memory 4 - HeapIndex 0 Flags 0x00000001
[20:07:02.190] Memory 5 - HeapIndex 1 Flags 0x0000000e
[20:07:02.190] Memory 6 - HeapIndex 0 Flags 0x00000007
[20:07:02.190] VK_FORMAT_R4G4_UNORM_PACK8 not supported
[20:07:02.243] ------- Loaded title -------
[20:07:02.243] TitleId: 00050000-10101d00
[20:07:02.243] TitleVersion: v64
[20:07:02.243] TitleRegion: US
[20:07:02.243] Save path:   /home/econn/data/Emulators/mlc01/usr/save/00050000/10101D00/user/ (not present)
[20:07:02.243] Shader cache file: shaderCache/transferable/0005000010101d00.bin
[20:07:02.243] gameprofile path:  (not present)
[20:07:02.243] RPX hash (updated): 050034fc
[20:07:02.243] RPX hash (base): 80c3dfdc
[20:07:02.247] nsyshid::BackendLibusb: device not on whitelist: 174c:3074
[20:07:02.247] nsyshid::BackendLibusb: device not on whitelist: 1d6b:0003
[20:07:02.248] nsyshid::BackendLibusb: device not on whitelist: 046d:0a66
[20:07:02.248] nsyshid::BackendLibusb: device not on whitelist: 046d:c53f
[20:07:02.248] nsyshid::BackendLibusb: device not on whitelist: 1038:1634
[20:07:02.248] nsyshid::BackendLibusb: device not on whitelist: 0909:001c
[20:07:02.248] nsyshid::BackendLibusb: device not on whitelist: 05e3:0610
[20:07:02.248] nsyshid::BackendLibusb: device not on whitelist: 0b05:19af
[20:07:02.248] nsyshid::BackendLibusb: device not on whitelist: 0a12:0001
[20:07:02.248] nsyshid::BackendLibusb: device not on whitelist: 174c:2074
[20:07:02.248] nsyshid::BackendLibusb: device not on whitelist: 1d6b:0002
[20:07:02.295] Loaded module 'red-pro2' with checksum 0x6caea914
[20:07:02.295] RPL link time: 48ms
[20:07:02.311] HLE scan time: 16ms
[20:07:02.311] ------- Active settings -------
[20:07:02.311] CPU-Mode: 3
[20:07:02.311] Load shared libraries: true
[20:07:02.311] Use precompiled shaders: 0
[20:07:02.311] Full sync at GX2DrawDone: true
[20:07:02.311] Strict shader mul: true
[20:07:02.311] Async compile: true
[20:07:02.311] Console language: 1
[20:07:02.391] ------- Activate graphic packs -------
[20:07:02.391] Applying patch group 'NSMBU_CrashFix_V64USV80EU'
[20:07:02.391] Activate graphic pack: New Super Mario Bros. U/Workarounds/Title Screen Crash Fix
[20:07:02.393] ------- Init Audio backend -------
[20:07:02.393] DirectSound: not supported
[20:07:02.393] XAudio 2.8: not supported
[20:07:02.393] XAudio 2.7: not supported
[20:07:02.393] Cubeb: available
[20:07:02.393] ------- Init Audio input backend -------
[20:07:02.393] Cubeb: available
[20:07:02.393] ------- Run title -------
[20:07:02.513] IOSU_ACT: using account default in first slot
[20:07:14.646] vkWaitForFences: Returned unhandled error -4
[20:07:14.646] vkGetFenceStatus returned unexpected error -4
[20:07:14.646] vkGetFenceStatus returned unexpected error -4
[20:07:14.646] vkGetFenceStatus returned unexpected error -4
[20:07:14.646] vkGetFenceStatus returned unexpected error -4
[20:07:14.646] vkGetFenceStatus returned unexpected error -4
[20:07:14.646] vkGetFenceStatus returned unexpected error -4
[20:07:14.646] vkGetFenceStatus returned unexpected error -4
[20:07:14.646] vkGetFenceStatus returned unexpected error -4
[20:07:14.646] vkGetFenceStatus returned unexpected error -4
^ spams this forever

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions