[mythtv-users] Jittery Video on LiveTV & Playback Via M10000

Roger McClurg roger at mcclurgstudios.com
Sat Nov 5 13:09:41 EST 2005


BUMP

I thought I'd add this info from the Xorg.0.log file. It certainly looks 
to me that viaXvMC is being used by X11.

Roger
--------------------------------------
(II) VIA(0): [drm] Detected AGP vendor 0x1106, device 0x3123
(II) VIA(0): [drm] Didn't find any AGP v3 compatible device. Trying AGP 
4X mode.
(II) VIA(0): [drm] Trying to enable AGP fast writes.
(II) VIA(0): [drm] drmAgpEnabled succeeded
(II) VIA(0): [drm] agpAddr = 0xd0000000
(II) VIA(0): [drm] agpBase = (nil)
(II) VIA(0): [drm] agpAddr = 0xd0000000
(II) VIA(0): [drm] agpSize = 0x01e00000
(II) VIA(0): [drm] agp physical addr = 0x00000000
(II) VIA(0): [dri] use agp.
(II) VIA(0): [drm] FBFreeStart= 0x005a0000 FBFreeEnd= 0x01fbe000 FBSize= 
0x01a1e000
(II) VIA(0): [dri] frame buffer initialized.
(II) VIA(0): X context handle = 0x1
(II) VIA(0): [drm] installed DRM signal handler
(II) VIA(0): [DRI] installation complete
(II) VIA(0): [dri] kernel data initialized.
(II) VIA(0): [drm] Initialized AGP ring-buffer, size 0x200000 at AGP 
offset 0x1e00000.
(II) VIA(0): direct rendering enabled
(II) VIA(0): Benchmarking video copy. Less is better.
(--) VIA(0): Timed   libc YUV420 copy... 5163491. Throughput: 114.9 MiB/s.
(--) VIA(0): Timed kernel YUV420 copy... 4289930. Throughput: 138.2 MiB/s.
(--) VIA(0): Timed    SSE YUV420 copy... 2163664. Throughput: 274.1 MiB/s.
(--) VIA(0): Timed    MMX YUV420 copy... 4016078. Throughput: 147.7 MiB/s.
(--) VIA(0): Ditch 3DNow! YUV420 copy... Not supported by CPU.
(--) VIA(0): Timed   MMX2 YUV420 copy... 2270548. Throughput: 261.2 MiB/s.
(--) VIA(0): Using SSE YUV42X copy for video.
(II) VIA(0): [XvMC] Registering viaXvMC.
(II) VIA(0): [XvMC] Initialized XvMC extension.
(==) RandR enabled
(II) Setting vga for screen 0.


Sorry about not changing the sbuject last time. I know it makes it hard
to folow threads.

I went back and looked carefully through the playback setting options.
There is an option for libmpg2 but none for XvMC or Via. Trying the
libmpg2 option improves things... the jittering goes to a 4 second cycle
from the previous 2 second cycle. This gives me hope for the XvMC
options, if only I could find out why they are not displaying.

I am using Gentoo 2.6.12 r10 which has native Via modules in it, but the
DRM module is not compatible, so I am using the 20050807 version of the
x11-drm module. Both the libXvMC and libviaXvMC modules are in /usr/lib.
Is the problem possibly in my xorg.conf options? Should I be loading
viaXvMC or XvMC in xorg.conf? I'm including a list of lsmod and my
xorg.conf in case they are a help.

I really appreciate your help on this. I'm lost at this point.

Roger
---------------------------------------------
LSMOD
--------------------------------------------
Module                  Size  Used by
via                    37792  1
drm                    67704  2 via
ivtv_fb                39132  0
tda9887                12728  0
tuner                  26760  0
ivtv                  217236  3 ivtv_fb
saa7127                12348  0
saa7115                14296  0
msp3400                25672  0
via_ircc               23316  0
via_agp                 7648  1
agpgart                29608  2 drm,via_agp
snd_pcm_oss            48128  0BUMP

