Topic: Installation fails on Linux

Hi there, I actually use Zorin OS (ubuntu based I think, I'm pretty much a new entry), and the installation fails.
Here the code:

Errore durante il processo di installazione (core)
Execution failed (Unexpected exit code: 127): "/home/myname/SVP 4/SVPManager -main -quit"

Re: Installation fails on Linux

this usually means you are missing some dependencies
'ldd SVPManager' will show what you're missing

Re: Installation fails on Linux

I have had that same error on Ubuntu.
That's a qt error, make sure you install the packages listed on the SVP page.

sudo apt-get install libqt5concurrent5 libqt5svg5 libqt5qml5

4 (edited by blade.liger 30-06-2018 22:09:23)

Re: Installation fails on Linux

smooth-motion wrote:

I have had that same error on Ubuntu.
That's a qt error, make sure you install the packages listed on the SVP page.

sudo apt-get install libqt5concurrent5 libqt5svg5 libqt5qml5

Thank you, it did it.

Though  for some reasons the program doesn't work. I tried to click "do frame rate conversion", then "Open file via MPV", but it still says "No active playback". Also for a mistake I made multiple profiles, and the "delete profile" icon does not do anything.
I'd like to use this software with SMPlayer, which I did set to use /usr/bin/mpv, because I'm full of screen tearing (other than the low annoying fps).

Re: Installation fails on Linux

Try to read https://www.svp-team.com/wiki/SVP:Linux, all the answers you need are there.

6 (edited by blade.liger 01-07-2018 15:43:52)

Re: Installation fails on Linux

Chainik wrote:

Try to read https://www.svp-team.com/wiki/SVP:Linux, all the answers you need are there.

When I do

sudo apt-get install mpv libass5

It says "Unable to find package libass5

Also, I can't figure out this:

(recommended) Proprietary video drivers including OpenCL ICD

I have a laptop with 15 sandy bridge and an AMD HD7000 serie.

Also..

add --input-ipc-server=/tmp/mpvsocket to mpv args (or config file) and SVP should find it

what is it? How can I do it?

Re: Installation fails on Linux

Chainik is very busy I think, so I'll give you in depth support because I've been through all of it on Linux with SVP.

"Unable to find packages" when you try to install libass5 is due to a lack of the corresponding repos. (although mpv should still work, since that is in the official repo).

Do the following:

sudo add-apt-repository ppa:djcj/vapoursynth && sudo apt-get update && sudo apt-get install mpv libass5 vapoursynth vapoursynth-extra-plugins

Use mpv not smplayer, it works better.

For graphics drivers, install the correct driver for your card from this repository:

sudo add-apt-repository ppa:graphics-drivers/ppa && sudo apt-get update && sudo apt-get install nvidia-XXX

XXX = the version that is compatible with your graphics card.---> you can check the official nvidia website, type in your gpu and find out which drivers both compatible and the most recent for your model.

After that, for GPU acceleration to work on Linux you need the nvidia-modprobe package

sudo apt-get install nvidia-modprobe

That should do it.

Additionally, you can put your preferred settings in the mpv.conf which is generated in /home/user/.config/mpv/mpv.conf

8 (edited by blade.liger 01-07-2018 20:36:47)

Re: Installation fails on Linux

Hi there, thanks for the reply.

smooth-motion wrote:

cut

That code does not solve the issue it seems yet.

sudo add-apt-repository ppa:djcj/vapoursynth && sudo apt-get update && sudo apt-get install mpv libass5 vapoursynth vapoursynth-extra-plugins
[sudo] password di -: 
 AviSynth-like Python-based frameserver. Inofficial PPA.

Official homepage: http://www.vapoursynth.com/
Source repository: https://github.com/vapoursynth/vapoursynth
Inofficial plugins collection: https://github.com/darealshinji/vapoursynth-plugins
Support: http://forum.doom9.org/forumdisplay.php?f=82

This repository includes mpv (an mplayer2 fork) with VapourSynth support enabled.
 Maggiori informazioni: https://launchpad.net/~djcj/+archive/ubuntu/vapoursynth
Premere «Invio» per continuare o Ctrl-c per annullare l'aggiunta.

Trovato:1 http://it.archive.ubuntu.com/ubuntu bionic InRelease
Trovato:2 http://archive.canonical.com/ubuntu bionic InRelease                                                        
Trovato:3 http://it.archive.ubuntu.com/ubuntu bionic-updates InRelease                                                
Trovato:4 http://ppa.launchpad.net/djcj/vapoursynth/ubuntu bionic InRelease                                           
Scaricamento di:5 http://security.ubuntu.com/ubuntu bionic-security InRelease [83,2 kB]                
Trovato:6 http://it.archive.ubuntu.com/ubuntu bionic-backports InRelease                                       
Trovato:7 http://it.archive.ubuntu.com/ubuntu bionic-proposed InRelease                                          
Trovato:8 http://repo.steampowered.com/steam precise InRelease                                                   
Scaricamento di:9 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [204 B]
Scaricamento di:10 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [2.452 B]
Recuperati 85,9 kB in 1s (65,2 kB/s)           
Lettura elenco dei pacchetti... Fatto
Trovato:1 http://repo.steampowered.com/steam precise InRelease
Trovato:2 http://it.archive.ubuntu.com/ubuntu bionic InRelease                                                        
Trovato:3 http://security.ubuntu.com/ubuntu bionic-security InRelease                                                 
Trovato:4 http://ppa.launchpad.net/djcj/vapoursynth/ubuntu bionic InRelease                                           
Trovato:5 http://it.archive.ubuntu.com/ubuntu bionic-updates InRelease                                                
Trovato:6 http://it.archive.ubuntu.com/ubuntu bionic-backports InRelease                                   
Trovato:7 http://it.archive.ubuntu.com/ubuntu bionic-proposed InRelease       
Trovato:8 http://archive.canonical.com/ubuntu bionic InRelease
Lettura elenco dei pacchetti... Fatto                
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze       
Lettura informazioni sullo stato... Fatto
E: Impossibile trovare il pacchetto libass5
-@--SVE1511W1ESI:~$ sudo apt-get install mpv libass5
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze       
Lettura informazioni sullo stato... Fatto
E: Impossibile trovare il pacchetto libass5

So it still can't find the libass5 package.
The problem is mpv doesn't have any GUI, and I don't have a mpv.conf in /home/user/.config/mpv/ (altough I've tried now creating it by myself).
And.. I have an i5 + an AMD gpu, nothing by Nvidia.

9 (edited by smooth-motion 01-07-2018 22:50:24)

Re: Installation fails on Linux

The djcj repo requires >=16.04 or upwards, so xenial, artful or bionic. What version of Ubuntu is your Zorin OS based on? That could explain why the package can't be found.

As for mpv, yes there is a GUI. Simply go to your start menu and click mpv under Sound/Video or wherever it is listed in your case.
You can also open a gui instance of mpv from the terminal via this option. 

--profile=pseudo-gui

mpv.conf is only generated after you run mpv. Just enter "mpv" in the terminal and press enter.
After that you'll find it in /.config/mpv/mpv.conf

10 (edited by blade.liger 02-07-2018 14:15:04)

Re: Installation fails on Linux

smooth-motion wrote:

The djcj repo requires >=16.04 or upwards, so xenial, artful or bionic. What version of Ubuntu is your Zorin OS based on? That could explain why the package can't be found.

As for mpv, yes there is a GUI. Simply go to your start menu and click mpv under Sound/Video or wherever it is listed in your case.
You can also open a gui instance of mpv from the terminal via this option. 

--profile=pseudo-gui

mpv.conf is only generated after you run mpv. Just enter "mpv" in the terminal and press enter.
After that you'll find it in /.config/mpv/mpv.conf

I forgot to say I actually use the latest Kubuntu 18.04 LTS version. (nothing changes though)
Still it does not see the mpv playback, and I'm full of tearing. (The OS itself is a tearing mess though, I don't know if it impacts in some way)

Re: Installation fails on Linux

>> I forgot to say I actually use the latest Kubuntu 10.04 LTS version. (nothing changes though)

No, a lot has changed, that is your problem.
The packages required to properly run SVP on Ubuntu mandate version 16.04 or higher.
The djcj repository for example only offers mpv and vapoursynh for xenial, artful or bionic.

I mean, you could compile mpv with vapoursynth support enabled for 10.4 + all the residual stuff, but it would be easier to just use a later version of Ubuntu.

If SVP is not hooking the mpv socket you can try deleting mpvsocket from /tmp and putting this in the mpv.conf

--input-ipc-server=/tmp/mpvsocket


But this is still unreliable so what I originally did, was just opening files by having a short script point to the SVPManager executable with root privileges as default applicationt to open video file types.

Tearing in Ubuntu can be fixed by enabling TripleBuffering in the xorg.conf which can be found at /etc/X11/xorg.conf
In the "Device" section of the xorg.conf just enter the following:

 Option       "TripleBuffer" "True"

Should you wish to enable GPU Overclocking and Fan Control you can also enter the "Coolbits" option.

But first I advise you to upgrade your system to at least 16.04 to properly run SVP.

12 (edited by blade.liger 02-07-2018 18:02:56)

Re: Installation fails on Linux

smooth-motion wrote:

--

Oops, I meant 18.04.

If SVP is not hooking the mpv socket you can try deleting mpvsocket from /tmp and putting this in the mpv.conf

--input-ipc-server=/tmp/mpvsocket


But this is still unreliable so what I originally did, was just opening files by having a short script point to the SVPManager executable with root privileges as default applicationt to open video file types.

I'm sorry, I don't really understand what to do.
I use a laptop so no OC doable.
Also, I don't have any files in /etc/X11/xorg.conf.d/ and I just have some spare .conf in /usr/share/X11/xorg.conf.d/
I am trying to add that string into the .config already there.
Edit:
If in

/usr/share/X11/xorg.conf.d/

I make a file

20-radeon.conf

with inside of it

Section "Device"
    Identifier "Radeon"
    Driver "radeon"
    Option "TripleBuffer" "true"
EndSection 

the PC does not login (black screen and 2 strings of error), not even in rescue mode, so I must use the live to delete it...

13 (edited by smooth-motion 03-07-2018 07:15:59)

Re: Installation fails on Linux

Oh, ok.

Sorry, I assumed that you had an Nvidia GPU.
For AMD cards, you can run this command in order to generate the xorg.conf in /etc/X11/xorg.conf
Is your Laptop GPU a full descrete graphics card, or some hybrid solution?

sudo amdconfig --intial -f --adapter=all

With an Nvidia card it would be

sudo nvidia-xconfig

>>I'm sorry, I don't really understand what to do.

There multiple ways of how to enable SVP.

You can either open a file from the SVP Panel, have SVP recognize an active instance of mpv playing a video file with regards to the mpv-socket or you can open a video file with an SVP pointer.

The second option requires you to either run mpv with this command

 --input-ipc-server=/tmp/mpvsocket 


or to put it in the mpv.conf without "- - "