panfrost/mdg: significant performance drop in quake3 with mesa 23.3.0
System information
- OS: PLD Linux
- GPU: Mali T860
- Kernel version: 6.6.3
- Mesa version: 23.3.0
- Desktop manager and compositor: sway 1.8.1
Describe the issue
Switching from mesa 23.2.1
to mesa 23.3.0
resulted in FPS drop from ~155 to ~112 when testing timed demo four in quake3.
Outcome of bisect is not very obvious:
There are only 'skip'ped commits left to test.
The first bad commit could be any of:
3a9e1014e134c705fbc94831cebe19aa3ea4cf34
1d9d72b3fb905e2a02abdc7fd87f6b0b78725cf0
We cannot bisect more!
Starting from the newest commit:
- 1d9d72b3 is the first testable bad commit
- 3a9e1014 is its parent which failed to load driver
- 7d231f82 is parent of the parent and is last testable good commit
Not sure how following commits could impact panfrost performance that much though:
commit 1d9d72b3fb905e2a02abdc7fd87f6b0b78725cf0
Author: Robert Foss <rfoss@kernel.org>
Date: Fri Jun 23 17:50:12 2023
egl: Rename _eglAddDevice() to _eglFindDevice()
_eglAddDevice() is now only used to look up eglDevices,
which means that the function name is a bit misleading.
Since this function is only used for finding the
eglDevice, it should also no longer support adding
a device to the egl devices list.
Signed-off-by: Robert Foss <rfoss@kernel.org>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23742>
src/egl/main/egldevice.c | 10 ++++++++++
1 file changed, 10 insertions(+)
commit 3a9e1014e134c705fbc94831cebe19aa3ea4cf34
Author: Robert Foss <rfoss@kernel.org>
Date: Fri Jun 23 17:50:12 2023
egl: Rename _eglAddDevice() to _eglFindDevice()
_eglAddDevice() is now only used to look up eglDevices,
which means that the function name is a bit misleading.
Since this function is only used for finding the
eglDevice, it should also no longer support adding
a device to the egl devices list.
Signed-off-by: Robert Foss <rfoss@kernel.org>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23742>
src/egl/drivers/dri2/platform_android.c | 2 +-
src/egl/drivers/dri2/platform_device.c | 2 +-
src/egl/drivers/dri2/platform_drm.c | 2 +-
src/egl/drivers/dri2/platform_surfaceless.c | 2 +-
src/egl/drivers/dri2/platform_wayland.c | 4 ++--
src/egl/drivers/dri2/platform_x11.c | 6 +++---
src/egl/main/egldevice.c | 6 +-----
src/egl/main/egldevice.h | 2 +-
8 files changed, 11 insertions(+), 15 deletions(-)