[v3d] Regression: performance in Hurrican intro has became very bad since 23.0.0
System information
- OS:
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_CODENAME=bookworm
- GPU:
VC6
- Kernel version:
Linux debian 6.1.34-v8+ #1657 SMP PREEMPT Fri Jun 16 12:36:29 BST 2023 aarch64 GNU/Linux
- Mesa version:
23.1.3
- Xserver version: NONE, I use Wayland and/or KMS/DRM
- Desktop manager and compositor: labwc or Weston wayland compositor, or plain KMS/DRM
Describe the issue
Graphics performance on the crackctro-like sequence at the start of Hurrican (https://github.com/HurricanGame/Hurrican) has become very bad (10FPS) exactly since MESA 23.0.0 (22.3.7 was perfectly fine and ran at stable 60FPS).
It happens when the game uses the programable pipeline GL versions only: so building the game against GL1 or GLES1 performance is the same as it was before 23.0.0 (the game can be build against GL1, GL2, GLES1, GLES2 and GLES3 via -DRENDERER=
CMake option).
Regression
It used to work perfectly well at rock-solid 60FPS in every MESA version previous to 23.0.0. Also, it's equally slow with latest MESA git code, and with all 23.x.x versions.
Log files as attachment
Nothing special in dmesg: it's a huge performance regression, not a failure.
Any extra information would be greatly appreciated
Hurrican can be easily built like this:
git clone --depth 1 --recurse-submodules https://github.com/HurricanGame/Hurrican.git
cd Hurrican/Hurrican
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DRENDERER=GLES2 \
-DCMAKE_C_FLAGS="-march=native -mtune=native" \
-DCMAKE_CXX_FLAGS="-march=native -mtune=native" ..
make -j4
Then copy over the "data" and "lang" directories to the same directory where you have the "hurrican" executable, and run it.