I thought I'd add this info from the Xorg.0.log file:
--------------------------------------
(II) VIA(0): [drm] Detected AGP vendor 0x1106, device 0x3123
(II) VIA(0): [drm] Didn't find any AGP v3 compatible device. Trying AGP 
4X mode.
(II) VIA(0): [drm] Trying to enable AGP fast writes.
(II) VIA(0): [drm] drmAgpEnabled succeeded
(II) VIA(0): [drm] agpAddr = 0xd0000000
(II) VIA(0): [drm] agpBase = (nil)
(II) VIA(0): [drm] agpAddr = 0xd0000000
(II) VIA(0): [drm] agpSize = 0x01e00000
(II) VIA(0): [drm] agp physical addr = 0x00000000
(II) VIA(0): [dri] use agp.
(II) VIA(0): [drm] FBFreeStart= 0x005a0000 FBFreeEnd= 0x01fbe000 FBSize= 
0x01a1e000
(II) VIA(0): [dri] frame buffer initialized.
(II) VIA(0): X context handle = 0x1
(II) VIA(0): [drm] installed DRM signal handler
(II) VIA(0): [DRI] installation complete
(II) VIA(0): [dri] kernel data initialized.
(II) VIA(0): [drm] Initialized AGP ring-buffer, size 0x200000 at AGP 
offset 0x1e00000.
(II) VIA(0): direct rendering enabled
(II) VIA(0): Benchmarking video copy. Less is better.
(--) VIA(0): Timed   libc YUV420 copy... 5163491. Throughput: 114.9 MiB/s.
(--) VIA(0): Timed kernel YUV420 copy... 4289930. Throughput: 138.2 MiB/s.
(--) VIA(0): Timed    SSE YUV420 copy... 2163664. Throughput: 274.1 MiB/s.
(--) VIA(0): Timed    MMX YUV420 copy... 4016078. Throughput: 147.7 MiB/s.
(--) VIA(0): Ditch 3DNow! YUV420 copy... Not supported by CPU.
(--) VIA(0): Timed   MMX2 YUV420 copy... 2270548. Throughput: 261.2 MiB/s.
(--) VIA(0): Using SSE YUV42X copy for video.
(II) VIA(0): [XvMC] Registering viaXvMC.
(II) VIA(0): [XvMC] Initialized XvMC extension.
(==) RandR enabled
(II) Setting vga for screen 0.


Sorry about not changing the sbuject last time. I know it makes it hard
to folow threads.

I went back and looked carefully through the playback setting options.
There is an option for libmpg2 but none for XvMC or Via. Trying the
libmpg2 option improves things... the jittering goes to a 4 second cycle
from the previous 2 second cycle. This gives me hope for the XvMC
options, if only I could find out why they are not displaying.

I am using Gentoo 2.6.12 r10 which has native Via modules in it, but the
DRM module is not compatible, so I am using the 20050807 version of the
x11-drm module. Both the libXvMC and libviaXvMC modules are in /usr/lib.
Is the problem possibly in my xorg.conf options? Should I be loading
viaXvMC or XvMC in xorg.conf? I'm including a list of lsmod and my
xorg.conf in case they are a help.

I really appreciate your help on this. I'm lost at this point.

