You are not logged in.

#1 2012-01-05 10:01:11

CHPE
Member
Registered: 2010-12-05
Posts: 32

SMPlayer and VA API - Floating Controls Flicker

Hello!

I've just tried out the Catalyst video acceleration using xvba-video, mplayer-vaapi and libva. The performance is great, however when using vaapi as output driver with SMPlayer the whole screen flickers when mouse moved to the bottom of the screen in full screen mode and floating controls disappear. They work fine only with X11 as output driver, 'xv' crashes X due to Catalyst bug and 'gl' flickers as well.

I've tried gnome-mplayer, controls work fine there, but it seems command line arguments are not passed properly to mplayer, because video probably isn't hardware accelerated - big CPU consumption and video stutters (using -va vaapi -vo vaapi:gl).

Any help appreciated smile

Last edited by CHPE (2012-01-05 10:03:14)

Offline

#2 2012-01-05 10:36:10

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,400

Re: SMPlayer and VA API - Floating Controls Flicker

If you're using compositing, maybe you could try to disable it
edit- Try xt7-player-git from aur too

Last edited by kokoko3k (2012-01-05 10:37:05)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#3 2012-01-05 12:15:56

CHPE
Member
Registered: 2010-12-05
Posts: 32

Re: SMPlayer and VA API - Floating Controls Flicker

Thanks!
I'm using xcompmgr as composite manager. Disabling it didn't have any effect.
Installed xt7-player-git from the AUR, got this on start:

[6] Type mismatch: wanted Integer, got Null instead.
PlaylistClass.SyncGrid.1378

