SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-14-2008, 08:22 PM
rdsherwood rdsherwood is offline
Sage User
 
Join Date: May 2008
Posts: 5
Newbie Question About CPU Power To Drive Display

I just set up SageTV on a Dell 2.2 GHZ P4 with 768MB RAM, an Nvidia 6200 display card connected to a television through the svideo connector, and an HDHOMERUN to receive OTA DTV. It works OK for the most part, but when I'm watching live TV, the processor runs between 50% and 80%, leading to some sluggishness in operating the system. When I just have it recording (without watching the output), or if I watch it on another PC using Placeshifter, the CPU loafs along at 8% or so. So it appears that driving the display is eating up the CPU cycles. Is it normal to take this much CPU power to drive the display? Can someone give me some pointers on things to look at to improve the performance (i.e. to cut down the CPU power used to drive the display)? Or is this the reason that so many people seem to use a separate machine for the client?

I've looked at different options for Video Renderer (now on Default, Video Overlay and DirectX9 either caused choppiness, or didn't improve things), and the MPEG2 Video Filter (I'm using the SageTV Video Decoder, the default decoder increased CPU utilization to 80-90%). DXVA Hardware Acceleration is turned on, when I turned it off CPU utilization again went up. I tried different audio settings, but they didn't seem to affect things much.

I'm fairly ignorant about video processing (but am trying to learn). Any pointers and suggestions on how to reduce the CPU utilization driving the display would be greatly appreciated.
Reply With Quote
  #2  
Old 05-15-2008, 12:56 AM
Tiki's Avatar
Tiki Tiki is offline
Sage Icon
 
Join Date: Feb 2005
Location: Southwest Florida, USA
Posts: 2,009
Encoding and Decoding Video takes a lot of horsepower, and conventional x86 CPUs used in PC's are not optimized for these tasks (they are general-purpose: designed to be good at a wide range of tasks but not great at any one thing).

Anytime you must encode or decode using software, it is the CPU that is doing the heavy lifting. This is why it is best to offload these tasks to specialized hardware that is dedicated to video processing when possible.

The encoding of analog video is handled by your video capture device - make sure to get one that is capable of hardware encoding (such as Hauppauge PVR150, HVR1600, etc.). When recording digital video signals (Over The Air HDTV or QAM Cable signals) using devices such as the HDHomeRun or Hauppauge HVR1600, your PC does not need to do any encoding. This is because the signals have already been encoded by the broadcaster. Digital capture devices just grab the raw digital information being broadcast and just save it to a file on your PC for later playback.

This is why you can record video using a hardware encoder or one of these digital encoders with a very low-powered PC (Pentium III, 500MHz won't even break a sweat during recording). Playback of the video is another story.

When it comes time to playback the video, you must decode it somehow. Most current video cards have hardware acceleration for decoding MPEG-2 video. Some cards can also accelerate the decoding of other types of video. To take advantage of the hardware acceleration in your video card, the decoder you use must be written specifically for that purpose. Nvidia sells their own decoder called PureVideo that is written specifically to take advantage of the acceleration capabilities of their video cards. You may get better results using that decoder with your card. Besides CPU performance, there is a lot of variation in image quality depending on which decoder you use (of the decoders I have tried, the included decoder from Sage yielded the worst image quality, but YMMV).

One other thing to keep in mind is that even with a hardware accelerated video card, playback still tends to be more CPU-intensive than recording, particularly if you are playing back to a different format screen than the video was recorded at, since the image must be scaled and possibly interlaced or de-interlaced to match your display.
__________________
Server: Ryzen 2400G with integrated graphics, ASRock X470 Taichi Motherboard, HDMI output to Vizio 1080p LCD, Win10-64Bit (Professional), 16GB RAM
Capture Devices (7 tuners): Colossus (x1), HDHR Prime (x2)
,USBUIRT (multi-zone)
Source:
Comcast/Xfinity X1 Cable
Primary Client: Server Other Clients: (1) HD200, (1) HD300
Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE,
HDHR, HVR-2250, HD-PVR
Reply With Quote
  #3  
Old 05-15-2008, 05:35 AM
Djc208's Avatar
Djc208 Djc208 is offline
Sage Expert
 
Join Date: Feb 2007
Location: SE Virginia
Posts: 674
Quote:
Originally Posted by rdsherwood View Post
I just set up SageTV on a Dell 2.2 GHZ P4 with 768MB RAM, an Nvidia 6200 display card connected to a television through the svideo connector, and an HDHOMERUN to receive OTA DTV. It works OK for the most part, but when I'm watching live TV, the processor runs between 50% and 80%, leading to some sluggishness in operating the system. When I just have it recording (without watching the output), or if I watch it on another PC using Placeshifter, the CPU loafs along at 8% or so.
This sounds about normal based on your setup. As Tiki said the MPEG2 decode requires all the HP, especially paired to an older low end card like your 6200. I would see similar numbers on my old 6200LE with my AMD Athlon. When I upgraded my gaming machine I moved the 7600 into the Sage machine and CPU usage dropped by about half. I use the nVidia decoder so the change is purely due to the improved hardware decode offered by the 7600.

Best bang for your buck would be to look for a newer low-end graphics card. For under $90 either of these cards should work well and are passively cooled for quieter operation.

http://www.newegg.com/Product/Produc...82E16814125039

http://www.newegg.com/Product/Produc...82E16814121064

But a better option would be:

http://www.newegg.com/Product/Produc...82E16814161210 or similar.

a little cheaper but slower: http://www.newegg.com/Product/Produc...82E16814102734

which also offer H.264/VC-1 acceleration in case you try to run an HD-PVR or HD-DVD/BD drive.
__________________
Server: Core 2 Duo E4200 2 GB RAM, nVidia 6200LE, 480 GB in pool, 500GB WHS backup drive, 1x750 GB & 1x1TB Sage drives, Hauppage HVR-1600, HD PVR, Windows Home Server SP2
Media center: 46" Samsung DLP, HD-100 extender.
Gaming: Intel Core2 Duo E7300, 4GB RAM, ATI HD3870, Intel X-25M G2 80GB SSD, 200 & 120 GB HDD, 23" Dell LCD, Windows 7 Home Premium.
Laptop: HP dm3z, AMD (1.6 GHz) 4 GB RAM, 60 GB OCZ SSD, AMD HD3200 graphics, 13.3" widescreen LCD, Windows 7 x64/Sage placeshifter.
Reply With Quote
  #4  
Old 05-15-2008, 10:51 AM
rdsherwood rdsherwood is offline
Sage User
 
Join Date: May 2008
Posts: 5
Tiki & DeSoto, thank you very much for your detailed responses. They give me a much better understanding of what's going on.

DeSoto, the catch is, the PC doesn't have any AGP or PCI Express slots, so the card has to be PCI. That's what drove me to choosing the 6200 in the first place.

Nvidia offers PureVideo on a 30 day trial, so it looks like the first thing to try is to install their decoder to see if it takes better advantage of the Nvidia card's onboard processing, thereby lightening the load on the CPU.

My plan is to use this box pretty much exclusively with digital content (through the HDHOMERUN). So i'm not too worried about needing a lot of horsepower for encoding. The box has a big hard drive, and I set up a separate partition with 64K blocks for the mpeg files, and that side of things all seems to be working well. But if I decide that this box just doesn't have the horespower to drive the graphics, it seems like I have two options: 1) Replace it with a new PC that has enough power (and the better video card) to handle the graphics processing, or 2) use it only as a server, and buy a client front-end, such as the HD-100 Media Extender (assuming they can actually start supplying them) to drive the television. Just looking at hardware costs, it seems like #2 might be the better solution. Any opinions or suggestions on why this wouldn't be the best solution?
Reply With Quote
  #5  
