VLC media player without AltiVec

AmigaOne X5000 platform specific issues related to Linux only.
User avatar
caseycullen
Posts: 519
Joined: Sat Dec 17, 2016 7:12 am
Location: Madison, WI USA
Contact:

Re: VLC media player without AltiVec

Post by caseycullen »

Roland wrote: Wed Aug 04, 2021 11:03 amAnd as also Casey has stopped to work with Fienix, we are now without any actively supported distro :-(. The situation with PPC browsers is also catastrofal, they seem now to stop to work one after other with net banks and other necessary services.

Have we now reached the point where it is wisest to abandon X5000 as a Linux platform and jump to some better supported Linux architecture? But in any case I would not like to support Intel in any form with my pennies...!
Hi there! Sorry for the lack of communication lately. I've been working on the next release of Fienix for a few months now. Completely updated software stack, new Fienix-exclusive system tools and UX improvements, a bootable installer for PowerPC Macs to help increase our user-base, and an installer for our AmigaOnes to more easily copy Fienix to a hard disk. It's turning out really nicely and I think you'll love whats to come! I'll post a beta image in these forums when I get a little further along for anyone who wants to help test it.

Until then I'll still make "critical" updates to the current Fienix.

-Casey
Roland
Posts: 825
Joined: Tue May 02, 2017 7:23 am

Re: VLC media player without AltiVec

Post by Roland »

caseycullen wrote: Thu Aug 05, 2021 2:25 am
Hi there! Sorry for the lack of communication lately. I've been working on the next release of Fienix for a few months now. Completely updated software stack, new Fienix-exclusive system tools and UX improvements, a bootable installer for PowerPC Macs to help increase our user-base, and an installer for our AmigaOnes to more easily copy Fienix to a hard disk. It's turning out really nicely and I think you'll love whats to come! I'll post a beta image in these forums when I get a little further along for anyone who wants to help test it.
That's really great news!-) Thank you for continuing your invaluable work :-).

Will the new Fienix still be 32bit, or have you jumped to 64bit? Is there hope for the new Firefox version for it...?
- Roland -
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: VLC media player without AltiVec

Post by xeno74 »

Hi All,

I was able to recompile the new VLC 3.0.16 without AltiVec for the X5000 with the following commands today.

Image
  1. Installation of the basic debian building tools:

    Code: Select all

    # apt-get install devscripts build-essential
  2. Adding the src repository for Debian to "/etc/apt/sources.list":

    Code: Select all

    deb-src http://ftp.us.debian.org/debian/ sid main
  3. Refreshing the packages lists:

    Code: Select all

    # apt-get update
  4. Installation of the dependencies:

    Code: Select all

    # apt-get build-dep vlc
  5. Installation of the VLC source package as a user:

    Code: Select all

    $ apt-get source vlc
  6. Change to the folder "vlc-3.0.16"
  7. Inside the debian folder you have the file "rules" that contains the compilation options. You need to modify the PowerPC compilation options:

    Code: Select all

    # PowerPC specific optimizations (excluding powerpcspe)
    ifeq (,$(filter-out powerpc,$(DEB_HOST_ARCH_CPU))$(filter powerpcspe,$(DEB_HOST_ARCH)))
    confflags += --disable-altivec
    removeplugins += altivec
    endif
    
  8. After that you can compile the packages with the command "debuild -us -uc" in the directory "vlc-3.0.16".
    You will find the debian packages that you have just compiled one folder above.
Download: vlc_3.0.16-1_powerpc_without_altivec.tar.gz

Installation instructions for Debian Sid PPC32 and MintPPC:
  1. Code: Select all

    tar zxvf vlc_3.0.16-1_powerpc_without_altivec.tar.gz
  2. Code: Select all

    su -
  3. Code: Select all

    # cd /home/<Your username>/Downloads/vlc_3.0.16-1_powerpc_without_altivec
  4. Code: Select all

    # dpkg -i *
Installation instructions for Fienix:

Please note: I do not recommend to install it on Fienix because you need to add the Debian Sid repositories to the sources.list.
  1. Adding of the Debian Sid repositories to "/etc/apt/sources.list":

    Code: Select all

    #Fienix
    #Do not modify this file; add additional repositories to "sources.list.d".
    deb http://fienix.servehttp.com/repos/fienix/soar/ soar-di main
    deb http://fienix.servehttp.com/repos/fienix/soar/ soar-dh main
    deb http://fienix.servehttp.com/repos/fienix/soar/ soar-cp main
    
    deb http://deb.debian.org/debian-ports sid main
    deb http://deb.debian.org/debian-ports unreleased main
    deb http://deb.debian.org/debian-ports experimental main
    
    deb [arch=all] http://ftp.debian.org/debian/ unstable main contrib non-free
    
  2. Refreshing the packages lists:

    Code: Select all

    # apt-get update
  3. Installation of the Debian ports keyring:

    Code: Select all

    # apt install debian-ports-archive-keyring
  4. Refreshing the packages lists:

    Code: Select all

    # apt-get update
  5. Installation of some VLC dependencies:

    Code: Select all

    # apt install vlc
  6. Code: Select all

    # apt --fix-broken install
  7. Code: Select all

    tar zxvf vlc_3.0.16-1_powerpc_without_altivec.tar.gz
  8. Code: Select all

    su -
  9. Code: Select all

    # cd /home/<Your username>/Downloads/vlc_3.0.16-1_powerpc_without_altivec
  10. Code: Select all

    # dpkg -i *
Please remove the VLC configuration directory in your home directory with the following command:

Code: Select all

rm -rf .config/vlc
After that you have to configure VLC via menu "Tools" - "Preferences". I use "XVideo output (XCB)" in the Video section.

Cheers,
Christian
Last edited by xeno74 on Thu Aug 12, 2021 4:26 pm, edited 2 times in total.
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: VLC media player without AltiVec

Post by xeno74 »

The video output "OpenGL video output" works also on my X5000.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Roland
Posts: 825
Joined: Tue May 02, 2017 7:23 am

Re: VLC media player without AltiVec

Post by Roland »

xeno74 wrote: Thu Aug 12, 2021 8:57 am I was able to recompile the new VLC 3.0.16 without AltiVec for the X5000 with the following commands today.
Great! Thank you very much :-).