So I tried xt7-player, X crashed because it plays some intro video on start using the default xv video output.
Fired up the ATI open source driver, xt7-player-git gets segmentation fault on every start, as well as xt7-player.
Deleted ~/.config/gambas3, installed xt7-player again. The first time it starts well, but crashes on opening any dialog windows (General Options for example), every second time I run it after config is deleted it crashes with seg fault. Same thing with xt7-player-git. Passing any argument to xt7-player/xt7-player-git makes it not seg fault on start (intro video doesn't play as well), but it seg faults on every dialog window opened or when you try to play any video.

Here is the output from xt7-player-git:

$ xt7-player-git -h
gb.qt4: warning: unable to load Qt translation: en_US.UTF-8

xt7-player-git 2.9.1035
Usage: xt7-player-git.gambas [Options] Mediafile
Options:
-append (add a media to the playlist)


FMain.MainInit.918: Error: last profile cache file does not exists anymore, using default mplayer values
FMain.MainInit.919: To recreate the cache file, simply reload the profile
Meters.Stopp.77: meters timer stopped
global.DelayLoadStates_Timer.416: Start at: 14:11:55.109
FMain.InitEarlyForms.365: start at: 14:11:55.109
FMain.InitEarlyForms.375: Ends at:14:11:56.13
SettingsClass.Load.370: Timer = 3.17111492156982
SettingsClass.Load.372: Timer = 3.20332193374634
SettingsClass.Load.370: Timer = 3.20542478561401
SettingsClass.Load.372: Timer = 3.22174191474915
SettingsClass.Load.370: Timer = 3.23352193832397
SettingsClass.Load.372: Timer = 3.4439549446106
global.DelayLoadStates_Timer.450: Ends at: 14:11:56.656
FMain.SyncCachedOpts.964: CACHED OPTIONS ARE:  -vf-pre scale  -alang "en,eng"  -slang "en,eng"  -ass  -ass-force-style FontName="Bitstream Vera Sans",FontSize=18,Bold=1,Italic=Alignment=2,outline=1,OutlineColour=H00000000,MarginV=10,PrimaryColour=H00FFFFFF,shadow=2,BackColour=H7F000000 -sub-fuzziness 0  -subfont-osd-scale 4 -subfont-text-scale 4 -subpos 10 -softvol -prefer-ipv4 -dvbin card=1 -dvbin timeout=10  -cdrom-device "Please, choose"  -vf-add eq2,hue,screenshot,scale
 -vf-pre scale  -alang "en,eng"  -slang "en,eng"  -ass  -ass-force-style FontName="Bitstream Vera Sans",FontSize=18,Bold=1,Italic=Alignment=2,outline=1,OutlineColour=H00000000,MarginV=10,PrimaryColour=H00FFFFFF,shadow=2,BackColour=H7F000000 -sub-fuzziness 0  -subfont-osd-scale 4 -subfont-text-scale 4 -subpos 10 -softvol -prefer-ipv4 -dvbin card=1 -dvbin timeout=10  -cdrom-device "Please, choose"  -vf-add eq2,hue,screenshot,scale    -ao alsa,    -vo xv,gl,gl2,x11,null,         
MplayerClass.do_play.611: 
MplayerClass.do_play.612: 
MplayerClass.do_play.613: Starting mplayer now:
MplayerClass.do_play.614: commandline=LC_ALL=C mplayer -identify -slave  -wid 29360174 -noconfig all   -vo xv,gl,gl2,x11,null,   -ao alsa,        -vf-pre scale  -alang "en,eng"  -slang "en,eng"  -ass  -ass-force-style FontName="Bitstream Vera Sans",FontSize=18,Bold=1,Italic=Alignment=2,outline=1,OutlineColour=H00000000,MarginV=10,PrimaryColour=H00FFFFFF,shadow=2,BackColour=H7F000000 -sub-fuzziness 0  -subfont-osd-scale 4 -subfont-text-scale 4 -subpos 10 -softvol -prefer-ipv4 -dvbin card=1 -dvbin timeout=10  -cdrom-device "Please, choose"  -vf-add eq2,hue,screenshot,scale    -ao alsa,    -vo xv,gl,gl2,x11,null,          -mouse-movements  -alang "en,eng"  -slang "en,eng" -input conf=/tmp/FakeInput.conf:file=/home/CHPE/.config/gambas3/Xt7-Player/.InputPipes/Xt7Input-29999 "-h" 
Meters.Stopp.77: meters timer stopped
MplayerClass.Renice.223: nice=0
8018 (process ID) old priority 0, new priority 0
FMain.Play.2170: False
renice: failed to get priority for 8047 (process ID): No such process
FMain.MainInit.954: Timer = 3.88626194000244
Meters.Stopp.77: meters timer stopped
MplayerClass.do_play.611: 
MplayerClass.do_play.612: 
MplayerClass.do_play.613: Starting mplayer now:
MplayerClass.do_play.614: commandline=LC_ALL=C mplayer -identify -slave  -noconfig all         -idle -ao null -vo null -channels 6 -mouse-movements  -input conf=/tmp/FakeInput.conf:file=/home/CHPE/.config/gambas3/Xt7-Player/.InputPipes/Xt7Input-5010 "" 
PlaylistClass.Load.114: Load()at: 14:11:57.905
MplayerClass.do_play.611: 
MplayerClass.do_play.612: 
MplayerClass.do_play.613: Starting mplayer now:
MplayerClass.do_play.614: commandline=LC_ALL=C mplayer -identify -slave  -noconfig all         -idle -ao null -vo null -channels 6 -mouse-movements  -input conf=/tmp/FakeInput.conf:file=/home/CHPE/.config/gambas3/Xt7-Player/.InputPipes/Xt7Input-16886 "" 
PlaylistClass.Load.114: Load()at: 14:11:57.929
PlaylistClass.Load.114: Load()at: 14:11:57.931
FMain.UpdateSearchResults.4001: 
FMain.UpdateSearchResults.4001: 
FMain.UpdateSearchResults.4001: 
FMain.UpdateSearchResults.4001: 
FMain.UpdateSearchResults.4001: 
global.AddUserExtensions.181: *.avi;*.mpg;*.mp4;*.mov;*.mkv;*.asf;*.ogm;*.ogv;*.wmv;;*.mp3;*.ogg;*.aac;*.flac;*.mpc;*.ac3;;Flash*;*.ts;*.m2v;*.m4v;*.mpeg;*.flv;*.gvi;*.iso;*.fli;*.flv;*.mpg;*.mpv;*.vob;*.viv;*.swf;*.rm;*.rmvb;*.dv;*.3gp;*.qt;*.divx;*.asx;*.ogm;*.ogv;*.oga;*.m4v;*.speex;*.spx;*.wavpack;*.wv;*.trueaudio;*.tta;*.wma;*.ram;*.ac3;*.wav;*.aiff;*.aiffc;*.aac;*.8svx;*.pls;*.dts;
Segmentation fault

Last edited by CHPE (2012-01-05 12:19:16)

Offline

#4 2012-01-05 12:52:02

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,400

Re: SMPlayer and VA API - Floating Controls Flicker

Let me guess, are you using a 64bit system?

Try to install xt7-player-git again from aur, i disabled the startup movie and hopefully fixed the:
"[6] Type mismatch: wanted Integer, got Null instead."
...have no idea why it crashes when you open any form, something relevant in console messages?


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#5 2012-01-05 14:33:02

CHPE
Member
Registered: 2010-12-05
Posts: 32

Re: SMPlayer and VA API - Floating Controls Flicker

Yup, 64bit it is.

Thanks, xt7-player runs and plays videos fine now. Screen flickers again when moving mouse to the bottom of the video, but controls are perfectly usable. There is yet some video corruption when not using a compositing manager and moving pointer from floating controls to the video - it stutters on one frame, which looks blocky, and can't be recovered unless fullscreen exited.

Subtitle and OSD settings preview uses 'xv' instead of the preferred video output in the settings and causes X crash with Catalyst.

And something minor - when having played a video, xt7-player-git process hangs after "wrote last profile" and "Bye" when application window closed. xt7-player closes fine if you haven't played a video.

Other than that, it's just what I needed, thank you smile

Offline

#6 2012-01-05 15:27:07

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,400

Re: SMPlayer and VA API - Floating Controls Flicker

I forced x11 as default video driver when no driver is specified in the osd form (pull git if you want).
The hang doesn't happens here on 32bit, so i cannot fix until i get a 64bit os, sorry...


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

Board footer

Powered by FluxBB