[mythtv-users] X Output on PVR-350
Rajeev Goonewardene
fedora at ready2think.com
Fri Jan 13 00:36:13 UTC 2006
The xorg-x11 difference might be the problem. I don't think it is the
cx8800 errors in the dmesg output - I have the same issues in my
dmesg output. There is one thing you should try, from your xorg.conf
file, I saw the following:
>
> Section "Monitor"
> Identifier "NTSC Monitor"
> HorizSync 30-68
> VertRefresh 50-120
> Mode "720x576"
> # 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
> Option "DPMS"
> EndSection
The mode you have set is 720x576 - I am not an X expert but I think
that is a PAL resolution - my xorg.conf for an NTSC tv has the mode
of 720x480. Try changing the mode to 720x480, restart your machine
and see what happens. Here is my "Monitor" section:
======
Section "Monitor"
Identifier "NTSC Monitor"
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
=====
If that doesn't work, try making sure that your xorg-x11 is the same
version as what I have below. Let me know how it works out.
Rajeev.
David R Robison wrote:
> Message: 19
> Date: Thu, 12 Jan 2006 18:50:08 -0500
> From: David R Robison <drrobison1 at cox.net>
> Subject: Re: [mythtv-users] X Output on PVR-350
> To: Discussion about mythtv <mythtv-users at mythtv.org>
> Message-ID: <43C6EB30.9070405 at cox.net>
> Content-Type: text/plain; charset="iso-8859-1"
>
> The only difference is that my xorg-x11 does not have the _4rhfc4.at
> extention. Here is my dmesg - What I do notice is the problems with
> cx8800
>
> ivtv: ==================== START INIT IVTV ====================
> ivtv: version 0.4.1 (tagged release) loading
> ivtv: Linux version: 2.6.14-1.1653_FC4 586 REGPARM 4KSTACKS gcc-4.0
> ivtv: In case of problems please include the debug info between
> ivtv: the START INIT IVTV and END INIT IVTV lines, along with
> ivtv: any module options, when mailing the ivtv-users mailinglist.
> ivtv0: Autodetected WinTV PVR 350 card (cx23415 based)
> ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
> PCI: setting IRQ 10 as level-triggered
> ACPI: PCI Interrupt 0000:00:0b.0[A] -> Link [LNKB] -> GSI 10 (level,
> low) -> IRQ 10
> ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
> tveeprom: ivtv version
> tveeprom: Hauppauge: model = 48132, rev = K268, serial# = 8082750
> tveeprom: tuner = LG TAPE H001F MK3 (idx = 68, type = 47)
> tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
> tveeprom: audio processor = MSP4448 (type = 1b)
> tveeprom: decoder processor = SAA7115 (type = 13)
> ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
> tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
> ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
> saa7115 0-0021: ivtv driver
> saa7115 0-0021: saa7115 found @ 0x42 (ivtv i2c driver #0)
> ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21]
> saa7127 0-0044: ivtv driver
> saa7127 0-0044: saa7129 found @ 0x88 (ivtv i2c driver #0)
> ivtv0: i2c attach to card #0 ok [client=saa7127, addr=44]
> msp3400 0-0040: ivtv driver
> msp3400 0-0040: chip=MSP4448G-A2 +nicam +simple +simpler +radio
> mode=simpler
> ivtv0: i2c attach to card #0 ok [client=MSP4448G-A2, addr=40]
> msp3400 0-0040: msp34xxg daemon started
> tda9885/6/7: chip found @ 0x86
> ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43]
> ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
> ivtv0: loaded v4l-cx2341x-dec.fw firmware (262144 bytes)
> ivtv0: Encoder revision: 0x02040024
> ivtv0 warning: Encoder Firmware can be buggy, use version
> 0x02040011 or
> 0x02050032.
> ivtv0: Decoder revision: 0x02020023
> ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers
> (4096KB total)
> ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB
> total)
> ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB
> total)
> ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers
> (2048KB
> total)
> ivtv0: Create encoder radio stream
> ivtv0: Allocate DMA decoder MPEG stream: 16 x 65536 buffers (1024KB
> total)
> ivtv0: Allocate DMA decoder VBI stream: 512 x 2048 buffers (1024KB
> total)
> ivtv0: Create decoder VOUT stream
> ivtv0: Allocate DMA decoder YUV stream: 24 x 43200 buffers (1024KB
> total)
> ivtv0: loaded v4l-cx2341x-init-mpeg.bin firmware (155648 bytes)
> tuner 0-0061: type set to 47 (LG NTSC (TAPE series))
> ivtv0: Initialized WinTV PVR 350, card #0
> ivtv: ==================== END INIT IVTV ====================
> ivtv0-osd: Framebuffer module loaded (attached to ivtv card id 0)
> ivtv0-osd warning: Framebuffer is at decoder-relative address
> 0x00510000
> and has 1704960 bytes.
> ivtv0-osd: screen coords: [0 0] -> [720 480]
> ivtv0-osd: original global alpha = 208
> ivtv0-osd: current OSD state = 39
> ivtv0-osd: new global alpha = 208 (1 255 0)
> ivtv0-osd: framebuffer at 0xe1510000, mapped to 0xc8a90000, size 1350k
> ivtv0-osd: mode is 720x480x32, linelength=2880
> ivtv0-osd: fb1: cx23415 TV out frame buffer device
> ivtv0: Allocate DMA decoder OSD stream: 16 x 65536 buffers (1024KB
> total)
> spurious 8259A interrupt: IRQ7.
> lirc_dev: IR Remote Control driver registered, at major 61
> cx88xx: disagrees about version of symbol tveeprom_hauppauge_analog
> cx88xx: Unknown symbol tveeprom_hauppauge_analog
> cx8800: Unknown symbol cx88_reset
> cx8800: Unknown symbol cx88_call_i2c_clients
> cx8800: Unknown symbol cx88_wakeup
> cx8800: Unknown symbol cx88_risc_stopper
> cx8800: Unknown symbol cx88_print_irqbits
> cx8800: Unknown symbol cx88_set_scale
> cx8800: Unknown symbol cx88_shutdown
> cx8800: Unknown symbol cx88_vdev_init
> cx8800: Unknown symbol cx88_core_put
> cx8800: Unknown symbol cx88_audio_thread
> cx8800: Unknown symbol cx88_core_irq
> cx8800: Unknown symbol cx88_core_get
> cx8800: Unknown symbol cx88_get_stereo
> cx8800: Unknown symbol cx88_set_tvnorm
> cx8800: Unknown symbol cx88_risc_buffer
> cx8800: Unknown symbol cx88_set_stereo
> cx8800: Unknown symbol cx88_sram_channels
> cx8800: Unknown symbol cx88_set_tvaudio
> cx8800: Unknown symbol cx88_sram_channel_dump
> cx8800: Unknown symbol cx88_sram_channel_setup
> cx8800: Unknown symbol cx88_print_ioctl
> cx8800: Unknown symbol cx88_free_buffer
> cx8800: Unknown symbol cx88_boards
> cx8800: Unknown symbol cx88_newstation
> lirc_i2c: chip found @ 0x18 (Hauppauge IR)
> ivtv0: i2c attach to card #0 ok [client=Hauppauge IR, addr=18]
> lirc_dev: lirc_register_plugin: sample_rate: 10
> ali1535_smbus 0000:00:03.0: SMB device not enabled - upgrade BIOS?
> ali1535_smbus 0000:00:03.0: ALI1535 not detected, module not inserted.
> shpchp: acpi_shpchprm:\_SB_.PCI0 evaluate _BBN fail=0x5
> shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x5
> ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI)
> Driver (PCI)
> ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 9
> PCI: setting IRQ 9 as level-triggered
> ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [LNKE] -> GSI 9 (level,
> low)
> -> IRQ 9
> PCI: Setting latency timer of device 0000:00:02.0 to 64
> ohci_hcd 0000:00:02.0: OHCI Host Controller
> ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 1
> ohci_hcd 0000:00:02.0: irq 9, io mem 0xdb000000
> hub 1-0:1.0: USB hub found
> hub 1-0:1.0: 2 ports detected
> usb 1-2: new full speed USB device using ohci_hcd and address 2
> ndiswrapper: driver rt2500usb (BELKIN,07/15/2004, 1.02.00.0000) loaded
> NET: Registered protocol family 10
> Disabled Privacy Extensions on device c038e3e0(lo)
> IPv6 over IPv4 tunneling driver
> wlan0: vendor: 'Ralink Technology Inc.'
> wlan0: ndiswrapper ethernet device 00:11:50:78:2a:b3 using driver
> rt2500usb, 050D:7050.F.conf
> wlan0: encryption modes supported: WEP; TKIP with WPA; AES/CCMP
> with WPA
> ACPI: Power Button (FF) [PWRF]
> ibm_acpi: ec object not found
> md: Autodetecting RAID arrays.
> md: autorun ...
> md: ... autorun DONE.
> device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-
> devel at redhat.com
> cdrom: open failed.
> cdrom: open failed.
> EXT3 FS on hda3, internal journal
> kjournald starting. Commit interval 5 seconds
> EXT3 FS on hda1, internal journal
> EXT3-fs: mounted filesystem with ordered data mode.
> JFS: nTxBlock = 859, nTxLock = 6876
> Adding 522104k swap on /dev/hda2. Priority:-1 extents:1 across:
> 522104k
>
> Here is my xorg.conf
>
> # XFree86 4 configuration created by pyxf86config
>
> Section "ServerLayout"
> Identifier "Default Layout"
> Screen 0 "Screen0" 0 0
> InputDevice "Mouse0" "CorePointer"
> InputDevice "Keyboard0" "CoreKeyboard"
> EndSection
>
> Section "Files"
>
> # RgbPath is the location of the RGB database. Note, this is the name
> of the
> # file minus the extension (like ".txt" or ".db"). There is normally
> # no need to change the default.
> # Multiple FontPath entries are allowed (they are concatenated
> together)
> # By default, Red Hat 6.0 and later now use a font server
> independent of
> # the X server to render fonts.
> 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"
>
> # Specify which keyboard LEDs can be user-controlled (eg, with xset
> (1))
> # Option "Xleds" "1 2 3"
> # To disable the XKEYBOARD extension, uncomment XkbDisable.
> # Option "XkbDisable"
> # To customise the XKB settings to suit your keyboard, modify the
> # lines below (which are the defaults). For example, for a non-U.S.
> # keyboard, you will probably want to use:
> # Option "XkbModel" "pc102"
> # If you have a US Microsoft Natural keyboard, you can use:
> # Option "XkbModel" "microsoft"
> #
> # Then to change the language, change the Layout setting.
> # For example, a german layout can be obtained with:
> # Option "XkbLayout" "de"
> # or:
> # Option "XkbLayout" "de"
> # Option "XkbVariant" "nodeadkeys"
> #
> # If you'd like to switch the positions of your capslock and
> # control keys, use:
> # Option "XkbOptions" "ctrl:swapcaps"
> # Or if you just want both to be control, use:
> # Option "XkbOptions" "ctrl:nocaps"
> #
> 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/input/mice"
> Option "ZAxisMapping" "4 5"
> Option "Emulate3Buttons" "no"
> EndSection
>
> Section "InputDevice"
>
> # If the normal CorePointer mouse is not a USB mouse then
> # this input device can be used in AlwaysCore mode to let you
> # also use USB mice at the same time.
> 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"
> HorizSync 30-68
> VertRefresh 50-120
> Mode "720x576"
> # 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
> Option "DPMS"
> EndSection
>
> Section "Device"
> Identifier "Hauppauge PVR 350 iTVC15 Framebuffer"
> Driver "ivtvdev"
>
> ### change fb1 to whatever your card grabbed
> Option "fbdev" "/dev/fb1"
> Option "ivtv" "/dev/fb1"
>
> ### change the BusID to whatever is reported by lspci,
> ### converted from hex to decimal
> BusID "PCI:0:11:0" # lspci says 00:0b.0
> ### More examples
> #BusID "PCI:0:10:0" # lspci says 00:0a.0
> #BusID "PCI:1:14:0" # lspci says 01:0e.0
> #BusID "PCI:0:5:1" # lspci says 00:05.1
> EndSection
>
> Section "Screen"
> Identifier "Screen0"
> 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
>
> Section "ServerFlags"
> Option "BlankTime" "0"
> Option "StandbyTime" "0"
> Option "SuspendTime" "0"
> Option "OffTime" "0"
> EndSection
>
> Any thoughts?
> Rajeev Goonewardene wrote:
>
>
>> Well, the xrandr support is important since it allows the access to
>> the RandR extension in X. From the man page, the first line of the
>> Description is "Xrandr is used to set the screen size, orientation
>> and/or reflection." My only guess on the cause of the problem is
>> that your current version of X doesn't have the randr extension.
>> Here is the info on my machine querying xorg-x11 package:
>>
>> --[root at pvr mythtv]# rpm -q xorg-x11
>> --xorg-x11-6.8.2-37.FC4.49.2_4.rhfc4.at
>> --[root at pvr mythtv]# rpm -q xorg-x11 --list | grep xrandr
>> --/usr/X11R6/bin/xrandr
>> --/usr/X11R6/man/man1/xrandr.1x.gz
>> --[root at pvr mythtv]# which xrandr
>> --/usr/X11R6/bin/xrandr
>> --[root at pvr mythtv]#
>>
>>
>> If your output to the above commands is different, you might want to
>> do an update - and make sure you followed all the instructions in:
>> http://wilsonet.com/mythtv/fcmyth.php, sections "5. Get your system
>> up-to-date" and "6. Configure 3rd-party package repositories"
>>
>> If this doesn't work, please send the output from the above commands,
>> your xorg.conf file and your dmesg output.
>>
>> Rajeev.
>>
>>
>>> When I try to change the GUI settings in mythfrontend - setup, those
>>> fields are disabled. I also get a message that to use different GUI
>>> settings xrandr support is required. I am not an X (or fedora)
>>> expert.
>>> Any ideas what the problem might be?
>>>
>>> David
>>>
>>> Rajeev Goonewardene wrote:
>>>
>>>
>>>
>>>> David Robison wrote:
>>>>
>>>>
>>>>
>>>>>
>>>>> I've seen some write ups on this problem but I am still unclear
>>>>> how to
>>>>> solve it. I have a PVR-350 card and I'm trying to run the X
>>>>> output on
>>>>> the card. However, the mythtv screens are clipped on all sides. It
>>>>> as if
>>>>> the X screen is larger than the PVR-350 screen. I've tried various
>>>>> changes in my xorg.conf file but that does not seem to make a
>>>>> difference. Any guidence would be appreciated. I'm using the
>>>>> xorg.conf
>>>>> from http://wilsonet.com/mythtv/xorg.conf-PVR350.txt.
>>>>>
>>>>>
>>>>
>>>>
>>>> I had this problem as well with my PVR350 and TV Out on Fedora
>>>> Core 4.
>>>>
>>>> Here are some things to try:
>>>>
>>>> I followed the following document for setup:
>>>>
>>>> http://wilsonet.com/mythtv/fcmyth.php?
>>>> SID&expandables=closed&ivtv=open&pvr350out=open
>>>>
>>>> If you use Fedora Core 4, there is a paragraph about a bug in "urw-
>>>> fonts" package in Fedora Core 4 - this helped somewhat Search for
>>>> "urw-fonts" in the above document.
>>>>
>>>> Next, in the documentation from the mythtv site:
>>>> http://www.mythtv.org/docs/mythtv-HOWTO-23.html
>>>> I followed the directions under "MythTV Dimensions" and played
>>>> around
>>>> with the x/y sizes and offsets and it fixed the screens and things
>>>> seem to work.
>>>>
>>>> I also made changes some as per the section on "Overscan
>>>> Dimensions".
>>>>
>>>> Hope it helps,
>>>>
>>>> Rajeev.
>>>>
>>>> -------------------------------------------------------------------
>>>> --
>>>> ---
>>>>
>>>> _______________________________________________
>>>> mythtv-users mailing list
>>>> mythtv-users at mythtv.org
>>>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>>>
>>>>
>>>>
>>>>
>> ---------------------------------------------------------------------
>> ---
>>
>> _______________________________________________
>> 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