Hi,
It is great idea to resolve recording problem,
it always was a big pain to record and watch separately !
Iurie
----- Original Message -----
From: <marvel-linux-request@...>
To: <marvel-linux@...>
Sent: Friday, July 19, 2002 3:06 PM
Subject: Marvel-linux digest, Vol 1 #550 - 4 msgs
> Send Marvel-linux mailing list submissions to
> marvel-linux@...
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sourceforge.net/lists/listinfo/marvel-linux
> or, via email, send a message with subject or body 'help' to
> marvel-linux-request@...
>
> You can reach the person managing the list at
> marvel-linux-admin@...
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Marvel-linux digest..."
>
>
> Today's Topics:
>
> 1. G400+RRG not recording any (Benjamin Larsson)
> 2. Re: G400+RRG not recording any (Leon van Stuivenberg)
> 3. Re: G400 CRTC2 grabbing? (Leon van Stuivenberg)
> 4. Re: G400+RRG not recording any (Benjamin Larsson)
>
> --__--__--
>
> Message: 1
> Date: Thu, 18 Jul 2002 21:27:09 +0200
> From: Benjamin Larsson <banan@...>
> To: marvel-linux@...
> Subject: [Marvel-linux] G400+RRG not recording any
>
> Hi, I just got a G400 with a RRG card. I followed the guides and
> installed the driver, I can use xawtv (tv-tuner/composite) with overlay
> enabled but not with grab-display. I assume thats why I can't use lavrec
> to record video. So what do I need to get it to work ? I've searched the
> site and the mail archive.
>
> System info:
> Matrox G400 dualhead version +RRG
> Amd Duron
> Aopen AK77 MB
> Linux with 2.4.18 kernel
> Videodrivers from Matrox
> XFree 4.1.0
> Latest noncvs driver from marvel.sf.net
>
>
> /Benjamin Larsson
>
>
>
> --__--__--
>
> Message: 2
> Date: Fri, 19 Jul 2002 07:27:28 +0200
> From: Leon van Stuivenberg <leonvs@...>
> To: Benjamin Larsson <banan@...>
> Cc: marvel-linux@...
> Subject: Re: [Marvel-linux] G400+RRG not recording any
>
> > enabled but not with grab-display. I assume thats why I can't use lavrec
> > to record video.
>
> What messages does lavrec give? Please also check /var/log/messages for
> errors, and perhaps enable debug output (see iv4l1) and reload the
> drivers and check/post messages again.
>
> <leon/>
>
>
>
> --__--__--
>
> Message: 3
> Date: Fri, 19 Jul 2002 08:49:01 +0200
> From: Leon van Stuivenberg <leonvs@...>
> To: =?ISO-8859-1?Q?Ville_Syrj=E4l=E4?= <syrjala@...>
> Cc: marvel-linux@...
> Subject: Re: [Marvel-linux] G400 CRTC2 grabbing?
>
> >>>Does the mgavideo driver support grabbing the CRTC2 data?
> >
> > Any pointers on where in the source to look for implementing this? I
> > suppose it should have it's own struct video_device. Looks to me like it
>
> Yes, that would be most consistent with the other parts; mgavideo deals
> with the ks0127/mjpeg rec/playback, i34 deals with dvd playback, and a
> new module could deal with crtc2 'playback'. So a new /dev/videoN entry.
>
> > should use the stuff in mgagrab.c. Overlay mode for now would be
> > sufficient.
>
> True again; mgagrab for putting stuff of the vip bus onto the screen,
> mgacap for actually capturing that data to user memory/disk.
>
> One issue might be getting the information about the signal which is on
> the vip bus; since no part of the driver currently programs crtc2, it
> might be necessary to read back the crct2 params (if possible; i don't
> remember which regs are write-only), or just hack in fixed params (e.g.
> pal).
>
> How do you setup crtc2 btw? Are you using mga.o from matrox, or fbdev,
> or...?
>
> I have some time (vacation) to help you implementing this new function
> if you like;
>
> <leon/>
>
>
>
> --__--__--
>
> Message: 4
> Date: Fri, 19 Jul 2002 20:47:10 +0200
> From: Benjamin Larsson <banan@...>
> To: marvel-linux@...
> Subject: Re: [Marvel-linux] G400+RRG not recording any
>
> Here we go. Some complaints about Virtual IRQ:s and the videodev is in the
kernel (I think).
>
> I tried the cvs too, but no change except that the tuner wouldn't work.
(Files were missing).
>
> Loading the driver causes havoc on my second monitor too. Loading the
driver in X makes it go
> into standby mode, wakes up after a Ctrl-Alt-F1 and a Alt-F7.
>
> /Benjamin
>
> ############# XFree config ##############
>
> Section "ServerLayout"
> Identifier "Matrox PowerDesk configured."
> Screen "Display 1" LeftOf "Display 2"
> Screen "Display 2" 0 0
> InputDevice "Mouse1" "CorePointer"
> InputDevice "Keyboard1" "CoreKeyboard"
> EndSection
>
> Section "Files"
> RgbPath "/usr/X11R6/lib/X11/rgb"
> FontPath "/usr/local/share/fonts/ttfonts"
> FontPath "/usr/X11R6/lib/X11/fonts/misc/"
> FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
> FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
> FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
> FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
> FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
> FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
> FontPath "unix/:7100"
> EndSection
>
> Section "Module"
> Load "GLcore"
> Load "bitmap"
> Load "dbe"
> Load "ddc"
> Load "extmod"
> Load "freetype"
> Load "glx"
> Load "int10"
> Load "pex5"
> Load "record"
> Load "speedo"
> Load "type1"
> Load "vbe"
> Load "xie"
> EndSection
>
> Section "ServerFlags"
> # Option "Xinerama"
> EndSection
>
> Section "InputDevice"
> Identifier "Keyboard1"
> Driver "Keyboard"
> Option "AutoRepeat" "500 30"
> Option "XkbRules" "xfree86"
> Option "XkbModel" "pc101"
> Option "XkbLayout" "se"
> EndSection
>
> Section "InputDevice"
> Identifier "Mouse1"
> Driver "mouse"
> Option "Protocol" "IMPS/2"
> Option "Device" "/dev/mouse"
> Option "ZAxisMapping" "4 5"
> EndSection
>
> Section "Monitor"
> Identifier "Display 1"
> HorizSync 30,0 - 85,0
> VertRefresh 47,0 - 160,0
> EndSection
>
> Section "Monitor"
> Identifier "Display 2"
> HorizSync 30,0 - 85,0
> VertRefresh 47,0 - 160,0
> EndSection
>
> Section "Device"
> Identifier "MATROX CARD 1"
> Driver "mga"
> VendorName "Unknown"
> BoardName "Unknown"
> BusID "PCI:1:0:0"
> EndSection
>
> Section "Device"
> Identifier "MATROX CARD 2"
> Driver "mga"
> VideoRam 32768
> Option "AGPMode" "4"
> BusID "PCI:1:0:0"
> Screen 1
> EndSection
>
> Section "Screen"
> Identifier "Display 1"
> Device "MATROX CARD 1"
> Monitor "Display 1"
> DefaultDepth 24
> DefaultFbBPP 32
> SubSection "Display"
> Depth 8
> Modes "1280x1024" "1024x768" "800x600" "640x480"
> EndSubSection
> SubSection "Display"
> Depth 16
> Modes "1280x1024" "1024x768" "800x600" "640x480"
> EndSubSection
> SubSection "Display"
> Depth 24
> Modes "1280x1024" "1024x768" "800x600" "640x480"
> EndSubSection
> EndSection
>
> Section "Screen"
> Identifier "Display 2"
> Device "MATROX CARD 2"
> Monitor "Display 2"
> DefaultDepth 24
> DefaultFbBPP 32
> SubSection "Display"
> Depth 24
> Modes "1024x768" "800x600" "640x480"
> EndSubSection
> SubSection "Display"
> Depth 8
> Modes "1024x768" "800x600" "640x480"
> EndSubSection
> SubSection "Display"
> Depth 16
> Modes "1024x768" "800x600" "640x480"
> EndSubSection
> EndSection
>
> Section "DRI"
> Mode 0666
> EndSection
>
>
>
>
> ############# ./iv4l1 ###################
>
> banan:/home/banan/mgavideo-0.1.0/driver# ./iv4l1
> i2c-core.o: i2c core module
> Warning: loading i2c-algo-ks.o will taint the kernel: no license
> i2c-algo-ks.o: i2c bit algorithm module
> Matrox core interface v0.1 (c) David Barth
> mgacore: Found MGA G400
> mgacore: 32 MB detected
> mgacore: PCI IRQ 10 handler registered
> mgacore: alloc 263168 (0x40400) at 01fbf800
> mgacore: VIRQs 0 enabled, but wanted 1
> mgacore: VIRQs 0 enabled, but wanted 3
> mgacore: VIRQs 0 enabled, but wanted 7
> mgacodec: *mga @ d094b180
> display 640 x 400 depth 32
> display pitch 1280 (offs 40, i0)
> Warning: loading i2c-algo-ks.o will taint the kernel: no license
> i2c-algo-ks.o: i2c bit algorithm module
> Matrox core interface v0.1 (c) David Barth
> mgacore: Found MGA G400
> mgacore: 32 MB detected
> mgacore: PCI IRQ 10 handler registered
> mgacore: alloc 263168 (0x40400) at 01fbf800
> mgacore: VIRQs 0 enabled, but wanted 1
> mgacore: VIRQs 0 enabled, but wanted 3
> mgacore: VIRQs 0 enabled, but wanted 7
> mgacodec: *mga @ d094b180
> display 640 x 400 depth 32
> display pitch 1280 (offs 40, i0)
> clk opt x50534120 x00003000 x0190a419
> clk syspll 165008 pixpll 28403 pixel 28403
> clk grafix 82504 memory 165008 warp 82504
> clk codec 33000
> i2c-algo-ks.o: scanning bus mgai2c.
>
(00)...............................................................(40).....
.............................(63)........(6c)...................
> tuner: chip found @ 0x63
> adap_reg_client 63
> ks0127: reset
> ks0127: ks0127 found
> ks0127: attach: on-board video decoder
> display pitch 1280 (offs 40, i0)
> clk opt x50534120 x00003000 x0190a419
> clk syspll 165008 pixpll 28403 pixel 28403
> clk grafix 82504 memory 165008 warp 82504
> clk codec 33000
> i2c-algo-ks.o: scanning bus mgai2c.
>
(00)...............................................................(40).....
.............................(63)........(6c)...................
> tuner: chip found @ 0x63
> adap_reg_client 63
> ks0127: reset
> ks0127: ks0127 found
> ks0127: attach: on-board video decoder
> adap_reg_client 6c
> adap_reg_client: Detected KS0127 in RRG fashion
> msp34xx: init: chip=MSP3410D-B4, has NICAM support
> msp3410: daemon started
> adap_reg_client 40
> Matrox KS switchboard
> tuner: get address 63
> _detect_tvt: tuner_addr is 0xc6
> tuner: type set to 3 (Philips SECAM)
> insmod: videodev: no module by that name found
> Matrox Marvel and Rainbow Runner G Capture Driver (V4L)
> mgacore: alloc 901440 (0xdc140) at 01ee36b0
> ks0127: attach: on-board video decoder
> adap_reg_client 6c
> adap_reg_client: Detected KS0127 in RRG fashion
> msp34xx: init: chip=MSP3410D-B4, has NICAM support
> msp3410: daemon started
> adap_reg_client 40
> Matrox KS switchboard
> tuner: get address 63
> _detect_tvt: tuner_addr is 0xc6
> tuner: type set to 3 (Philips SECAM)
> insmod: videodev: no module by that name found
> Matrox Marvel and Rainbow Runner G Capture Driver (V4L)
> mgacore: alloc 901440 (0xdc140) at 01ee36b0
> mgacore: alloc 901440 (0xdc140) at 01e07560
> mgacore: alloc 92160 (0x16800) at 01df0d50
> Matrox MJPEG driver
> mgavideo vbus_set_dir 0
> clk opt x50534120 x00003000 x0190a419
> clk syspll 165008 pixpll 28403 pixel 28403
> clk grafix 82504 memory 165008 warp 82504
> clk codec 33000
> i33_cbus_get_dir=2
> i33_cbus_get_dir=2
> i33_cbus_set_dir 0
> mgacodec: starting reset
> mgacore: alloc 901440 (0xdc140) at 01ee36b0
> mgacore: alloc 901440 (0xdc140) at 01e07560
> mgacore: alloc 92160 (0x16800) at 01df0d50
> Matrox MJPEG driver
> mgavideo vbus_set_dir 0
> clk opt x50534120 x00003000 x0190a419
> clk syspll 165008 pixpll 28403 pixel 28403
> clk grafix 82504 memory 165008 warp 82504
> clk codec 33000
> i33_cbus_get_dir=2
> i33_cbus_get_dir=2
> i33_cbus_set_dir 0
> mgacodec: starting reset
> CS 50 0x00003000
> mgacore: check_irqs 6 enabled, wanted 7
> mgacodec: reset codec done
> i33_cbus_get_dir=0
> mgacodec: starting reset
> CS 50 0x00003000
> mgacore: check_irqs 6 enabled, wanted 7
> mgacodec: reset codec done
> mga0-i33: zr36060 found revision 1
> mga0-zr36060: attaching zr36060
> mga0-zr36060: reset codec interface
> i33_cbus_get_dir=2
> i33_cbus_set_dir 0
> mgacodec: starting reset
> CS 50 0x00003000
> mgacore: check_irqs 6 enabled, wanted 7
> mgacodec: reset codec done
> i33_cbus_get_dir=0
> mgacodec: starting reset
> CS 50 0x00003000
> mgacore: check_irqs 6 enabled, wanted 7
> mgacodec: reset codec done
> Matrox Marvel and Rainbow Runner G Capture Driver (V4L1)
>
>
>
> ############# Lavrec ####################
>
> banan:/home/banan/mgavideo-0.1.0/driver# lavrec -f a -i -d 2
> comptest.avi
> mgagrab active 1
> mgabus_get_input: no input
> mgabus_get_format: no source/input
> mgagrab: get_format failed
> clk opt x50534120 x00003000 x0190a419
> clk syspll 165008 pixpll 28403 pixel 28403
> clk grafix 82504 memory 165008 warp 82504
> clk codec 33000
> display 640 x 400 depth 32
> display 640 x 400 depth 32
> mgabus_get_input: no input
> mgabus_get_format: no source/input
> mgagrab: get_format failed
> mgacore: VIRQs 6 enabled, but wanted 7
> mgacap: opening device
> mgacap: opening device
> V4L-mgavideo-0: buz ioctl BUZIOC_G_STATUS
> V4L-mgavideo-0: buz ioctl BUZIOC_G_STATUS
> **ERROR: [lavrec] Input signal on more thn one input source... exiting
> ++ WARN: [lavrec] Not ready for capture (state = 0)!
>
> Press enter to start recording>Recording time : 0.00.00:00
> display 640 x 400 depth 32
> mgabus_get_input: no input
> mgabus_get_format: no source/input
> mgagrab: get_format failed
> mgacore: VIRQs 6 enabled, but wanted 7
> mgacap: opening device
> mgacap: opening device
> V4L-mgavideo-0: buz ioctl BUZIOC_G_STATUS
> V4L-mgavideo-0: buz ioctl BUZIOC_G_STATUS
> **ERROR: [lavrec] Input signal on more thn one input source... exiting
> ++ WARN: [lavrec] Not ready for capture (state = 0)!
>
> Press enter to start recording>Recording time : 0.00.00:00
> Lost frames : 000
> A/V sync ins/del: 000/000
> Audio errors : 000
> banan:/home/banan/mgavideo-0.1.0/driver# mgacap: closing device
> mgacap: closing device
> mga0-zr36060: ioctl ZR36060_SET_MODE
> mga0-zr36060: Setting mode 0x0
> zr: already in mode 0, ignoring jpg_enable
> mga0-zr36060: ioctl ZR36060_CANBUFS
> mgacore: no sub-handler for VIRQ 0x0 to remove!
> mgagrab d-active 0
>
>
> ########## ./rv4l1 ######################
>
> rmmod: module mgadvd is not loaded
> mgacore: no sub-handler for VIRQ 0x0 to remove!
> mgacore: free 92160 (0x16800)
> mgacore: free 901440 (0xdc140)
> mgacore: free 901440 (0xdc140)
> rmmod: module i34 is not loaded
> mgacore: no sub-handler for VIRQ 0x0 to remove!
> cleanup for card 0
> adap_unreg_client 63
> adap_unreg_client 6c
> ks0127: detach
> msp3410: thread: exit
> adap_unreg_client 40
> mgacore: free 263168 (0x40400)
> mgacore: releasing PCI IRQ 10 handler
> mgacore: PCI IRQ 10 released
> rmmod: module videodev is not loaded
>
>
>
> Leon van Stuivenberg wrote:
>
> >> enabled but not with grab-display. I assume thats why I can't use
> >> lavrec to record video.
> >
> >
> > What messages does lavrec give? Please also check /var/log/messages
> > for errors, and perhaps enable debug output (see iv4l1) and reload the
> > drivers and check/post messages again.
> >
> > <leon/>
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Marvel-linux mailing list
> > Marvel-linux@...
> > https://lists.sourceforge.net/lists/listinfo/marvel-linux
>
>
>
>
>
>
>
> --__--__--
>
> _______________________________________________
> Marvel-linux mailing list
> Marvel-linux@...
> https://lists.sourceforge.net/lists/listinfo/marvel-linux
>
>
> End of Marvel-linux Digest
>
|