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

Bug#570680: Please renenable the RECORD extension



Package: xserver-xorg-core
Version: 2:1.7.5-1.1
Severity: wishlist
Tags: patch

  Hello,

  As the server so justly says at startup, the RECORD extension has
been disabled as it is broken:

record: RECORD extension enabled at configure time.
record: This extension is known to be broken, disabling extension now..
record: http://bugs.freedesktop.org/show_bug.cgi?id=20500

  At the bug page, there are patches that appear to do the job while
not disrupting the rest (I've attached them as debdiff patch, but the
patch header should be rewritten should you use it).

  Would you be so kind as to renable it, please ? Several apps depend
on that (including my own ;-)...).

  Many thanks,

       Vincent


-- Package-specific info:
/var/lib/x11/X.roster does not exist.

/var/lib/x11/X.md5sum does not exist.

X server symlink status:
lrwxrwxrwx 1 root root 13 Jan 19 22:24 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 1867168 Feb 20 18:17 /usr/bin/Xorg

/var/lib/x11/xorg.conf.roster does not exist.

VGA-compatible devices on PCI bus:
01:00.0 VGA compatible controller: nVidia Corporation G92 [GeForce 9600 GSO] (rev a2)

/var/lib/x11/xorg.conf.md5sum does not exist.

Xorg X server configuration file status:
-rw-r--r-- 1 root root 3907 Feb  6 17:01 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg


Section "Module"
	Load	"i2c"
	Load	"bitmap"
	Load	"ddc"
#	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
#	Load	"type1"
	Load	"vbe"
	Load 	"record"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"fr,ru,ua"
	Option		"XkbVariant"	"latin9"
        Option		"XkbOptions" 	"grp:shift_toggle"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"ExplorerPS/2"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "Device"
	Identifier	"NVIDIA"
	Driver		"nvidia"
	Screen		0
	BusID		"PCI:1:0:0"
#	Option		"TwinView"
#	Option 		"ConnectedMonitor" "CRT, DFP"
#	Option		"TwinViewOrientation"	"Clone"
EndSection

Section "Device"
	Identifier	"NV"
	Driver		"nv"
EndSection

Section "Device"
	Identifier	"NVIDIATV"
	Driver		"nvidia"
	BusID		"PCI:1:0:0"
#	Option 		"UseDisplayDevice" "DFP"
#	Option 		"ConnectedMonitor" "TV"
#	Option		"TVStandard" "PAL-B"
#	Option          "TVStandard" "HD576i"
#	Option 		"TVOutFormat" "SVIDEO"
	Screen 		1
EndSection

Section "Monitor"
	Identifier	"SyncMaster"
	Option		"DPMS"
EndSection

Section "Monitor"
	Identifier	"VideoProj"
#	Option		"DPMS"
EndSection


Section "Screen"
	Identifier	"Usual"
	Device		"NVIDIA"
	Monitor		"SyncMaster"
	DefaultDepth	24
	SubSection "Display"
		Depth		8
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier	"NV"
	Device		"NV"
	Monitor		"SyncMaster"
	DefaultDepth	24
	SubSection "Display"
		Depth		8
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480"
	EndSubSection
EndSection


Section "Screen"
	Identifier	"Proj"
	Device		"NVIDIATV"
	Monitor		"VideoProj"
	DefaultDepth	24
	SubSection "Display"
		Depth		16
		Modes		"800x600" "720x576" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"800x600" "720x576" "640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier	"800x600"
	Device		"NVIDIA"
	Monitor		"SyncMaster"
	DefaultDepth	24
	SubSection "Display"
		Depth		16
		Modes		"800x600" "720x576" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"800x600" "720x576" "640x480"
	EndSubSection
EndSection


Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Usual"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse" 
	Option 		"DontZap"  "off"
EndSection

Section "ServerLayout"
	Identifier	"Projecteur"
	Screen		0 "Usual"
	Screen		1 "Proj" rightOf "Usual"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse" 
	Option 		"DontZap"  "off"
EndSection

Section "DRI"
	Mode	0666 
EndSection


Xorg X server log files on system:
-rw-r--r-- 1 root root 18814 Jan 22 23:59 /var/log/Xorg.23.log
-rw-r--r-- 1 root root 14383 Feb 20 17:02 /var/log/Xorg.0.log
-rw-r--r-- 1 root root 14200 Feb 20 18:20 /var/log/Xorg.36.log

Contents of most recent Xorg X server log file
/var/log/Xorg.36.log:

