HD 720p playback with SMPlayer is haaving glitches

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
acex
White ninja
White ninja
Posts: 6
Joined: 14 May 2011, 13:43
Location: Tehran

HD 720p playback with SMPlayer is haaving glitches

Post#1 by acex » 15 May 2011, 11:50

i have a acer laptop with Core i5 and Nvidia GT540m

when i play a 720p HD video in Porteus current v0.9 (runnin from liveCD or copy to RAM mode) the playback has some glitches in cases when for example moving the player window or switching to other window or doin some small tasks.
is there a problem with SMPlayer ?

i even downloaded the nvidia driver from the "current" release folder and installed it but the playback was just as before.

is there any other players with better performance ?

thanks

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: HD 720p playback with SMPlayer is haaving glitches

Post#2 by fanthom » 15 May 2011, 15:03

@acex
have a look on answer 7 from the FAQ:
http://forum.porteus.org/viewforum.php? ... b048482daf

then set smplayer preferences to always use nvidia or vaapi.
Please add [Solved] to your thread title if the solution was found.

acex
White ninja
White ninja
Posts: 6
Joined: 14 May 2011, 13:43
Location: Tehran

Re: HD 720p playback with SMPlayer is haaving glitches

Post#3 by acex » 16 May 2011, 15:04

i tried this command for nvidia cards:
mplayer -vo vdpau -vc ffh264vdpau

but i get these errors and i get no video playback:

Code: Select all

libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang und
VIDEO:  [H264]  1280x688  24bpp  23.976 fps  2724.3 kbps (332.6 kbyte/s)
Clip info:
 major_brand: isom
 minor_version: 1
 compatible_brands: isom
Xlib:  extension "NV-GLX" missing on display ":0.0".
Xlib:  extension "NV-GLX" missing on display ":0.0".
[vdpau] Error when calling vdp_device_create_x11: 1
Error opening/initializing the selected video_out (-vo) device.
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 48000 Hz, 2 ch, s16le, 439.8 kbit/28.63% (ratio: 54979->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video

even in SMPlayer when i set the settings to use vdpau , i get no video.
and when i use vaapi the mplayer gets exited with an error.

i installed the nvidia driver but still it is the same as above.

what can i do ?
thanks.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: HD 720p playback with SMPlayer is haaving glitches

Post#4 by fanthom » 16 May 2011, 15:39

looks like your nvidia driver was not initialized properly.
please start porteus with nvidia driver in /porteus/modules, then upload /var/log/Xorg.0.log to pastebin.com and post the link here.
Please add [Solved] to your thread title if the solution was found.

acex
White ninja
White ninja
Posts: 6
Joined: 14 May 2011, 13:43
Location: Tehran

Re: HD 720p playback with SMPlayer is haaving glitches

Post#5 by acex » 17 May 2011, 15:37

i did what you said, however i got an incomplete desktop (no taskbar and ...) and here is the log from Porteus v1 rc2:
http://pastebin.com/kTEPS9A2

i am going to also test v.9.

am looking forward for your comments.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: HD 720p playback with SMPlayer is haaving glitches

Post#6 by fanthom » 17 May 2011, 19:46

from Xorg.0.log all looks ok.
could be nvidia driver itself causing troubles. please try v09 (there is older nvidia driver in the repo) and report back.
Please add [Solved] to your thread title if the solution was found.

acex
White ninja
White ninja
Posts: 6
Joined: 14 May 2011, 13:43
Location: Tehran

Re: HD 720p playback with SMPlayer is haaving glitches

Post#7 by acex » 18 May 2011, 06:26

well the experience was the same also with v.9 and here is the log :
http://pastebin.com/bTZCaYxP

thanks.

P.S: i tried linux mint and it played the 720p video just smoothly.

User avatar
ponce
Contributor
Contributor
Posts: 89
Joined: 28 Dec 2010, 10:15
Location: IT
Contact:

Re: HD 720p playback with SMPlayer is haaving glitches

Post#8 by ponce » 18 May 2011, 09:58

can you please post the model of the laptop?
from the log it looks like an optimus laptop with hybrid graphics, switching dinamically from intel to nvidia: nvidia linux driver doesn't work on this kind of hardware (it's unsupported) so you are forced to use the intel graphics (because the display is hardwired to that).
if you haven't a switch in the bios to use nvidia only I think you're out of luck.

I think in mint you use the intel graphics only: could be useful if you post X logs of that too.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: HD 720p playback with SMPlayer is haaving glitches

Post#9 by fanthom » 18 May 2011, 11:13

ponce is right :)

remove nvidia binary, boot porteus-1.0-rc2, run "vainfo" and make sure that you get output different than:
"vaInitialize failed with error code -1 (unknown libva error),exit"

now you can try to use mplayer with vaapi command:
mplayer -vo vaapi -va vaapi /path_to_movie

Cheers
Please add [Solved] to your thread title if the solution was found.

Post Reply