Mesa & DRI for PPC

AmigaOne X5000 platform specific issues related to Linux only.
User avatar
caseycullen
Posts: 519
Joined: Sat Dec 17, 2016 7:12 am
Location: Madison, WI USA
Contact:

Re: Mesa & DRI for PPC

Post by caseycullen »

If possible that would be helpful.
Thanks!
acefnq wrote: Casey
I have reverted back to 18.0.0. Do you want me to try again to get the output?

Cheers

Allan
acefnq
Posts: 236
Joined: Fri Sep 09, 2011 9:58 am

Re: Mesa & DRI for PPC

Post by acefnq »

[quote="caseycullen"]If possible that would be helpful.
Thanks!

Casey
allan@ubuntu-mate:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial
allan@ubuntu-mate:~$
allan@ubuntu-mate:~$ glxinfo | grep "OpenGL version"
Error: couldn't find RGB GLX visual or fbconfig
allan@ubuntu-mate:~$ ls -l /usr/lib/powerpc-linux-gnu/mesa/
total 5680
-rw-r--r-- 1 root root 32 Jan 30 06:25 ld.so.conf
lrwxrwxrwx 1 root root 18 Jun 15 18:43 libGL.so.1 -> libGL.so.1.2.0.bak
-rwxr-xr-x 1 root root 2901480 Jun 19 17:26 libGL.so.1.2.0
-rwxr-xr-x 1 root root 2906184 Jun 16 14:29 libGL.so.1.2.0.bak
allan@ubuntu-mate:~$

hope this helps.

allan
acefnq
Posts: 236
Joined: Fri Sep 09, 2011 9:58 am

Re: Mesa & DRI for PPC

Post by acefnq »

Casey
Same output after reverting to 18.0.0

allan@ubuntu-mate:~/Downloads$ ls -l /usr/lib/powerpc-linux-gnu/mesa/total 5756
-rw-r--r-- 1 root root 32 Jan 30 06:25 ld.so.conf
lrwxrwxrwx 1 root root 18 Jun 15 18:43 libGL.so.1 -> libGL.so.1.2.0.bak
-rwxr-xr-x 1 root root 2941256 Jun 19 17:41 libGL.so.1.2.0
-rwxr-xr-x 1 root root 2941256 Jun 19 17:37 libGL.so.1.2.0.bak
allan@ubuntu-mate:~/Downloads$ glxinfo | grep "OpenGL version"OpenGL version string: 3.0 Mesa 18.0.0

Cheers

Allan
User avatar
xeno74
Posts: 9323
Joined: Fri Mar 23, 2012 7:58 am

Re: Mesa & DRI for PPC

Post by xeno74 »

acefnq wrote:Casey
Same output after reverting to 18.0.0

allan@ubuntu-mate:~/Downloads$ ls -l /usr/lib/powerpc-linux-gnu/mesa/total 5756
-rw-r--r-- 1 root root 32 Jan 30 06:25 ld.so.conf
lrwxrwxrwx 1 root root 18 Jun 15 18:43 libGL.so.1 -> libGL.so.1.2.0.bak
-rwxr-xr-x 1 root root 2941256 Jun 19 17:41 libGL.so.1.2.0
-rwxr-xr-x 1 root root 2941256 Jun 19 17:37 libGL.so.1.2.0.bak
allan@ubuntu-mate:~/Downloads$ glxinfo | grep "OpenGL version"OpenGL version string: 3.0 Mesa 18.0.0

Cheers

Allan
Hi Allan,

Thanks for the output. I think I see the problem. The libGL.so.1 is linked to the old Mesa 18.0.0 libGL.so.1.2.0.bak. Please delete the symbolic link libGL.so.1 and create a new symbolic link libGL.so.1 which references to the new Mesa libGL.so.1.2.0.

Code: Select all

sudo rm libGL.so.1

Code: Select all

sudo ln -s libGL.so.1.2.0 libGL.so.1
Thanks,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
acefnq
Posts: 236
Joined: Fri Sep 09, 2011 9:58 am

Re: Mesa & DRI for PPC

Post by acefnq »

Thanks for the output. I think I see the problem. The libGL.so.1 is linked to the old Mesa 18.0.0 libGL.so.1.2.0.bak. Please delete the symbolic link libGL.so.1 and create a new symbolic link libGL.so.1 which references to the new Mesa libGL.so.1.2.0.

