Mesa for Linux PPC

AmigaOne X1000 platform specific issues related to Linux only.
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: Mesa for Linux PPC

Post by xeno74 »

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

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

Re: Mesa for Linux PPC

Post by xeno74 »

FYI: Mesa 22.2 Lands The Big Removal Of Old GLSL-To-TGSI Path, Now Always Going Through NIR

This version will be available for Debian and for Debian based distributions with access to the experimental repository soon.
The latest version of Mesa in Void is the 21.3.7_1.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Mesa for Linux PPC

Post by xeno74 »

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

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

Re: Mesa for Linux PPC

Post by xeno74 »

Mesa 22.1.3_1 is available for Void PPC.

Update instructions:
  1. Code: Select all

    xbps-remove mesa-demos
  2. Code: Select all

    xbps-remove libOSMesa
  3. Code: Select all

    xbps-install -S mesa-dri
    Output:

    Code: Select all

    [*] Updating repository `https://auto.voidlinux-ppc.org/current/ppc/ppc-repodata' ...
    [*] Updating repository `https://auto.voidlinux-ppc.org/current/ppc/nonfree/ppc-repodata' ...
    
    Name              Action    Version           New version            Download size
    xf86-video-amdgpu update    21.0.0_2          22.0.0_1               87KB 
    libglapi          update    21.3.7_1          22.1.3_1               78KB 
    libgbm            update    21.3.7_1          22.1.3_1               34KB 
    mesa              update    21.3.7_1          22.1.3_1               321KB 
    mesa-dri          update    21.3.7_1          22.1.3_1               6444KB 
    
    Size to download:             6965KB
    Size required on disk:          21MB
    Space available on disk:        88GB
    
    Do you want to continue? [Y/n] 
    
    [*] Downloading packages
    xf86-video-amdgpu-22.0.0_1.ppc.xbps.sig: 512B [avg rate: 11MB/s]
    xf86-video-amdgpu-22.0.0_1.ppc.xbps: 87KB [avg rate: -- stalled --]
    xf86-video-amdgpu-22.0.0_1: verifying RSA signature...
    libglapi-22.1.3_1.ppc.xbps.sig: 512B [avg rate: 12MB/s]
    libglapi-22.1.3_1.ppc.xbps: 78KB [avg rate: -- stalled --]
    libglapi-22.1.3_1: verifying RSA signature...
    libgbm-22.1.3_1.ppc.xbps.sig: 512B [avg rate: 9259KB/s]
    libgbm-22.1.3_1.ppc.xbps: 34KB [avg rate: -- stalled --]
    libgbm-22.1.3_1: verifying RSA signature...
    mesa-22.1.3_1.ppc.xbps.sig: 512B [avg rate: 12MB/s]
    mesa-22.1.3_1.ppc.xbps: 321KB [avg rate: 2593KB/s]
    mesa-22.1.3_1: verifying RSA signature...
    mesa-dri-22.1.3_1.ppc.xbps.sig: 512B [avg rate: 10MB/s]
    mesa-dri-22.1.3_1.ppc.xbps: 6444KB [avg rate: -- stalled --]
    mesa-dri-22.1.3_1: verifying RSA signature...
    
    [*] Collecting package files
    xf86-video-amdgpu-22.0.0_1: collecting files...
    xf86-video-amdgpu-21.0.0_2: collecting files...
    libglapi-22.1.3_1: collecting files...
    libglapi-21.3.7_1: collecting files...
    libgbm-22.1.3_1: collecting files...
    libgbm-21.3.7_1: collecting files...
    mesa-22.1.3_1: collecting files...
    mesa-21.3.7_1: collecting files...
    mesa-dri-22.1.3_1: collecting files...
    mesa-dri-21.3.7_1: collecting files...
    
    [*] Unpacking packages
    xf86-video-amdgpu-21.0.0_2: updating to 22.0.0_1 ...
    xf86-video-amdgpu-22.0.0_1: unpacking ...
    libglapi-21.3.7_1: updating to 22.1.3_1 ...
    libglapi-22.1.3_1: unpacking ...
    libgbm-21.3.7_1: updating to 22.1.3_1 ...
    libgbm-22.1.3_1: unpacking ...
    mesa-21.3.7_1: updating to 22.1.3_1 ...
    mesa-22.1.3_1: unpacking ...
    mesa-dri-21.3.7_1: updating to 22.1.3_1 ...
    mesa-dri-22.1.3_1: unpacking ...
    
    [*] Configuring unpacked packages
    xf86-video-amdgpu-22.0.0_1: configuring ...
    xf86-video-amdgpu-22.0.0_1: updated successfully.
    libglapi-22.1.3_1: configuring ...
    libglapi-22.1.3_1: updated successfully.
    libgbm-22.1.3_1: configuring ...
    libgbm-22.1.3_1: updated successfully.
    mesa-22.1.3_1: configuring ...
    mesa-22.1.3_1: updated successfully.
    mesa-dri-22.1.3_1: configuring ...
    mesa-dri-22.1.3_1: updated successfully.
    
    5 downloaded, 0 installed, 5 updated, 5 configured, 0 removed.
    
glxinfo | grep -i opengl

Code: Select all

OpenGL vendor string: X.Org
OpenGL renderer string: AMD CAYMAN (DRM 2.50.0 / 5.19.0-rc5_A-EON_X5000, LLVM 12.0.1)
OpenGL core profile version string: 3.2 (Core Profile) Mesa 22.1.3
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.1 Mesa 22.1.3
OpenGL shading language version string: 1.40
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 22.1.3
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
musa
Posts: 709
Joined: Tue Aug 23, 2011 7:58 pm

Re: Mesa for Linux PPC

Post by musa »

Hi
Thanks its working
:)
AmigaX1000
Follow me on twitter @basjoo_dk
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: Mesa for Linux PPC

Post by xeno74 »

musa wrote: Thu Jul 07, 2022 8:21 pm Hi
Thanks its working
:)
Thanks a lot for testing! :-)
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Mesa for Linux PPC

Post by xeno74 »

FYI: Rewritten R600g NIR Backend Merged For Mesa 22.2 - Improves Radeon HD 5000/6000 Series
“Gert Wollny” wrote: The new NIR code is available with the merge request. If you want to help and test this code, the back-end is enabled with R600_DEBUG=nir. SB is enabled by default, but you can use R600_DEBUG=nir,nosb to run NIR with disabled SB. Play your favorite games with the back-end enabled and report bugs at https://gitlab.freedesktop.org/mesa/mesa/-/issues. If you are a developer and have the hardware, just pick a task from the list above and start fixing.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Mesa for Linux PPC

Post by xeno74 »

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

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

Re: Mesa for Linux PPC

Post by xeno74 »

I was able to update Mesa to version 22.2.0-rc3 on MintPPC today.

Code: Select all

apt install libgl1-mesa-dri
With export R600_DEBUG=nir, we have OpenGL 3.2 support.

Code: Select all

┌──(mintppc㉿mintppc)-[~]
└─$ glxinfo | grep -i opengl
OpenGL vendor string: X.Org
OpenGL renderer string: AMD CAYMAN (DRM 2.50.0 / 6.0.0-rc2_A-EON_X5000, LLVM 14.0.6)
OpenGL core profile version string: 3.2 (Core Profile) Mesa 22.2.0-rc3
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.2 (Compatibility Profile) Mesa 22.2.0-rc3
OpenGL shading language version string: 1.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 22.2.0-rc3
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16
OpenGL ES profile extensions:
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Post Reply