Intel Arc A380 system appears to freeze whenever VRAM is full while ReBAR is enabled
On my system with an Intel Arc A380, it appears that whenever the VRAM is full, either only the currently running program/game or the whole system freezes completely and requires a manual restart, but only when ReBAR is enabled. When ReBAR is disabled, no crash happens and it simply uses additional system memory as expected.
After some bisecting, I noticed that this also used to happen when ReBAR is disabled, prior to the following commit: mesa/mesa@b1a14fe9
I tested it on both Arch Linux and Linux Mint, both resulting in the same behaviour. Since my system does not officially support ReBAR and I am using a BIOS mod for it, I also tried the same GPU and Arch Linux installation in an AMD Ryzen 7800X3D system to make sure it's not caused by that mod, however there it also behaves the same. I also tried a Radeon R5 340, which does not crash regardless of whether or not ReBAR is enabled.
The 2 games in particular I tried that filled my VRAM enough to cause the crash were Icarus and Ready or Not. Icarus in particular seems to use a lot of it, causing the crash to happen during the loading screen already occasionally, whereas in Ready or Not it can take up to half a minute after loading in to crash.
Please let me know what else is needed for this in terms of logs, apitraces or similar and I will do my best to provide those.
Thanks!
System information
System:
Host: arcbox Kernel: 6.6.8-273-tkg-eevdf-llvm arch: x86_64 bits: 64
compiler: clang v: 16.0.6 Desktop: sway v: 1.8.1 dm: SDDM Distro: Arch Linux
CPU:
Info: quad core model: Intel Xeon E3-1270 v5 bits: 64 type: MT MCP
arch: Skylake-S rev: 3 cache: L1: 256 KiB L2: 1024 KiB L3: 8 MiB
Speed (MHz): avg: 986 high: 1289 min/max: 800/4000 cores: 1: 1289 2: 1001
3: 1000 4: 1000 5: 1000 6: 800 7: 1000 8: 800 bogomips: 57600
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: Intel DG2 [Arc A380] vendor: ASRock driver: i915 v: kernel
arch: Gen-12.7 pcie: speed: 2.5 GT/s lanes: 1 ports: active: DP-1,HDMI-A-1
empty: HDMI-A-2 bus-ID: 03:00.0 chip-ID: 8086:56a5
Display: wayland server: X.org v: 1.21.1.10 with: Xwayland v: 23.2.3
compositor: sway v: 1.8.1 driver: X: loaded: modesetting
alternate: fbdev,intel,vesa dri: iris gpu: i915 d-rect: 3200x1200
display-ID: 1
Monitor-1: DP-1 pos: primary,left model: Idek Iiyama PL2595W
res: 1920x1200 dpi: 91 diag: 633mm (24.9")
Monitor-2: HDMI-A-1 pos: right model: AAA res: 1280x720 dpi: 57
diag: 660mm (25.96")
API: EGL v: 1.5 platforms: device: 0 drv: iris device: 1 drv: swrast gbm:
drv: iris surfaceless: drv: iris wayland: drv: iris x11: drv: iris
API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel v: N/A glx-v: 1.4
direct-render: yes renderer: Mesa Intel Arc A380 Graphics (DG2)
device-ID: 8086:56a5
API: Vulkan v: 1.3.274 surfaces: xcb,xlib,wayland device: 0
type: discrete-gpu driver: mesa intel device-ID: 8086:56a5 device: 1
type: cpu driver: mesa llvmpipe device-ID: 10005:0000