Old 05-15-2008, 11:23 AM
CollinR CollinR is offline
Sage Icon
 
Join Date: Dec 2004
Location: Tulsa, OK
Posts: 1,305
PureVideo should fix you, it has support back to the MX4400.

Also if you are connecting via Svideo can you have the HDhomerun only pull in reasonably sized streams? Scaling 1080i to 480i is not helping your situation at all.
Reply With Quote
  #6  
Old 05-15-2008, 02:29 PM
paulbeers paulbeers is offline
SageTVaholic
 
Join Date: Jun 2005
Posts: 2,550
Quote:
Originally Posted by rdsherwood View Post
Tiki & DeSoto, thank you very much for your detailed responses. They give me a much better understanding of what's going on.

DeSoto, the catch is, the PC doesn't have any AGP or PCI Express slots, so the card has to be PCI. That's what drove me to choosing the 6200 in the first place.

Nvidia offers PureVideo on a 30 day trial, so it looks like the first thing to try is to install their decoder to see if it takes better advantage of the Nvidia card's onboard processing, thereby lightening the load on the CPU.

My plan is to use this box pretty much exclusively with digital content (through the HDHOMERUN). So i'm not too worried about needing a lot of horsepower for encoding. The box has a big hard drive, and I set up a separate partition with 64K blocks for the mpeg files, and that side of things all seems to be working well. But if I decide that this box just doesn't have the horespower to drive the graphics, it seems like I have two options: 1) Replace it with a new PC that has enough power (and the better video card) to handle the graphics processing, or 2) use it only as a server, and buy a client front-end, such as the HD-100 Media Extender (assuming they can actually start supplying them) to drive the television. Just looking at hardware costs, it seems like #2 might be the better solution. Any opinions or suggestions on why this wouldn't be the best solution?

STX-HD100 is the way to go unless you want Blu-Ray or DVD drive. As someone who fought long and hard with his full clients for years, the HD100 just works.
__________________
Sage Server: AMD Athlon II 630, Asrock 785G motherboard, 3GB of RAM, 500GB OS HD in RAID 1 and 2 - 750GB Recording Drives, HDHomerun, Avermedia HD Duet & 2-HDPVRs, and 9.0TB storage in RAID 5 via Dell Perc 5i for DVD storage
Source: Clear QAM and OTA for locals, 2-DishNetwork VIP211's
Clients: 2 Sage HD300's, 2 Sage HD200's, 2 Sage HD100's, 1 MediaMVP, and 1 Placeshifter
Reply With Quote
  #7  
