[mythtv-users] Re: X freezing after short time (using
PVR-350/ivtv-fb)
Jarod Wilson
jcw at wilsonet.com
Sun Oct 3 15:21:42 EDT 2004
On Sunday 03 October 2004 08:09, Andrew Plumb wrote:
> Some more info, which may help. Let me know if more/different info
> will help figure out what's going on.
>
> Output from "dmesg | grep -A 70 '= START INIT IVTV ='":
>
> --snip--
>
> ivtv: ==================== START INIT IVTV ====================
> ivtv: version 0.1.10 (0.1.10pre2-ck100z) loading
> ivtv: Linux version: 2.6.8-1.521 686 REGPARM 4KSTACKS gcc-3.3
> ivtv: In case of problems please include the debug info
> ivtv: between the START INIT IVTV and END INIT IVTV lines when
> ivtv: mailing the ivtv-devel mailinglist.
> ivtv: Autodetected WinTV PVR 350 card
> ivtv: Found an iTVC15 based chip
> ACPI: PCI interrupt 0000:00:14.0[A] -> GSI 10 (level, low) -> IRQ 10
> ivtv: Unreasonably low latency timer, setting to 64 (was 32)
> ivtv: pci: VIA detected device: 0x3123 vendor: 0x1106
> tveeprom: Hauppauge: model = 48132, rev = J323, serial# = 2754910
> tveeprom: tuner = Philips FM1236 (idx = 23, type = 2)
> tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
> tveeprom: audio_processor = MSP3440 (type = 11)
> ivtv: i2c attach [client=tveeprom[0],ok]
> ivtv: Tuner Type 2, Tuner formats 0x00001000, Radio: yes, Model
> 0x00a93493, Revision 0x00000001
> ivtv: NTSC tuner detected
> ivtv: Radio detected
> tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
> ivtv: i2c attach [client=(tuner unset),ok]
> saa7115: starting probe for adapter ivtv i2c driver #0 (0x10005)
> saa7115: detecting saa7115 client on address 0x42
> saa7115: writing init values
> ivtv: i2c attach [client=saa7115[0],ok]
> saa7115: status: (1E) 0x48, (1F) 0xc0
> saa7127: video encoder driver version V 0.3 loaded
> saa7127: Selecting NTSC video Standard
> saa7127: Selecting S-Video+Composite
> saa7127: Turn WSS off
> saa7127: Widescreen Mode 4:3 Full Format
> saa7127: Selecting Normal Encoder Input
> saa7127: Enable Video Output
> ivtv: i2c attach [client=saa7127[0],ok]
> msp34xx: init: chip=MSP3448W-A2 +ivtv +nicam +simple +simpler +radio
> ivtv: i2c attach [client=MSP3448W-A2,ok]
> ivtv: Encoder revision: 0x02040011
> ivtv: Decoder revision: 0x02020023
> ivtv: Configuring WinTV PVR 350 card with 9 streams
> ivtv: Create DMA stream 0 using 128 buffers of size 32768
> ivtv: Create DMA stream 1 using 128 buffers of size 32768
> ivtv: Create stream 2 using 128 buffers of size 4096
> ivtv: Create DMA stream 3 using 128 buffers of size 32768
> ivtv: Create stream 4
> ivtv: Create DMA stream 5 using 16 buffers of size 32768
> ivtv: Create stream 6 using 128 buffers of size 4096
> ivtv: Create stream 7
> ivtv: Create DMA stream 8 using 16 buffers of size 32768
> ivtv: Setting Tuner 2
> tuner: type set to 2 (Philips NTSC (FI1236,FM1236 and compatibles)) by
> ivtv i2c driver #0
> ivtv: Setting audio matrix to input 3, output 1
> ivtv: Switching standard to NTSC.
> saa7115: decoder set norm NTSC
> saa7115: set audio: 0x01
> saa7127: Setting Encoder Video Standard
> saa7127: Set NTSC Video Mode
> saa7127: Selecting NTSC video Standard
> ivtv: Initialized WinTV PVR 350, card #0
> ivtv: ==================== END INIT IVTV ====================
All looks good, seems to match up pretty much identially with what I'm seeing.
You even have the same version of the card, it would appear.
> ivtv-osd: Framebuffer module loaded (attached to ivtv card id 0)
> ivtv-osd: Framebuffer is at decoder-relative address 0x00510000 and
> has 1704960 bytes.
> ivtv-osd: screen coords: [0 0] -> [720 480]
> ivtv-osd: original global alpha = 208
> ivtv-osd: current OSD state = 39
> ivtv-osd: new global alpha = 208 (1 255 0)
> ivtv-osd: Good video_base is inside valid allocated space.
> ivtv-osd: framebuffer at 0xe5510000, mapped to 0x20a43000, size 1350k
> ivtv-osd: mode is 720x480x32, linelength=2880
> ivtv-osd: fb0: iTVC15 TV out frame buffer device
> saa7115: decoder set picture bright=128 contrast=63 saturation=64 hue=0
> saa7115: decoder set picture bright=128 contrast=63 saturation=63 hue=0
Only difference here is you're getting fb0, which is what I got when I last
set mine up under FC1, but w/FC2, I'm currently getting fb1. No clue what the
discrepancy, haven't looked into it at all, but it shouldn't matter...
Everything else looks fine there.
> Current /etc/modprobe.conf:
>
> --snip--
>
> # ivtv modules setup
> alias char-major-61 lirc_i2c
> #alias char-major-81 videodev
I don't have that commented out. Had to comment it out w/other (later) ck
versions of ivtv to get the machine not to KP or segfault, but it works like
it should w/ck100z. Doubtful that's the problem, but give reenabling that
line a shot.
> alias char-major-81-0 ivtv
> install ivtv /sbin/modprobe --ignore-install ivtv; /sbin/modprobe ivtv-fb
> install lirc_i2c /sbin/modprobe ivtv; /sbin/modprobe --ignore-install
> lirc_i2c # the rest
> alias eth0 via-rhine
> alias snd-card-0 snd-via82xx
> install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx &&
> /usr/sbin/alsactl restore >/dev/null 2>&1 || :
> remove snd-via82xx { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; };
> /sbin/modprobe -r --ignore-remove snd-via82xx
> alias usb-controller ehci-hcd
> alias usb-controller1 uhci-hcd
Otherwise, your setup looks just like mine.
> And here is my current /etc/X11/xorg.conf without extraneous comments,
> which freezes the system after a minute or so. If I uncomment the
> ServerLayout Screen0 entry and comment out "TV Screen", the system is
> fine. I commented out all the Module section to see if it made a
> difference, but no luck; fbdevhw was already causing problems, so that
> one's been commented out the whole time.
>
> --snip--
>
> Section "ServerLayout"
> Identifier "Default Layout"
> Screen 0 "TV Screen"
> # Screen 0 "Screen0"
> # Screen 1 "TV Screen" RightOf "Screen 1"
> InputDevice "Mouse0" "CorePointer"
> InputDevice "Keyboard0" "CoreKeyboard"
> EndSection
>
> Section "Files"
> RgbPath "/usr/X11R6/lib/X11/rgb"
> FontPath "unix/:7100"
> EndSection
>
> #Section "Module"
> # Load "v4l"
> # Load "dbe"
> # Load "extmod"
> # Load "glx"
> # Load "record"
> # Load "freetype"
> # Load "type1"
> # Load "dri"
> ## cause problems
> # Load "fbdevhw"
> #EndSection
>
> Section "InputDevice"
> Identifier "Keyboard0"
> Driver "kbd"
> 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" "yes"
> EndSection
>
> Section "Monitor"
> Identifier "Monitor0"
> VendorName "Monitor Vendor"
> ModelName "ViewSonic PT771"
> DisplaySize 320 240
> HorizSync 30.0 - 92.0
> VertRefresh 50.0 - 160.0
> Option "dpms"
> EndSection
>
> 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
>
> Section "Device"
> Identifier "Videocard0"
> # Driver "vesa"
> Driver "via"
> VendorName "Videocard vendor"
> BoardName "VIA"
> Option "TVType" "NTSC"
> Option "TVOutput" "S-Video"
> Option "ActiveDevice" "CRT,TV"
> EndSection
>
> Section "Device"
> Identifier "Hauppauge PVR 350 iTVC15 Framebuffer"
> # Driver "fbdev"
> Driver "ivtvdev"
> Option "fbdev" "/dev/fb0" # <-- modify if using another
> device BusID "0:0x14:0" # <-- obtain from lspci (see
> later) EndSection
>
> Section "Screen"
> Identifier "Screen0"
> Device "Videocard0"
> Monitor "Monitor0"
> DefaultDepth 24
> SubSection "Display"
> Viewport 0 0
> Depth 24
> Modes "1024x768" "800x600" "640x480"
> EndSubSection
> EndSection
>
> Section "Screen"
> Identifier "TV Screen"
> Device "Hauppauge PVR 350 iTVC15 Framebuffer"
> Monitor "NTSC Monitor" # <-- select for NTSC
> # Monitor "PAL Monitor" # <-- select for PAL
> DefaultDepth 24
> DefaultFbbpp 32
> Subsection "Display"
> Depth 24
> FbBpp 32
> Modes "720x480" # <-- select for NTSC
> # Modes "720x576" # <-- select for PAL
> EndSubsection
> EndSection
>
> Section "DRI"
> Group 0
> Mode 0666
> EndSection
You have a lot of extra stuff in there that I don't have, could be something
in there causing problems. To be certain, you might try out my xorg.conf,
exactly as posted here:
http://wilsonet.com/mythtv/xorg.conf-PVR350.txt
--
Jarod C. Wilson, RHCE
jcw at wilsonet.com
Got a question? Read this first...
http://catb.org/~esr/faqs/smart-questions.html
MythTV, Fedora Core & ATrpms documentation:
http://wilsonet.com/mythtv/
MythTV Searchable Mailing List Archive
http://www.gossamer-threads.com/lists/mythtv/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20041003/0dba34e9/attachment.pgp
More information about the mythtv-users
mailing list