X.Org X Server 1.7.5
Release Date: 2010-02-16
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32-trunk-amd64 x86_64 Debian
Current Operating System: Linux tanyaivinco 2.6.32-trunk-amd64 #1 SMP Sun Jan 10 22:40:40 UTC 2010 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-trunk-amd64 root=UUID=330ffc9b-2eb5-4870-8d19-f48164cb1a60 ro
Build Date: 20 February 2010  05:17:14PM
xorg-server 2:1.7.5-1.1 (pbuilder@tanyaivinco) 
Current version of pixman: 0.16.4
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.36.log", Time: Sat Feb 20 18:20:27 2010
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Usual" (0)
(**) |   |-->Monitor "SyncMaster"
(**) |   |-->Device "NVIDIA"
(**) |-->Input Device "Generic Keyboard"
(**) |-->Input Device "Configured Mouse"
(**) Option "DontZap" "off"
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
	Entry deleted from font path.
(WW) `fonts.dir' not found (or not valid) in "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType".
	Entry deleted from font path.
	(Run 'mkfontdir' on "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType").
(==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/Type1,
	built-ins
(==) ModulePath set to "/usr/lib/xorg/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Generic Keyboard
(WW) Disabling Configured Mouse
(II) Loader magic: 0x7c3380
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.4
	X.Org Video Driver: 6.0
	X.Org XInput driver : 7.0
	X.Org Server Extension : 2.0
(--) using VT number 8

(--) PCI:*(0:1:0:0) 10de:0610:10b0:0801 nVidia Corporation G92 [GeForce 9600 GSO] rev 162, Mem @ 0xfa000000/16777216, 0xd0000000/268435456, 0xf8000000/33554432, I/O @ 0x0000dc00/128, BIOS @ 0x????????/131072
(II) Open ACPI successful (/var/run/acpid.socket)
(II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
(II) "dbe" will be loaded by default.
(II) "glx" will be loaded. This was enabled by default and also specified in the config file.
(II) "record" will be loaded. This was enabled by default and also specified in the config file.
(II) "dri" will be loaded by default.
(II) "dri2" will be loaded by default.
(II) LoadModule: "i2c"
(II) Module "i2c" already built-in
(II) LoadModule: "ddc"
(II) Module "ddc" already built-in
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
	compiled for 1.7.5, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension SELinux
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
	compiled for 4.0.2, module version = 1.0.0
	Module class: X.Org Server Extension
(II) NVIDIA GLX Module  190.53  Wed Dec  9 16:27:33 PST 2009
(II) Loading extension GLX
(II) LoadModule: "int10"
(II) Loading /usr/lib/xorg/modules/libint10.so
(II) Module int10: vendor="X.Org Foundation"
	compiled for 1.7.5, module version = 1.0.0
	ABI class: X.Org Video Driver, version 6.0
(II) LoadModule: "vbe"
(II) Loading /usr/lib/xorg/modules/libvbe.so
(II) Module vbe: vendor="X.Org Foundation"
	compiled for 1.7.5, module version = 1.1.0
	ABI class: X.Org Video Driver, version 6.0
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
	compiled for 1.7.5, module version = 1.13.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
	compiled for 1.7.5, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
	compiled for 1.7.5, module version = 1.0.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
	compiled for 1.7.5, module version = 1.1.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "nvidia"
(II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
	compiled for 4.0.2, module version = 1.0.0
	Module class: X.Org Video Driver
(II) NVIDIA dlloader X Driver  190.53  Wed Dec  9 15:39:50 PST 2009
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 01@00:00:0
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
	compiled for 1.7.5, module version = 1.0.0
	ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "wfb"
(II) LoadModule: "wfb"
(II) Loading /usr/lib/xorg/modules/libwfb.so
(II) Module wfb: vendor="X.Org Foundation"
	compiled for 1.7.5, module version = 1.0.0
	ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) Feb 20 18:20:27 NVIDIA(0): Enabling RENDER acceleration
(II) Feb 20 18:20:27 NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) Feb 20 18:20:27 NVIDIA(0):     enabled.
(II) Feb 20 18:20:28 NVIDIA(0): NVIDIA GPU GeForce 9600 GSO (G92) at PCI:1:0:0 (GPU-0)
(--) Feb 20 18:20:28 NVIDIA(0): Memory: 393216 kBytes
(--) Feb 20 18:20:28 NVIDIA(0): VideoBIOS: 62.92.43.00.00
(II) Feb 20 18:20:28 NVIDIA(0): Detected PCI Express Link width: 16X
(--) Feb 20 18:20:28 NVIDIA(0): Interlaced video modes are supported on this GPU
(--) Feb 20 18:20:28 NVIDIA(0): Connected display device(s) on GeForce 9600 GSO at PCI:1:0:0:
(--) Feb 20 18:20:28 NVIDIA(0):     Samsung SyncMaster (CRT-0)
(--) Feb 20 18:20:28 NVIDIA(0):     OPTi Optoma EP706 (CRT-1)
(--) Feb 20 18:20:28 NVIDIA(0): Samsung SyncMaster (CRT-0): 400.0 MHz maximum pixel clock
(--) Feb 20 18:20:28 NVIDIA(0): OPTi Optoma EP706 (CRT-1): 400.0 MHz maximum pixel clock
(II) Feb 20 18:20:28 NVIDIA(0): Assigned Display Device: CRT-0
(II) Feb 20 18:20:28 NVIDIA(0): Validated modes:
(II) Feb 20 18:20:28 NVIDIA(0):     "1280x1024"
(II) Feb 20 18:20:28 NVIDIA(0):     "1152x864"
(II) Feb 20 18:20:28 NVIDIA(0):     "1024x768"
(II) Feb 20 18:20:28 NVIDIA(0):     "832x624"
(II) Feb 20 18:20:28 NVIDIA(0):     "800x600"
(II) Feb 20 18:20:28 NVIDIA(0):     "640x480"
(II) Feb 20 18:20:28 NVIDIA(0): Virtual screen size determined to be 1280 x 1024
(--) Feb 20 18:20:28 NVIDIA(0): DPI set to (85, 86); computed from "UseEdidDpi" X config
(--) Feb 20 18:20:28 NVIDIA(0):     option
(==) Feb 20 18:20:28 NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
(--) Depth 24 pixmap format is 32 bpp
(II) Feb 20 18:20:28 NVIDIA(0): Initialized GPU GART.
(II) Feb 20 18:20:28 NVIDIA(0): Setting mode "1280x1024"
(II) Loading extension NV-GLX
(II) Feb 20 18:20:28 NVIDIA(0): Initialized OpenGL Acceleration
(==) NVIDIA(0): Disabling shared memory pixmaps
(II) Feb 20 18:20:28 NVIDIA(0): Initialized X Rendering Acceleration
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(**) NVIDIA(0): DPMS enabled
(II) Loading extension NV-CONTROL
(II) Loading extension XINERAMA
(==) RandR enabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
SELinux: Disabled on system, not enabling in X server
(II) Initializing extension GLX
(II) config/udev: Adding input device "Power Button" (/dev/input/event3)
(II) LoadModule: "evdev"
(II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
	compiled for 1.7.3.902, module version = 2.3.2
	Module class: X.Org XInput Driver
	ABI class: X.Org XInput driver, version 7.0
(**) "Power Button": always reports core events
(**) "Power Button": Device: "/dev/input/event3"
(II) "Power Button": Found keys
(II) "Power Button": Configuring as keyboard
(II) XINPUT: Adding extended input device ""Power Button"" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_layout" "fr,ru,ua"
(**) Option "xkb_variant" "latin9"
(**) Option "xkb_options" "grp:shift_toggle"
(II) config/udev: Adding input device "Power Button" (/dev/input/event2)
(**) "Power Button": always reports core events
(**) "Power Button": Device: "/dev/input/event2"
(II) "Power Button": Found keys
(II) "Power Button": Configuring as keyboard
(II) XINPUT: Adding extended input device ""Power Button"" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_layout" "fr,ru,ua"
(**) Option "xkb_variant" "latin9"
(**) Option "xkb_options" "grp:shift_toggle"
(II) config/udev: Adding input device "AT Translated Set 2 keyboard" (/dev/input/event1)
(**) "AT Translated Set 2 keyboard": always reports core events
(**) "AT Translated Set 2 keyboard": Device: "/dev/input/event1"
(II) "AT Translated Set 2 keyboard": Found keys
(II) "AT Translated Set 2 keyboard": Configuring as keyboard
(II) XINPUT: Adding extended input device ""AT Translated Set 2 keyboard"" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_layout" "fr,ru,ua"
(**) Option "xkb_variant" "latin9"
(**) Option "xkb_options" "grp:shift_toggle"
(II) config/udev: Adding input device "ImExPS/2 Logitech Explorer Mouse" (/dev/input/event5)
(**) "ImExPS/2 Logitech Explorer Mouse": always reports core events
(**) "ImExPS/2 Logitech Explorer Mouse": Device: "/dev/input/event5"
(II) "ImExPS/2 Logitech Explorer Mouse": Found 9 mouse buttons
(II) "ImExPS/2 Logitech Explorer Mouse": Found scroll wheel(s)
(II) "ImExPS/2 Logitech Explorer Mouse": Found relative axes
(II) "ImExPS/2 Logitech Explorer Mouse": Found x and y relative axes
(II) "ImExPS/2 Logitech Explorer Mouse": Configuring as mouse
(**) "ImExPS/2 Logitech Explorer Mouse": YAxisMapping: buttons 4 and 5
(**) "ImExPS/2 Logitech Explorer Mouse": EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device ""ImExPS/2 Logitech Explorer Mouse"" (type: MOUSE)
(**) "ImExPS/2 Logitech Explorer Mouse": (accel) keeping acceleration scheme 1
(**) "ImExPS/2 Logitech Explorer Mouse": (accel) acceleration profile 0
(II) "ImExPS/2 Logitech Explorer Mouse": initialized for relative axes.
(II) config/udev: Adding input device "ImExPS/2 Logitech Explorer Mouse" (/dev/input/mouse1)
(**) "ImExPS/2 Logitech Explorer Mouse": always reports core events
(**) "ImExPS/2 Logitech Explorer Mouse": Device: "/dev/input/mouse1"
(EE) ioctl EVIOCGNAME failed: Inappropriate ioctl for device
(II) UnloadModule: "evdev"
(EE) PreInit returned NULL for ""ImExPS/2 Logitech Explorer Mouse""
(II) config/udev: Adding input device "Macintosh mouse button emulation" (/dev/input/event0)
(**) "Macintosh mouse button emulation": always reports core events
(**) "Macintosh mouse button emulation": Device: "/dev/input/event0"
(II) "Macintosh mouse button emulation": Found 3 mouse buttons
(II) "Macintosh mouse button emulation": Found relative axes
(II) "Macintosh mouse button emulation": Found x and y relative axes
(II) "Macintosh mouse button emulation": Configuring as mouse
(**) "Macintosh mouse button emulation": YAxisMapping: buttons 4 and 5
(**) "Macintosh mouse button emulation": EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device ""Macintosh mouse button emulation"" (type: MOUSE)
(**) "Macintosh mouse button emulation": (accel) keeping acceleration scheme 1
(**) "Macintosh mouse button emulation": (accel) acceleration profile 0
(II) "Macintosh mouse button emulation": initialized for relative axes.
(II) config/udev: Adding input device "Macintosh mouse button emulation" (/dev/input/mouse0)
(**) "Macintosh mouse button emulation": always reports core events
(**) "Macintosh mouse button emulation": Device: "/dev/input/mouse0"
(EE) ioctl EVIOCGNAME failed: Inappropriate ioctl for device
(II) UnloadModule: "evdev"
(EE) PreInit returned NULL for ""Macintosh mouse button emulation""

udev information:
P: /devices/virtual/input/input0/event0
N: input/event0
S: char/13:64
E: UDEV_LOG=3
E: DEVPATH=/devices/virtual/input/input0/event0
E: MAJOR=13
E: MINOR=64
E: DEVNAME=/dev/input/event0
E: SUBSYSTEM=input
E: ACL_MANAGE=1
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
E: ID_SERIAL=noserial
E: x11_driver=evdev
E: DMI_VENDOR=System manufacturer
E: DEVLINKS=/dev/char/13:64

P: /devices/platform/i8042/serio0/input/input1/event1
N: input/event1
S: char/13:65
S: input/by-path/platform-i8042-serio-0-event-kbd
E: UDEV_LOG=3
E: DEVPATH=/devices/platform/i8042/serio0/input/input1/event1
E: MAJOR=13
E: MINOR=65
E: DEVNAME=/dev/input/event1
E: SUBSYSTEM=input
E: ACL_MANAGE=1
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: ID_INPUT_KEYBOARD=1
E: ID_SERIAL=noserial
E: ID_PATH=platform-i8042-serio-0
E: XKBMODEL=pc105
E: XKBLAYOUT=fr,ru,ua
E: XKBVARIANT=latin9
E: XKBOPTIONS=grp:shift_toggle
E: x11_driver=evdev
E: DMI_VENDOR=System manufacturer
E: DEVLINKS=/dev/char/13:65 /dev/input/by-path/platform-i8042-serio-0-event-kbd

P: /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input2/event2
N: input/event2
S: char/13:66
E: UDEV_LOG=3
E: DEVPATH=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input2/event2
E: MAJOR=13
E: MINOR=66
E: DEVNAME=/dev/input/event2
E: SUBSYSTEM=input
E: ACL_MANAGE=1
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: XKBMODEL=pc105
E: XKBLAYOUT=fr,ru,ua
E: XKBVARIANT=latin9
E: XKBOPTIONS=grp:shift_toggle
E: x11_driver=evdev
E: DMI_VENDOR=System manufacturer
E: DEVLINKS=/dev/char/13:66

P: /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3
N: input/event3
S: char/13:67
E: UDEV_LOG=3
E: DEVPATH=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3
E: MAJOR=13
E: MINOR=67
E: DEVNAME=/dev/input/event3
E: SUBSYSTEM=input
E: ACL_MANAGE=1
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: XKBMODEL=pc105
E: XKBLAYOUT=fr,ru,ua
E: XKBVARIANT=latin9
E: XKBOPTIONS=grp:shift_toggle
E: x11_driver=evdev
E: DMI_VENDOR=System manufacturer
E: DEVLINKS=/dev/char/13:67

P: /devices/platform/pcspkr/input/input4/event4
N: input/event4
S: char/13:68
S: input/by-path/platform-pcspkr-event-spkr
E: UDEV_LOG=3
E: DEVPATH=/devices/platform/pcspkr/input/input4/event4
E: MAJOR=13
E: MINOR=68
E: DEVNAME=/dev/input/event4
E: SUBSYSTEM=input
E: ACL_MANAGE=1
E: ID_INPUT=1
E: ID_SERIAL=noserial
E: ID_PATH=platform-pcspkr
E: DMI_VENDOR=System manufacturer
E: DEVLINKS=/dev/char/13:68 /dev/input/by-path/platform-pcspkr-event-spkr

P: /devices/platform/i8042/serio1/input/input5/event5
N: input/event5
S: char/13:69
S: input/by-path/platform-i8042-serio-1-event-mouse
E: UDEV_LOG=3
E: DEVPATH=/devices/platform/i8042/serio1/input/input5/event5
E: MAJOR=13
E: MINOR=69
E: DEVNAME=/dev/input/event5
E: SUBSYSTEM=input
E: ACL_MANAGE=1
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
E: ID_SERIAL=noserial
E: ID_PATH=platform-i8042-serio-1
E: x11_driver=evdev
E: DMI_VENDOR=System manufacturer
E: DEVLINKS=/dev/char/13:69 /dev/input/by-path/platform-i8042-serio-1-event-mouse

DRM Information from dmesg:
[    0.000000] No AGP bridge found
[    5.973093] Linux agpgart interface v0.103


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages xserver-xorg-core depends on:
ii  keyboard-configuration       1.53        system-wide keyboard preferences
ii  libaudit0                    1.7.13-1+b1 Dynamic library for security audit
ii  libc6                        2.10.2-6    Embedded GNU C Library: Shared lib
ii  libdrm2                      2.4.17-1    Userspace interface to kernel DRM 
ii  libgcrypt11                  1.4.5-2     LGPL Crypto library - runtime libr
ii  libpciaccess0                0.11.0-1    Generic PCI access library for X
ii  libpixman-1-0                0.16.4-1    pixel-manipulation library for X a
ii  libselinux1                  2.0.89-4    SELinux runtime shared libraries
ii  libudev0                     151-1       libudev shared library
ii  libxau6                      1:1.0.5-1   X11 authorisation library
ii  libxdmcp6                    1:1.0.3-1   X11 Display Manager Control Protoc
ii  libxfont1                    1:1.4.1-1   X11 font rasterisation library
ii  udev                         151-1       /dev/ and hotplug management daemo
ii  xserver-common               2:1.7.5-1.1 common files used by various X ser
ii  xserver-xorg                 1:7.5+3     the X.Org X server

Versions of packages xserver-xorg-core recommends:
ii  libgl1-mesa-dri               7.6.1-1    A free implementation of the OpenG

Versions of packages xserver-xorg-core suggests:
pn  xfonts-100dpi | xfonts-75dpi  <none>     (no description available)
pn  xfonts-scalable               <none>     (no description available)

-- no debconf information
diff -u xorg-server-1.7.5/debian/changelog xorg-server-1.7.5/debian/changelog
--- xorg-server-1.7.5/debian/changelog
+++ xorg-server-1.7.5/debian/changelog
@@ -1,3 +1,10 @@
+xorg-server (2:1.7.5-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * 999-reenable-xrecord.diff to enable again the xrecord extension.
+
+ -- Vincent Fourmond <fourmond@debian.org>  Sat, 20 Feb 2010 18:06:50 +0100
+
 xorg-server (2:1.7.5-1) unstable; urgency=low
 
   [ Julien Cristau ]
diff -u xorg-server-1.7.5/debian/patches/series xorg-server-1.7.5/debian/patches/series
--- xorg-server-1.7.5/debian/patches/series
+++ xorg-server-1.7.5/debian/patches/series
@@ -14,0 +15 @@
+999-reenable-xrecord.diff
only in patch2:
unchanged:
--- xorg-server-1.7.5.orig/debian/patches/999-reenable-xrecord.diff
+++ xorg-server-1.7.5/debian/patches/999-reenable-xrecord.diff
@@ -0,0 +1,336 @@
+From e798d33aaee3773f6f9d7be76570e6458181faf7 Mon Sep 17 00:00:00 2001
+From: Peter Hutterer <peter.hutterer@who-t.net>
+Date: Tue, 5 Jan 2010 15:45:12 +1000
+Subject: [PATCH] dix: EventToCore needs to copy the root window too.
+
+This value isn't actually set for normal events but it saves us some work
+for the record extension support.
+
+Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
+---
+ dix/eventconvert.c |    1 +
+ test/input.c       |    4 +++-
+ 2 files changed, 4 insertions(+), 1 deletions(-)
+
+Index: xorg-server-1.7.5/dix/eventconvert.c
+===================================================================
+--- xorg-server-1.7.5.orig/dix/eventconvert.c	2010-02-20 18:06:03.000000000 +0100
++++ xorg-server-1.7.5/dix/eventconvert.c	2010-02-20 18:06:18.000000000 +0100
+@@ -119,6 +119,7 @@
+                 core->u.keyButtonPointer.rootX = e->root_x;
+                 core->u.keyButtonPointer.rootY = e->root_y;
+                 core->u.keyButtonPointer.state = e->corestate;
++                core->u.keyButtonPointer.root = e->root;
+                 EventSetKeyRepeatFlag(core, (e->type == ET_KeyPress && e->key_repeat));
+             }
+             break;
+Index: xorg-server-1.7.5/test/input.c
+===================================================================
+--- xorg-server-1.7.5.orig/test/input.c	2010-02-20 18:06:03.000000000 +0100
++++ xorg-server-1.7.5/test/input.c	2010-02-20 18:06:18.000000000 +0100
+@@ -153,6 +153,7 @@
+     int rc;
+     int state;
+     int detail;
++    const int ROOT_WINDOW_ID = 0x100;
+ 
+     /* EventToCore memsets the event to 0 */
+ #define test_event() \
+@@ -165,7 +166,7 @@
+     g_assert(core.u.keyButtonPointer.state == state); \
+     g_assert(core.u.keyButtonPointer.eventX == 0); \
+     g_assert(core.u.keyButtonPointer.eventY == 0); \
+-    g_assert(core.u.keyButtonPointer.root == 0); \
++    g_assert(core.u.keyButtonPointer.root == ROOT_WINDOW_ID); \
+     g_assert(core.u.keyButtonPointer.event == 0); \
+     g_assert(core.u.keyButtonPointer.child == 0); \
+     g_assert(core.u.keyButtonPointer.sameScreen == FALSE);
+@@ -181,6 +182,7 @@
+     ev.time     = time;
+     ev.root_y   = x;
+     ev.root_x   = y;
++    ev.root     = ROOT_WINDOW_ID;
+     ev.corestate = state;
+     ev.detail.key = detail;
+ 
+Index: xorg-server-1.7.5/Xi/exevents.c
+===================================================================
+--- xorg-server-1.7.5.orig/Xi/exevents.c	2010-02-20 18:06:03.000000000 +0100
++++ xorg-server-1.7.5/Xi/exevents.c	2010-02-20 18:06:18.000000000 +0100
+@@ -1051,16 +1051,19 @@
+             break;
+     }
+ 
+-#if 0
+-    /* FIXME: I'm broken. Please fix me. Thanks */
+     if (DeviceEventCallback) {
+ 	DeviceEventInfoRec eventinfo;
++	SpritePtr pSprite = device->spriteInfo->sprite;
+ 
+-	eventinfo.events = (xEventPtr) xE;
+-	eventinfo.count = count;
++	/* see comment in EnqueueEvents regarding the next three lines */
++	if (ev->any.type == ET_Motion)
++	    ev->device_event.root = WindowTable[pSprite->hotPhys.pScreen->myNum]->drawable.id;
++
++	eventinfo.device = device;
++	eventinfo.event = ev;
+ 	CallCallbacks(&DeviceEventCallback, (pointer) & eventinfo);
+     }
+-#endif
++
+     grab = device->deviceGrab.grab;
+ 
+     switch(event->type)
+Index: xorg-server-1.7.5/dix/events.c
+===================================================================
+--- xorg-server-1.7.5.orig/dix/events.c	2010-02-20 18:06:03.000000000 +0100
++++ xorg-server-1.7.5/dix/events.c	2010-02-20 18:06:18.000000000 +0100
+@@ -1131,11 +1131,10 @@
+         event->type == ET_KeyRelease)
+ 	AccessXCancelRepeatKey(device->key->xkbInfo, event->detail.key);
+ 
+-#if 0
+-        /* FIXME: I'm broken now. Please fix me. */
+     if (DeviceEventCallback)
+     {
+ 	DeviceEventInfoRec eventinfo;
++
+ 	/*  The RECORD spec says that the root window field of motion events
+ 	 *  must be valid.  At this point, it hasn't been filled in yet, so
+ 	 *  we do it here.  The long expression below is necessary to get
+@@ -1145,14 +1144,14 @@
+ 	 *  the data that GetCurrentRootWindow relies on hasn't been
+ 	 *  updated yet.
+ 	 */
+-	if (xE->u.u.type == DeviceMotionNotify)
+-	    XE_KBPTR.root =
+-		WindowTable[pSprite->hotPhys.pScreen->myNum]->drawable.id;
+-	eventinfo.events = xE;
+-	eventinfo.count = nevents;
++	if (ev->any.type == ET_Motion)
++	    ev->device_event.root = WindowTable[pSprite->hotPhys.pScreen->myNum]->drawable.id;
++
++	eventinfo.event = ev;
++	eventinfo.device = device;
+ 	CallCallbacks(&DeviceEventCallback, (pointer)&eventinfo);
+     }
+-#endif
++
+     if (event->type == ET_Motion)
+     {
+ #ifdef PANORAMIX
+Index: xorg-server-1.7.5/include/dix.h
+===================================================================
+--- xorg-server-1.7.5.orig/include/dix.h	2010-02-20 18:06:03.000000000 +0100
++++ xorg-server-1.7.5/include/dix.h	2010-02-20 18:06:18.000000000 +0100
+@@ -581,8 +581,8 @@
+ extern _X_EXPORT CallbackListPtr DeviceEventCallback;
+ 
+ typedef struct {
+-    xEventPtr events;
+-    int count;
++    InternalEvent *event;
++    DeviceIntPtr device;
+ } DeviceEventInfoRec;
+ 
+ extern int XItoCoreType(int xi_type);
+@@ -590,7 +590,7 @@
+ extern Bool _X_EXPORT IsPointerDevice( DeviceIntPtr dev);
+ extern Bool _X_EXPORT IsKeyboardDevice(DeviceIntPtr dev);
+ extern Bool IsPointerEvent(InternalEvent *event);
+-extern Bool IsMaster(DeviceIntPtr dev);
++extern _X_EXPORT Bool IsMaster(DeviceIntPtr dev);
+ 
+ extern _X_HIDDEN void CopyKeyClass(DeviceIntPtr device, DeviceIntPtr master);
+ extern _X_HIDDEN int CorePointerProc(DeviceIntPtr dev, int what);
+Index: xorg-server-1.7.5/include/eventconvert.h
+===================================================================
+--- xorg-server-1.7.5.orig/include/eventconvert.h	2010-02-20 18:06:03.000000000 +0100
++++ xorg-server-1.7.5/include/eventconvert.h	2010-02-20 18:06:18.000000000 +0100
+@@ -30,9 +30,9 @@
+ 
+ #define FP1616(integral, frac) ((integral) * (1 << 16) + (frac) * (1 << 16))
+ 
+-_X_INTERNAL int EventToCore(InternalEvent *event, xEvent *core);
+-_X_INTERNAL int EventToXI(InternalEvent *ev, xEvent **xi, int *count);
+-_X_INTERNAL int EventToXI2(InternalEvent *ev, xEvent **xi);
++_X_EXPORT int EventToCore(InternalEvent *event, xEvent *core);
++_X_EXPORT int EventToXI(InternalEvent *ev, xEvent **xi, int *count);
++_X_EXPORT int EventToXI2(InternalEvent *ev, xEvent **xi);
+ _X_INTERNAL int GetCoreType(InternalEvent* ev);
+ _X_INTERNAL int GetXIType(InternalEvent* ev);
+ _X_INTERNAL int GetXI2Type(InternalEvent* ev);
+Index: xorg-server-1.7.5/record/record.c
+===================================================================
+--- xorg-server-1.7.5.orig/record/record.c	2010-02-20 18:06:03.000000000 +0100
++++ xorg-server-1.7.5/record/record.c	2010-02-20 18:06:18.000000000 +0100
+@@ -42,6 +42,8 @@
+ #include "set.h"
+ #include "swaprep.h"
+ #include "inputstr.h"
++#include "eventconvert.h"
++
+ 
+ #include <stdio.h>
+ #include <assert.h>
+@@ -139,7 +141,8 @@
+     XID /*id*/
+ );
+ 
+-
++void RecordExtensionInit(void);
++
+ /***************************************************************************/
+ 
+ /* client private stuff */
+@@ -727,6 +730,59 @@
+ } /* RecordADeliveredEventOrError */
+ 
+ 
++static void
++RecordSendProtocolEvents(RecordClientsAndProtocolPtr pRCAP,
++			RecordContextPtr pContext,
++			xEvent* pev, int count)
++{
++    int ev; /* event index */
++
++    for (ev = 0; ev < count; ev++, pev++)
++    {
++	if (RecordIsMemberOfSet(pRCAP->pDeviceEventSet,
++		    pev->u.u.type & 0177))
++	{
++	    xEvent swappedEvent;
++	    xEvent *pEvToRecord = pev;
++#ifdef PANORAMIX
++	    xEvent shiftedEvent;
++
++	    if (!noPanoramiXExtension &&
++		    (pev->u.u.type == MotionNotify ||
++		     pev->u.u.type == ButtonPress ||
++		     pev->u.u.type == ButtonRelease ||
++		     pev->u.u.type == KeyPress ||
++		     pev->u.u.type == KeyRelease)) {
++		int scr = XineramaGetCursorScreen(inputInfo.pointer);
++		memcpy(&shiftedEvent, pev, sizeof(xEvent));
++		shiftedEvent.u.keyButtonPointer.rootX +=
++		    panoramiXdataPtr[scr].x -
++		    panoramiXdataPtr[0].x;
++		shiftedEvent.u.keyButtonPointer.rootY +=
++		    panoramiXdataPtr[scr].y -
++		    panoramiXdataPtr[0].y;
++		pEvToRecord = &shiftedEvent;
++	    }
++#endif /* PANORAMIX */
++
++	    if (pContext->pRecordingClient->swapped)
++	    {
++		(*EventSwapVector[pEvToRecord->u.u.type & 0177])
++		    (pEvToRecord, &swappedEvent);
++		pEvToRecord = &swappedEvent;
++	    }
++
++	    RecordAProtocolElement(pContext, NULL,
++		    XRecordFromServer,  pEvToRecord, SIZEOF(xEvent), 0);
++	    /* make sure device events get flushed in the absence
++	     * of other client activity
++	     */
++	    SetCriticalOutputPending();
++	}
++    } /* end for each event */
++
++} /* RecordADeviceEvent */
++
+ /* RecordADeviceEvent
+  *
+  * Arguments:
+@@ -756,55 +812,24 @@
+ 	{
+ 	    if (pRCAP->pDeviceEventSet)
+ 	    {
+-		int ev; /* event index */
+-		xEvent *pev = pei->events;
+-		for (ev = 0; ev < pei->count; ev++, pev++)
+-		{
+-		    if (RecordIsMemberOfSet(pRCAP->pDeviceEventSet,
+-					    pev->u.u.type & 0177))
+-		    {
+-		        xEvent swappedEvent;
+-		        xEvent *pEvToRecord = pev;
+-#ifdef PANORAMIX
+-		        xEvent shiftedEvent;
+-
+-			if (!noPanoramiXExtension &&
+-			    (pev->u.u.type == MotionNotify ||
+-			     pev->u.u.type == ButtonPress ||
+-			     pev->u.u.type == ButtonRelease ||
+-			     pev->u.u.type == KeyPress ||
+-			     pev->u.u.type == KeyRelease)) {
+-				int scr = XineramaGetCursorScreen(inputInfo.pointer);
+-				memcpy(&shiftedEvent, pev, sizeof(xEvent));
+-				shiftedEvent.u.keyButtonPointer.rootX +=
+-				    panoramiXdataPtr[scr].x - 
+-					panoramiXdataPtr[0].x;
+-				shiftedEvent.u.keyButtonPointer.rootY +=
+-				    panoramiXdataPtr[scr].y -
+-					panoramiXdataPtr[0].y;
+-				pEvToRecord = &shiftedEvent;
+-			}
+-#endif /* PANORAMIX */
++		int count;
++		xEvent *xi_events = NULL;
+ 
+-			if (pContext->pRecordingClient->swapped)
+-			{
+-			    (*EventSwapVector[pEvToRecord->u.u.type & 0177])
+-				(pEvToRecord, &swappedEvent);
+-			    pEvToRecord = &swappedEvent;
+-			}
++		/* TODO check return values */
++		if (IsMaster(pei->device))
++		{
++		    xEvent xE;
++		    EventToCore(pei->event, &xE);
++		    RecordSendProtocolEvents(pRCAP, pContext, &xE, 1);
++		}
+ 
+-			RecordAProtocolElement(pContext, NULL,
+-			   XRecordFromServer,  pEvToRecord, SIZEOF(xEvent), 0);
+-			/* make sure device events get flushed in the absence
+-			 * of other client activity
+-			 */
+-			SetCriticalOutputPending();
+-		    }
+-		} /* end for each event */
++		EventToXI(pei->event, &xi_events, &count);
++		RecordSendProtocolEvents(pRCAP, pContext, xi_events, count);
++		xfree(xi_events);
+ 	    } /* end this RCAP selects device events */
+ 	} /* end for each RCAP on this context */
+     } /* end for each enabled context */
+-} /* RecordADeviceEvent */
++}
+ 
+ 
+ /* RecordFlushAllContexts
+@@ -2866,13 +2891,6 @@
+ void 
+ RecordExtensionInit(void)
+ {
+-    /* FIXME Record is currently broken. Dont initialize it so that clients
+-     * that require it can bail out correctly rather than waiting for stuff
+-     * that'll never happen */
+-    ErrorF("record: RECORD extension enabled at configure time.\n");
+-    ErrorF("record: This extension is known to be broken, disabling extension now..\n");
+-    ErrorF("record: http://bugs.freedesktop.org/show_bug.cgi?id=20500\n";);
+-#if 0
+     ExtensionEntry *extentry;
+ 
+     RTContext = CreateNewResourceType(RecordDeleteContext);
+@@ -2895,6 +2913,5 @@
+     }
+     RecordErrorBase = extentry->errorBase;
+ 
+-#endif
+ } /* RecordExtensionInit */
+ 

Reply to: