VLC without AltiVec for ubuntu MATE 16.04

AmigaOne X5000 platform specific issues related to Linux only.
Roland
Posts: 825
Joined: Tue May 02, 2017 7:23 am

Re: VLC without AltiVec for ubuntu MATE 16.04

Post by Roland »

Installation instructions:

sudo dpkg --remove vlc-plugin-skins2
sudo dpkg --remove vlc-l10n
sudo dpkg --remove vlc-bin
sudo dpkg --remove libvlc-bin
sudo dpkg --remove vlc-plugin-qt
Only the first 'remove' step was doable. The three following ones were rejected due to dependencies (VLC). The fifth one was not possible as vlc-plugin-gt was not installed at all ;).
- Roland -
User avatar
xeno74
Posts: 9348
Joined: Fri Mar 23, 2012 7:58 am

Re: VLC without AltiVec for ubuntu MATE 16.04

Post by xeno74 »

Roland wrote: Only the first 'remove' step was doable. The three following ones were rejected due to dependencies (VLC). The fifth one was not possible as vlc-plugin-gt was not installed at all ;).
This was my way to install VLC on the MATE PowerPC Remix. OK, please install all packages with sudo dpkg -i *. After that remove the following packages:

Code: Select all

sudo dpkg --remove vlc-plugin-skins2
sudo dpkg --remove vlc-l10n
sudo dpkg --remove vlc-bin
sudo dpkg --remove libvlc-bin
sudo dpkg --remove vlc-plugin-qt
Then install all packages with sudo dpkg -i * again. I know these are strange installation instructions but this VLC is from ubuntu MATE 16.04 and actually it is not for the MATE PowerPC Remix.
You can also try to remove all old VLC packages (dpkg -l | grep vlc) and after that you can install all new packages with sudo dpkg -i *. The second suggestion is more professional. ;-)

BTW, I was able to install ViewTube on the MATE PowerPC Remix today.

ViewTube with VLC without AltiVec for the MATE PowerPC Remix 2017 0.9 on an AmigaOne X5000:

Image

It works fantastic! :-)
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 without AltiVec for ubuntu MATE 16.04

Post by Roland »

This was my way to install VLC on the MATE PowerPC Remix. OK, please install all packages with sudo dpkg -i *. After that remove the following packages:

CODE: SELECT ALL
sudo dpkg --remove vlc-plugin-skins2
sudo dpkg --remove vlc-l10n
sudo dpkg --remove vlc-bin
sudo dpkg --remove libvlc-bin
sudo dpkg --remove vlc-plugin-qt

Then install all packages with sudo dpkg -i * again. I know these are strange installation instructions but this VLC is from ubuntu MATE 16.04 and actually it is not for the MATE PowerPC Remix.
You can also try to remove all old VLC packages (dpkg -l | grep vlc) and after that you can install all new packages with sudo dpkg -i *. The second suggestion is more professional.
I found a third way to do it... I used the 'dpkg --remove --force-depend ...' to get rid of 'vlc-l10n' and 'vlc-bin'. After that installed the new package. Seems to work, at least with MP4 videos !-) Thanks!
- Roland -
User avatar
xeno74
Posts: 9348
Joined: Fri Mar 23, 2012 7:58 am

Re: VLC without AltiVec for ubuntu MATE 16.04

Post by xeno74 »

Roland wrote: I found a third way to do it... I used the 'dpkg --remove --force-depend ...' to get rid of 'vlc-l10n' and 'vlc-bin'. After that installed the new package. Seems to work, at least with MP4 videos !-) Thanks!
Hi Roland,

Thanks for reporting your way. Fantastic that VLC works on your X5000.

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

Running Linux on AmigaONEs can require some tinkering.
User avatar
kilaueabart
Posts: 1070
Joined: Mon Mar 05, 2012 2:36 am

Re: VLC without AltiVec for ubuntu MATE 16.04

Post by kilaueabart »

I had a go at the first suggestion, but all five --remove commands were ignored on the grounds that the item wasn't installed. Then after dpkg -i * again, I took a look with grep. None of the removed things were there, but there was a libvlc-bin:powerpc. Is that different from the libvlc-bin in the remove list?

Anyway, no good result here. I guess I'll stick to 16.04 for video.
User avatar
xeno74
Posts: 9348
Joined: Fri Mar 23, 2012 7:58 am

Re: VLC without AltiVec for ubuntu MATE 16.04

Post by xeno74 »