Old 05-16-2008, 06:27 AM
Djc208's Avatar
Djc208 Djc208 is offline
Sage Expert
 
Join Date: Feb 2007
Location: SE Virginia
Posts: 674
Quote:
Originally Posted by paulbeers View Post
STX-HD100 is the way to go unless you want Blu-Ray or DVD drive. As someone who fought long and hard with his full clients for years, the HD100 just works.
And they're back in stock! (for now)

Sometimes it's sad how excited we get about this stuff
__________________
Server: Core 2 Duo E4200 2 GB RAM, nVidia 6200LE, 480 GB in pool, 500GB WHS backup drive, 1x750 GB & 1x1TB Sage drives, Hauppage HVR-1600, HD PVR, Windows Home Server SP2
Media center: 46" Samsung DLP, HD-100 extender.
Gaming: Intel Core2 Duo E7300, 4GB RAM, ATI HD3870, Intel X-25M G2 80GB SSD, 200 & 120 GB HDD, 23" Dell LCD, Windows 7 Home Premium.
Laptop: HP dm3z, AMD (1.6 GHz) 4 GB RAM, 60 GB OCZ SSD, AMD HD3200 graphics, 13.3" widescreen LCD, Windows 7 x64/Sage placeshifter.
Reply With Quote
  #8  
Old 05-16-2008, 12:16 PM
rethdog's Avatar
rethdog rethdog is offline
Sage User
 
Join Date: Sep 2007
Posts: 24
I have 6800gs, my cpu usage is around 30% decoding and displaying a OTA HDTV signal, this is using the nvidia purevideo codec.

Also recently installing ffdshow for playing xvids (mpeg4), it seems to be pretty efficent using 30-40% displaying 720 x 380-ish movies.

I believe the ffdshow can also display mpeg2 streams so you may to try that before you buy the nvidia codec.

My processor is a XP2800 so in general purpose usage it's a bit more powerful than yours, although a P4 was more designed for this type processing, so you should get similiar results

check out a couple of post below on how to set filters, and check to see they are really being used!
__________________
Server: AMD XP 2800, uATX MB, 1GB DDR RAM, NVidia 6800GS, NVidia Pure Video 'Bronze' decoder, 160GB PATA (10 GB OS Partition), 500 GB SATA (recordings), 750 GB SATA (favourite dvd's); Hauppagge HVR1600 doing OTA Digital and analog cable, 50" Maxent Plasma @1366x768 60hz, Win XP Home

Client: Helius MVP on 21" CRT

Future Plans: second MVP license, HD media extender & 37"-ish lcd for bedroom, move helius mvp to kids room, install some sort of commercial skipping
Reply With Quote
  #9  
Old 05-16-2008, 01:50 PM
paulbeers paulbeers is offline
SageTVaholic
 
Join Date: Jun 2005
Posts: 2,550
Quote:
Originally Posted by Djc208 View Post
And they're back in stock! (for now)

Sometimes it's sad how excited we get about this stuff

True dat!
__________________
Sage Server: AMD Athlon II 630, Asrock 785G motherboard, 3GB of RAM, 500GB OS HD in RAID 1 and 2 - 750GB Recording Drives, HDHomerun, Avermedia HD Duet & 2-HDPVRs, and 9.0TB storage in RAID 5 via Dell Perc 5i for DVD storage
Source: Clear QAM and OTA for locals, 2-DishNetwork VIP211's
Clients: 2 Sage HD300's, 2 Sage HD200's, 2 Sage HD100's, 1 MediaMVP, and 1 Placeshifter
Reply With Quote
  #10  
Old 05-17-2008, 04:24 PM
mikel mikel is offline
Sage User
 
Join Date: May 2008
Posts: 15
I recall reading somewhere in the forum that PureVideo drivers are not available for Vista, and that Media Center in Vista already has PureVideo capability built-in for using the NVidia graphics cards.

I'm currently running XP with the evaluation versions of PureVideo, but I'm thinking of upgrading to Vista. I can get an upgrade Home Previum version for around $79. Any reason not to upgrade? If I don't have to purchase PV under vista, it like a $30 discount on top of that.
Reply With Quote
  #11  
Old 05-22-2008, 04:41 AM
rdsherwood rdsherwood is offline
Sage User
 
Join Date: May 2008
Posts: 5
So I installed Purevideo, and it appears to have helped some, with CPU utilization dropping around 5-10%. I haven't had a lot of time this week to tweak it, but the results are in the right direction.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Maybe newbie question on Watch API method Sendero SageTV Customizations 0 03-07-2008 03:19 PM
Ridiculous Newbie Question belleboyd SageTV Software 1 11-24-2006 06:51 PM
Newbie Question: Live TV jbarr SageTV Software 1 08-30-2006 10:01 AM
Hard drive not recognized by name robinson Hardware Support 9 08-25-2006 08:07 AM
Newbie question about remote scheduling skenzer SageTV Software 5 03-16-2006 09:41 PM


All times are GMT -6. The time now is 11:08 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.