[Bisected] r600: Big performance regression on some games
System information
- OS: Ubuntu 22.04
- GPU: HD 4850 (RV770), HD 5770 (JUNIPER)
- Kernel version: 5.15.0-27
- Mesa version: 22.0.1 (Some olders probably affected)
- Xserver version (if applicable): 1.21.1.3
- Desktop manager and compositor: GNOME 42
Describe the issue
Performance in Tesseract and minecraft shader mod (with Iris) dropped significantly, making them unplayable (Less than 10fps with heavy stutter). GPU load is also low (often less than 40% on HD 5770 with Tesseract). Tested with HD 4850 and HD 5770.
Regression
Commit e41958e3 cause this issue, reverting it make performance normal again.
Any extra information would be greatly appreciated
I can try to provide a trace if needed