My guess is that your graphics device doesn't have a mappable framebuffer, or it's mappable but not very useable because it's not linearly addressible or something like that. That's just a guess - I'm not familiar with that device. Mark. On Sun, 2 Jul 2006, Matthias Meyer wrote: > Hello, > > I run Debian with kernel 2.6.16 and ivtv0.6, build with module-assistant. > I load ivtv_fb during bootup by /etc/modules.. > > vdr:~# lsmod | grep ivtv > ivtv_fb 34212 0 > ivtv 205872 1 ivtv_fb > i2c_algo_bit 9992 1 ivtv > v4l1_compat 14404 1 ivtv > tveeprom 15504 1 ivtv > i2c_core 22064 9 ivtv,msp3400,saa7127,saa7115,tda9887,tuner,i2c_piix4,i2c_algo_bit,tveeprom > > My VDR350 sit on BusID "PCI:0:16:0" as lspci say: > vdr:~# lspci > 00:00.0 Host bridge: Intel Corp. 440BX/ZX - 82443BX/ZX Host bridge (rev 03) > 00:01.0 PCI bridge: Intel Corp. 440BX/ZX - 82443BX/ZX AGP bridge (rev 03) > 00:0e.0 Ethernet controller: Intel Corp. 82557 [Ethernet Pro 100] (rev 05) > 00:0f.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 08) > 00:10.0 Multimedia video controller: Internext Compression Inc: Unknown device 0803 (rev 01) > 00:14.0 ISA bridge: Intel Corp. 82371AB PIIX4 ISA (rev 02) > 00:14.1 IDE interface: Intel Corp. 82371AB PIIX4 IDE (rev 01) > 00:14.2 USB Controller: Intel Corp. 82371AB PIIX4 USB (rev 01) > 00:14.3 Bridge: Intel Corp. 82371AB PIIX4 ACPI (rev 02) > 01:00.0 VGA compatible controller: ATI Technologies Inc Rage 128 PF > > In /etc/X11/XF86Config-4 I configure fbdev to use as framebuffer-device > Section "Device" > Identifier "Hauppauge PVR 350 iTVC15 Framebuffer" > Driver "fbdev" > Option "fbdev" "/dev/fb0" > BusID "PCI:0:16:0" > EndSection > > And I get error-messages from cat /var/log/XFree86.0.log > (II) LoadModule: "fbdev" > (II) Loading /usr/X11R6/lib/modules/drivers/fbdev_drv.o > (II) Module fbdev: vendor="The XFree86 Project" > compiled for 4.3.0.1, module version = 0.1.0 > ABI class: XFree86 Video Driver, version 0.6 > (II) LoadModule: "mouse" > (II) FBDEV: driver for framebuffer: fbdev, afb > (II) Primary Device is: PCI 01:00:0 > (II) Loading sub module "fbdevhw" > (II) LoadModule: "fbdevhw" > (II) Loading /usr/X11R6/lib/modules/linux/libfbdevhw.a > (II) Module fbdevhw: vendor="The XFree86 Project" > compiled for 4.3.0.1, module version = 0.0.2 > ABI class: XFree86 Video Driver, version 0.6 > (II) resource ranges after xf86ClaimFixedResources() call: > [0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B) > [1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B) > [2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] > [3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] > [4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] > [5] -1 0 0x40100000 - 0x401fffff (0x100000) MX[B] > [6] -1 0 0x4c000000 - 0x4c000fff (0x1000) MX[B] > [7] -1 0 0x48000000 - 0x47ffffff (0x0) MX[B]O > [8] -1 0 0x40000000 - 0x40003fff (0x4000) MX[B](B) > [9] -1 0 0x44000000 - 0x47ffffff (0x4000000) MX[B](B) > [10] -1 0 0x50000000 - 0x53ffffff (0x4000000) MX[B](B) > [11] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] > [12] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] > [13] -1 0 0x00002060 - 0x0000207f (0x20) IX[B] > [14] -1 0 0x00002080 - 0x0000208f (0x10) IX[B] > [15] -1 0 0x00002000 - 0x0000203f (0x40) IX[B] > [16] -1 0 0x00002040 - 0x0000205f (0x20) IX[B] > [17] -1 0 0x00001000 - 0x000010ff (0x100) IX[B](B) > (**) FBDEV(0): claimed PCI slot 0:16:0 > (II) FBDEV(0): using /dev/fb0 > (II) resource ranges after probing: > [0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B) > [1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B) > [2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] > [3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] > [4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] > [5] -1 0 0x40100000 - 0x401fffff (0x100000) MX[B] > [6] -1 0 0x4c000000 - 0x4c000fff (0x1000) MX[B] > [7] -1 0 0x48000000 - 0x47ffffff (0x0) MX[B]O > [8] -1 0 0x40000000 - 0x40003fff (0x4000) MX[B](B) > [9] -1 0 0x44000000 - 0x47ffffff (0x4000000) MX[B](B) > [10] -1 0 0x50000000 - 0x53ffffff (0x4000000) MX[B](B) > [11] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B] > [12] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B] > [13] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B] > [14] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] > [15] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] > [16] -1 0 0x00002060 - 0x0000207f (0x20) IX[B] > [17] -1 0 0x00002080 - 0x0000208f (0x10) IX[B] > [18] -1 0 0x00002000 - 0x0000203f (0x40) IX[B] > [19] -1 0 0x00002040 - 0x0000205f (0x20) IX[B] > [20] -1 0 0x00001000 - 0x000010ff (0x100) IX[B](B) > [21] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B] > [22] 0 0 0x000003c0 - 0x000003df (0x20) IS[B] > (II) Setting vga for screen 0. > (**) FBDEV(0): Depth 24, (**) framebuffer bpp 32 > (==) FBDEV(0): RGB weight 888 > (==) FBDEV(0): Default visual is TrueColor > (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0) > (II) FBDEV(0): Hardware: cx23415 TV out (vidmem: 1665k) > (**) FBDEV(0): Option "fbdev" "/dev/fb0" > (II) FBDEV(0): Checking Modes against framebuffer device... > (II) FBDEV(0): mode "800x600" ok > (II) FBDEV(0): mode "640x480" ok > (II) FBDEV(0): Checking Modes against monitor... > (--) FBDEV(0): Virtual size is 800x600 (pitch 800) > (**) FBDEV(0): Mode "800x600": 49.5 MHz (scaled from 0.0 MHz), 46.9 kHz, 75.0 Hz > (II) FBDEV(0): Modeline "800x600" 49.50 800 816 896 1056 600 601 604 625 -hsync -vsync > (**) FBDEV(0): Default mode "640x480": 25.2 MHz (scaled from 0.0 MHz), 31.5 kHz, 60.0 Hz > (II) FBDEV(0): Modeline "640x480" 25.20 640 656 752 800 480 490 492 525 -hsync -vsync > (++) FBDEV(0): DPI set to (100, 100) > (II) Loading sub module "fb" > (II) LoadModule: "fb" > (II) Loading /usr/X11R6/lib/modules/libfb.a > (II) Module fb: vendor="The XFree86 Project" > compiled for 4.3.0.1, module version = 1.0.0 > ABI class: XFree86 ANSI C Emulation, version 0.2 > (**) FBDEV(0): Using "Shadow Framebuffer" > (II) Loading sub module "shadow" > (II) LoadModule: "shadow" > (II) Loading /usr/X11R6/lib/modules/libshadow.a > (II) Module shadow: vendor="The XFree86 Project" > compiled for 4.3.0.1, module version = 1.0.0 > ABI class: XFree86 ANSI C Emulation, version 0.2 > (--) Depth 24 pixmap format is 32 bpp > (II) do I need RAC? No, I don't. > (II) resource ranges after preInit: > [0] 0 0 0x50000000 - 0x53ffffff (0x4000000) MX[B] > [1] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B) > [2] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B) > [3] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] > [4] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] > [5] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] > [6] -1 0 0x40100000 - 0x401fffff (0x100000) MX[B] > [7] -1 0 0x4c000000 - 0x4c000fff (0x1000) MX[B] > [8] -1 0 0x48000000 - 0x47ffffff (0x0) MX[B]O > [9] -1 0 0x40000000 - 0x40003fff (0x4000) MX[B](B) > [10] -1 0 0x44000000 - 0x47ffffff (0x4000000) MX[B](B) > [11] -1 0 0x50000000 - 0x53ffffff (0x4000000) MX[B](B) > [12] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B] > [13] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B] > [14] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B] > [15] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] > [16] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] > [17] -1 0 0x00002060 - 0x0000207f (0x20) IX[B] > [18] -1 0 0x00002080 - 0x0000208f (0x10) IX[B] > [19] -1 0 0x00002000 - 0x0000203f (0x40) IX[B] > [20] -1 0 0x00002040 - 0x0000205f (0x20) IX[B] > [21] -1 0 0x00001000 - 0x000010ff (0x100) IX[B](B) > [22] 0 0 0x000003b0 - 0x000003bb (0xc) IS[B] > [23] 0 0 0x000003c0 - 0x000003df (0x20) IS[B] > (EE) FBDEV(0): mmap fbmem: Invalid argument > (EE) FBDEV(0): Map vid mem failed > > Fatal server error: > AddScreen/ScreenInit failed for driver 0 > > I also find error-messages in /var/log/syslog: > Jul 2 19:22:42 vdr kernel: ivtv0-osd: Framebuffer module loaded (attached to ivtv card id 0) > Jul 2 19:22:43 vdr kernel: ivtv0-osd: screen coords: [0 0] -> [720 576] > Jul 2 19:22:43 vdr kernel: ivtv0-osd: original global alpha = 208 > Jul 2 19:22:43 vdr kernel: ivtv0-osd: current OSD state = 39 > Jul 2 19:22:43 vdr kernel: ivtv0-osd: new global alpha = 208 (1 255 0) > Jul 2 19:22:43 vdr kernel: ivtv0-osd: framebuffer at 0x51510000, mapped to 0xd1810000, size 1665k > Jul 2 19:22:43 vdr kernel: ivtv0-osd: mode is 720x576x32, linelength=2880 > Jul 2 19:22:43 vdr kernel: ivtv0-osd: fb0: cx23415 TV out frame buffer device > Jul 2 19:22:43 vdr kernel: ivtv0: Allocate DMA decoder OSD stream: 16 x 65536 buffers (1024KB total) > Jul 2 19:22:43 vdr kernel: ivtv0-osd warning: ivtvfb_check_var > Jul 2 19:22:43 vdr kernel: ivtv0-osd warning: ivtvfb_check_var > Jul 2 19:22:43 vdr kernel: ivtv0-osd warning: MMAP is not safe for ivtv usage > Jul 2 19:22:45 vdr kernel: ivtv0-osd warning: ivtvfb_check_var > Jul 2 19:22:45 vdr kernel: ivtv0-osd warning: ivtvfb_check_var > Jul 2 19:22:45 vdr kernel: ivtv0-osd warning: MMAP is not safe for ivtv usage > Jul 2 19:22:46 vdr kernel: ivtv0-osd warning: ivtvfb_check_var > Jul 2 19:22:46 vdr kernel: ivtv0-osd warning: ivtvfb_check_var > Jul 2 19:22:47 vdr kernel: ivtv0-osd warning: MMAP is not safe for ivtv usage > Jul 2 19:22:48 vdr init: Id "x" respawning too fast: disabled for 5 minutes > > I asked this question in <ivtv-users@xxxxxxxxxxxxxx> too but get no answers :-( > Maybee anyone in xfree86@xxxxxxxxxxx can help me? > > Thanks in advance > Matthias > _______________________________________________ > XFree86 mailing list > XFree86@xxxxxxxxxxx > http://XFree86.Org/mailman/listinfo/xfree86 > _______________________________________________ XFree86 mailing list XFree86@xxxxxxxxxxx http://XFree86.Org/mailman/listinfo/xfree86