LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-17-2011, 01:50 PM   #1
Totoro-kun
Member
 
Registered: Nov 2010
Location: Kaunas, Lithuania
Distribution: Slackware
Posts: 234

Rep: Reputation: 125Reputation: 125
HD video playback on 2nd gen core i3 with vlc


Good evening,
I have a weird HD video in wmv and mkf files playback problem. Every HD video i attempt to play using vlc with vaapi hardware acceleration looks like this:

My hardware configuration is i3 cpu, and i am using it's integrated HD2000 video card, which has DVI, HDMI and VGA outputs, which all i am using (not at the same time). However, the problem is present in every combination (DVI only. DVI+HDMI. DVI+VGA. DVI+HDMI+VGA).

As for software, I am using stock 32bit Slackware 13.37, with stock 2.37.6 kernel. And for HD video playback I have installed VLC-1.1.10. libva-0.32.0 and MPlayer-20110624 all these packages came from Alien pastures, so they are quality packages And my vlc settings are also stock :/

Code:
$ vainfo 
libva: libva version 0.32.0-sds2
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/va/drivers/i965_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA API version: 0.32
vainfo: Driver version: i965 Driver 0.1
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileH264Baseline           :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
Now if I disable hardaware acceleration feature in vlc settings, all videos are played fine. But I can see alot of horizontal tearing lines.

Maybe someone has an idea what I am missing or where I could start looking for problems?

Many thanks
Attached Thumbnails
Click image for larger version

Name:	vlc.jpg
Views:	38
Size:	177.2 KB
ID:	7592  

Last edited by Totoro-kun; 07-17-2011 at 01:54 PM.
 
Old 07-19-2011, 11:33 AM   #2
Totoro-kun
Member
 
Registered: Nov 2010
Location: Kaunas, Lithuania
Distribution: Slackware
Posts: 234

Original Poster
Rep: Reputation: 125Reputation: 125
Just tried to build mplayer-vaapi-latest-FULL.tar.bz2 from here: http://www.splitted-desktop.com/~gbe...mplayer-vaapi/ done by the method in the README and ./mplayer -vo vaapi -va vaapi <URI> works well. I can see the video, and cpu usage is about 4-6% for 1080p. So this means that something wrong is with vlc. Not sure what though.

Now would be nice to get SlackBuild for mplayer-vaapi, so I could have it installed as main player, however it is a biot annoying to switch btween video out's as -vo vaapi isn't working with normal avi files. So if possible, I would like to fix vlc somehow.

By the way, how do you get on with hd video?

Last edited by Totoro-kun; 07-19-2011 at 11:37 AM.
 
Old 07-19-2011, 01:13 PM   #3
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Quote:
Originally Posted by Totoro-kun View Post
Now would be nice to get SlackBuild for mplayer-vaapi
Done. Here:

http://pastebin.com/n86XY0Jy

Last edited by dugan; 07-19-2011 at 01:25 PM.
 
1 members found this post helpful.
Old 07-21-2011, 12:47 PM   #4
Totoro-kun
Member
 
Registered: Nov 2010
Location: Kaunas, Lithuania
Distribution: Slackware
Posts: 234

Original Poster
Rep: Reputation: 125Reputation: 125
Thank you for a SlackBuild.
It builds just fine, and I've got mplayer-vaapi package, but for some reason it does not work with -vo vaapi. I can see the video window, but it's black. I can hear audio. And terminal is full of this error:
Code:
[vo_vaapi] vaPutImage(): operation failed
A: 196.4 V: 196.4 A-V:  0.008 ct:  0.096   0/  0 39% 51%  0.7% 0 1
Something is very weird here. If i use mplayer without arguments, or with -vo xv, i can see video just fine.

***!!!EDIT!!!***
False alarm. Everything works well affter revising my .mplayer/config file and removing this line:
vf=pp=de,hqdn3d

I am now a happy slacker. Cheers

Last edited by Totoro-kun; 07-21-2011 at 01:01 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Audio completely out of sync with video playback. (FFmpeg/Xine/VLC) 12.2/2.6.27.7-smp camphor Slackware 9 02-17-2009 01:20 AM
VLC crashes on 2nd video Mordechai Linux - Software 2 05-21-2008 08:40 AM
Video playback problems with 10.3: not even vlc player works Cinematography SUSE / openSUSE 0 10-09-2007 06:32 AM
video playback problem on FC6 using VLC sharathg786 Fedora 9 03-08-2007 03:49 AM
Fedora Core 2 in KDE - Problems with Video playback. _UnPrEdictAbLe_ Linux - Software 2 04-13-2005 08:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration