Mesa downgrade issue
Mesa downgrade issue
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.
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.
Re: Mesa downgrade issue
Can you give me the output in the terminal if you try to install those packages ?
Re: Mesa downgrade issue
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.
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.
Re: Mesa downgrade issue
And they do install when you upgrade to newest mesa?
I see the problem now. I will fix that.
I see the problem now. I will fix that.
Re: Mesa downgrade issue
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.
Re: Mesa downgrade issue
Code: Select all
sudo apt update
if it doesn't work output pls
BTW you need the mesa repo as outlined on my website....
Re: Mesa downgrade issue
Not quite the same problem, but still doesn't work. I think you need to add v24.1.6-1 of libgbm1 as well ?
Re: Mesa downgrade issue
output pls
Re: Mesa downgrade issue
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