Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-26-2009, 04:57 AM
|
#1
|
|
Senior Member
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,469
Rep:
|
GPU has "on chip MPEG4..." tagline - how to tell if a vid player uses this?
Hi guys
My 7950GT based card says on its box it has hardware support for MPEG / AVI decoding.
I use MPlayer to play most video files, and XINE for DVDs. I have the latest NVidia Linux drivers loaded for my card.
How can I tell if my card is, in fact, doing hardware MPEG decompression? I. e. I suspect this is something that only works in Windows, and the Windows NVidia driver?
How can the GPU "tell" if it is "supposed" to demux (huh?) an MPEG stream in hardware?
What if I play non-MPEG files like .avi, .asf, etc?
Clearly you can see I don't have a scrap of knowledge about video decoding in general or on Linux in particular, just wondering if this is mere marketing blab, and if not, does this hardware decoding work in linux? How to tell?
Thanks!
|
|
|
|
02-04-2009, 01:21 PM
|
#2
|
|
Member
Registered: Aug 2007
Location: Switzerland
Distribution: Gentoo
Posts: 585
Rep:
|
Hello
I was trying recently to understand the same stuff.
I came to the conclusion that both ATI and nVidia are starting only now to support HRDW-decoding of video files in Linux.
If you would like to know more you should try to search for "VDPAU" (for nVidia). Doublecheck as well if your card supports PureVideo.
In the end what is supposed to happen is that you will install the binary nVidia drivers as you probably did now and you will install/compile a video player (e.g. mplayer) which will use the libraries delivered by the nVidia package which provides HRDW-accelleration.
I have an ASUS motherboard with integrated nVidia 8200 GPU - I installed last week the latest nVidia binary drivers and tried to compile mplayer after patching it with the nVidia patches to activate HRDW decoding, but the compilation failed and before wasting days trying to fix it I decided to wait until a more compatible version is provided.
|
|
|
|
02-04-2009, 02:12 PM
|
#3
|
|
Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,706
|
Isn't this only truly important with low-powered computers. Even with HD videos, only about 15 % of one core gets used for a Q9300.
|
|
|
|
02-05-2009, 12:59 PM
|
#4
|
|
Member
Registered: Aug 2007
Location: Switzerland
Distribution: Gentoo
Posts: 585
Rep:
|
Well, my problem is that I have a media center using an AMD 4850e (45W TDP) and with 1080p videos it gets critical, especially with the files encoded in VC1. With 720p the doublecore CPU uses about 20 to 50% of one core, so in that case it's fine, but it could still be better.
I cannot use more powerful CPUs, otherwise the PC would become hotter, fans would start spinning faster, it would become noisy and I would hate that continuous background noise while watching movies.
That's the reason why I would like HRDW-accelleration... .
|
|
|
|
02-05-2009, 02:09 PM
|
#5
|
|
Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,706
|
Well, if you must, take note of a few things:
Quote:
Known Limitations:
1. Playing some video streams may cause GPU errors and/or hang or
crash the system.
2. The skip forward/backward features are not robust yet and
can cause application or system hangs/crashes.
3. MPlayer OSD or Composite Picture is currently not supported.
4. Problems have been observed when building MPlayer with these
patches using gcc-4.3.2.
|
Also, if you wish to compile it, I just compiled the latest version and it does work. Make sure you have the newest nvidia drivers, then build this version:
ftp://download.nvidia.com/XFree86/vd...402051.tar.bz2
|
|
|
|
02-06-2009, 05:28 AM
|
#6
|
|
Member
Registered: Aug 2007
Location: Switzerland
Distribution: Gentoo
Posts: 585
Rep:
|
Damn - I am actually using a lot the OSD and the skip forward/backward buttons. 
I tried compiling it using GCC 4.2 and 3.(6? cannot remember - don't have my linux box right now) but it didn't work - cannot remember which version I tried to compile.
But ok, I'll give it again a try with the one you mention in your link - thanks a lot!

|
|
|
|
02-10-2009, 05:33 AM
|
#7
|
|
Senior Member
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,469
Original Poster
Rep:
|
Hi Guys
Thanks for the comments & discussion. This particular bit of marketing always smelled a bit, now I know why. I'm not a hacker or even remotely knowledgable, but I couldn't understand the logic of how a video player program can somehow "know" to use hardware acceleration features if those features' usage isn't specifically programmed somewhere to be used... now I know why.
Thanks!
|
|
|
|
02-10-2009, 06:26 AM
|
#8
|
|
Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,706
|
As much as I've tested it, it does work in some cases, but in others it crashes or is very buggy. IMO, in its current state, it's not worth it.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:22 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|