Hi everyone,
I apologize in advance for any possible inaccuracies, I'm not exactly an expert.
I read somewhere on the web that starting from version 22.xx Mesa has dropped support for some video cards, including many ATI (R100, R200), in short those present in our PPC Macs. Apparently, it would be possible to compile a specific version (mesa amber) to overcome this problem. I tried but without success. I'm asking someone better than me if they want to try.
ok, can't edit ...
I am not an expert in this. I would contact the op in this post:
https://gitlab.freedesktop.org/mesa/mesa/-/issues/10027
He has it working.
Some more info I found
https://forums.freebsd.org/threads/how-to-migrate-to-amber-branch-for-mesa.89668/
If you can give me a detailed way how to do it, I can give it a try. First make contact with that guy who has it working on a mac mini g4. Try to get him to help here in the forum.
Thank you for your reply. I learned that so I thought it's worth a try.
I downloaded the mesa-amber.tar.gz from their site, and unpacked it. cd into mesa-amber, and launch the suggested command to configure. I had the error "ppc64 unknown architecture" (the same on my ibook g3 except it was ppc instead).
Now I tried with the command suggested on the first link but I had the following error:
"Run-time dependency libdrm_radeon found: NO
meson.build:1645:6: ERROR: Dependency lookup for libdrm_radeon with method 'pkgconfig' failed: Pkg-config for machine host machine not found. Giving up."
Don't know how to continue from this point, I'm also new to meson.
I would point out that on my G3 (r200) a large part of programs fail to start with the same error "LLVM error: relocation ..."
and the glxgears also fails with the same fashion.
I'm unlucky with compilers 🙁
I just found this ubuntu source:
https://packages.ubuntu.com/source/mantic/mesa-amber
I am familiar with building such source packages in sid. I can give it a try.
I git cloned the upstream Debian mesa-amber source from https://salsa.debian.org/xorg-team/lib/mesa-amber. I am building it right now....
libdrm_radeon found: NO
you need to install libdrm-radeon1
I uploaded the packages, except the debug symbols to http://u58733p55594.web0093.zxcs-klant.nl/mesa/mesa-amber-powerpc.tar.gz
So
wget http://u58733p55594.web0093.zxcs-klant.nl/mesa/mesa-amber-powerpc.tar.gz
You are interested in libgl1-amber-dri. install that package and the opengl drivers will be placed in /usr/lib/powerpc-linux-gnu/dri/.
The following opengl drivers will be placed there:
i965_dri.so
nouveau_vieux_dri.so
r200_dri.so
radeon_dri.so
Thank you . I've downloaded the mesa-amber packages and installed them. Now I have mesa-amber and mesa 23.xx both.
Rebooted but, obviously, vanilla mesa were loaded instead of amber.
Even I know that this should be done by changing some (obscure for me) configuration parameters, and that's why I searched the web. I found a guy who had the same problem
https://forums.gentoo.org/viewtopic-p-8734834.html?sid=905ad6e04f3647d6fab6cc295a2d9296
so, I've done the same, but when rebooted, mesa 23.xx were, nonetheless, loaded.
I thought to remove the mesa 23.xx packages from synaptic, but it seems I could break something, so it's a no-go.
Symlink??
Is there a way to make the system use one version of mesa rather than another, as you could done, for example, with java?
did you tris this
It looks as though the solution is to install both mesa 22.x and mesa-amber 21.3.x and then to add the following environment variable to the system:
export__GLX_VENDOR_LIBRARY_NAME=amber |
I stuck the variable as a single line script in /etc/profile.d/mesa-amber.sh.
Now when I run glxgears, I don't see any library errors in the terminal, and it does appear to give the "expected" frame rate, albeit it was never that good even on mesa 21.x.
I found this solution in the Arch forums:
https://bbs.archlinux.org/viewtopic.php?id=275808
you might need to edit /etc/profile or add a new one in /etc/profile.d/ as suggested and add that line of code.
Yes, I already tried that, but I’m stuck with llvmpipe and mesa 23.xx.
I also added another line in ordet to force load the r200 driver but nothing to do.
Tried also to add boot parameters to the grub, obtaining nothing, except the video didn’t inizialize at all.
🙁