• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

Does hardware 2D acceleration work in Linux?

thuper

Gawd
Joined
Mar 16, 2002
Messages
528
I know most cards now will support hardware HD decoding, but I don't know how exactly they handle it. Linux has been my desktop OS for years now, does the decoding work in any OS? At the moment I have a machine with an x2 4800+ and onboard geforce 7050 that seems like it really can't handle 1080p wmv files. My windows box has an x1600 pro and only a 2.8 northwood and can play those files just fine. So, if I'm just concerned about being able to do 2D stuff on my desktop, should I consider getting something like an HD3450?
 
The 7050 has no support for hardware decoding in any OS, never mind Linux. However, your CPU should be more than capable of decoding 1080p WMVs, since my old computer with a P4 3.0 could do that. And, as you said above, your system with a P4 2.8 is able to play as well (X1600 series has no hardware video decoding support either). Maybe it's just due to ineffeciencies on with the codec you are using in Linux to decode WMVs.

Upgrading your video card won't do anything either because, as the poster above alluded to, AVIVO is not available for Linux. Neither is Purevideo on the nVidia side.
 
The 7050 has no support for hardware decoding in any OS, never mind Linux. However, your CPU should be more than capable of decoding 1080p WMVs, since my old computer with a P4 3.0 could do that. And, as you said above, your system with a P4 2.8 is able to play as well (X1600 series has no hardware video decoding support either). Maybe it's just due to ineffeciencies on with the codec you are using in Linux to decode WMVs.

Upgrading your video card won't do anything either because, as the poster above alluded to, AVIVO is not available for Linux. Neither is Purevideo on the nVidia side.

While AVIVO isn't available for Linux, DXVA/H.264 and other forms of video acceleration most certainly are. However, in your case, the *weak link* would be the onboard graphics.

And the ATI/AMD X1600 series/x1650 series *does* support hardware-based video decoding, as do most of the X1K series (in fact, the only exceptions in the X1K series to this rule are X1300 and X1050, which are re-spins of R4xx series GPUs, whereas the rest of the X1Ks are from R5xx/RV5xx; X1600 is based on RV515, while X1650 is based on RV535). I do, in fact, own an X1650 Pro (of the AGP flavor) and have no issues with H.264-based streams (or streams encoded with any codec that I have support installed for in Linux). In fact, there's a plug-in for most Linux media players that is designed specifically as a work-around for primarily Windows-based codecs, including H.264); however, the support for this particular plug-in (win32 codecs-all for Linux) depends almost wholly on the distribution (Debian support is solid, openSuSE support barely trails, while Fedora Core 9 support is much better than that in 8 or 7).
 
I know most cards now will support hardware HD decoding, but I don't know how exactly they handle it. Linux has been my desktop OS for years now, does the decoding work in any OS? At the moment I have a machine with an x2 4800+ and onboard geforce 7050 that seems like it really can't handle 1080p wmv files. My windows box has an x1600 pro and only a 2.8 northwood and can play those files just fine. So, if I'm just concerned about being able to do 2D stuff on my desktop, should I consider getting something like an HD3450?

For video playback in Linux, unless you're looking to play back BD or other non-DVD protected content, you need no more than the X1600 (but I recommend X1650 or X1950GT) or better from the X1K series (I have the X1650PRO AGP, which handles media files, including DVDs, in Linux, specifically openSuSE 11, just dandy).
 
Bear with me, as I'm going from memory here - about 2 years ago I ran Linux on a P4 2.0GHz laptop with i915 integrated graphics. The only way I could get DVD playback without skips/stutters was to use accelerated X. To be clear, the decoding was still done by the CPU, but the display used some direct rendering driver - maybe /dev/dri but again I'm going from memory. Anyway, it did make a big difference in playback quality and battery life. I was using mplayer, and I recall it was a bit difficult (I didn't bother reading the fine manual, if it was documented at all) to get it using the appropriate rendering interface. I'm sure the entire software stack and architecture has changed enough for HD/BL to make this comment obsolete, but then again maybe this will help you.
 
Try the radeonhd driver (very beta), I've never used this. My last ati card was a 9700pro.
Bear in mind this is just for redhat.

> yum install xorg-x11-radeonhd

After you've installed the driver, check the loaded acceleration libraries with glxinfo.

It's been a while since I messed with my linux boxes, sorry I forgot.

Nvidia supports 2d acceleration with it's closed source binary driver.

> yum install --disablerepo=freshrpms kmod-nvidia
 
Try the radeonhd driver, I've never used this. My last ati card was a 9700pro.

yum --enablerepo=updates-testing install xorg-x11-drv-radeonhd
yum --enablerepo=updates-testing update
You'll then want to change your /etc/X11/xorg.conf file to use the radeonhd driver

I would recommend against that. The radeonhd is still very much a beta and is incomplete. It is acceptable, but if the OP wants best performance the official drivers are much, much better.
 
I think the topic title needs an edit. 2D acceleration worked wonderfully in Linux when I was using it in 1994 and earlier. Specifically you're looking for HD or multimedia acceleration, which is a completely different subset of 2D.

For years there have been hardware accelerations like Xv, XvMC (motion compensation) and others. These are key to mythtv playback and the like. My myth playback box is a SFF P3-733 with an nVidia 4000 or 5000 series GPU I think. With that kind of ancient hardware, hardware acceleration is required. I believe the combo can still play 480p MPEG-2 without h/w accel but the CPU fan is wailing maxed in that condition. The box is silent with XvMC on and properly functioning.

In some ways the distro chosen will influence EASILY available options. Redhat, Fedora, ubuntu will probably get the leading-edge binary distros of optimized drivers much quicker than other exotic orniche linuxes.

You'll need a player that also knows to offload these function and NOT to do them in software. I don't use linux for any desktop or GUI work whatsoever any longer but I believe mplayer is still the most popular player. Perhaps some research into mplayer's capabilities will yield links to other aspects...
 
Back
Top