[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Framebuffer X doesn't work unless shadowfb is used



Hi all,

Here's one for the Xperts around:

On my PowerMac 7600 using the builtin 'control', X 4.1.0 doesn't work
unless I enable shadowfb.

For the record, on these machines, shadowfb doesn't gain you much,
rather it makes scrolling, the single most annoying 'slowness', even
worse.

The problem is X segfaults after opening the input devices (see attached
XFree86.0.log).

Here's the relevant part of my XF86Config:

# Apple "control":
Section "Device"
        Identifier      "Apple control"
        Driver          "fbdev"
        Option          "UseFBDev"              "true"
        Option          "ShadowFB"              "Off"
EndSection

Like this, it doesn't work; I need to comment the shadowfb line.
Installed XFree is:

ii  xserver-xfree8 4.1.0-13       the XFree86 X server

Anybody with hints as to what's wrong?

Thanks

Michel

-------------------------------------------------------------------------
Michel Lanners                 |  " Read Philosophy.  Study Art.
23, Rue Paul Henkes            |    Ask Questions.  Make Mistakes.
L-1710 Luxembourg              |
email   mlan@cpu.lu            |
http://www.cpu.lu/~mlan        |                     Learn Always. "
This is a pre-release version of XFree86, and is not supported in any
way.  Bugs may be reported to XFree86@XFree86.Org and patches submitted
to fixes@XFree86.Org.  Before reporting bugs in pre-release versions,
please check the latest version in the XFree86 CVS repository
(http://www.XFree86.Org/cvs)

XFree86 Version 4.1.0.1 / X Window System
(protocol Version 11, revision 0, vendor release 6510)
Release Date: 21 December 2001
	If the server is older than 6-12 months, or if your card is
	newer than the above date, look for a newer version before
	reporting problems.  (See http://www.XFree86.Org/FAQ)
Build Operating System: Linux 2.4.16-powerpc-smp ppc [ELF] 
Module Loader present
(==) Log file: "/var/log/XFree86.0.log", Time: Fri Mar 29 14:33:45 2002
(==) Using config file: "/etc/X11/XF86Config-4"
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) |   |-->Monitor "Dell_P990"
(**) |   |-->Device "Apple control"
(**) |-->Input Device "Generic Keyboard"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "macintosh"
(**) XKB: model: "macintosh"
(**) Option "XkbLayout" "fr_CH"
(**) XKB: layout: "fr_CH"
(==) Keyboard: CustomKeycode disabled
(**) |-->Input Device "Configured Mouse"
(**) FontPath set to "/usr/lib/X11/fonts/misc,/usr/lib/X11/fonts/100dpi/:unscaled,/usr/lib/X11/fonts/75dpi/:unscaled,/usr/lib/X11/fonts/Type1,/usr/lib/X11/fonts/TrueType,/usr/lib/X11/fonts/Speedo,/usr/lib/X11/fonts/100dpi,/usr/lib/X11/fonts/75dpi"
(==) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(++) using VT number 7

(WW) Cannot open APM
(II) Module ABI versions:
	XFree86 ANSI C Emulation: 0.1
	XFree86 Video Driver: 0.4
	XFree86 XInput driver : 0.2
	XFree86 Server Extension : 0.1
	XFree86 Font Renderer : 0.2
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 1.0.0
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.2
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 0.1.0
	ABI class: XFree86 Video Driver, version 0.4
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:0b:0: chip 106b,0001 card 0000,0000 rev 03 class 06,00,00 hdr 00
(II) PCI: 00:0d:0: chip 105a,4d38 card 105a,4d33 rev 01 class 01,80,00 hdr 00
(II) PCI: 00:0f:0: chip 102b,0519 card 0000,0000 rev 01 class 03,00,00 hdr 00
(II) PCI: 00:10:0: chip 106b,0002 card 0000,0000 rev 02 class ff,00,00 hdr 00
(II) PCI: 01:0b:0: chip 106b,0003 card 0000,0000 rev 00 class 00,00,00 hdr 00
(II) PCI: 01:0d:0: chip 106b,0004 card 0000,0000 rev 01 class ff,00,00 hdr 00
(II) PCI: End of PCI scan
(II) LoadModule: "scanpci"
(II) Loading /usr/X11R6/lib/modules/libscanpci.a
(II) Module scanpci: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 0.1.0
	ABI class: XFree86 Video Driver, version 0.4
(II) UnloadModule: "scanpci"
(II) Unloading /usr/X11R6/lib/modules/libscanpci.a
(II) Host-to-PCI bridge:
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (-1,0,0), BCTRL: 0x08 (VGA_EN is set)
(II) Bus 0 I/O range:
	[0] -1 0	0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
	[0] -1 0	0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
	[0] -1 0	0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 1: bridge is at (0:0:0), (-1,1,0), BCTRL: 0x00 (VGA_EN is cleared)
(II) Bus 1 I/O range:
	[0] -1 0	0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 1 non-prefetchable memory range:
	[0] -1 0	0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 1 prefetchable memory range:
	[0] -1 0	0x00000000 - 0xffffffff (0x0) MX[B]
(--) PCI: (0:15:0) Matrox MGA 2064W rev 1, Mem @ 0x80800000/14, 0x81000000/23
(II) Addressable bus resource ranges are
	[0] -1 0	0x00000000 - 0xffffffff (0x0) MX[B]
	[1] -1 0	0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
	[0] -1 0	0xffffffff - 0xffffffff (0x1) MX[B]
	[1] -1 0	0x00000000 - 0x00000000 (0x1) MX[B]
	[2] -1 0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[3] -1 0	0x00000000 - 0x00000000 (0x1) IX[B]
(II) Active PCI resource ranges:
	[0] -1 0	0xf3000000 - 0xf301ffff (0x20000) MX[B]
	[1] -1 0	0x80810000 - 0x8081ffff (0x10000) MX[B]
	[2] -1 0	0x80820000 - 0x8083ffff (0x20000) MX[B]
	[3] -1 0	0x00000400 - 0x0000043f (0x40) IX[B]
	[4] -1 0	0x00000440 - 0x00000443 (0x4) IX[B]
	[5] -1 0	0x00000450 - 0x00000457 (0x8) IX[B]
	[6] -1 0	0x00000460 - 0x00000463 (0x4) IX[B]
	[7] -1 0	0x00000470 - 0x00000477 (0x8) IX[B]
(II) Inactive PCI resource ranges:
	[0] -1 0	0xf1000000 - 0xf10003ff (0x400) MX[B]
	[1] -1 0	0x94000000 - 0x97ffffff (0x4000000) MX[B]
	[2] -1 0	0x90000000 - 0x9000ffff (0x10000) MX[B]
	[3] -1 0	0x81000000 - 0x817fffff (0x800000) MX[B](B)
	[4] -1 0	0x80800000 - 0x80803fff (0x4000) MX[B](B)
	[5] -1 0	0xfffffffc - 0xfffffffc (0x1) IX[B]
	[6] -1 0	0xfffffffc - 0xfffffffc (0x1) IX[B]
	[7] -1 0	0xfffffffc - 0xfffffffc (0x1) IX[B]
	[8] -1 0	0xfffffffc - 0xfffffffc (0x1) IX[B]
(II) Active PCI resource ranges after removing overlaps:
	[0] -1 0	0xf3000000 - 0xf301ffff (0x20000) MX[B]
	[1] -1 0	0x80810000 - 0x8081ffff (0x10000) MX[B]
	[2] -1 0	0x80820000 - 0x8083ffff (0x20000) MX[B]
	[3] -1 0	0x00000400 - 0x0000043f (0x40) IX[B]
	[4] -1 0	0x00000440 - 0x00000443 (0x4) IX[B]
	[5] -1 0	0x00000450 - 0x00000457 (0x8) IX[B]
	[6] -1 0	0x00000460 - 0x00000463 (0x4) IX[B]
	[7] -1 0	0x00000470 - 0x00000477 (0x8) IX[B]
(II) Inactive PCI resource ranges after removing overlaps:
	[0] -1 0	0xf1000000 - 0xf10003ff (0x400) MX[B]
	[1] -1 0	0x94000000 - 0x97ffffff (0x4000000) MX[B]
	[2] -1 0	0x90000000 - 0x9000ffff (0x10000) MX[B]
	[3] -1 0	0x81000000 - 0x817fffff (0x800000) MX[B](B)
	[4] -1 0	0x80800000 - 0x80803fff (0x4000) MX[B](B)
	[5] -1 0	0xfffffffc - 0xfffffffc (0x1) IX[B]
	[6] -1 0	0xfffffffc - 0xfffffffc (0x1) IX[B]
	[7] -1 0	0xfffffffc - 0xfffffffc (0x1) IX[B]
	[8] -1 0	0xfffffffc - 0xfffffffc (0x1) IX[B]
(II) OS-reported resource ranges after removing overlaps with PCI:
	[0] -1 0	0xffffffff - 0xffffffff (0x1) MX[B]
	[1] -1 0	0x00000000 - 0x00000000 (0x1) MX[B]
	[2] -1 0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[3] -1 0	0x00000000 - 0x00000000 (0x1) IX[B]
(II) All system resource ranges:
	[0] -1 0	0xffffffff - 0xffffffff (0x1) MX[B]
	[1] -1 0	0x00000000 - 0x00000000 (0x1) MX[B]
	[2] -1 0	0xf3000000 - 0xf301ffff (0x20000) MX[B]
	[3] -1 0	0x80810000 - 0x8081ffff (0x10000) MX[B]
	[4] -1 0	0x80820000 - 0x8083ffff (0x20000) MX[B]
	[5] -1 0	0xf1000000 - 0xf10003ff (0x400) MX[B]
	[6] -1 0	0x94000000 - 0x97ffffff (0x4000000) MX[B]
	[7] -1 0	0x90000000 - 0x9000ffff (0x10000) MX[B]
	[8] -1 0	0x81000000 - 0x817fffff (0x800000) MX[B](B)
	[9] -1 0	0x80800000 - 0x80803fff (0x4000) MX[B](B)
	[10] -1 0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[11] -1 0	0x00000000 - 0x00000000 (0x1) IX[B]
	[12] -1 0	0x00000400 - 0x0000043f (0x40) IX[B]
	[13] -1 0	0x00000440 - 0x00000443 (0x4) IX[B]
	[14] -1 0	0x00000450 - 0x00000457 (0x8) IX[B]
	[15] -1 0	0x00000460 - 0x00000463 (0x4) IX[B]
	[16] -1 0	0x00000470 - 0x00000477 (0x8) IX[B]
	[17] -1 0	0xfffffffc - 0xfffffffc (0x1) IX[B]
	[18] -1 0	0xfffffffc - 0xfffffffc (0x1) IX[B]
	[19] -1 0	0xfffffffc - 0xfffffffc (0x1) IX[B]
	[20] -1 0	0xfffffffc - 0xfffffffc (0x1) IX[B]
(II) LoadModule: "ddc"
(II) Loading /usr/X11R6/lib/modules/libddc.a
(II) Module ddc: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 1.0.0
	ABI class: XFree86 Video Driver, version 0.4
(II) LoadModule: "GLcore"
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) Module GLcore: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 1.0.0
	ABI class: XFree86 Server Extension, version 0.1
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 1.0.0
	Module class: XFree86 Server Extension
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "dri"
(II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
(II) Module dri: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 1.0.0
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/X11R6/lib/modules/linux/libdrm.a
(II) Module drm: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 1.0.0
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension XFree86-DRI
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 1.0.0
	Module class: XFree86 Server Extension
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension FontCache
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
(II) Module glx: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 1.0.0
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Reloading /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) Loading extension GLX
(II) LoadModule: "pex5"
(II) Loading /usr/X11R6/lib/modules/extensions/libpex5.a
(II) Module pex5: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 1.0.0
	Module class: XFree86 Server Extension
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension X3D-PEX
(II) LoadModule: "record"
(II) Loading /usr/X11R6/lib/modules/extensions/librecord.a
(II) Module record: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 1.13.0
	Module class: XFree86 Server Extension
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension RECORD
(II) LoadModule: "xie"
(II) Loading /usr/X11R6/lib/modules/extensions/libxie.a
(II) Module xie: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 1.0.0
	Module class: XFree86 Server Extension
	ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension XIE
(II) LoadModule: "bitmap"
(II) Reloading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Loading font Bitmap
(II) LoadModule: "freetype"
(II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.a
(II) Module freetype: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 1.1.9
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.2
(II) Loading font FreeType
(II) LoadModule: "speedo"
(II) Loading /usr/X11R6/lib/modules/fonts/libspeedo.a
(II) Module speedo: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 1.0.0
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.2
(II) Loading font Speedo
(II) LoadModule: "type1"
(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a
(II) Module type1: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 1.0.0
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.2
(II) Loading font Type1
(II) Loading font CID
(II) LoadModule: "vbe"
(II) Loading /usr/X11R6/lib/modules/libvbe.a
(II) Module vbe: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 1.0.0
	ABI class: XFree86 Video Driver, version 0.4
(II) LoadModule: "int10"
(II) Loading /usr/X11R6/lib/modules/libint10.a
(II) Module int10: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 1.0.0
	ABI class: XFree86 Video Driver, version 0.4
(II) LoadModule: "fbdev"
(II) Loading /usr/X11R6/lib/modules/drivers/fbdev_drv.o
(II) Module fbdev: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 0.1.0
	ABI class: XFree86 Video Driver, version 0.4
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
	compiled for 4.1.0.1, module version = 1.0.0
	Module class: XFree86 XInput Driver
	ABI class: XFree86 XInput driver, version 0.2
(II) FBDev: driver for framebuffer: fbdev, afb
(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.1.0.1, module version = 0.0.2
	ABI class: XFree86 Video Driver, version 0.4
(II) FBDev(0): using default device
(II) Running in FRAMEBUFFER Mode
(**) FBDev(0): Depth 24, (--) framebuffer bpp 32
(==) FBDev(0): RGB weight 888
(==) FBDev(0): Default visual is TrueColor
(**) FBDev(0): Using gamma correction (1.6, 1.6, 1.6)
(II) FBDev(0): Hardware: control (vidmem: 4095k)
(**) FBDev(0): Option "ShadowFB" "Off"
(II) FBDev(0): Checking Modes against framebuffer device...
(II) FBDev(0): 	mode "1152x864" ok
(II) FBDev(0): 	mode "1024x768" ok
(II) FBDev(0): 	mode "800x600" ok
(II) FBDev(0): 	mode "640x480" ok
(II) FBDev(0): Checking Modes against monitor...
(--) FBDev(0): Virtual size is 1152x864 (pitch 1536)
(**) FBDev(0): Default mode "1152x864": 108.0 MHz (scaled from 0.0 MHz), 67.5 kHz, 75.0 Hz
(II) FBDev(0): Modeline "1152x864"  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync
(**) FBDev(0): Default mode "1024x768": 44.9 MHz (scaled from 0.0 MHz), 35.5 kHz, 87.0 Hz (I)
(II) FBDev(0): Modeline "1024x768"   44.90  1024 1032 1208 1264  768 768 776 817 interlace +hsync +vsync
(**) FBDev(0): Default mode "800x600": 36.0 MHz (scaled from 0.0 MHz), 35.2 kHz, 56.2 Hz
(II) FBDev(0): Modeline "800x600"   36.00  800 824 896 1024  600 601 603 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.1.0.1, module version = 1.0.0
	ABI class: XFree86 ANSI C Emulation, version 0.1
(--) Depth 24 pixmap format is 32 bpp
(==) FBDev(0): Backing store disabled
(**) Option "dpms"
(**) FBDev(0): DPMS enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
PEXExtensionInit: Couldn't open default PEX font file  Roman_M
(II) Keyboard "Generic Keyboard" handled by legacy driver
(**) Option "Protocol" "ImPS/2"
(**) Configured Mouse: Protocol: "ImPS/2"
(**) Option "CorePointer"
(**) Configured Mouse: Core Pointer
(**) Option "Device" "/dev/input/mice"
(==) Configured Mouse: Buttons: 3
(**) Option "Emulate3Buttons" "true"
(**) Configured Mouse: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Configured Mouse: ZAxisMapping: buttons 4 and 5
(II) XINPUT: Adding extended input device "Configured Mouse" (type: MOUSE)

Fatal server error:
Caught signal 11.  Server aborting


When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to submit@bugs.debian.org.


Reply to: