v3d: [drm:v3d_reset [v3d]] *ERROR* V3D_ERR_STAT: 0x00001000 when running app that uses vulkan
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 12/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- c, linux, raspberry-pi
- Bereich
- computer-graphics, desktop-dev, operating-systems
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- C
- Sterne
- 13.4k
- Forks
- 5.5k
- Ø Merge
- 2 T. 11 Std.
- Gemergte PRs (30 T.)
- 32
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus raspberrypi/linux
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
raspberrypi/linux#7415 · 2 Kommentare · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
-
rp1-cfe doesn't forward V4L2_EVENT_SOURCE_CHANGE event from csi-2 sensor driver to userspace appOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
raspberrypi/linux#7399 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 82/100
raspberrypi/linux#7357 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
raspberrypi/linux#7054 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 8/100
raspberrypi/linux#7787 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in raspberrypi/linux
Ähnliche Issues
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Maintainer antworten meist innerhalb von 1 Tag
-
area/build-framework kind/enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
yugabyte/yugabyte-db#39342 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
-
Document the isv:HDFGroup Linux package repositories and signing keyEvtl. vergeben @brtnfld hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 1 Tag
-
kind:silent-wrong needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
InauguralSystems/EigenScript#2567 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag