[ANV] [DG2/A770] The Spirit and The Mouse, miscellaneous issues with Mesa Git
System information
System:
Host: mrgency Kernel: 6.5.1-1-cachyos arch: x86_64 bits: 64 compiler: gcc
v: 13.2.1 Desktop: LabWC dm: SDDM Distro: Arch Linux
CPU:
Info: 8-core model: AMD Ryzen 7 2700 bits: 64 type: MT MCP arch: Zen+ rev: 2
cache: L1: 768 KiB L2: 4 MiB L3: 16 MiB
Speed (MHz): avg: 3283 high: 3364 min/max: 1550/3200 boost: enabled cores:
1: 3353 2: 3082 3: 3200 4: 3043 5: 3357 6: 3180 7: 3316 8: 3350 9: 3349
10: 3349 11: 3349 12: 3364 13: 3361 14: 3350 15: 3336 16: 3200
bogomips: 102400
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: Intel DG2 [Arc A770] driver: i915 v: kernel arch: Gen-12.7 pcie:
speed: 2.5 GT/s lanes: 1 ports: active: DP-3,DP-4 empty: DP-1, DP-2,
HDMI-A-1, HDMI-A-2, HDMI-A-3 bus-ID: 28:00.0 chip-ID: 8086:56a0
Device-2: Realtek RTL2838 DVB-T driver: usbfs type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 bus-ID: 3-1:2 chip-ID: 0bda:2838
Device-3: Logitech HD Webcam C615 driver: snd-usb-audio,uvcvideo type: USB
rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 3-2.4:5 chip-ID: 046d:082c
Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.2.0
compositor: LabWC driver: X: loaded: modesetting alternate: fbdev,intel,vesa
dri: iris gpu: i915 d-rect: 3840x1080 display-ID: 0
Monitor-1: DP-3 pos: primary,left res: 1920x1080 size: N/A
Monitor-2: DP-4 pos: right res: 1920x1080 size: N/A
API: OpenGL v: 4.6 Mesa 23.2.0-devel (git-6b9f838d62) renderer: Mesa
Intel Arc A770 Graphics (DG2) direct-render: Yes
If applicable
- DXVK version: Git version as provided with Proton TKG Experimental
- Wine/Proton version: proton_tkg_experimental.bleeding.edge.8.0.54261.20230830 from ProtonUp-Qt
Describe the issue
A specific commit of Mesa Git introduced a rendering bug with the game, which causes all of the graphics to have a turquoise hint, except when they randomly flash either a black or red screen. I am bisecting to the first commit to cause the problem.
At least while bisecting, commit 6b9f838d caused it to crash outright on startup. I voted that one "bad".
Found the first bad commit: 5ae8a78d - it outright crashes on this commit as well.
It seems adding on the commits after those two result in broken rendering like the video I am linking, but don't result in immediate crashing.
Regression
Works fine in 23.1.6. Also works in Mesa Git prior to those two commits. Some commit after those two commits fixes the crashing, but results in broken rendering.
Log files as attachment
- Output of
dmesg
- Backtrace
- A backtrace may be helpful, but I'll need to build a full debugging Mesa on the first crashing commit, which will take a while. Let me know in a comment if I should produce one.
- Gpu hang details
- No GPU hang.
Screenshots/video files (if applicable)
https://f.losno.co/v/mouse-xe.mp4
Any extra information would be greatly appreciated
I was bisecting this to find where the rendering went wrong, but ended up finding a crash bug instead. Perhaps there is more to this bug. I'll get right on the debug build and backtrace in a moment.