Mesa & DRI for PPC

AmigaOne X5000 platform specific issues related to Linux only.

Re: Mesa & DRI for PPC

Postby caseycullen » Mon Jun 18, 2018 7:28 pm

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
caseycullen
 
Posts: 120
Joined: Sat Dec 17, 2016 8:12 am
Location: Madison, WI USA

Re: Mesa & DRI for PPC

Postby acefnq » Tue Jun 19, 2018 9:59 am

[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: 41
Joined: Fri Sep 09, 2011 10:58 am

Re: Mesa & DRI for PPC

Postby acefnq » Tue Jun 19, 2018 10:08 am

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
acefnq
 
Posts: 41
Joined: Fri Sep 09, 2011 10:58 am

Re: Mesa & DRI for PPC

Postby xeno74 » Tue Jun 19, 2018 12:26 pm

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.
User avatar
xeno74
 
Posts: 3954
Joined: Fri Mar 23, 2012 8:58 am

Re: Mesa & DRI for PPC

Postby acefnq » Tue Jun 19, 2018 1:03 pm

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
acefnq
 
Posts: 41
Joined: Fri Sep 09, 2011 10:58 am

Re: Mesa & DRI for PPC

Postby xeno74 » Tue Jun 19, 2018 1:18 pm

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.
User avatar
xeno74
 
Posts: 3954
Joined: Fri Mar 23, 2012 8:58 am

Re: Mesa & DRI for PPC

Postby acefnq » Wed Jun 20, 2018 6:32 am

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:~$
acefnq
 
Posts: 41
Joined: Fri Sep 09, 2011 10:58 am

Re: Mesa & DRI for PPC

Postby xeno74 » Wed Jun 20, 2018 1:45 pm

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.
User avatar
xeno74
 
Posts: 3954
Joined: Fri Mar 23, 2012 8:58 am

Re: Mesa & DRI for PPC

Postby Spectre660 » Wed Jun 20, 2018 3:05 pm

@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
Spectre660
 
Posts: 1474
Joined: Sat Jun 18, 2011 3:16 pm
Location: Montserrat

Re: Mesa & DRI for PPC

Postby Spectre660 » Wed Jun 20, 2018 3:10 pm

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
Spectre660
 
Posts: 1474
Joined: Sat Jun 18, 2011 3:16 pm
Location: Montserrat

PreviousNext

Return to Platform: AmigaOne X5000 - Linux Only

Who is online

Users browsing this forum: No registered users and 2 guests

cron