Mesa & DRI for PPC

AmigaOne X5000 platform specific issues related to Linux only.
User avatar
xeno74
Posts: 10819
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: Mesa & DRI for PPC

Post by xeno74 »

caseycullen wrote: Tue Jun 27, 2023 4:34 am Hi All!

Mesa 23.1.2 has been added to the Fienix Evo repositories. I suggest upgrading for improved system performance.
You can also install the new Mesa 23.1.2 with the following commands on Debian and MintPPC:

Code: Select all

apt update

Code: Select all

apt install libgl1-mesa-dri libgl1-mesa-glx mesa-utils
User avatar
xeno74
Posts: 10819
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: Mesa & DRI for PPC

Post by xeno74 »

FYI:
Link wrote: Hello Christian,

Well some time past, I would like to inform you that I managed to make it work, well no longer with a HD6970 but with another card, I would like to warn you about Mesa 24.2.x, it's causing problems in big endian related to not having 3D acceleration, I suggest not updating and staying on mesa 24.1.x, we had more analysis into it https://gitlab.freedesktop.org/mesa/mesa/-/issues/11933 and https://gitlab.freedesktop.org/mesa/mesa/-/issues/12048

Have a great week, best regards,
Link.
User avatar
xeno74
Posts: 10819
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: Mesa & DRI for PPC

Post by xeno74 »

Link wrote:
Hello everyone, I hope everything is alright.

I wonder if it could be possible to apply this patch for mesa 25.2.x, it fixes indirectly for big endian machines. The issue is it can only be applied for mesa25.2, on mesa 25.3-git it doesn' work anymore. The patch was made by caciottax86
https://gitlab.freedesktop.org/mesa/mesa/-/issues/13952

Best regards,
Link.

Code: Select all

--- a/src/loader/loader_dri_helper.c
+++ b/src/loader/loader_dri_helper.c
@@ -54,10 +54,10 @@
    { PIPE_FORMAT_R8G8B8A8_SRGB, __DRI_IMAGE_FOURCC_SABGR8888 },
    { PIPE_FORMAT_X8B8G8R8_UNORM, DRM_FORMAT_RGBX8888 },
    { PIPE_FORMAT_A8B8G8R8_UNORM, DRM_FORMAT_RGBA8888 },
-   { PIPE_FORMAT_X8R8G8B8_UNORM, DRM_FORMAT_BGRX8888 },
-   { PIPE_FORMAT_A8R8G8B8_UNORM, DRM_FORMAT_BGRA8888 },
    { PIPE_FORMAT_B8G8R8X8_UNORM, DRM_FORMAT_XRGB8888 },
    { PIPE_FORMAT_B8G8R8A8_UNORM, DRM_FORMAT_ARGB8888 },
+   { PIPE_FORMAT_X8R8G8B8_UNORM, DRM_FORMAT_XRGB8888 },
+   { PIPE_FORMAT_A8R8G8B8_UNORM, DRM_FORMAT_ARGB8888 },
    { PIPE_FORMAT_R8G8B8X8_UNORM, DRM_FORMAT_XBGR8888 },
    { PIPE_FORMAT_R8G8B8A8_UNORM, DRM_FORMAT_ABGR8888 },
    { PIPE_FORMAT_B10G10R10X2_UNORM, DRM_FORMAT_XRGB2101010 },
Post Reply