Code: Select all

sudo rm libGL.so.1

Code: Select all

sudo ln -s libGL.so.1.2.0 libGL.so.1

Christian
Tried again using the commands above to create the soft link ( I assume I had to be in the /usr/lib/powerpc-linux-gnu/mesa/ drawer to execute those commands, forgive me but I bumble around Linux), still no cigar.

sorry

allan
User avatar
xeno74
Posts: 9323
Joined: Fri Mar 23, 2012 7:58 am

Re: Mesa & DRI for PPC

Post by xeno74 »

Allan,

Could you please post the output of ls -l /usr/lib/powerpc-linux-gnu/mesa/ again?

Thanks,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
acefnq
Posts: 236
Joined: Fri Sep 09, 2011 9:58 am

Re: Mesa & DRI for PPC

Post by acefnq »

Christian
1. Install 18.1.1 as per standing instructions
2. Remove and install symbolic link
3. Cold reboot
4. Output:

allan@ubuntu-mate:~$ ls -l /usr/lib/powerpc-linux-gnu/mesa/total 5716
-rw-r--r-- 1 root root 32 Jan 30 06:25 ld.so.conf
lrwxrwxrwx 1 root root 14 Jun 20 13:45 libGL.so.1 -> libGL.so.1.2.0
-rwxr-xr-x 1 root root 2901480 Jun 20 13:44 libGL.so.1.2.0
-rwxr-xr-x 1 root root 2941256 Jun 19 20:25 libGL.so.1.2.0.bak
allan@ubuntu-mate:~$ glxinfo | grep "OpenGL version"
Error: couldn't find RGB GLX visual or fbconfig
allan@ubuntu-mate:~$
User avatar
xeno74
Posts: 9323
Joined: Fri Mar 23, 2012 7:58 am

Re: Mesa & DRI for PPC

Post by xeno74 »

acefnq wrote:Christian
1. Install 18.1.1 as per standing instructions
2. Remove and install symbolic link
3. Cold reboot
4. Output:

allan@ubuntu-mate:~$ ls -l /usr/lib/powerpc-linux-gnu/mesa/total 5716
-rw-r--r-- 1 root root 32 Jan 30 06:25 ld.so.conf
lrwxrwxrwx 1 root root 14 Jun 20 13:45 libGL.so.1 -> libGL.so.1.2.0
-rwxr-xr-x 1 root root 2901480 Jun 20 13:44 libGL.so.1.2.0
-rwxr-xr-x 1 root root 2941256 Jun 19 20:25 libGL.so.1.2.0.bak
allan@ubuntu-mate:~$ glxinfo | grep "OpenGL version"
Error: couldn't find RGB GLX visual or fbconfig
allan@ubuntu-mate:~$
Hi Allan,

Thanks for the output. Your Mesa installation is correct now. It seems that Casey uses a new Debian version for building Mesa.

@Casey
Could you please compile Mesa on ubuntu MATE 16.04?

Thanks,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Spectre660
Posts: 1525
Joined: Sat Jun 18, 2011 2:16 pm
Location: Montserrat

Re: Mesa & DRI for PPC

Post by Spectre660 »

@caseycullen

Are you getting good video playback performance for 1080p Videos ?
caseycullen wrote:I compiled Mesa 18.1.1 and made it available at http://ppcutopia.ddns.net/html/mesa-18.1.1.tar.gz.
Install using the same instructions Christian provided for Mesa 18.0.0. I also compiled VDPAU and it seems to work.
---Casey
Sam460ex : Radeon Rx550 Single slot Video Card : SIL3112 SATA card
Spectre660
Posts: 1525
Joined: Sat Jun 18, 2011 2:16 pm
Location: Montserrat

Re: Mesa & DRI for PPC

Post by Spectre660 »

I note that there is a proposed 18.0.5 version for Ubuntu 16.04 .
I upgraded yesterday by enabling the developer option for proposed updates .

I use the following links to track Mesa updates .
https://launchpad.net/ubuntu/+source/mesa
https://packages.debian.org/source/sid/mesa
Sam460ex : Radeon Rx550 Single slot Video Card : SIL3112 SATA card
Post Reply