Roger
---------------------------------------------
LSMOD
--------------------------------------------
Module                  Size  Used by
via                    37792  1
drm                    67704  2 via
ivtv_fb                39132  0
tda9887                12728  0
tuner                  26760  0
ivtv                  217236  3 ivtv_fb
saa7127                12348  0
saa7115                14296  0
msp3400                25672  0
via_ircc               23316  0
via_agp                 7648  1
agpgart                29608  2 drm,via_agp
snd_pcm_oss            48128  0
snd_mixer_oss          17152  1 snd_pcm_oss
snd_seq_oss            32384  0
snd_seq_midi_event      6272  1 snd_seq_oss
snd_seq                49744  4 snd_seq_oss,snd_seq_midi_event
bttv                  148880  0
video_buf              17636  1 bttv
i2c_algo_bit            8808  2 ivtv,bttv
btcx_risc               3912  1 bttv
tveeprom               11640  1 bttv
lirc_i2c                6756  1
i2c_core               17840  9
tda9887,tuner,saa7127,saa7115,msp3400,bttv,i2c_algo_bit,tveeprom,lirc_i2c
lirc_dev               11500  1 lirc_i2c
at76c503_rfmd           4972  0
at76c503              102144  1 at76c503_rfmd
at76_usbdfu             6052  1 at76c503
irda                  113496  1 via_ircc
snd_via82xx            22720  0
snd_ac97_codec         79768  1 snd_via82xx
snd_pcm                83144  3 snd_pcm_oss,snd_via82xx,snd_ac97_codec
snd_timer              21220  2 snd_seq,snd_pcm
snd_page_alloc          7620  2 snd_via82xx,snd_pcm
snd_mpu401_uart         6176  1 snd_via82xx
snd_rawmidi            20384  1 snd_mpu401_uart
snd_seq_device          6860  3 snd_seq_oss,snd_seq,snd_rawmidi
snd                    46916  11
snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore               7552  1 snd
usb_storage            47780  0
ehci_hcd               43304  0
uhci_hcd               30732  0
ohci_hcd               33668  0
-------------------------------------------------
CODE:   xorg.conf
------------------------------------------------Section "Extensions"
    Option "Composite" "Enable"
EndSection

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/lib/X11/rgb"
        ModulePath   "/usr/lib/modules"
        FontPath     "/usr/share/fonts/100dpi:unscaled/"
        FontPath     "/usr/share/fonts/misc:unscaled/"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/CID/"
        FontPath     "/usr/share/fonts/75dpi:unscaled/"
EndSection

Section "Module"
        Load  "record"
        Load  "extmod"
        Load  "dbe"
        Load  "dri"
        Load  "glx"
        Load  "xtrap"
        Load  "freetype"
        Load  "type1"
EndSection

Section "DRI"
    Mode 0666
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Device" "/dev/mouse"
        Option      "ZAxisMapping"      "4 5"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        DisplaySize     183 122
        ModelName    "Monitor Model"
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "via"
        VendorName  "VIA"
        BoardName   "cle266"
        VideoRam    32768
        BusID       "PCI:1:0:0"
        Option      "DisableIRQ"
        Option      "EnableAGPDMA"   "True"
        Option      "TVType"         "NTSC"     # [<str>]
        Option      "TVOutput"       "S-Video"          # [<str>]
        Option      "ActiveDevice"   "CRT,TV"
        Option      "TVDotCrawl"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth    24
        SubSection "Display"
        Depth       24
        Modes  "1024x768" "800x600" "720x480" "640x480"
        Viewport   0 0
        EndSubSection
EndSection
-------------------------------------------------------

 >Date: Wed, 02 Nov 2005 20:31:55 +0100
 >From: Jonas Pedersen <jonas at chown.dk>
 >Subject: Re: [mythtv-users] Re: mythtv-users Digest, Vol 33, Issue 144
 >To: Discussion about mythtv <mythtv-users at mythtv.org>
 >Message-ID: <4369142B.1070808 at chown.dk>
 >Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 >
 >Roger McClurg wrote:
 >
 >
 >
 >>>First of all tuning settings; for me making sure that
 >>>transports are correctly configured for DVB.
 >>>
 >>>Then, Playback Settings
 >>>
 >>>- enable VIA XvMC, not the generic XvMC
 >>>
 >>>
 >>Everything you suggest is done except this. I can't find XvMC or VIA
 >>XvMC as an option anywhere. Where is this found?
 >>
 >>
 >
 >You find it under the Playback menu in the Setup section. One of the
 >pages contains a checkbox for XvMC (both for VIA and non VIA).
 >
 >
 >
 >



