MintPPC

AmigaOne X5000 platform specific issues related to Linux only.
mintppc
Posts: 147
Joined: Thu May 01, 2025 9:20 am
Contact:

Re: MintPPC

Post by mintppc »

No need to pin. Just don’t touch anything related to vlc.
User avatar
xeno74
Posts: 10901
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: MintPPC

Post by xeno74 »

xeno74 wrote: Fri Oct 31, 2025 11:30 am I don't actually need initial ramdisks, but I have sometimes created ramdisks for others.

You can use the following commands to create a new ramdisk and boot from it:

Code: Select all

dracut initrd-6.12.img 6.12.48-powerpc64-smp

Code: Select all

mkimage -T ramdisk -C gzip -n 'Kernel 6.12 uInitrd' -d initrd-6.12.img uInitrd-6.12
-- Testing --

Code: Select all

# tune2fs -L MintPPC <Volume or partition>

Code: Select all

# reboot

Code: Select all

X5000> setenv bootargs root=LABEL=MintPPC

Code: Select all

X5000> load sata 1:1 1000000 uImage-6.12

Code: Select all

X5000> load sata 1:1 1c00000 cyrus-p5040.dtb

Code: Select all

X5000> load sata 1:1 2000000 uInitrd-6.12

Code: Select all

X5000> bootm 1000000 2000000 1c00000
I created a new uInitrd on MintPPC32 today.

Download: github.com
Roland wrote: Fri Oct 31, 2025 1:51 pm I was already able to check the contents of the uInitrd.-6.12 you made earlier with Void:

Code: Select all

dd if=uInitrd of=initrd skip=64 bs=1
zcat initrd | cpio -id

/media/NTFS/rd/usr/bin/e2fsck' -V
e2fsck 1.46.5 (30-Dec-2021)
Using EXT2FS Library version 1.46.2, 28-Feb-2021
So the e2fsck was indeed outdated and caused the boot problems! As void cannot be anymore updated, it is better to create the uInitrds with Mint.
Thanks a lot to Roland for reporting the issue with the old version of e2fsck in the old uInitrd.

I was able to boot MintPPC32 with a LABEL today.

Image
Roland
Posts: 926
Joined: Tue May 02, 2017 8:23 am

Re: MintPPC

Post by Roland »

@mintppc

I run a bunch of updates for mintppc, with the consequence that VLC 3.0.21 was not able to use "OpenGL video output" for MP4 videos anymore... (just a black screen, only sound was normal) Any idea how to fix this? I already tried to downgrade va-mesa drivers (25.x -> 24.x) but it did not fix the issue.
- Roland -
Roland
Posts: 926
Joined: Tue May 02, 2017 8:23 am

Re: MintPPC

Post by Roland »

Roland wrote: Thu Nov 20, 2025 9:25 pm @mintppc

I run a bunch of updates for mintppc, with the consequence that VLC 3.0.21 was not able to use "OpenGL video output" for MP4 videos anymore... (just a black screen, only sound was normal) Any idea how to fix this? I already tried to downgrade va-mesa drivers (25.x -> 24.x) but it did not fix the issue.
There has been no answer to my question...?! Could other users please test whether this problem exists also on their system with VLC 3.0.21 and the latest updates? Thank you!

How could I downgrade the va-mesa-drivers to the previous 25.2.4-1 version? When I had that version installed, OpenGL still worked. "Sudo apt install mesa-va-drivers=25.2.4-1" cannot find it!

BTW, this is not the first time when updates handicap one way or another vlc on MIntPPC!
- Roland -
User avatar
xeno74
Posts: 10901
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: MintPPC

Post by xeno74 »

I will test it at the weekend.

@mintppc and @Skateman
Do you have the same issue?
User avatar
xeno74
Posts: 10901
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: MintPPC

Post by xeno74 »

xeno74 wrote: Wed Nov 26, 2025 5:37 am I will test it at the weekend.

@mintppc and @Skateman
Do you have the same issue?
I upgraded my MintPPC32 today. Now I have VLC 3.0.22-rc2 installed.

I can play the mp4 (720p), avi (1080p) and h264 (1080p) videos of Big Buck Bunny with the following options.

Video: Output: OpenGL for Embedded Systems 2 video output

Input / Codecs: Hardware-accelerated decoding: VA-API video decoder via DRM
Roland
Posts: 926
Joined: Tue May 02, 2017 8:23 am

