Mesa for Linux PPC

AmigaOne X1000 platform specific issues related to Linux only.
zzd10h
Posts: 546
Joined: Sun Sep 16, 2012 5:40 am
Location: France

Re: Mesa for Linux PPC

Post by zzd10h »

Thanks to help me :D


Image
http://apps.amistore.net/zTools
X1000 - AmigaOS 4.1.6 / 4.1 FE
User avatar
xeno74
Posts: 9348
Joined: Fri Mar 23, 2012 7:58 am

Re: Mesa for Linux PPC

Post by xeno74 »

zzd10h wrote:Thanks to help me :D


Image
I have mixed something up. The glxgears values are OK. :-) Thank you for testing!
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
seventhwonder
Beta Tester
Beta Tester
Posts: 220
Joined: Sat Jun 18, 2011 7:08 am

Re: Mesa for Linux PPC

Post by seventhwonder »

Hi Everyone

I have compiled Mesa-Git with radeionsi gallium driver on my Cyrus

My graphic card is R7 265.

I used following configuration

sudo sh ./autogen.sh --prefix /usr/local/mesa-git --with-gallium-drivers="radeonsi" --enable-texture-float --enable-gallium-llvm --with-egl-platforms=drm --enable-dri --enable-dri3 --enable-xa --enable-gbm --enable-omx --enable-shared-glapi --enable-glx-tls

make install completed without problems.

However when I run glxgears, system uses the software driver.

What should I do now to enable radeonsi ?

I am using JM's latest Ubuntu Xenial image..
AmigaOS4 Beta-Tester
**AmigaOne X5000 + 8GB RAM + Radeon RX 560 4GB
**Tabor A1222 + 2GB RAM + Radeon RX 550 2GB **
**Sam460 + 2GB RAM + Radeon RX 550 2GB **
User avatar
xeno74
Posts: 9348
Joined: Fri Mar 23, 2012 7:58 am

Re: Mesa for Linux PPC

Post by xeno74 »

seventhwonder wrote:Hi Everyone

I have compiled Mesa-Git with radeionsi gallium driver on my Cyrus

My graphic card is R7 265.

I used following configuration

sudo sh ./autogen.sh --prefix /usr/local/mesa-git --with-gallium-drivers="radeonsi" --enable-texture-float --enable-gallium-llvm --with-egl-platforms=drm --enable-dri --enable-dri3 --enable-xa --enable-gbm --enable-omx --enable-shared-glapi --enable-glx-tls

make install completed without problems.

However when I run glxgears, system uses the software driver.

What should I do now to enable radeonsi ?

I am using JM's latest Ubuntu Xenial image..
Would you mind asking Alex about Mesa for Radeon 7xxx graphics cards or newer via the X5000 mailing list? Alex works with another developer on Mesa for Radeon 7xxx graphics cards and newer.

Thanks in advance. :-)
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
Srtest
Posts: 240
Joined: Wed Jun 11, 2014 5:06 pm

Re: Mesa for Linux PPC

Post by Srtest »

Well, from what i understand from the Mesa delelopers list, there is only Oded who just recently started working on the driver and said that it is completly broken. The good news from this month is that he managed to fix some basic stuff. The bad news is that we still have a long road and he is just one guy who never worked before on this issue. The stuff he is working on is pretty much sort of top layer as there are even more bugs at a more fundamental base as you can see with llvmpipe which also is not working.
User avatar
xeno74
Posts: 9348
Joined: Fri Mar 23, 2012 7:58 am

Re: Mesa for Linux PPC

Post by xeno74 »

Hi All,

The CPU is also important for hardware 3D acceleration. Please test glxgears with the most CPU time.

Code: Select all

export vblank_mode=0

Code: Select all

nice -n -20 glxgears
nice -n -20 = Most favorable process kernel scheduling

Cheers,

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

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9348
Joined: Fri Mar 23, 2012 7:58 am

Re: Mesa for Linux PPC

Post by xeno74 »

Hi All,

The final release of ubuntu MATE 16.04 LTS has a new version of Mesa. It's Mesa 11.2.0. It seems that we don't need the unofficial Mesa anymore.
Could you please test it?

Thanks in advance,

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

Running Linux on AmigaONEs can require some tinkering.
User avatar
elginseam
Posts: 12
Joined: Sun Sep 04, 2011 8:54 am
Location: London

Re: Mesa for Linux PPC

Post by elginseam »

I was going to try and figure out how to install Mesa 11.2.0
but a recent update has done it for me:

OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD RV730 (DRM 2.43.0)
OpenGL core profile version string: 3.2 (Core Profile) Mesa 11.2.0
OpenGL core profile shading language version string: 1.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 11.2.0
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.2.0
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:

It all seems fine on a lowly Radeon HD4650 and ubuntu MATE 16.04, kernel 4.6 rc5
A1000; A1200; A1500; Sam440ep 667MHz OS4.1; AmigaOne X1000
User avatar
xeno74
Posts: 9348
Joined: Fri Mar 23, 2012 7:58 am

Re: Mesa for Linux PPC

Post by xeno74 »

elginseam wrote:I was going to try and figure out how to install Mesa 11.2.0
but a recent update has done it for me:

OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD RV730 (DRM 2.43.0)
OpenGL core profile version string: 3.2 (Core Profile) Mesa 11.2.0
OpenGL core profile shading language version string: 1.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 11.2.0
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.2.0
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:

It all seems fine on a lowly Radeon HD4650 and ubuntu MATE 16.04, kernel 4.6 rc5
Thanks a lot for testing the RC5 of kernel 4.6 and many thanks for testing the new Mesa version.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9348
Joined: Fri Mar 23, 2012 7:58 am

Re: Mesa for Linux PPC

Post by xeno74 »

Just for info.

Image

I can play the following 1080p Big Buck Bunny video files:

big_buck_bunny_1080p_h264.mov
big_buck_bunny_1080p_stereo.avi

with the new official Mesa 11.2.0 (Gallium 0.4 on AMD BARTS DRM 2.43.0).

I've selected the video output OpenGL video output (experimental) in the VLC media player preferences.

Hardware-accelerated decoding with VDPAU video decoder doesn't work. VA-API video decoder via DRM works.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Post Reply