v3d: [drm:v3d_reset [v3d]] *ERROR* V3D_ERR_STAT: 0x00001000 when running app that uses vulkan
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 12/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- c, linux, raspberry-pi
Direzione di ricerca
The failure is a V3D GPU hang and reset logged by v3d_reset in the Raspberry Pi kernel's V3D DRM driver, triggered by a Vulkan workload running through DXVK under Wine and Box64. Start from the v3d_reset path and the V3D_ERR_STAT register handling in the driver, then compare with the dmesg.log and wine.log attachments. Done would mean identifying the hang cause and confirming the game runs under Vulkan without device loss.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the bug
On a Raspberry Pi 4B (4GB version), running a game that uses Vulkan for rendering results in GPU hang and reset.
The same exact game with the same exact setup, works without problems when using OpenGL. The game is an old Windows (2005) game, run through Wine (11.0-amd64-wow64 version) + DXVK-Sarek (1.14.1 version). The amd64 Wine runs through Box64 arm64 version (v0.4.4 version with dynarec) in order for everything to work. When using WineD3D (OpenGL) by removing the DXVK (Vulkan) acceleration/translation layer from the chain everything works as expected (albeit slowly).
Steps to reproduce the behaviour
- Make a working directory, and download the relevant Wine and DXVK builds in the
buildssubdirectory - Add a d3d9 game to the
gamessubdirectory alongside thebuildssubdirectory - Add the
game-runscript from bellow alongside thebuildsandgamesdirectory - Launch
game-runscript
Builds used:
wine-11.0-amd64-wow64
dxvk-sarek-1.14.1
batocera-bcm2711-44-20261116
game-run script
# cat game-run
#!/bin/bash
export WORKDIR="$(realpath $(dirname $0))"
export WINE_BUILD="$WORKDIR/builds/wine-11.0-amd64-wow64"
export DXVK_BUILD="$WORKDIR/builds/dxvk-sarek-1.14.1/build"
export GAME_BUILD="$WORKDIR/games/sample-game"
export GAME_EXECUTABLE="game.exe"
echo "using wine: $WINE_BUILD"
echo "using dxvk: $DXVK_BUILD"
echo "using game: $GAME_BUILD"
export PATH="$PATH:$WINE_BUILD/bin"
export WINEPREFIX="$WORKDIR/prefixes/.wine"
export WINEDLLOVERRIDES="mscoree,mshtml="
[ ! -e "$WINEPREFIX" ] && wineboot --init
cp $DXVK_BUILD/x64/*.dll "$WINEPREFIX/drive_c/windows/system32"
cp $DXVK_BUILD/x32/*.dll "$WINEPREFIX/drive_c/windows/syswow64"
export WINEDLLOVERRIDES="$WINEDLLOVERRIDES;d3d8,d3d9,d3d10core,d3d11,dxgi=n,b"
export DXVK_HUD=1
export DISPLAY=
export LOG_PATH="$WORKDIR/logs"
rm -rf "$LOG_PATH"
mkdir -p "$LOG_PATH"
export MESA_VK_ABORT_ON_DEVICE_LOSS=1
export WINEDEBUG=+vulkan,+timestamp
export DXVK_LOG_LEVEL=debug
export DXVK_LOG_PATH="$LOG_PATH"
dmesg -C
export WINEDLLOVERRIDES="$WINEDLLOVERRIDES;dinput8=n,b"
cd "$GAME_BUILD"
wine "$GAME_EXECUTABLE" 2>&1 | tee "$LOG_PATH/wine.log"
dmesg > "$LOG_PATH/dmesg.log"
Device (s)
Raspberry Pi 4 Mod. B
System
System info:
Model: Raspberry_Pi_4_Model_B_Rev_1_2
System: Linux 6.18.54-v8
Architecture: aarch64
Board: bcm2711
CPU Cores: 4
CPU Max Frequency: 1500 MHz
CPU Features: asimd
Available Memory: 3190/3723 MB
Display Server: wayland
Display Compositor: labwc
Display Output: HDMI-A-1
Display Resolution: 1920x1080
Display Refresh Rate: 60.000Hz
OS version: 44Ou1 2026/11/16 01:23
Specific versions:
# uname -a
Linux batocera 6.18.54-v8 #1 SMP PREEMPT Mon Nov 16 01:34:28 CET 2026 aarch64 GNU/Linux
# box64 --version
Box64 arm64 v0.4.4 nogit with Dynarec built on Nov 16 2026 01:19:56
# wine --version
wine-11.0
Logs
dmesg logs:
# cat logs/dmesg.log
[ 1067.326137] v3d fec00000.v3d: [drm:v3d_reset [v3d]] *ERROR* Resetting GPU for hang.
[ 1067.326254] v3d fec00000.v3d: [drm:v3d_reset [v3d]] *ERROR* V3D_ERR_STAT: 0x00001000
[ 1068.350122] v3d fec00000.v3d: [drm:v3d_reset [v3d]] *ERROR* Resetting GPU for hang.
[ 1068.350205] v3d fec00000.v3d: [drm:v3d_reset [v3d]] *ERROR* V3D_ERR_STAT: 0x00001000
[ 1069.406127] v3d fec00000.v3d: [drm:v3d_reset [v3d]] *ERROR* Resetting GPU for hang.
[ 1069.406196] v3d fec00000.v3d: [drm:v3d_reset [v3d]] *ERROR* V3D_ERR_STAT: 0x00001000
[ 1070.430122] v3d fec00000.v3d: [drm:v3d_reset [v3d]] *ERROR* Resetting GPU for hang.
[ 1070.430178] v3d fec00000.v3d: [drm:v3d_reset [v3d]] *ERROR* V3D_ERR_STAT: 0x00001000
(nothing relevant is written before or after these)
Additional context
No response
Log files
- Lingua principale
- C
- Stelle
- 13.4k
- Fork
- 5.5k
- Merge medio
- 2g 11h
- PR unite (30g)
- 32
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di raspberrypi/linux
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
raspberrypi/linux#7415 · 2 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
rp1-cfe doesn't forward V4L2_EVENT_SOURCE_CHANGE event from csi-2 sensor driver to userspace appAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
raspberrypi/linux#7399 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
raspberrypi/linux#7357 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
raspberrypi/linux#7054 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 8/100
raspberrypi/linux#7787 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di raspberrypi/linux
Issue simili
-
Termux compilation failureApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
area/build-framework kind/enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
yugabyte/yugabyte-db#39342 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Document the isv:HDFGroup Linux package repositories and signing keyForse già presa @brtnfld l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
kind:silent-wrong needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
InauguralSystems/EigenScript#2567 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno