LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 07-30-2011, 02:12 PM   #1
kayasaman
Member
 
Registered: Sep 2008
Location: Under the bridge where proper engineers walkover
Distribution: Various Linux, Solaris, BSD, Cisco
Posts: 443

Rep: Reputation: 32
Nvidia GT 218 Not able to play HD video? Also Xine errors?


Hi,

I've got an Asus ION5T system board with integral Nvidia GT218 GPU, the system is a dual 1.8GHz ATOM with 4GB RAM.

OS version is Fedora 15 i386 edition.

lspci comes up with this:

Code:
03:00.0 VGA compatible controller: nVidia Corporation GT218 [ION] (rev a2)
03:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1)
According the manfucaturers specs this board should have no problem playing either Blue Ray or HD encoded videos at either 720p or 1080p.


Whenever I try and play a video through Mplayer the cpu goes up to almost 100% and there is quite a bit of delay between frames. Additionally the sound is not in sync with the video either.


I have the proper NVidia drivers downloaded from yum:

Code:
# rpm -qa | grep nvidia
xorg-x11-drv-nvidia-libs-275.09.07-1.fc15.i686
nvidia-xconfig-1.0-8.fc15.i686
kmod-nvidia-2.6.38.8-32.fc15.i686.PAE-275.09.07-1.fc15.1.i686
kmod-nvidia-2.6.38.8-35.fc15.i686.PAE-275.09.07-1.fc15.2.i686
xorg-x11-drv-nvidia-275.09.07-1.fc15.i686
kmod-nvidia-PAE-275.09.07-1.fc15.2.i686
nvidia-settings-1.0-10.fc15.i686
And in the NVidia setup utility (NVidia X Server Settings) the OpenGL settings are set to:

Allow flipping and the slider is on High Quality.

The PowerMizer is set to Adaptive (which maybe where the problem lies) but one would think that the system should 'adapt' to the playback requirements.


I don't have much Nvidia experience so I'm really not sure where the problem lies. I have thought through my research that it could be due to Mplayer not using HWacceleration. When I tried to use:

Code:
mplayer -vo vdpau file.mp4 or avi or whatever
I just get a black screen with no output.

To be honest I would prefer to use Xine as this has been my choice for vids in Linux over the years but it doesn't work with Mp4 files claiming:

Code:
This is xine (X11 gui) - a free video player v0.99.6.
(c) 2000-2007 The xine Team.
2 errors in postprocess string "hb:a,vb:a,dr:a"
[mpeg4 @ 0xb0000b80] Invalid and inefficient vfw-avi packed B frames detected
xiTK received SIGSEGV signal, RIP.
Aborted
which is disturbing considering that everything was working before a:
Code:
yum update
. Now nothing of avi or mp4 works.


Can anyone help me fix my Xine issue and HD playback issue???


Many thanks!

Last edited by kayasaman; 07-30-2011 at 02:14 PM.
 
Old 07-31-2011, 08:41 AM   #2
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
The Atom CPU hasnt quite got enough power to decode HD video, which is why you are having these problems.

I've never run VDPAU on fedora, but from a bit of a search around it looks like there is a VDPAU package. Installing that would be a good start to using VDPAU.
 
Old 07-31-2011, 10:05 AM   #3
kayasaman
Member
 
Registered: Sep 2008
Location: Under the bridge where proper engineers walkover
Distribution: Various Linux, Solaris, BSD, Cisco
Posts: 443

Original Poster
Rep: Reputation: 32
Thanks for the reponse!

I managed to 'unload' the cpu by doing this:

Code:
# yum install vdpau-video-freeworld vdpauinfo
from there I ran:

Code:
mplayer -vo vdpau -vc ffh264vdpau yourvideo.mkv
thanks to this site: http://www.webupd8.org/2010/10/use-m...-hardware.html

which is actually for Ubuntu 10.10 but hey if it works right!

Now my cpu load has dropped to round 20-40% on both cores during playback and the GPU is taking care of rest as smooth playback is now occuring.

I'm really concerned about Xine not working though and am sure it's a bug or at least a code change which has prompted the errors defined above.

What's the best course of action to take on that? As in, I couldn't find a Fedora multimedia mailing list or a package developer mailing list that I could get further help from.....

Any suggestions?
 
Old 08-02-2011, 05:56 AM   #4
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
Quote:
Originally Posted by kayasaman View Post
I'm really concerned about Xine not working though and am sure it's a bug or at least a code change which has prompted the errors defined above.

What's the best course of action to take on that? As in, I couldn't find a Fedora multimedia mailing list or a package developer mailing list that I could get further help from.....
IIRC xine used to need compling to get VDPAU going. I have no idea if that is still true. Probably the easiest place to get a fast answer would be from IRC. There used to be axine-vdpau channel, but its gone now-

Quote:
2010-03-06:
#xine-vdpau (freenode) is no more. Use #xine (alternatively, on OFTC) instead.
http://www.xine-project.org/home

You might find this handy as well-

http://lists.kafic.ba/mailman/listinfo/xine-vdpau
 
Old 08-02-2011, 07:26 AM   #5
kayasaman
Member
 
Registered: Sep 2008
Location: Under the bridge where proper engineers walkover
Distribution: Various Linux, Solaris, BSD, Cisco
Posts: 443

Original Poster
Rep: Reputation: 32
Thanks for that!!

It's actually not the vdpau support which is worrying me but more so the errors while playing Mp4 encoded files.

As per my initial post I keep getting these errors:

Code:
This is xine (X11 gui) - a free video player v0.99.6.
(c) 2000-2007 The xine Team.
2 errors in postprocess string "hb:a,vb:a,dr:a"
[mpeg4 @ 0xb0000b80] Invalid and inefficient vfw-avi packed B frames detected
xiTK received SIGSEGV signal, RIP.
Aborted
Ever since the update of my system!

The files used to play fine before and they still work using mplayer but I need to get the Xine support back as Xine just tends to work better for me then mplayer - call it preference if you would
 
Old 08-02-2011, 03:24 PM   #6
kayasaman
Member
 
Registered: Sep 2008
Location: Under the bridge where proper engineers walkover
Distribution: Various Linux, Solaris, BSD, Cisco
Posts: 443

Original Poster
Rep: Reputation: 32
Just a quick update to the mplayer H/W acceleration:

Code:
#heartbeat-cmd="xscreensaver-command -deactivate"
heartbeat-cmd = "nice xscreensaver-command -deactivate >& /dev/null"
vo="vdpau"
#vc="ffh264vdpau"
This is part of the .mplayer/config file which basically is a little bit un-automated but does the job.

"Turn-Off screensaver + Turn-On Acceleration"

h264 encoded videos can be optionally turned on so when running videos directly off the GUI things actually work plainly and simply.

P.s. had to do nothing of this with working Xine
 
  


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
NVidia driver + DVI + xine = strange video play tmoorman Ubuntu 2 11-30-2006 07:34 PM
Suse 10.1 and xine - video and audio do not play bogzab Linux - Software 2 07-15-2006 02:14 AM
xine won't play video files edgjerp Linux - Software 2 05-08-2006 11:50 AM
xine won't play any video zoomzoom Linux - Software 1 10-29-2005 03:36 PM
Xine Doesnt Play Any Video (no Demux Plugin) kromatic Linux - Software 8 11-25-2004 05:19 PM

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

All times are GMT -5. The time now is 05:48 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