Re: MintPPC

Post by Roland »

xeno74 wrote: Fri Nov 28, 2025 6:44 am I upgraded my MintPPC32 today. Now I have VLC 3.0.22-rc2 installed.

I can play the mp4 (720p), avi (1080p) and h264 (1080p) videos of Big Buck Bunny with the following options.

Video: Output: OpenGL for Embedded Systems 2 video output

Input / Codecs: Hardware-accelerated decoding: VA-API video decoder via DRM
With the same Video/Output and Input/Codecs options vlc (3.0.21, run from terminal) just closes itself and there are some error messages:

Code: Select all

$ vlc
VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8)
[01bb6b70] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[01c23de0] main playlist: playlist is empty
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib/powerpc-linux-gnu/dri/r600_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
[f0745310] glconv_vaapi_x11 gl error: vaDeriveImage: operation failed
[eac14220] main video output error: video output creation failed
[e6c1af80] main decoder error: failed to create video output
Segmentation fault         vlc
If I use the the 'OpenGL video output' optin, the mp4 file is loaded and seemingly running, but only sound is coming out. Vlc window stays black. What drivers or other files are needed for the OpenGL?
- Roland -
User avatar
xeno74
Posts: 10901
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: MintPPC

Post by xeno74 »

Please update VLC to version 3.0.22-rc2 or upgrade your entire MintPPC32 system.

I upgraded MintPPC32 today and VLC 3.0.22-rc2 works.
The dependencies for VLC 3.0.22-rc2 are automatically installed during the upgrade.
I didn’t need any additional packages.
Roland
Posts: 926
Joined: Tue May 02, 2017 8:23 am

Re: MintPPC

Post by Roland »

xeno74 wrote: Fri Nov 28, 2025 9:17 am Please update VLC to version 3.0.22-rc2 or upgrade your entire MintPPC32 system.
I updated first only VLC, then all the remaining packages, but no change! I still get the same issues with OpenGL:

Code: Select all

$ vlc
VLC media player 3.0.22-rc2 Vetinari (revision 3.0.22-rc2-0-a9d5a66e)
[01670b70] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[016de390] main playlist: playlist is empty
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib/powerpc-linux-gnu/dri/r600_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
[f0a059b0] glconv_vaapi_x11 gl error: vaDeriveImage: operation failed
[d4d5ea50] main video output error: video output creation failed
[e6e236d0] main decoder error: failed to create video output
Segmentation fault         vlc 
Hardinfo2 gives this information about OpenGL in my machine:

Code: Select all

Display
-------

-Session-
        Type : x11
-Wayland-
  Current Display Name : (Not Available)
-X Server-
  Current Display Name : :0
                Vendor : The XDisplay
-------

-Session-
        Type : x11
-Wayland-
  Current Display Name : (Not Available)
-X Server-
  Current Display Name : :0
                Vendor : The X.Org Foundation
               Version : 21.1.21
        Release Number : 12101021
-Screens-
    Screen 0 : 1280x1024 pixels
-Outputs (XRandR)-
      HDMI-0 : Disconnected; Unused
       DVI-0 : Connected; 1280x1024 pixels, offset (0, 0)
       VGA-0 : Disconnected; Unused
-OpenGL (GLX)-
                                    Vendor : Mesa
                                  Renderer : AMD CAICOS (DRM 2.50.0 / 6.12.57-powerpc64-smp, LLVM 19.1.7)
                          Direct Rendering : Yes
                   Version (Compatibility) : 3.2 (Compatibility Profile) Mesa 25.2.7-1
  Shading Language Version (Compatibility) : 1.50
                            Version (Core) : 3.2 (Core Profile) Mesa 25.2.7-1
           Shading Language Version (Core) : 1.50
                              Version (ES) : OpenGL ES 2.0 Mesa 25.2.7-1
             Shading Language Version (ES) : OpenGL ES GLSL ES 1.0.16
                               GLX Version : 1.4.Org Foundation
                               
- Roland -
Roland
Posts: 926
Joined: Tue May 02, 2017 8:23 am

Re: MintPPC

Post by Roland »

@mintppc

The package 'Hardinfo2' is not correctly packaged. When run, Hardinfo2 complains about a missing component named 'dmidecode'.
- Roland -
Post Reply