v3d: [drm:v3d_reset [v3d]] *ERROR* V3D_ERR_STAT: 0x00001000 when running app that uses vulkan
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 12/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- c, linux, raspberry-pi
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- C
- 星标
- 13.4k
- 派生
- 5.5k
- 平均合并
- 2 天 11 小时
- 30 天内合并 PR
- 32
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
raspberrypi/linux 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
raspberrypi/linux#7415 · 2 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
rp1-cfe doesn't forward V4L2_EVENT_SOURCE_CHANGE event from csi-2 sensor driver to userspace app未关闭
难度 2/5 1-3 小时 新手友好度 72/100
raspberrypi/linux#7399 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 82/100
raspberrypi/linux#7357 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
raspberrypi/linux#7054 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 8/100
raspberrypi/linux#7787 ·
维护者通常 1 天内回复
查看 raspberrypi/linux 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
area/build-framework kind/enhancement
难度 2/5 1-3 小时 新手友好度 78/100
yugabyte/yugabyte-db#39342 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
-
Document the isv:HDFGroup Linux package repositories and signing key可能已有人在做 @brtnfld 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
kind:silent-wrong needs-triage
难度 2/5 1-3 小时 新手友好度 78/100
InauguralSystems/EigenScript#2567 · 1 条评论 ·
维护者通常 1 天内回复