Page 4 of 10

Re: Mesa & DRI for PPC

Posted: Mon Jun 18, 2018 6:28 pm
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

Re: Mesa & DRI for PPC

Posted: Tue Jun 19, 2018 8:59 am
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

Re: Mesa & DRI for PPC

Posted: Tue Jun 19, 2018 9:08 am
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

Re: Mesa & DRI for PPC

Posted: Tue Jun 19, 2018 11:26 am
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

Re: Mesa & DRI for PPC

Posted: Tue Jun 19, 2018 12:03 pm
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

Re: Mesa & DRI for PPC

Posted: Tue Jun 19, 2018 12:18 pm
by xeno74
Allan,

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

Thanks,
Christian

Re: Mesa & DRI for PPC

Posted: Wed Jun 20, 2018 5:32 am
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:~$

Re: Mesa & DRI for PPC

Posted: Wed Jun 20, 2018 12:45 pm
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

Re: Mesa & DRI for PPC

Posted: Wed Jun 20, 2018 2:05 pm
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

Re: Mesa & DRI for PPC

Posted: Wed Jun 20, 2018 2:10 pm
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