Just for info: I get the best video quality with the OpenGL GLX video output (XCB) and with deinterlacing enabled.
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 without AltiVec for ubuntu MATE 16.04

Post by Roland »

xeno74 wrote:This was my way to install VLC on the MATE PowerPC Remix. OK, please install all packages with sudo dpkg -i *. After that remove the following packages:

Code: Select all

sudo dpkg --remove vlc-plugin-skins2
sudo dpkg --remove vlc-l10n
sudo dpkg --remove vlc-bin
sudo dpkg --remove libvlc-bin
sudo dpkg --remove vlc-plugin-qt
Then install all packages with sudo dpkg -i * again. I know these are strange installation instructions but this VLC is from ubuntu MATE 16.04 and actually it is not for the MATE PowerPC Remix.
I tried to install VLC to my Ubuntu 16.04.5, this time using the recipe above... After the initial installation step, none of the items to listed be removed were present anymore, so not possible to remove them.

VLC opened normally, and I made the changes in the settings (codec and video output format) I had to do earlier with 16.04.4. But this time, after loading a video, there was only sound and the title picture, but the video picture was not advancing. So, what might gone wrong this time?! Is there now something left of the original VLC installation which disturbs the new one?

BTW, is VLC anyhow depending on Mesa? (I also installed Mesa 18.2.2 on my 16.04.5).
- Roland -
User avatar
xeno74
Posts: 9348
Joined: Fri Mar 23, 2012 7:58 am

Re: VLC without AltiVec for ubuntu MATE 16.04

Post by xeno74 »

Roland wrote: But this time, after loading a video, there was only sound and the title picture, but the video picture was not advancing.
Did you install the VLC for the MATE PowerPC Remix 0.9 on ubuntu MATE 16.04.5 LTS?

Here are the downloads of VLC without AltiVec:

For ubuntu MATE 16.04: vlc_2.2.2-linux-powerpc-without_altivec.tar.gz
For the MATE PowerPC Remix: vlc_2.2.2-without_altivec_mate_powerpc_remix.tar.gz

BTW, I use the following settings:

Video:
  • Enable video
  • Display: Accelerated video output (Overlay)
  • Output: OpenGL GLX video output (XCB)
  • Deinterlacing: On
Input/Codecs:
  • Hardware-accelerated decoding: VA-API video decoder via DRM
System:
  • A-EON AmigaOne X5000/020, 8GB RAM
  • AMD Radeon HD4870 (RV770) with 512MB GDDR5 VRAM
  • ubuntu MATE 16.04.5 LTS PowerPC
  • Kernel 4.20-rc1
  • Mesa 18.2.2/OpenGL 3.0
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 without AltiVec for ubuntu MATE 16.04

Post by Roland »

xeno74 wrote:Did you install the VLC for the MATE PowerPC Remix 0.9 on ubuntu MATE 16.04.5 LTS[/b


No, I used the one for 16.04.

BTW, I use the following settings:

Video:

  • Enable video
  • Display: Accelerated video output (Overlay)
  • Output: OpenGL GLX video output (XCB)
  • Deinterlacing: On


Input/Codecs:

  • Hardware-accelerated decoding: VA-API video decoder via DRM


I tested with the same settings, no change...

System:
  • A-EON AmigaOne X5000/020, 8GB RAM
  • AMD Radeon HD4870 (RV770) with 512MB GDDR5 VRAM
  • ubuntu MATE 16.04.5 LTS PowerPC
  • Kernel 4.20-rc1
  • Mesa 18.2.2/OpenGL 3.0


I also have 8GB, and a HD5450.

I noticed that Mesa 18.2.2 was not actually in use as the libGL.so.1 was pointing to the original library. But when I corrected that, VLC did not even open! So I went back to the original, which seems to be 11.2:

~$ glxinfo | grep "OpenGL version"
OpenGL version string: 2.1 Mesa 11.2.0

You seem to have a newer OpenGL 3.0. Is that crucial for VLC? How can it be updated? 'Synaptic' did not find it, at least with same name...
- Roland -
User avatar
xeno74
Posts: 9348
Joined: Fri Mar 23, 2012 7:58 am

Re: VLC without AltiVec for ubuntu MATE 16.04

Post by xeno74 »

Roland,

Please install Mesa 18.2.2 again. After that, please post the output of ls -l /usr/lib/powerpc-linux-gnu/mesa/.

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

Running Linux on AmigaONEs can require some tinkering.
Post Reply