I installed it on MintPPC, no problems there. It also starts normally, but if I select from the 'Media' menu 'Open File...' or most of the other items on that menu, VLC exits immediately. Also if I select from Preferences 'Input/codecs', it exits. This is exactly the same problem the previous VLC versions have... (yes, I did try to remove the old prefs files but it did not help)
- Roland -
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: VLC media player without AltiVec

Post by xeno74 »

Roland wrote: Thu Aug 12, 2021 7:10 pm I installed it on MintPPC, no problems there. It also starts normally, but if I select from the 'Media' menu 'Open File...' or most of the other items on that menu, VLC exits immediately. Also if I select from Preferences 'Input/codecs', it exits. This is exactly the same problem the previous VLC versions have... (yes, I did try to remove the old prefs files but it did not help)
I have the same problem on MintPPC but it’s not an issue of VLC itself because this issue doesn’t exist on Fienix. I think there are some QT issues on MintPPC.
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: VLC media player without AltiVec

Post by xeno74 »

New rules for recompiling of our VLC:

debian/rules:

Code: Select all

...

# PowerPC specific optimizations (excluding powerpcspe)
ifeq (,$(filter-out powerpc,$(DEB_HOST_ARCH_CPU))$(filter powerpcspe,$(DEB_HOST_ARCH)))
confflags += --disable-altivec
removeplugins += altivec
endif

ifeq (,$(filter-out ppc64,$(DEB_HOST_ARCH_CPU))$(filter powerpcspe,$(DEB_HOST_ARCH)))
confflags += --disable-altivec
removeplugins += altivec
endif

# PowerPCSPE specific optimizations
ifeq (,$(filter-out powerpcspe,$(DEB_HOST_ARCH)))
DEB_CFLAGS_MAINT_APPEND += -mtune=8548
DEB_CXXFLAGS_MAINT_APPEND += -mtune=8548
endif

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

Running Linux on AmigaONEs can require some tinkering.
Roland
Posts: 825
Joined: Tue May 02, 2017 7:23 am

Re: VLC media player without AltiVec

Post by Roland »

xeno74 wrote: Fri Aug 13, 2021 3:22 amI have the same problem on MintPPC but it’s not an issue of VLC itself because this issue doesn’t exist on Fienix. I think there are some QT issues on MintPPC.
There was again a thick pile of updates for MintPPC (including QT related ones), but unfortunately they did not fix the issue with VLC :-/.
- Roland -
Post Reply