LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-13-2012, 03:08 PM   #1
Lomax
LQ Newbie
 
Registered: Sep 2012
Posts: 2

Rep: Reputation: Disabled
Improve Radeon HD2400 *PCI* HD video performance


I have an ATI Radeon HD2400 PCI (yes, PCI, not PCIe!) in an IBM M51 SFF (with MSI MS-7129[pdf] motherboard) which I'd like to use as an XBMC media center. I've installed a barebones Ubuntu instance (12.04 x64 with 3.2.0-30-generic) from the ubuntumini.iso to which I've only added XBMC (and X.Org of course), so it's not running any window manager other than XBMC, nor any other services other than SSH. RAM usage is unsurprisingly very low (always less than 20% of my 3 gigs) and CPU usage is around 35% (P4 HT 3GHz SL9KG) when playing an HD video (example is 1280x544 ~5Mbit/s). But while playback is almost ok, the framerate is too low (only 16fps) for HD content to be watchable, and there's a slight repetitive stutter (SD content is ultra smooth).

GPU is reported as Gallium 0.4 on AMD RV610 in XBMC.

I'm using the Gallium (radeon) driver as I have been unable to get any version of fglrx to work with my card. This is probably due to my card being PCI and not PCIe or AGP, though it says on the Catalyst 12.06 legacy driver download page:

Quote:
This article applies to the following configuration(s):
...
AMD Radeon HD 2000 Series
...
It would be nice to have a definitive answer as to whether any version of fglrx supports any PCI cards at all. Nevertheless, when I install the fglrx driver I just get a blank screen at boot, no blinking cursor, nothing, just totally blank. So I guess Gallium/radeon is my best bet, though I don't think it supports any of the native video decoding that I think my card is capable of. Hence the problem with HD playback.

Alternatively, is it possible to improve PCI performance in some way, for example by raising the bus speed? I'm suspecting that the poor framerate is related to PCI bus overload or congestion, but seeing as this is a fairly modern GPU (relative to the PCI standard at least!) maybe there is some way I can squeeze just a little bit extra out of it? Does anyone know of any utilities which might be useful?

lspci reports:
Code:
0b:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV610 LE [Radeon HD 2400 Pro PCI] (prog-if 00 [VGA controller])
Subsystem: Hightech Information System Ltd. Device 2256
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 41
Region 0: Memory at c0000000 (64-bit, prefetchable) [size=256M]
Region 2: Memory at d0100000 (64-bit, non-prefetchable) [size=64K]
Region 4: I/O ports at 4000 [size=256]
[virtual] Expansion ROM at d0120000 [disabled] [size=128K]
Capabilities: [50] Power Management version 3
    Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
    Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [58] Express (v1) Legacy Endpoint, MSI 00
    DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
        ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
    DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
        RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
        MaxPayload 128 bytes, MaxReadReq 128 bytes
    DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
    LnkCap: Port #0, Speed 2.5GT/s, Width x16, ASPM L0s L1, Latency L0 <64ns, L1 <1us
        ClockPM- Surprise- LLActRep- BwNot-
    LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk-
        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
    LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
    Address: 00000000fee0100c  Data: 4171
Kernel driver in use: radeon
Kernel modules: radeon
Any suggestions most welcome!

Last edited by Lomax; 09-13-2012 at 03:24 PM. Reason: Formatting
 
Old 09-13-2012, 06:39 PM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
You'll have to try the legacy driver because they dropped support for HDseries below HD5000.
I have the 4000-series & have not tried getting mine working because I have an nvidia card which is supported. I pretty sure that you can get it working.

It's quite upsetting that they dropped support & my mobo is only 3yrs old.

Last edited by EDDY1; 09-13-2012 at 06:40 PM.
 
Old 09-14-2012, 01:16 AM   #3
Lomax
LQ Newbie
 
Registered: Sep 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Many thanks for your reply!

Quote:
Originally Posted by EDDY1 View Post
You'll have to try the legacy driver
Well I already have, and although it says on the download page that the driver supports the HD 2000 series I've not had any success, again I suspect this has to do with it being a PCI card and not PCIe or AGP. In all my hours of researching this I've not seen a single report of PCI cards working with the Catalyst driver, legacy or otherwise - if anyone has information to the opposite I would love to hear about it!

If not, it looks like I ought to get an nVidia card instead, one that supports PureVideoHD and VDPAU, as the nVidia driver support seems to be vastly better under Linux. [rant]Shame really, I always used to like the slightly more professional feel of ATI's products (yeah, ok, AMD), with drivers that felt more solid and with less over the top packaging and styling. Makes me feel queasy every time I look at the infantile imagery the computer component manufacturers use in their marketing - it's an insult to think I would be impressed by their cheesy 3D renders and ridiculous product names. And they want me to pay how much!? Ah well. As I keep trying to convince my son, there are other (potentially more rewarding) uses for a computer besides trying to get headshots in some inane online slaughterfest for sugar-high teenagers.[/rant]