snd_mixer_oss          17152  1 snd_pcm_oss
snd_seq_oss            32384  0
snd_seq_midi_event      6272  1 snd_seq_oss
snd_seq                49744  4 snd_seq_oss,snd_seq_midi_event
bttv                  148880  0
video_buf              17636  1 bttv
i2c_algo_bit            8808  2 ivtv,bttv
btcx_risc               3912  1 bttv
tveeprom               11640  1 bttv
lirc_i2c                6756  1
i2c_core               17840  9
tda9887,tuner,saa7127,saa7115,msp3400,bttv,i2c_algo_bit,tveeprom,lirc_i2c
lirc_dev               11500  1 lirc_i2c
at76c503_rfmd           4972  0
at76c503              102144  1 at76c503_rfmd
at76_usbdfu             6052  1 at76c503
irda                  113496  1 via_ircc
snd_via82xx            22720  0
snd_ac97_codec         79768  1 snd_via82xx
snd_pcm                83144  3 snd_pcm_oss,snd_via82xx,snd_ac97_codec
snd_timer              21220  2 snd_seq,snd_pcm
snd_page_alloc          7620  2 snd_via82xx,snd_pcm
snd_mpu401_uart         6176  1 snd_via82xx
snd_rawmidi            20384  1 snd_mpu401_uart
snd_seq_device          6860  3 snd_seq_oss,snd_seq,snd_rawmidi
snd                    46916  11
snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore               7552  1 snd
usb_storage            47780  0
ehci_hcd               43304  0
uhci_hcd               30732  0
ohci_hcd               33668  0
-------------------------------------------------
CODE:   xorg.conf
------------------------------------------------Section "Extensions"
    Option "Composite" "Enable"
EndSection

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/lib/X11/rgb"
        ModulePath   "/usr/lib/modules"
        FontPath     "/usr/share/fonts/100dpi:unscaled/"
        FontPath     "/usr/share/fonts/misc:unscaled/"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/CID/"
        FontPath     "/usr/share/fonts/75dpi:unscaled/"
EndSection

Section "Module"
        Load  "record"
        Load  "extmod"
        Load  "dbe"
        Load  "dri"
        Load  "glx"
        Load  "xtrap"
        Load  "freetype"
        Load  "type1"
EndSection

Section "DRI"
    Mode 0666
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Device" "/dev/mouse"
        Option      "ZAxisMapping"      "4 5"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        DisplaySize     183 122
        ModelName    "Monitor Model"
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "via"
        VendorName  "VIA"
        BoardName   "cle266"
        VideoRam    32768
        BusID       "PCI:1:0:0"
        Option      "DisableIRQ"
        Option      "EnableAGPDMA"   "True"
        Option      "TVType"         "NTSC"     # [<str>]
        Option      "TVOutput"       "S-Video"          # [<str>]
        Option      "ActiveDevice"   "CRT,TV"
        Option      "TVDotCrawl"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth    24
        SubSection "Display"
        Depth       24
        Modes  "1024x768" "800x600" "720x480" "640x480"
        Viewport   0 0
        EndSubSection
EndSection
-------------------------------------------------------

>Date: Wed, 02 Nov 2005 20:31:55 +0100
>From: Jonas Pedersen <jonas at chown.dk>
>Subject: Re: [mythtv-users] Re: mythtv-users Digest, Vol 33, Issue 144
>To: Discussion about mythtv <mythtv-users at mythtv.org>
>Message-ID: <4369142B.1070808 at chown.dk>
>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>Roger McClurg wrote:
>
>  
>
>>>First of all tuning settings; for me making sure that
>>>transports are correctly configured for DVB.
>>>
>>>Then, Playback Settings
>>>
>>>- enable VIA XvMC, not the generic XvMC
>>>      
>>>
>>Everything you suggest is done except this. I can't find XvMC or VIA 
>>XvMC as an option anywhere. Where is this found?
>>    
>>
>
>You find it under the Playback menu in the Setup section. One of the 
>pages contains a checkbox for XvMC (both for VIA and non VIA).
>
>
>  
>




More information about the mythtv-users mailing list