[mythtv-users] PVR350 video out very slow (Nvidia way better)

Jay Love jsliv at jslove.org
Fri Feb 6 10:04:18 EST 2004


Sounds like you didn't tell Myth to use the PVR-350 for video-out.  In 
the settings for TV there's a checkbox to use the PVR-350, did you check 
it?  Otherwise, it'll try to treat the PVR-350 FrameBuffer as a regular 
videocard, and the 350 is really crappy as a regular videocard.


Jay


Emmanuel Hislen wrote:

>  Hi,
>
> I hope this is not one of these questions that have been asked a 
> hundred times. I looked in the archives but did not find a solution.
>
> I started using my basic GeForce 4 card for TV-out, and it's been 
> working OK so far (I say OK only because I am still not very happy 
> with the quality, but that's because I still haven't set high enough 
> MPEG2 bitrates I believe).
>
> For the sound I am using the PVR-350 output and it is working very 
> well, in sync with the tv-out of the nvidia.
>
> Anyway when I try to use the PVR350 TV-out, with a XF86Config file I 
> grabbed from this mailing list, it works but the quality is TERRIBLE 
> choppy video and sound.
> Funny as soon as I do Ctrl-tab to get an xterm in another virtual 
> screen, the sound is not choppy any more.
>
> CPU usage is close to zero (AMD XP 2600).
>
> One obvious thing that comes to my mind is that my GF4 is on the AGP 
> bus which is obviously a big advantage over the Haupauge. On the other 
> hand on the archives I only see people enthusiastic about the tv-out 
> quality of the PVR350, like there is no coming back from it after 
> seeing it.
>
> So at this point I have ruled out things like DMA or capture problems, 
> because it's working with the nvidia.
>
> I did check the box in the TV Playback config so that raw MPEG2 would 
> be fed to the PVR350 (I uncheck this when I use the nvidia).
>
> I tried with and without deinterlacing, no difference.
>
>
> I just found out I am getting some very scary warnings in the output 
> of mythfrontend (see below) about my system not being performant enoug 
> for the resolution and mythtv not being able to use X. I do not get 
> any of these warnings when using the Nvidia card.
> Because of this I hope this is just an X configuration issue, I just 
> haven't been able to see which one :-)
>
> Any suggestion, ideas?
>
> I included below my X11 config files: they are the only software 
> difference between the 2 configurations.
>
> Thanks,
>
> Emmanuel.
>
> -------------------------------------------------------------------------------------------------- 
>
> NVIDIA GEFORCE 4
> -------------------------------------------------------------------------------------------------- 
>
> # XFree86 4 configuration created by pyxf86config
>
> Section "ServerLayout"
>        Identifier     "Default Layout"
>        Screen      0  "Screen0" 0 0
>        InputDevice    "Mouse0" "CorePointer"
>        InputDevice    "Keyboard0" "CoreKeyboard"
>        InputDevice    "DevInputMice" "AlwaysCore"
> EndSection
>
> Section "Files"
>        RgbPath      "/usr/X11R6/lib/X11/rgb"
>        ModulePath   "/usr/X11R6/lib/modules/extensions/nvidia"
>        ModulePath   "/usr/X11R6/lib/modules/extensions"
>        ModulePath   "/usr/X11R6/lib/modules"
>        FontPath     "unix/:7100"
> EndSection
>
> Section "Module"
>        Load  "dbe"
>        Load  "extmod"
>        Load  "fbdevhw"
>        Load  "glx"
>        Load  "record"
>        Load  "freetype"
>        Load  "type1"
> EndSection
>
> Section "InputDevice"
>        Identifier  "Keyboard0"
>        Driver      "keyboard"
>        Option      "XkbRules" "xfree86"
>        Option      "XkbModel" "pc105"
>        Option      "XkbLayout" "us"
> EndSection
>
> Section "InputDevice"
>        Identifier  "Mouse0"
>        Driver      "mouse"
>        Option      "Protocol" "IMPS/2"
>        Option      "Device" "/dev/psaux"
>        Option      "ZAxisMapping" "4 5"
>        Option      "Emulate3Buttons" "no"
> EndSection
>
> Section "InputDevice"
>        Identifier  "DevInputMice"
>        Driver      "mouse"
>        Option      "Protocol" "IMPS/2"
>        Option      "Device" "/dev/input/mice"
>        Option      "ZAxisMapping" "4 5"
>        Option      "Emulate3Buttons" "no"
> EndSection
>
> Section "Monitor"
>        Identifier   "Monitor0"
>        VendorName   "Monitor Vendor"
>        ModelName    "NEC MultiSync E700"
>        DisplaySize  320        240
>        HorizSync    31.0 - 82.0
>        VertRefresh  55.0 - 120.0
> #       Option      "dpms"
> EndSection
>
> Section "Device"
>        Identifier  "Videocard0"
>        Driver      "nvidia"
>        VendorName  "Gainward"
>        BoardName   "NVIDIA GeForce 4 MX (generic)"
>        Option      "RenderAccel" "1"
>        # TV Out Setup
>        Option "ConnectedMonitor" "TV"
>        Option      "TVStandard" "NTSC-M"
>        Option      "TVOutFormat" "COMPOSITE"
>        Option      "TVOverScan" "0.6"
> EndSection
>
> Section "Screen"
>        Identifier "Screen0"
>        Device     "Videocard0"
>        Monitor    "Monitor0"
>        DefaultDepth     24
>        SubSection "Display"
>                Depth     24
>                Modes    "1024x768" "800x600" "640x480"
>        EndSubSection
> EndSection
>
> Section "DRI"
>        Group        0
>        Mode         0666
> EndSection
>
> -------------------------------------------------------------------------------------------------- 
>
> PVR-350
> -------------------------------------------------------------------------------------------------- 
>
> # XFree86 4 configuration created by pyxf86config
> Section "ServerLayout"
>        Identifier     "XFree86 Configured"
>        Screen  0 "TV Screen"
>        InputDevice    "Mouse0" "CorePointer"
>        InputDevice    "Keyboard0" "CoreKeyboard"
>        InputDevice    "DevInputMice" "AlwaysCore"
> EndSection
>
>
> Section "Files"
>        RgbPath      "/usr/X11R6/lib/X11/rgb"
>        ModulePath   "/usr/X11R6/lib/modules/extensions/nvidia"
>        ModulePath   "/usr/X11R6/lib/modules/extensions"
>        ModulePath   "/usr/X11R6/lib/modules"
>        FontPath     "unix/:7100"
> EndSection
>
> Section "Module"
>        Load  "dbe"
>        Load  "extmod"
>        Load  "fbdevhw"
>        Load  "glx"
>        Load  "record"
>        Load  "freetype"
>        Load  "type1"
>        Load  "v4l"
> EndSection
>
> Section "InputDevice"
>        Identifier  "Keyboard0"
>        Driver      "keyboard"
>        Option      "XkbRules" "xfree86"
>        Option      "XkbModel" "pc105"
>        Option      "XkbLayout" "us"
> EndSection
>
> Section "InputDevice"
>        Identifier  "Mouse0"
>        Driver      "mouse"
>        Option      "Protocol" "IMPS/2"
>        Option      "Device" "/dev/psaux"
>        Option      "ZAxisMapping" "4 5"
>        Option      "Emulate3Buttons" "no"
> EndSection
>
> Section "InputDevice"
>        Identifier  "DevInputMice"
>        Driver      "mouse"
>        Option      "Protocol" "IMPS/2"
>        Option      "Device" "/dev/input/mice"
>        Option      "ZAxisMapping" "4 5"
>        Option      "Emulate3Buttons" "no"
> EndSection
>
> Section "Monitor"
>        Identifier  "NTSC Monitor"
>        VendorName   "SONY"
>        ModelName    "TV OUT"
>        HorizSync  30-68
>        VertRefresh 50-120
>        Mode "720x480"
>          # D: 34.563 MHz, H: 37.244 kHz, V: 73.897 Hz
>          DotClock 34.564
>          HTimings 720 752 840 928
>          VTimings 480 484 488 504
>          Flags    "-HSync" "-VSync"
>        EndMode
> EndSection
>
>
> Section "Device"
>        Identifier  "Hauppauge PVR 350 iTVC15 Framebuffer"
>        Driver      "fbdev"
>        Option      "fbdev" "/dev/fb0"
>        ### change fb1 to whatever number you got in the previous section
>        BusID "01:08.0"
>        ### change the busid to whatever is reported by lspci -v
> EndSection
>
>
> Section "Screen"
>        Identifier  "TV Screen"
>        Device      "Hauppauge PVR 350 iTVC15 Framebuffer"
>        Monitor     "NTSC Monitor"
>        DefaultDepth 24
>        DefaultFbbpp 32
>        Subsection "Display"
>          Depth 24
>          FbBpp 32
>          Modes "720x480"
>        EndSubsection
> EndSection
>
>
> Section "DRI"
>        Group        0
>        Mode         0666
> EndSection
>
> -------------------------------------------------------------------------------------------------- 
>
> mythfrontend output when using PVR350 tv-out
> -------------------------------------------------------------------------------------------------- 
>
>
> lib:  extension "GLX" missing on display ":0.0".
> Xlib:  extension "GLX" missing on display ":0.0".
> 2004-02-05 23:15:31 Enabled verbose msgs : important general
> 2004-02-05 23:15:40 Connecting to backend server: 127.0.0.1:6543 (try 
> 1 of 5)
> Input #0, mpeg, from 
> 'rbuf://127.0.0.1:6543/var/cache/mythtv/ringbuf1.nuv':
>  Stream #0.0: Video: mpeg1video, 720x480, 29.97 fps
>  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 384 kb/s
> 2004-02-05 23:15:42 Opening OSS audio device '/dev/dsp'.
> ***
> * Couldn't find Xv support, falling back to non-Xv mode.
> * MythTV performance will be much slower since color
> * conversion and scaling will be done in software.
> * Consider upgrading your video card or X server if
> * you would like better performance.
> 2004-02-05 23:15:42 Changing from None to WatchingLiveTV
> 2004-02-05 23:15:44 prebuffering pause
> 2004-02-05 23:15:45 prebuffering pause
> ***
> * Your system is not capable of displaying the
> * full framerate at 720x480 resolution.  Frames
> * will be skipped in order to keep the audio and
> * video in sync.
> 2004-02-05 23:15:47 prebuffering pause
> 2004-02-05 23:15:49 Changing from WatchingLiveTV to None
> 2004-02-05 23:15:49 Changing from None to None
> -------------------------------------------------------------------------------------------------- 
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users




More information about the mythtv-users mailing list