Hrrrrm... anyway, PCI video cards with recent-ish GPUs are rare as hen's teeth but I've managed to find a couple with GeForce 8400 GS and 512MB RAM - can someone tell me if such a card will work under Linux, and whether the video decoding it provides will be enough to allow my system to play 1080i content at full framerate? It's a pretty expensive upgrade (£50/$75) for such an old box and I'd rather make sure before I splash out...
 
Old 09-14-2012, 02:14 AM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
nvidia-glx works with that card.
Quote:
Hrrrrm... anyway, PCI video cards with recent-ish GPUs are rare as hen's teeth but I've managed to find a couple with GeForce 8400 GS and 512MB RAM - can someone tell me if such a card will work under Linux, and whether the video decoding it provides will be enough to allow my system to play 1080i content at full framerate? It's a pretty expensive upgrade (£50/$75) for such an old box and I'd rather make sure before I splash out...
 
Old 09-16-2012, 05:43 AM   #5
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 Lomax View Post
It would be nice to have a definitive answer as to whether any version of fglrx supports any PCI cards at all. Nevertheless, when I install the fglrx driver I just get a blank screen at boot, no blinking cursor, nothing, just totally blank.
Offically, no, the closed drivers dont support PCI (or AGP for that matter). I cant recall hearing of anyone getting a PCI HD 2400 going, I'm pretty sure I've seen people get AGP 2XXX-4XXX cards going with the closed drivers. IIRC it needed some manual change in the xorg.conf file to work. Sorry, I cant remember the mod that was needed, and a quick search isnt helping me find it....

Quote:
Originally Posted by Lomax View Post
So I guess Gallium/radeon is my best bet, though I don't think it supports any of the native video decoding that I think my card is capable of. Hence the problem with HD playback.
Its 'work in progress/todo'-

http://www.x.org/wiki/RadeonFeature

Quote:
Originally Posted by Lomax View Post
Alternatively, is it possible to improve PCI performance in some way, for example by raising the bus speed?
Yes, but I wouldnt suggest doing it.

Quote:
Originally Posted by Lomax View Post
I'm suspecting that the poor framerate is related to PCI bus overload or congestion, but seeing as this is a fairly modern GPU (relative to the PCI standard at least!) maybe there is some way I can squeeze just a little bit extra out of it?
The bad framerate on 'HD' content is because without any GPU decoding or acceleration, all decoding is done by the CPU. Your CPU just hasnt got enough guts to play HD video unaided.

Quote:
Originally Posted by Lomax View Post
If not, it looks like I ought to get an nVidia card instead, one that supports PureVideoHD and VDPAU, as the nVidia driver support seems to be vastly better under Linux.
nVidia driver support isnt that much better than AMD/ATI IMO...but VDPAU is a lot better than XvBA.

Quote:
Originally Posted by Lomax View Post
Hrrrrm... anyway, PCI video cards with recent-ish GPUs are rare as hen's teeth but I've managed to find a couple with GeForce 8400 GS and 512MB RAM - can someone tell me if such a card will work under Linux, and whether the video decoding it provides will be enough to allow my system to play 1080i content at full framerate? It's a pretty expensive upgrade (£50/$75) for such an old box and I'd rather make sure before I splash out...
8400GS should let you play HD video (provided that the encoding method is supported by VDPAU). I've got a similar level CPU (AMD atlhon 64 3000+, 1GB, 8400GS) and it plays 720p just fine. I havent tested with 1080i/1080p as its pointless for me (the monitor I'm using is only 1440x900 so it wont even play 1080 at full res).

That said, I'd avoid the 8400GS cards if possible. They are nasty, have several issues.

You should be able to pick up a PCI GT610 for about the same money as a 8400GS.

http://www.m4store.co.uk/components-...t-610-pci.html

Quote:
Originally Posted by Lomax View Post
[rant]Shame really, I always used to like the slightly more professional feel of ATI's products (yeah, ok, AMD), with drivers that felt more solid and with less over the top packaging and styling. Makes me feel queasy every time I look at the infantile imagery the computer component manufacturers use in their marketing - it's an insult to think I would be impressed by their cheesy 3D renders and ridiculous product names. And they want me to pay how much!? Ah well. As I keep trying to convince my son, there are other (potentially more rewarding) uses for a computer besides trying to get headshots in some inane online slaughterfest for sugar-high teenagers.[/rant]
ATI had/has almost the same amount of silly imagery as nVidia. IMO ATI was always let down by driver quality, I actually prefered the ATI hardware but ended up with nVidai cards due to driver issues...and that was with windows, not linux.
 
  


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
Xrandr 1.2 S-video output to TV is trapezoidal using ATI Radeon 9250 PCI theschlubb Linux - Hardware 3 12-07-2008 08:05 PM
How Can I Improve Performance Of My Video Card? taurusx5 Linux - Software 51 09-21-2008 10:25 AM
Fedora Core 5, S-Video ATI Radeon 9200SE PCI. b1s8e3 Linux - Hardware 4 05-09-2007 05:33 PM
Upgrade from a diamond S220 pci Video Card to a ATI Radeon 7500 rstein6516 Linux - Hardware 3 02-03-2006 09:31 AM
How to Improve performance of PC Imran Aziz Linux - Software 3 06-03-2004 02:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:47 PM.

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