Mesa downgrade issue

AmigaOne X5000 platform specific issues related to Linux only.
MartinW
Posts: 27
Joined: Tue May 27, 2025 3:42 am

Mesa downgrade issue

Post by MartinW »

Is there any way to resolve the issue with Mesa other than running the downgrade script?

If I downgrade, apps such as glxgears work just fine. But I can't install SDL2 (sdl2-image, sdl2-ttf, etc.) and I wanted them for a game that I've been working on. If I ditch the hold on Mesa then I can install SDL2, but accelerated graphics no longer work so my code won't run anyway. Catch 22!

I haven't checked if SDL3 will work. I don't think it's an option for me since I don't think SDL3-mixer has been brought to OS4 and / or MorphOS yet. But that could be out of date info. Regardless, I wasn't really ready to jump to SDL3 just yet.
mintppc
Posts: 74
Joined: Thu May 01, 2025 9:20 am
Contact:

Re: Mesa downgrade issue

Post by mintppc »

Can you give me the output in the terminal if you try to install those packages ?
MartinW
Posts: 27
Joined: Tue May 27, 2025 3:42 am

Re: Mesa downgrade issue

Post by MartinW »

Apologies that it's an image - it's from my capture card.

This is specifically when trying to install libsdl2-image-dev but it happens with any sdl2 related dev version of the lib - image, ttf, mixer.

I have since uninstalled the non-dev versions and then tried to install an explicit older version but every time I add a version number on the end of the package name I just get told that version wasn't found so I suppose I'm not doing something correct there. Maybe I need some different source to be able to go back in time with packages?

[edit] Bottom line - I think I need to specify the versions of the packages that pair with the version of libgbm that we've held back but I'm struggling to work out how to find out which version that might be.
Screenshot 2025-08-27 at 11.34.11.png
mintppc
Posts: 74
Joined: Thu May 01, 2025 9:20 am
Contact:

Re: Mesa downgrade issue

Post by mintppc »

And they do install when you upgrade to newest mesa?

I see the problem now. I will fix that.
MartinW
Posts: 27
Joined: Tue May 27, 2025 3:42 am

Re: Mesa downgrade issue

Post by MartinW »

Correct - I'm just doing that now to see if software renderer will work in my code. Obviously it should. Don't know how slow it will be.
mintppc
Posts: 74
Joined: Thu May 01, 2025 9:20 am
Contact:

Re: Mesa downgrade issue

Post by mintppc »

Code: Select all

sudo apt update
and try again
if it doesn't work output pls

BTW you need the mesa repo as outlined on my website....
MartinW
Posts: 27
Joined: Tue May 27, 2025 3:42 am

Re: Mesa downgrade issue

Post by MartinW »

Not quite the same problem, but still doesn't work. I think you need to add v24.1.6-1 of libgbm1 as well ?
mintppc
Posts: 74
Joined: Thu May 01, 2025 9:20 am
Contact:

Re: Mesa downgrade issue

Post by mintppc »

mintppc
Posts: 74
Joined: Thu May 01, 2025 9:20 am
Contact:

Re: Mesa downgrade issue

Post by mintppc »

output pls
mintppc
Posts: 74
Joined: Thu May 01, 2025 9:20 am
Contact:

Re: Mesa downgrade issue

Post by mintppc »

I did it on my system. I found out what you need to do:

Code: Select all

sudo apt install libgbm-dev=24.1.6-1 libgbm1=24.1.6-1
sudo apt install libsdl2-image-dev
Post Reply