I think this is more my inexperience with X Server than anything else, but I
have a PVR 350 and PVR 250 installed in an AMD 64 box running 0.3.4s. When I
run startx I get a very odd error that I haven't been able to find anything
about on the net:
...
(II) Loading extension GLX
(II) LoadModule: "ivtvdev"
(II) Loading /usr/lib64/modules/drivers/ivtvdev_drv.o
Fatal server error:
_LoaderFileToMem() lseek() failed: Invalid argument
This is after modprobing both ivtv and ivtv-fb (dmesg output appended
below).
I do know this error has something to do with X not being able to find a
file... could it be that .o file? It does exist:
# ls -la /usr/lib64/modules/drivers/ivtv*
-r--r--r-- 1 root root 16025 May 30 20:23
/usr/lib64/modules/drivers/ivtvdev_drv.o
Has anyone else run into this error? Its a show stopper and has been driving
me nuts for weeks. TV-out works great if I cat the stream to a file, but I
have yet been able to get the frame buffer working.
Below is my xorg.config (comments removed for brevity) and dmesg output
Thanks in advance for any help!
jim
---BEGIN xorg.config
Section "Module"
Load "dbe"
Load "v4l"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "type1"
Load "freetype"
Load "glx"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/CID/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/local/"
EndSection
Section "ServerFlags"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "Auto"
Option "Device" "/dev/misc/psaux"
EndSection
Section "Monitor"
Identifier "NTSC Monitor"
HorizSync 30-68
VertRefresh 50-120
Mode "720x480"
DotClock 34.564
HTimings 720 752 840 928
VTimings 480 484 488 504
Flags "-HSync" "-VSync"
EndMode
EndSection
Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
Driver "vga"
EndSection
Section "Device"
Identifier "Hauppauge PVR 350 iTVC15 Framebuffer"
Driver "ivtvdev"
Option "fbdev" "/dev/fb0"
Option "ivtvdev" "/dev/fb0"
BusID "PCI:0:0:10"
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 "ServerLayout"
Identifier "XFree86 Configured"
Screen 1 "TV Screen"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
---END xorg.config
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.3.4 (s) loading
ivtv: Linux version: 2.6.11-gentoo-r6 SMP gcc-3.4
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:0a.0[A] -> GSI 16 (level, low) -> IRQ 193
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
ivtv: VIA PCI device: 0x0282 vendor: 0x1106
tveeprom: Hauppauge: model = 48132, rev = K168, serial# = 2947428
tveeprom: tuner = LG TAPE H001F MK3 (idx = 68, type = 47)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio_processor = MSP3440 (type = 11)
ivtv: i2c attach [client=tveeprom[50],ok]
ivtv: Tuner Type 47, Tuner formats 0x00001000, Radio: yes, Model 0x00ad1598,
Rev
ision 0x00000001
ivtv: NTSC tuner detected
ivtv: Radio detected
tuner: Ignoring new-style parameters in presence of obsolete ones
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[50],ok]
saa7115: status: (1E) 0x48, (1F) 0xc0
saa7127: Ignoring new-style parameters in presence of obsolete ones
saa7127: video encoder driver version V 0.3 loaded
saa7127: detecting saa7127 client on address 0x88
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[50],ok]
msp34xx: ivtv version
msp34xx: init: chip=MSP3448W-A2, has NICAM support, simple (D) mode, simpler
(G)
no-thread mode
msp34xx: $Id$ compiled on: May 16 2005 20:54:10
ivtv: i2c attach [client=MSP3448W-A2,ok]
ivtv: Encoder revision: 0x02040024
ivtv: Encoder Firmware may be buggy, use version 0x02040011
ivtv: Decoder revision: 0x02020023
ivtv: Configuring WinTV PVR 350 card with 10 streams
ivtv: Registered v4l2 device, streamtype 0 minor 0
ivtv: Create DMA stream 0 using 128 16384 byte buffers 0 kbytes total
ivtv: Registered v4l2 device, streamtype 1 minor 32
ivtv: Create DMA stream 1 using 20 103680 byte buffers 0 kbytes total
ivtv: Registered v4l2 device, streamtype 2 minor 224
ivtv: Create DMA stream 2 using 32 65536 byte buffers 0 kbytes total
ivtv: Registered v4l2 device, streamtype 3 minor 24
ivtv: Create DMA stream 3 using 455 4608 byte buffers 0 kbytes total
ivtv: Registered v4l2 device, streamtype 4 minor 64
ivtv: Create stream 4
ivtv: Registered v4l2 device, streamtype 5 minor 16
ivtv: Create DMA stream 5 using 16 65536 byte buffers 0 kbytes total
ivtv: Registered v4l2 device, streamtype 6 minor 228
ivtv: Create DMA stream 6 using 1024 2048 byte buffers 0 kbytes total
ivtv: Registered v4l2 device, streamtype 7 minor 232
ivtv: Create stream 7
ivtv: Registered v4l2 device, streamtype 8 minor 48
ivtv: Create DMA stream 8 using 20 103680 byte buffers 0 kbytes total
ivtv: Create DMA stream 9 using 32 65536 byte buffers 0 kbytes total
ivtv: Setting Tuner 47
tuner: type set to 47 (LG NTSC (TAPE series)) by ivtv i2c driver #0
saa7115: decoder set input (4)
saa7115: now setting Composite input
ivtv: Setting audio matrix to input 3, output 1
ivtv: Switching standard to NTSC.
ivtv: ivtv_enc_thread: pid = 4489, itv = 0xffffffff880e82e0
ivtv: ivtv_enc_vbi_thread: pid = 4490, itv = 0xffffffff880e82e0
ivtv: ivtv_dec_thread: pid = 4491, itv = 0xffffffff880e82e0
ivtv: ivtv_dec_vbi_thread: pid = 4492, itv = 0xffffffff880e82e0
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: Autodetected WinTV PVR 250 card
ivtv: Found an iTVC16 based chip
ACPI: PCI interrupt 0000:00:0b.0[A] -> GSI 17 (level, low) -> IRQ 177
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
ivtv: VIA PCI device: 0x0282 vendor: 0x1106
tveeprom: Hauppauge: model = 32062, rev = C182, serial# = 7912549
tveeprom: tuner = LG TAPC H791F (idx = 82, type = 39)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio_processor = MSP3445 (type = 12)
ivtv: i2c attach [client=tveeprom[50],ok]
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #1
ivtv: i2c attach [client=(tuner unset),ok]
saa7115: starting probe for adapter ivtv i2c driver #1 (0x10005)
saa7115: detecting saa7115 client on address 0x42
saa7115: writing init values
ivtv: i2c attach [client=saa7115[50],ok]
saa7115: status: (1E) 0x48, (1F) 0xc0
msp34xx: ivtv version
msp34xx: init: chip=MSP3445G-B8, has NICAM support, simple (D) mode, simpler
(G)
no-thread mode
msp34xx: $Id$ compiled on: May 16 2005 20:54:10
ivtv: i2c attach [client=MSP3445G-B8,ok]
ivtv: Tuner Type 39, Tuner formats 0x00001000, Radio: yes, Model 0x008d1612,
Rev
ision 0x00000000
ivtv: NTSC tuner detected
ivtv: Radio detected
ivtv: Encoder revision: 0x02040024
ivtv: Encoder Firmware may be buggy, use version 0x02040011
ivtv: Configuring WinTV PVR 250 card with 5 streams
ivtv: Registered v4l2 device, streamtype 0 minor 1
ivtv: Create DMA stream 0 using 128 16384 byte buffers 0 kbytes total
ivtv: Registered v4l2 device, streamtype 1 minor 33
ivtv: Create DMA stream 1 using 20 103680 byte buffers 0 kbytes total
ivtv: Registered v4l2 device, streamtype 2 minor 225
ivtv: Create DMA stream 2 using 32 65536 byte buffers 0 kbytes total
ivtv: Registered v4l2 device, streamtype 3 minor 25
ivtv: Create DMA stream 3 using 455 4608 byte buffers 0 kbytes total
ivtv: Registered v4l2 device, streamtype 4 minor 65
ivtv: Create stream 4
ivtv: Setting Tuner 39
tuner: type set to 39 (LG NTSC (newer TAPC series)) by ivtv i2c driver #1
saa7115: decoder set input (4)
saa7115: now setting Composite input
ivtv: Setting audio matrix to input 3, output 1
ivtv: Switching standard to NTSC.
ivtv: ivtv_enc_thread: pid = 4551, itv = 0xffffffff8810c1c0
ivtv: ivtv_enc_vbi_thread: pid = 4552, itv = 0xffffffff8810c1c0
saa7115: decoder set norm NTSC
saa7115: set audio: 0x01
ivtv: Initialized WinTV PVR 250, card #1
ivtv: ==================== END INIT IVTV ====================
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: framebuffer at 0xed510000, mapped to 0xffffc20000f10000, size
1350k
ivtv-osd: mode is 720x480x32, linelength=2880
ivtv-osd: fb0: iTVC15 TV out frame buffer device
ivtv: Allocate DMA stream 9 using 32 65536 byte buffers 2097152 kbytes
total
-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
ivtv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel