View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 9 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Pauses in Live TV
PostPosted: Sun Jul 17, 2005 12:30 pm 
Offline
Joined: Mon Jul 04, 2005 8:25 pm
Posts: 114
Finally got my system working the best I can get it.

KoppMyth R5A16
Duron 800
200GB 7200 HD
Diamond PVR-550 (hardware encoder)

Whenever I try to watch Live TV with Myth I get these nasty pauses every 2 seconds or so.

I have this *exact* hardware running on Windose and it works perfectly as a PVR.

I can record video & audio fine with cat /dev/video > my.mpg

I can even watch live TV (w/ no pauses) if I do mplayer /dev/video0

DMA is on, and the transfer rate looks pretty decent.

I did a remote ssh into the box while liveTV was running and it showed "mythfrontend" was using over 85% of the CPU.

Are there any additional settings I can try to tweak to resolve this?

Jon


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 17, 2005 12:50 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
you didn't say what video card you have. If you've got nvidia you can try using xvmc which will greatly reduce the cpu utilization, but may cause lockups (though many reports now say this has been worked out.) also if you have nvidia and haven't installed the binary drivers try that before trying xvmc, as that makes a huge difference as well.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 17, 2005 1:01 pm 
Offline
Joined: Mon Jul 04, 2005 8:25 pm
Posts: 114
I'm just using the built in VIA video on the mobo right now.

I also tried my Radeon 9250 and I got the same results.

Both of these seem to be somewhat accelerated, but they may not be optimal.

However, I do have an Nvidia MX4000 card on order from NewEgg right now, so I'll try that when I get it in a few days. Hopefully the drivers support that card, as it is low-profile and will fit in my box.

Update:

I descreased the video encoding bitrate for "Live TV" to 2200/3200 and the problem with the pauses has mostly been eliminated.

What is the recommended bitrate to approximate DVD quality?

Jon


Top
 Profile  
 
 Post subject: Deinterlacing
PostPosted: Sun Jul 17, 2005 2:23 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi,
With an 800 processor, pauses (stuttering?) could be interlace processing requirements are slightly more than the cpu can keep up with. Try some of the various options in the tv playback menu to see if one of those options are good for you.

Mike


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 21, 2005 4:07 pm 
Offline
Joined: Mon Jul 04, 2005 8:25 pm
Posts: 114
Just got my Nvidia card (GeForce4 MX4000).

I'm not using a TV as of yet and just want to get it going with my 17" LCD for now.

I installed the nvidia driver "install-nvidia-6629-debian.sh"

The computer boots to X fine and I can start Myth, but when I try to watch Live TV the screen goes black and seems to freeze the computer.
(I suspect it has something to do with the full screen)

I setup a simple XF86Config-4 file for the nvidia driver, but I'm not sure if it's correct (I just guessed at some of the stuff).

Could someone take a look at my XF86Config file and tell me how I screwed up this time? ;-)

Also, do I need to run 'myth-setup' again to reconfigure anything for the nvidia card?

Thanks!

Jon

Code:
# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

    Identifier  "My Monitor"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    HorizSync   31.5 - 64.3

#    HorizSync  30-64         # multisync
#    HorizSync  31.5, 35.2    # multiple fixed sync frequencies
#    HorizSync  15-25, 30-50  # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    VertRefresh 50-70

EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device"
    Identifier  "Standard VGA"
    VendorName  "Unknown"
    BoardName   "Unknown"

# The chipset line is optional in most cases.  It can be used to override
# the driver's chipset detection, and should not normally be specified.

#    Chipset    "generic"

# The Driver line must be present.  When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module.  Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.

    Driver     "vga"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for.  When this line isn't present, a device
# section can only match up with the primary video device.  For PCI
# devices a line like the following could be used.  This line should not
# normally be included unless there is more than one video device
# intalled.

#    BusID      "PCI:0:10:0"

#    VideoRam   256

#    Clocks     25.2 28.3

EndSection

# Device configured by xf86config:

Section "Device"
    Identifier  "** NVIDIA (generic)                   [nv]"
    Driver      "nv"
    #VideoRam    65536
    # Insert Clocks lines here if appropriate
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
    Identifier  "Screen 1"
    Device      "** NVIDIA (generic)                   [nv]"
    Monitor     "My Monitor"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 22, 2005 9:06 am 
Offline
Joined: Mon Jul 04, 2005 8:25 pm
Posts: 114
Ack! The driver should be "nvidia" not "nv".

Working now - no more pauses!! 8)

Haven't tried the TV out, yet (I'm sure that will be fun).

Jon


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 22, 2005 9:16 am 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
livetv should be very similar to playing back a recording, though you may get pauses as your proc is close to the bare minimum. you may have to lower your bitrate, and/or resolution in your livetv recording profile to get it smooth.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 22, 2005 9:31 am 
Offline
Joined: Mon Jul 04, 2005 8:25 pm
Posts: 114
It's working pretty good now, although it stutters a couple of times when you first view Live TV and then it seems fine.

I cranked the bitrate back up to 4000/6000 w/ Live TV and it's still working. 8)

CPU load is still around 85%, but no stuttering once it gets going.

Amazing that the Nvidia card/driver would make that much difference.

BTW, I did NOT enable 'xvmc'. What do you think? Should I try it?

Jon


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 22, 2005 5:50 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
won't hurt to try just don't be surprised if it locks up when you ff/rw but it wouldn't take long to test and is real easy to turn on and off.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 41 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu