r600/TURKS: FPS information is missing in the game "Mario Kart: Double Dash!!" with Gallium Nine
Summary
This bug report is somehow an "offspring" of issue #7840 but concerns a different and only minor problem around the final DX9 build 4.0-154 of the dolphin emulator.
The "on-screen" FPS information is missing / not rendered in conjunction with the r600 driver and Gallium Nine. At first I assumed that this might be a limitation in Gallium Nine. But the FPS information is present when a GameCube game like "Mario Kart: Double Dash!!" is played on other hardware like an Intel HD 2000 iGPU which uses the crocus driver.
So it looks that this is effectively a small problem of the r600 driver which happens with both the old TGSI and the new NIR path. Everything other is working fine.
For more information please check the apitrace. It is the same like in bug #7840.
This was tested on Kubuntu 22.04 LTS and Mesa 23.0.0-devel (git-64d584b8 2022-12-05 jammy-oibaf-ppa).
System information
inxi -b
output:
System:
Host: iMac-test Kernel: 5.15.0-56-generic x86_64 bits: 64
Desktop: KDE Plasma 5.24.7 Distro: Ubuntu 22.04.1 LTS (Jammy Jellyfish)
Machine:
Type: Desktop System: Apple product: iMac12,2 v: 1.0
serial: <superuser required>
Mobo: Apple model: Mac-942B59F58194171B v: iMac12,2
serial: <superuser required> UEFI: Apple v: IM121.88Z.004F.B00.1804101150
date: 04/10/18
CPU:
Info: quad core Intel Core i5-2400 [MCP] speed (MHz): avg: 1600
min/max: 1600/3400
Graphics:
Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics
driver: i915 v: kernel
Device-2: AMD Whistler [Radeon HD 6730M/6770M/7690M XT] driver: radeon
v: kernel
Device-3: Apple FaceTime HD Camera (Built-in) type: USB driver: uvcvideo
Display: x11 server: X.Org v: 1.21.1.3 driver: X:
loaded: ati,modesetting,radeon unloaded: fbdev,vesa gpu: radeon
resolution: 2560x1440~60Hz
OpenGL: renderer: AMD TURKS (DRM 2.50.0 / 5.15.0-56-generic LLVM 15.0.5)
v: 4.5 Mesa 23.0.0-devel (git-64d584b 2022-12-05 jammy-oibaf-ppa)
Network:
Device-1: Broadcom NetXtreme BCM57765 Gigabit Ethernet PCIe driver: tg3
Device-2: Qualcomm Atheros AR93xx Wireless Network Adapter driver: ath9k
Drives:
Local Storage: total: 961.01 GiB used: 120.18 GiB (12.5%)
Info:
Processes: 229 Uptime: 1d 9h 19m Memory: 15.6 GiB used: 3.44 GiB (22.0%)
Shell: Bash inxi: 3.3.13
If applicable
- Wine version: 7.22
Log files as attachment
Backtrace Mario Kart: Double Dash!! (05.12.2022):
https://drive.google.com/file/d/1TNHNHlB2saCh8rWxg2awKlWFIujyAzyS/view?usp=sharing
Any extra information would be greatly appreciated
Also in this bug report I can confirm that the OpenGL renderer in dolphin is not affected. This is only reproducible with the DX9 renderer and Gallium Nine. And as mentioned in my other bug report, WineD3D is unable to work with the dolphin emulator because of several missing D3D features.
Final note, the dual source blending capability was enforced in the DX9 renderer. But that feature has no effect in this topic here.