Xorg crash on vulkan with mailbox present mode
Screen goes off and on when using the mailbox present mode on vulkan. Reproducible by using vkcube --present_mode 1
. The mailbox present mode works fine on wayland, so I would guess this is a xorg issue. Xorg log diff:
[ 8455.896] (WW) modeset(0): Present-flip: queue flip during flip on CRTC 0 failed: Cannot allocate memory
[ 8455.896] (WW) modeset(0): Present-unflip: queue flip during flip on CRTC 0 failed: Cannot allocate memory
System info:
System:
Host: arch Kernel: 6.1.11-arch1-1 arch: x86_64 bits: 64
compiler: gcc v: 12.2.1 Desktop: KDE Plasma v: 5.26.5
tk: Qt v: 5.15.8 wm: kwin_x11 dm: SDDM
Distro: Arch Linux
CPU:
Info: quad core model: 12th Gen Intel Core i3-12100F
bits: 64 type: MT MCP arch: Alder Lake rev: 5 cache:
L1: 320 KiB L2: 5 MiB L3: 12 MiB
Speed (MHz): avg: 1425 high: 3300 min/max: 800/5500
cores: 1: 3300 2: 800 3: 800 4: 800 5: 800 6: 3300 7: 800
8: 800 bogomips: 52856
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1
sse4_2 ssse3 vmx
Graphics:
Device-1: AMD Navi 14 [Radeon RX 5500/5500M / Pro 5500M]
vendor: Gigabyte driver: amdgpu v: kernel arch: RDNA-1
pcie: speed: 16 GT/s lanes: 16 ports: active: HDMI-A-1
empty: DP-1,DP-2,DP-3 bus-ID: 03:00.0
chip-ID: 1002:7340
Display: x11 server: X.Org v: 21.1.7 with: Xwayland
v: 22.1.8 compositor: kwin_x11 driver: X:
loaded: modesetting alternate: fbdev,vesa dri: radeonsi
gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96
Monitor-1: HDMI-A-1 mapped: HDMI-1 model: VG2791R
res: 1920x1080 dpi: 82 diag: 676mm (26.6")
API: OpenGL v: 4.6 Mesa 22.3.4 renderer: AMD Radeon RX
5500 XT (navi14 LLVM 15.0.7 DRM 3.49 6.1.11-arch1-1)
direct-render: Yes