Bug#901330: xserver-xorg-core: Consider autobind-GPUs patch

2018-06-11 Thread Sam Morris
Package: xserver-xorg-core
Version: 1.19.6-1
Severity: wishlist
Tags: upstream patch

Red Hat, Fedora and Ubuntu have been carrying (an older iteration of)
the attached patch for a while. It makes external displays on laptops
such as the Lenono P50, which wires them to the discrete GPU only,
usable without explicit configuration by the end user (e.g., arranging
to run xrandr --setprovideroutputsource during login).

I've been testing this on my laptop for a few days and haven't seen any
particular problems with it (I have filed separate bugs for the other
issues that I've seen while testing).

NB, after applying the patch, you still have to enable the AutoBindGPU
option in a ServerFlags section of xorg.conf. It would be nice if the
functionality could be enabled by default, as it is in the other
distributions that ship earlier versions of the patch.

-- Package-specific info:
/etc/X11/X does not exist.
/etc/X11/X is not a symlink.
/etc/X11/X is not executable.

VGA-compatible devices on PCI bus:
--
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 530 
[8086:191b] (rev 06)
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM107GLM [Quadro 
M2000M] [10de:13b0] (rev a2)

/etc/X11/xorg.conf does not exist.

Contents of /etc/X11/xorg.conf.d:
-
total 4
-rw-r--r-- 1 root root 62 Jun  4 13:47 10-auto-bind-gpu.conf

/etc/modprobe.d contains no KMS configuration files.

Kernel version (/proc/version):
---
Linux version 4.16.0-2-amd64 (debian-ker...@lists.debian.org) (gcc version 
7.3.0 (Debian 7.3.0-19)) #1 SMP Debian 4.16.12-1 (2018-05-27)

Xorg X server log files on system:
--
-rw-r--r-- 1 sam sam 76928 May 24 13:40 /home/sam/.local/share/xorg/Xorg.2.log
-rw-r--r-- 1 sam sam 64495 Jun 11 14:14 /home/sam/.local/share/xorg/Xorg.1.log

Contents of most recent Xorg X server log file 
(/home/sam/.local/share/xorg/Xorg.1.log):

[49.331] _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() 
failed
[49.331] _XSERVTransMakeAllCOTSServerListeners: server already running
[49.331] (--) Log file renamed from 
"/home/sam/.local/share/xorg/Xorg.pid-1598.log" to 
"/home/sam/.local/share/xorg/Xorg.1.log"
[49.331] 
X.Org X Server 1.20.0
X Protocol Version 11, Revision 0
[49.331] Build Operating System: Linux 4.16.0-2-amd64 x86_64 Debian
[49.331] Current Operating System: Linux joyeux 4.16.0-2-amd64 #1 SMP 
Debian 4.16.12-1 (2018-05-27) x86_64
[49.331] Kernel command line: BOOT_IMAGE=/vmlinuz-4.16.0-2-amd64 
root=/dev/mapper/joyeux-root ro quiet cgroup_enable=memory swapaccount=1 
zswap.enabled=1 splash
[49.331] Build Date: 04 June 2018  09:39:00AM
[49.331] xorg-server 2:1.20.0-2sam1 (https://www.debian.org/support) 
[49.331] Current version of pixman: 0.34.0
[49.331]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[49.331] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[49.331] (==) Log file: "/home/sam/.local/share/xorg/Xorg.1.log", Time: Thu 
Jun  7 17:36:38 2018
[49.331] (==) Using config directory: "/etc/X11/xorg.conf.d"
[49.331] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[49.331] (==) No Layout section.  Using the first Screen section.
[49.331] (==) No screen section available. Using defaults.
[49.331] (**) |-->Screen "Default Screen Section" (0)
[49.331] (**) |   |-->Monitor ""
[49.332] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[49.332] (**) Option "AutoBindGPU" "true"
[49.332] (==) Automatically adding devices
[49.332] (==) Automatically enabling devices
[49.332] (==) Automatically adding GPU devices
[49.332] (**) Automatically binding GPU devices
[49.332] (==) Max clients allowed: 256, resource mask: 0x1f
[49.332] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[49.332]Entry deleted from font path.
[49.332] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[49.332] (==) ModulePath set to "/usr/lib/xorg/modules"
[49.332] (II) The server relies on udev to provide the list of input 
devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
[49.332] (II) Loader magic: 0x560ce08ddde0
[49.332] (II) Module ABI versions:
[49.332]X.Org ANSI C Emulation: 0.4
[  

Bug#896979: xserver-xorg-video-nouveau: Crash when undocking Lenovo P50

2018-06-07 Thread Sam Morris
On Wed, Jun 06, 2018 at 07:49:05PM +0200, Sven Joachim wrote:
> >
> > Looks like the nouveau driver needs something like
> >
> > https://cgit.freedesktop.org/xorg/driver/xf86-video-amdgpu/commit/?id=f4107f67f147e2500582fc36cf0f0f76bc1ef098
> 
> Sam, could you please test the attached patch?
> 
> TIA,
> Sven
> 

Works like a dream. Undocking and re-docking again worked at least once,
but it's not totally reliable. On the other hand it's much better than a
crash. :)

-- 
Sam Morris <https://robots.org.uk/>
CAAA AA1A CA69 A83A 892B  1855 D20B 4202 5CDA 27B9



Bug#896979: xserver-xorg-video-nouveau: Crash when undocking Lenovo P50

2018-06-06 Thread Sam Morris
Source: xserver-xorg-video-nouveau
Followup-For: Bug #896979

I'm still seeing this with Xorg 1.20 (which is not unexpected). Here's a
better backtrace:

#0  0x7fd90edb5e7b in __GI_raise (sig=sig@entry=6) at 
../sysdeps/unix/sysv/linux/raise.c:51
#1  0x7fd90edb7231 in __GI_abort () at abort.c:79
#2  0x557576dc55ca in OsAbort () at ../../../../os/utils.c:1350
#3  0x557576dcb163 in AbortServer () at ../../../../os/log.c:877
#4  0x557576dcbf85 in FatalError (f=f@entry=0x557576dfec30 "Caught 
signal %d (%s). Server aborting\n") at ../../../../os/log.c:1015
#5  0x557576dc26b3 in OsSigHandler (signo=11, sip=, 
unused=) at ../../../../os/osinit.c:156
#6  0x7fd90f14cf50 in  () at 
/lib/x86_64-linux-gnu/libpthread.so.0
#7  0x7fd90c027f29 in drmmode_output_dpms (output=0x557578bfaf20, 
mode=3) at ../../src/drmmode_display.c:921
#8  0x557576cd8813 in xf86DisableUnusedFunctions (pScrn=0x557578a6a120) 
at ../../../../../../hw/xfree86/modes/xf86Crtc.c:3021
#9  0x557576ce0980 in xf86RandR12CrtcSet (pScreen=, 
randr_crtc=0x557578c33220, randr_mode=0x0, x=0, y=0, rotation=, 
num_randr_outputs=0, randr_outputs=0x0) at 
../../../../../../hw/xfree86/modes/xf86RandR12.c:1241
#10 0x557576d20122 in RRCrtcSet (crtc=, mode=0x0, x=0, 
y=0, rotation=rotation@entry=1, numOutputs=numOutputs@entry=0, outputs=0x0) at 
../../../../randr/rrcrtc.c:774
#11 0x557576d219fe in ProcRRSetCrtcConfig (client=0x557578a598f0) at 
../../../../randr/rrcrtc.c:1401
#12 0x557576c660b8 in Dispatch () at ../../../../dix/dispatch.c:478
#13 0x557576c6a0b8 in dix_main (argc=13, argv=0x7ffd47296448, 
envp=) at ../../../../dix/main.c:276
#14 0x7fd90eda2a87 in __libc_start_main (main=0x557576c53d80 , 
argc=13, argv=0x7ffd47296448, init=, fini=, 
rtld_fini=, stack_end=0x7ffd47296438) at ../csu/libc-start.c:310
#15 0x557576c53dba in _start ()

(gdb) frame 7
#7  drmmode_output_dpms (output=0x557578bfaf20, mode=3) at 
../../src/drmmode_display.c:921
921 in ../../src/drmmode_display.c

Looking at that file in nouveau's source code:

static void
drmmode_output_dpms(xf86OutputPtr output, int mode)
{
drmmode_output_private_ptr drmmode_output = output->driver_private;
drmModeConnectorPtr koutput = drmmode_output->mode_output;
drmModePropertyPtr props;
drmmode_ptr drmmode = drmmode_output->drmmode;
int mode_id = -1, i;

for (i = 0; i < koutput->count_props; i++) { // <-- this line!
props = drmModeGetProperty(drmmode->fd, koutput->props[i]);
if (props && (props->flags & DRM_MODE_PROP_ENUM)) {
if (!strcmp(props->name, "DPMS")) {
mode_id = koutput->props[i];
drmModeFreeProperty(props);
break;
}
drmModeFreeProperty(props);
}
}

Examining some variables:

(gdb) p i
$7 = 0

(gdb) p koutput
$8 = (struct _drmModeConnector *) 0x0

(gdb) p *drmmode_output
$9 = {
  drmmode = 0x557578bf9370, 
  output_id = 73, 
  mode_output = 0x0, 
  mode_encoder = 0x557578bf96a0, 
  edid_blob = 0x0, 
  num_props = 10, 
  props = 0x557578c38f10
}

So anyway... are you likely to consider that alternative patch to Xorg,
to make it not consider nouveau for newer devices? I have tested it and
it works fine--although another bug (#900877) makes the modesetting
driver not work with external displays.

-- System Information:
Debian Release: 9.4
  APT prefers stable-updates
  APT policy: (540, 'stable-updates'), (540, 'stable'), (520, 'testing'), (510, 
'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 4.9.0-6-686-pae (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



Bug#900877: xserver-xorg-core: Can't use external displays wired via GM107GLM driven by modesetting

2018-06-06 Thread Sam Morris
Package: xserver-xorg-core
Followup-For: Bug #900877

I forgot to mention--this is not present in 1.19.6.

Sam



Bug#900877: xserver-xorg-core: Can't use external displays wired via GM107GLM driven by modesetting

2018-06-06 Thread Sam Morris
Package: xserver-xorg-core
Version: 2:1.20.0-2
Severity: normal

I'm unable to use external monitors with the modesetting driver on my
Lenovo P50 with 1.20.

The X server logs the following:

(II) modeset(0): Allocate new frame buffer 5760x2160 stride
randr: falling back to unsynchronized pixmap sharing
(EE) modeset(G0): failed to set mode: No such file or directory

... which appears to be caused by:

getpid()= 1410
getpid()= 1410
ioctl(13, DRM_IOCTL_MODE_SETGAMMA, 0x7ffcce40f3c0) = 0
ioctl(13, DRM_IOCTL_MODE_SETCRTC, 0x7ffcce40f2b0) = -1 ENOENT (No such file 
or directory)
--- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
rt_sigreturn({mask=[]}) = -1 ENOENT (No such file or 
directory)
write(2, "(EE) modeset(G0): failed to set "..., 64) = 64

I've switched back to the nouveau driver, which is able to use the
displays, but has other problems with this video card.

-- Package-specific info:
/etc/X11/X does not exist.
/etc/X11/X is not a symlink.
/etc/X11/X is not executable.

VGA-compatible devices on PCI bus:
--
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 530 
[8086:191b] (rev 06)
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM107GLM [Quadro 
M2000M] [10de:13b0] (rev a2)

/etc/X11/xorg.conf does not exist.

Contents of /etc/X11/xorg.conf.d:
-
total 4
-rw-r--r-- 1 root root 62 Jun  4 13:47 10-auto-bind-gpu.conf

/etc/modprobe.d contains no KMS configuration files.

Kernel version (/proc/version):
---
Linux version 4.16.0-2-amd64 (debian-ker...@lists.debian.org) (gcc version 
7.3.0 (Debian 7.3.0-19)) #1 SMP Debian 4.16.12-1 (2018-05-27)

Xorg X server log files on system:
--
-rw-r--r-- 1 root docker 12812 Oct  2  2017 /var/log/Xorg.8.log
-rw-r--r-- 1 sam  sam76928 May 24 13:40 
/home/sam/.local/share/xorg/Xorg.2.log
-rw-r--r-- 1 sam  sam62682 Jun  6 10:09 
/home/sam/.local/share/xorg/Xorg.1.log

Contents of most recent Xorg X server log file 
(/home/sam/.local/share/xorg/Xorg.1.log):

[53.423] _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() 
failed
[53.423] _XSERVTransMakeAllCOTSServerListeners: server already running
[53.423] (--) Log file renamed from 
"/home/sam/.local/share/xorg/Xorg.pid-1666.log" to 
"/home/sam/.local/share/xorg/Xorg.1.log"
[53.424] 
X.Org X Server 1.20.0
X Protocol Version 11, Revision 0
[53.424] Build Operating System: Linux 4.16.0-2-amd64 x86_64 Debian
[53.424] Current Operating System: Linux joyeux 4.16.0-2-amd64 #1 SMP 
Debian 4.16.12-1 (2018-05-27) x86_64
[53.424] Kernel command line: BOOT_IMAGE=/vmlinuz-4.16.0-2-amd64 
root=/dev/mapper/joyeux-root ro quiet cgroup_enable=memory swapaccount=1 
zswap.enabled=1 splash
[53.424] Build Date: 04 June 2018  09:39:00AM
[53.424] xorg-server 2:1.20.0-2sam1 (https://www.debian.org/support) 
[53.424] Current version of pixman: 0.34.0
[53.424]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[53.424] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[53.424] (==) Log file: "/home/sam/.local/share/xorg/Xorg.1.log", Time: Wed 
Jun  6 10:09:03 2018
[53.424] (==) Using config directory: "/etc/X11/xorg.conf.d"
[53.424] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[53.424] (==) No Layout section.  Using the first Screen section.
[53.424] (==) No screen section available. Using defaults.
[53.424] (**) |-->Screen "Default Screen Section" (0)
[53.424] (**) |   |-->Monitor ""
[53.424] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[53.424] (**) Option "AutoBindGPU" "true"
[53.424] (==) Automatically adding devices
[53.424] (==) Automatically enabling devices
[53.424] (==) Automatically adding GPU devices
[53.424] (**) Automatically binding GPU devices
[53.424] (==) Max clients allowed: 256, resource mask: 0x1f
[53.424] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[53.424]Entry deleted from font path.
[53.424] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[53.424] (==) ModulePath set to "/usr/lib/xorg/modules"
[53.424] (II) The server relies on udev to provide the list of input 
devices.
 

Bug#896979: xserver-xorg-video-nouveau: Crash when undocking Lenovo P50

2018-04-27 Thread Sam Morris
On Thu, 2018-04-26 at 18:45 +0200, Sven Joachim wrote:
> On 2018-04-26 14:13 +0000, Sam Morris wrote:
> 
> > Followup-For: Bug #896979
> > Control: tag -1 + patch
> > 
> > This patch (taken from
> > <https://koji.fedoraproject.org/koji/buildinfo?buildID=895060>)
> > fixes
> > the problem for me.
> > 
> > (Note, I modified the patch to end the log message with a newline
> > character).
> > 
> > From 5533658dd1afa31557d4ec4b469181f1d592d8c8 Mon Sep 17
> > 00:00:00 2001
> > From: Ben Skeggs 
> > Date: Sat, 20 May 2017 00:29:27 +1000
> > Subject: [PATCH] remove support for maxwell and higher
> 
> I don't think this is a good idea, unless upstream agrees to it.  I
> would rather have us patch the xorg-server package to not use the
> nouveau driver by default on such cards, as we do for Intel GPUs.
> 
> For the record, Fedora currently uses the modesetting driver on all
> cards from GeForce 8 onwards[1].
> 
> Cheers,
>Sven
> 
> 
> 1. https://src.fedoraproject.org/rpms/xorg-x11-server/blob/master/f/0
> 001-xfree86-use-modesetting-driver-by-default-on-GeForce.patch

Either solution sounds good to me! =D

-- 
Sam Morris <https://robots.org.uk/>
PGP: rsa4096/CAAA AA1A CA69 A83A 892B  1855 D20B 4202 5CDA 27B9


signature.asc
Description: This is a digitally signed message part


Bug#896979: xserver-xorg-video-nouveau: Crash when undocking Lenovo P50

2018-04-26 Thread Sam Morris
Followup-For: Bug #896979
Control: tag -1 + patch

This patch (taken from
) fixes
the problem for me.

(Note, I modified the patch to end the log message with a newline
character).

From 5533658dd1afa31557d4ec4b469181f1d592d8c8 Mon Sep 17 00:00:00 2001
From: Ben Skeggs 
Date: Sat, 20 May 2017 00:29:27 +1000
Subject: [PATCH] remove support for maxwell and higher

xf86-video-modesetting does a way better job.

Signed-off-by: Ben Skeggs 
---
 src/nv_driver.c | 6 ++
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/nv_driver.c b/src/nv_driver.c
index 32062eb..f9d47eb 100644
--- a/src/nv_driver.c
+++ b/src/nv_driver.c
@@ -389,12 +389,10 @@ NVHasKMS(struct pci_device *pci_dev, struct 
xf86_platform_device *platform_dev)
case 0xe0:
case 0xf0:
case 0x100:
-   case 0x110:
-   case 0x120:
-   case 0x130:
break;
default:
-   xf86DrvMsg(-1, X_ERROR, "Unknown chipset: NV%02X\n", chipset);
+   xf86DrvMsg(-1, X_INFO, "Using xf86-video-modesetting for "
+  "Maxwell and newer GPUs.\n");
return FALSE;
}
return TRUE;
-- 
2.13.0

-- System Information:
Debian Release: 9.4
  APT prefers stable-updates
  APT policy: (540, 'stable-updates'), (540, 'stable'), (520, 'testing'), (510, 
'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 4.9.0-6-686-pae (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



Bug#896979: xserver-xorg-video-nouveau: Crash when undocking Lenovo P50

2018-04-26 Thread Sam Morris
Package: xserver-xorg-video-nouveau
Version: 1:1.0.15-2
Severity: normal

When undocking my Lenovo P50, X crashes with:

[821563.021] (II) config/udev: removing device Logitech USB Optical Mouse
[821563.022] (**) Option "fd" "30"
[821563.022] (II) event6  - Logitech USB Optical Mouse: device removed
[821563.042] (II) UnloadModule: "libinput"
[821563.042] (II) systemd-logind: releasing fd for 13:70
[821563.183] (II) config/udev: removing device Logitech USB Keyboard
[821563.183] (**) Option "fd" "31"
[821563.183] (II) event7  - Logitech USB Keyboard: device removed
[821563.200] (II) UnloadModule: "libinput"
[821563.201] (II) systemd-logind: releasing fd for 13:71
[821563.258] (II) config/udev: removing device Logitech USB Keyboard
[821563.258] (**) Option "fd" "32"
[821563.258] (II) event8  - Logitech USB Keyboard: device removed
[821563.279] (II) UnloadModule: "libinput"
[821563.279] (II) systemd-logind: releasing fd for 13:72
[821563.380] (II) config/udev: removing device Plantronics Plantronics 
C325-M
[821563.381] (**) Option "fd" "33"
[821563.381] (II) event9  - Plantronics Plantronics C325-M: device removed
[821563.391] (II) UnloadModule: "libinput"
[821563.392] (II) systemd-logind: releasing fd for 13:73
[821563.430] (II) modeset(0): EDID vendor "SHP", prod id 5179
[821563.430] (II) modeset(0): Printing DDC gathered Modelines:
[821563.430] (II) modeset(0): Modeline "3840x2160"x0.0  533.25  3840 3888 
3920 4000  2160 2163 2168  -hsync -vsync (133.3 kHz eP)
[821563.789] (II) modeset(0): EDID vendor "SHP", prod id 5179
[821563.789] (II) modeset(0): Printing DDC gathered Modelines:
[821563.789] (II) modeset(0): Modeline "3840x2160"x0.0  533.25  3840 3888 
3920 4000  2160 2163 2168  -hsync -vsync (133.3 kHz eP)
[821564.511] failed to get BO with handle -1
[821564.511] (EE) 
[821564.511] (EE) Backtrace:
[821564.512] (EE) 0: /usr/lib/xorg/Xorg (xorg_backtrace+0x4d) 
[0x558941ee0e3d]
[821564.512] (EE) 1: /usr/lib/xorg/Xorg (0x558941d29000+0x1bbbd9) 
[0x558941ee4bd9]
[821564.512] (EE) 2: /lib/x86_64-linux-gnu/libpthread.so.0 
(0x7f9837ace000+0x11f50) [0x7f9837adff50]
[821564.512] (EE) 3: /usr/lib/xorg/modules/drivers/nouveau_drv.so 
(0x7f98349aa000+0x26759) [0x7f98349d0759]
[821564.512] (EE) 4: /usr/lib/xorg/Xorg (xf86DisableUnusedFunctions+0x53) 
[0x558941df3803]
[821564.512] (EE) 5: /usr/lib/xorg/Xorg (0x558941d29000+0xd24d0) 
[0x558941dfb4d0]
[821564.512] (EE) 6: /usr/lib/xorg/Xorg (RRCrtcSet+0x122) [0x558941e3ef42]
[821564.512] (EE) 7: /usr/lib/xorg/Xorg (ProcRRSetCrtcConfig+0x253) 
[0x558941e407c3]
[821564.512] (EE) 8: /usr/lib/xorg/Xorg (0x558941d29000+0x52d48) 
[0x558941d7bd48]
[821564.512] (EE) 9: /usr/lib/xorg/Xorg (0x558941d29000+0x56d90) 
[0x558941d7fd90]
[821564.513] (EE) 10: /lib/x86_64-linux-gnu/libc.so.6 
(__libc_start_main+0xe7) [0x7f9837735a87]
[821564.513] (EE) 11: /usr/lib/xorg/Xorg (_start+0x2a) [0x558941d69a3a]
[821564.513] (EE) 
[821564.513] (EE) Segmentation fault at address 0x30
[821564.513] (EE) 
Fatal server error:
[821564.513] (EE) Caught signal 11 (Segmentation fault). Server aborting
[821564.513] (EE) 
[821564.513] (EE) 
Please consult the The X.Org Foundation support 
 at http://wiki.x.org
 for help. 
[821564.513] (EE) Please also check the log file at 
"/home/sam/.local/share/xorg/Xorg.1.log" for additional information.
[821564.513] (EE) 
[821564.513] (II) AIGLX: Suspending AIGLX clients for VT switch
[821565.550] (EE) Server terminated with error (1). Closing log file.

According to :

The newer nouveau versions add support for Maxwell/Pascal (against
my recommendation...), however, the nouveau DDX cannot handle DP MST
hotplugging, which at least the P50 dock makes use of.  I suspect
this is the cause of the dock issues on the newer version.

In F26/rawhide, I've modified the xserver to autoconfigure
'modesetting' on new NVIDIA GPUs.  For F25, I'll probably submit a
revert patch for just Maxwell/Pascal.

-- Package-specific info:
/etc/X11/X does not exist.
/etc/X11/X is not a symlink.
/etc/X11/X is not executable.

VGA-compatible devices on PCI bus:
--
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 530 
[8086:191b] (rev 06)
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM107GLM [Quadro 
M2000M] [10de:13b0] (rev a2)

/etc/X11/xorg.conf does not exist.

/etc/X11/xorg.conf.d does not exist.

/etc/modprobe.d contains no KMS configuration files.

Kernel version (/proc/version):
---
Linux version 4.15.0-3-amd64 (debian-ker...@lists.debian.org) (gcc version 
7.3.0 (Debian 7.3.0-16)) #1 SMP Debian 4.15.17-1 (2018-04-19)

udev information:
-
P: /devices/LNXSYSTM:

Bug#887402: Xwayland: random crash (SIGABRT) while running under gdm

2018-02-21 Thread Sam Morris
Control: reassign -1 mutter 3.26.2-1
Control: affects -1 gnome-shell xwayland 
Control: retitle -1  Xwayland error "invalid global wl_output" and gnome-shell 
killed by SIGTRAP
Control: forwarded -1 https://bugzilla.gnome.org/show_bug.cgi?id=789070
Control: severity -1 important
Control: tags -1 + upstream fixed-upstream patch

On Tue, Jan 16, 2018 at 08:14:42AM +0800, Paul Wise wrote:
> #5  0x56053ad8d26c in xwl_log_handler (format=, 
> args=) at ../../../../../hw/xwayland/xwayland.c:883
> msg = "wl_registry@2: error 0: invalid global wl_output 
> (22)\n\000\000\256\006\000\000\000\000\000\000\000\000\001\000\000\000\000\000\064\207q\277\036\177\000\000p8fD\377\177\000\000\024",
>  '\000' , 
> "p8fD\377\177\000\000\000\000\000\000\000\000\001\000\000\000\220\006\000\000\032\004\000\000\001\000\000\000\000\000\000\236A\370ˊ\315,-\000\000\000\000\000\000\000p8fD\377\177\000\000p8fD\377\177\000\000*f=\277\036\177\000\000\340\070fD\377\177\000\000\250M\001<\005V\000\000\260M\001<\005V\000\000\204"...

I'm seeing a lot of gnome-shell crashes caused by this! The symptoms are
that when I unsuspend my Lenovo P50, or dock or undock it, or plug or
unplug a monitor, or switch VCs a few times, there's a high probability
of seeing this pattern of crashes:

TIMEPID   UID   GID SIG COREFILE  EXE
Wed 2018-02-21 09:14:38 GMT5730  1000  1000   6 present   /usr/bin/Xwayland
Wed 2018-02-21 09:14:41 GMT5710  1000  1000   5 present   
/usr/bin/gnome-shell

gnome-shell notices that Xwayland has aborted, and kills itself, after logging 
the following:

Feb 21 09:14:36 org.gnome.Shell.desktop[5710]: (EE)
Feb 21 09:14:36 org.gnome.Shell.desktop[5710]: Fatal server error:
Feb 21 09:14:36 org.gnome.Shell.desktop[5710]: (EE) wl_registry@2: error 0: 
invalid global wl_output (37)
Feb 21 09:14:36 org.gnome.Shell.desktop[5710]: (EE)
Feb 21 09:14:38 org.gnome.Shell.desktop[5710]: xcb_connection_has_error() 
returned true
Feb 21 09:14:38 gnome-shell[5710]: Connection to xwayland lost
Feb 21 09:14:38 org.gnome.Shell.desktop[5710]: == Stack trace for context 
0x559d248be000 ==
[... lots more programs die, having lost their connection to the X server ...]
Feb 21 09:14:39 gnome-session[5677]: gnome-session-binary[5677]: WARNING: 
Application 'org.gnome.Shell.desktop' killed by signal 5
Feb 21 09:14:39 gnome-session-binary[5677]: WARNING: Application 
'org.gnome.Shell.desktop' killed by signal 5
Feb 21 09:14:39 gnome-session-binary[5677]: Unrecoverable failure in required 
component org.gnome.Shell.desktop

Note that Xwayland itself is not logging any messages; they are passed
to gnome-shell, which logs them on its behalf.

This should be fixed by mutter 3.26.3 is out. Other useful references:

https://bugzilla.gnome.org/show_bug.cgi?id=789070
https://phabricator.freedesktop.org/T7722
https://lists.x.org/archives/xorg-devel/2017-October/055025.html
https://bugzilla.redhat.com/show_bug.cgi?id=1514220
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1731911

-- 
Sam Morris <https://robots.org.uk/>
CAAA AA1A CA69 A83A 892B  1855 D20B 4202 5CDA 27B9



Bug#688860: xserver-xorg-input-evdev: mouse cursor jumping with absolute input device

2012-09-30 Thread Sam Morris
tag 688860 + fixed-upstream patch
thanks

Fixed in this commit:
<http://cgit.freedesktop.org/xorg/xserver/commit/?id=3d1051aecbb1955084804133cacd12c7f696833a>

-- 
Sam Morris <https://robots.org.uk/>
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078


signature.asc
Description: This is a digitally signed message part


Bug#688860: xserver-xorg-input-evdev: mouse cursor jumping with absolute input device

2012-09-26 Thread Sam Morris
Package: xserver-xorg-input-evdev
Version: 1:2.7.0-1
Severity: important
Forwarded: https://bugs.freedesktop.org/show_bug.cgi?id=54353

When running inside a VirtualBox virtual machine with mouse integration
enabled, the mouse cursor will randomly jump to the top and/or left of
the screen.

A workaround is described in
, and it works
for me, though I can not say what other side effects are caused by not
resetting the valuator mask after motion events are posted.

(Would have been forwarded to https://www.virtualbox.org/ticket/10853
before I knew this was an Xorg bug.)

-- Package-specific info:
X server symlink status:

lrwxrwxrwx 1 root root 13 Feb  8  2010 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 2044664 Aug 21 20:55 /usr/bin/Xorg

VGA-compatible devices on PCI bus:
--
00:02.0 VGA compatible controller [0300]: InnoTek Systemberatung GmbH 
VirtualBox Graphics Adapter [80ee:beef]

/etc/X11/xorg.conf does not exist.

/etc/X11/xorg.conf.d does not exist.

/etc/modprobe.d contains no KMS configuration files.

Kernel version (/proc/version):
---
Linux version 3.2.0-3-amd64 (Debian 3.2.23-1) (debian-ker...@lists.debian.org) 
(gcc version 4.6.3 (Debian 4.6.3-8) ) #1 SMP Mon Jul 23 02:45:17 UTC 2012

Xorg X server log files on system:
--
-rw-r--r-- 1 root root 31040 May 30 11:27 /var/log/Xorg.1.log
-rw-r--r-- 1 root root 31226 Sep 26 12:51 /var/log/Xorg.0.log

Contents of most recent Xorg X server log file (/var/log/Xorg.0.log):
-
[2910181.019] 
X.Org X Server 1.12.3.902 (1.12.4 RC 2)
Release Date: 2012-08-19
[2910181.019] X Protocol Version 11, Revision 0
[2910181.019] Build Operating System: Linux 3.2.0-3-amd64 x86_64 Debian
[2910181.019] Current Operating System: Linux leela.office.red-redemption.com 
3.2.0-3-amd64 #1 SMP Mon Jul 23 02:45:17 UTC 2012 x86_64
[2910181.019] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-3-amd64 
root=UUID=10911f8b-c532-4347-b502-3108a6f9feba ro console=ttyS0 console=tty0 
quiet init=/lib/systemd/systemd splash
[2910181.019] Build Date: 21 August 2012  07:36:50PM
[2910181.019] xorg-server 2:1.12.3.902-1 (Julien Cristau ) 
[2910181.019] Current version of pixman: 0.26.0
[2910181.019]   Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[2910181.019] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[2910181.019] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Sep 26 12:51:22 
2012
[2910181.019] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[2910181.019] (==) No Layout section.  Using the first Screen section.
[2910181.019] (==) No screen section available. Using defaults.
[2910181.019] (**) |-->Screen "Default Screen Section" (0)
[2910181.019] (**) |   |-->Monitor ""
[2910181.020] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[2910181.020] (==) Automatically adding devices
[2910181.020] (==) Automatically enabling devices
[2910181.021] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[2910181.021]   Entry deleted from font path.
[2910181.021] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[2910181.021]   Entry deleted from font path.
[2910181.021] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[2910181.021]   Entry deleted from font path.
[2910181.021] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[2910181.021]   Entry deleted from font path.
[2910181.021] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[2910181.021]   Entry deleted from font path.
[2910181.021] (WW) The directory 
"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist.
[2910181.021]   Entry deleted from font path.
[2910181.021] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[2910181.021] (==) ModulePath set to "/usr/lib/xorg/modules"
[2910181.021] (II) The server relies on udev to provide the list of input 
devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
[2910181.021] (II) Loader magic: 0x7f48e9324ae0
[2910181.021] (II) Module ABI versions:
[2910181.021]   X.Org ANSI C Emulation: 0.4
[2910181.021]   X.Org Video Driver: 12.1
[2910181.021]   X.Org XInput driver : 16.0
[2910181.021]   X.Org Server Extension : 6.0
[2910181.023] (--) PCI:*(0:0:2:0) 80ee:beef:: rev 0, Mem @ 
0xe000/16777216
[2910181.023] (II) Open ACPI successful (/var/run/acpid.socket)
[2910181.023] (II) LoadModule: "extmod"
[2910181.023] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[291

Bug#626682: Side effects are not limited to sylog messages...

2011-05-29 Thread Sam Morris
On Sun, 2011-05-29 at 22:40 +0200, Cyril Brulebois wrote:
> Sam Morris  (29/05/2011):
> > My CPU is an Intel Core i7 920.
> > 
> > I'm finding using my computer fairly madenning because of this bug,
> > which is worked around by activating the memmove preload library. I
> > would appreciate it if the patch could be applied to the Debian
> > packages of Xorg soon.
> 
> Well, sorry, but I think time is better spent pushing for its being
> merged upstream, which is what I did/do.
> 
> Why are you using the fbdev driver anyway?

TBH I didn't know that I was. I'm using vboxvideo_drv.so...

> Mraw,
> KiBi.

-- 
Sam Morris <https://robots.org.uk/>
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078


signature.asc
Description: This is a digitally signed message part


Bug#626682: Side effects are not limited to sylog messages...

2011-05-29 Thread Sam Morris
For some time I've been dealing with this happening whenever I move a
window to the left:

http://www.virtualbox.org/attachment/ticket/8909/corruption.png

My CPU is an Intel Core i7 920.

I'm finding using my computer fairly madenning because of this bug,
which is worked around by activating the memmove preload library. I
would appreciate it if the patch could be applied to the Debian packages
of Xorg soon.

-- 
Sam Morris <https://robots.org.uk/>
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078


signature.asc
Description: This is a digitally signed message part


Bug#520718: xserver-xorg: No keyboard after resuming from suspend

2010-10-21 Thread Sam Morris
tag 520718 + unreproducible
close 520718
thanks

On Thu, 2010-10-21 at 16:44 +0200, Cyril Brulebois wrote:
> Hi Sam,
> 
> Sam Morris  (22/03/2009):
> > After resuming from suspend, my keyboard didn't work. I had to reset
> > the machine to get it working again.
> 
> can you please report what happens with current squeeze/sid? If the
> issue persists, you may want to try 2.5.0 built against squeeze/sid,
> available on http://autobuild.ikibiki.org/
> 
> Running the bug script and attaching its output would be nice, so that
> we get all possible info on an up-to-date system.

Unfortunately I no longer use the hardware that I filed this bug with. I
currently only run Debian in a VM, anyway. AFAIR, this bug only happened
once though so I'm willing to chalk it up to cosmic rays.

> Mraw,
> KiBi.

-- 
Sam Morris 




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1287679548.2547.19.ca...@leela



Bug#532375: /usr/lib/xorg/modules/input/synaptics_drv.so: Segfault resuming from suspend

2010-06-06 Thread Sam Morris
On Sun, 2010-06-06 at 17:28 +0200, Julien Cristau wrote:
> On Sun, Jun  7, 2009 at 18:28:00 +0100, Sam Morris wrote:
> 
> > Package: xserver-xorg-input-synaptics
> > Version: 1.1.1~git20090510-1
> > Severity: normal
> > File: /usr/lib/xorg/modules/input/synaptics_drv.so
> > 
> > Today I resumed my laptop and was dropped back to GDM. The server log 
> > contained the
> > following messages:
> > 
> > Backtrace:
> > 0: /usr/bin/X(xorg_backtrace+0x26) [0x4ef246]
> > 1: /usr/bin/X(xf86SigHandler+0x39) [0x476689]
> > 2: /lib/libc.so.6 [0x7fc8ec1870f0]
> > 3: /usr/bin/X(XisbRead+0x9) [0x47a8f9]
> > 4: /usr/lib/xorg/modules/input//synaptics_drv.so [0x7fc8d8f01959]
> > 5: /usr/lib/xorg/modules/input//synaptics_drv.so [0x7fc8d8efde5a]
> > 6: /usr/bin/X(xf86Wakeup+0xab) [0x476a3b]
> > 7: /usr/bin/X(WakeupHandler+0x4b) [0x450e8b]
> > 8: /usr/bin/X(WaitForSomething+0x1ef) [0x4ecd7f]
> > 9: /usr/bin/X(Dispatch+0x80) [0x44d090]
> > 10: /usr/bin/X(main+0x3bd) [0x43321d]
> > 11: /lib/libc.so.6(__libc_start_main+0xe6) [0x7fc8ec1735a6]
> > 12: /usr/bin/X [0x4326a9]
> > 
> > Fatal server error:
> > Caught signal 11.  Server aborting
> > 
> > The complete log is attached. I don't think I've seen this crash before. :)
> > 
> Can you guys still reproduce this crash with synaptics from testing/sid?
> I'd like to know if I need to cherry-pick the patch mentioned at
> https://bugs.freedesktop.org/show_bug.cgi?id=19918
> 
> Cheers,
> Julien

I haven't seen this bug for quite a while, but I don't use (and suspend)
my laptop anywhere near as much these days.

-- 
Sam Morris <https://robots.org.uk/>
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078


signature.asc
Description: This is a digitally signed message part


Bug#566870: xserver-xorg: gnome-power-manager complains about broken IDLETIME counter

2010-03-02 Thread Sam Morris
I've been seeing this on-and-off for quite a few months. Today it
appeared immediately after I logged in.

I have xserver-xorg-core 2:1.7.5-1 installed.

-- 
Sam Morris 




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1267543747.2068.0.ca...@leela



Bug#556539: xserver-xorg-video-intel: Very low texture quality in Celestia

2010-02-28 Thread Sam Morris
On Sun, 2010-02-28 at 19:55 +0100, Cyril Brulebois wrote:
> Sam Morris  (16/11/2009):
> > Package: xserver-xorg-video-intel
> > Version: 2:2.9.0-1
> > Severity: normal
> > 
> > With the intel drier and my Samsung Q45 laptop, texture quality in
> > Celestia is very low.
> > 
> > I'm attaching a screenshot so you can see what I mean. You can get
> > to the same scene if you start celestia, then press '3' followed by
> > 'g' (the earth being the third planet of the solar system). :)
> 
> Hi,
> 
> it might be fixed in latest kernels. i915_gem_execbuffer() got some
> bugfixes that could be related AFAICT. Could you please update as
> detailed in the second part of this blog post and follow up with an
> updated log if this problem still occurs?
>   http://ikibiki.org/blog/2010/02/28/Where_have_you_been/
> 
> Mraw,
> KiBi.

This has been fixed for some time... either by updating to 2.6.32 or
mesa 7.7. For some reason I didn't link this bug to the upstream bug.
Sorry about that.

-- 
Sam Morris
https://robots.org.uk/

PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078



--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1267387762.1566.50.ca...@wintermute



Bug#569596: xserver-xorg-core: Can no longer control backlight

2010-02-12 Thread Sam Morris
Package: xserver-xorg-core
Version: 2:1.7.4-2
Severity: important

Since upgrading to 1.7.4, I have been unable to control the backlight of
my Samsung Q45 laptop.

$ xbacklight -get
No outputs have backlight property

-- 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 Apr  9  2008 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 1864832 Jan 20 23:37 /usr/bin/Xorg

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

VGA-compatible devices on PCI bus:
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 
Integrated Graphics Controller (rev 03)

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

Xorg X server configuration file status:
-rw-r--r-- 1 root root 829 Feb  2 10:28 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
# xorg.conf (X.Org 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 xorg.conf manual page.
# (Type "man 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 "Device"
#   Identifier  "Configured Video Device"
#Option "AccelMethod" "UXA"
#EndSection

Section "ServerFlags"
Option "AllowDeactivateGrabs" "true"
Option "AllowClosedownGrabs" "true"
EndSection


Xorg X server log files on system:
-rw-r--r-- 1 root root 33256 Jul 17  2009 /var/log/Xorg.1.log
-rw-r--r-- 1 root root 65591 Jan  8 17:40 /var/log/Xorg.20.log
-rw-r--r-- 1 root root 26856 Feb 12 18:56 /var/log/Xorg.0.log

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

X.Org X Server 1.7.4
Release Date: 2010-01-08
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32.4-dsa-amd64 x86_64 Debian
Current Operating System: Linux durandal 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=/dev/mapper/durandal-root ro quiet
Build Date: 20 January 2010  11:36:07PM
xorg-server 2:1.7.4-2 (bui...@brahms.debian.org) 
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.0.log", Time: Fri Feb 12 18:55:39 2010
(==) Using config file: "/etc/X11/xorg.conf"
(==) No Layout section.  Using the first Screen section.
(==) No screen section available. Using defaults.
(**) |-->Screen "Default Screen Section" (0)
(**) |   |-->Monitor ""
(==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
Entry deleted from font path.
(==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
built-ins
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) Cannot locate a core pointer device.
(II) Cannot locate a core keyboard device.
(II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
(II) Loader magic: 0x7c1600
(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 7

(--) PCI:*(0:0:2:0) 8086:2a02:144d:c510 Intel Corporation Mobile GM965/GL960 
Integrated Graphics Controller rev 3, Mem @ 0xf000/1048576, 
0xd000/268435456, I/O @ 0x1800/8
(--) PCI: (0:0:2:1) 8086:2a03:144d:c510 Intel Corporation Mobile GM965/GL960 
Integrated Graphics Controller rev 3, Mem @ 0xf010/1048576
(II) Open ACPI successful (/var/run/acpid.socket)
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.7.4, 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 XFre

Bug#556541: xserver-xorg-video-intel: Blank screen with OGRE programs

2009-11-30 Thread Sam Morris
On Mon, 2009-11-30 at 14:32 +0100, Julien Cristau wrote:
> On Mon, Nov 16, 2009 at 16:38:08 +0000, Sam Morris wrote:
> 
> > DRM Information from dmesg:
> > [170026.371653] [drm:i915_gem_execbuffer] *ERROR* Failed to pin buffers -22
> > [170026.377521] [drm:i915_gem_object_pin_and_relocate] *ERROR* Relocation 
> > beyond target object bounds: obj 88000380d8c0 target 935 delta 4096 
> > size 4096.
> [...]
> 
> Any chance you could try with an updated mesa?  Say upstream 7.6 or 7.7
> branch?
> If that doesn't help we probably need to report this upstream
> (instructions at http://intellinuxgraphics.org/how_to_report_bug.html).

I'm already using 7.6. Are there packages of 7.7 anywhere, or is it
possible/easy to build mesa 7.7 and use it with LD_LIBRARY_PATH or some
similar method?

> 
> Thanks,
> Julien


-- 
Sam Morris 



--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#556541: xserver-xorg-video-intel: Blank screen with OGRE programs

2009-11-30 Thread Sam Morris
Reverting to 2.6.30 instead seems to fix this problem.

-- 
Sam Morris 



--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#540191: xserver-xorg-video-intel: libclutter is unusably slow

2009-11-16 Thread Sam Morris
This seems to be fixed in unstable with intel 2:2.9.0-1. I'm also now
running 2.6.31, so maybe it was a kernel-side fix.

I'm not marking the bug as done because it's still open upstream, so it
might just be a co-incidence that it appears to be fixed. :)

-- 
Sam Morris 



--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#522054: OpenGL malfunctions and causes crashes

2009-11-16 Thread Sam Morris
Version: 2:2.9.0-1

With the current version of the driver (and Linux 2.6.31), things are a
lot better. I have one or two application-specific problems, but I will
file those as separate bugs.

-- 
Sam Morris 



--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#540191: Probably sync-to-vblank related

2009-09-04 Thread Sam Morris
On Fri, 2009-09-04 at 17:46 +0200, Michel Dänzer wrote:
> The drivers probably aren't handling sync-to-vblank properly, so Clutter
> is timing out there. You can work around that by setting the environment
> variable
> 
> CLUTTER_VBLANK=none

Indeed, that works around the problem. I'll note that upstream. Thanks!
> 
> 
-- 
Sam Morris
https://robots.org.uk/

PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078


signature.asc
Description: This is a digitally signed message part


Bug#535300: In fact it is xserver-xorg-video-intel after all

2009-07-17 Thread Sam Morris
Version: 2:2.7.99.901-2

On Wed, 2009-07-15 at 14:38 +0200, Brice Goglin wrote:
> On Wed, Jul 01, 2009 at 01:58:08PM +0100, Sam Morris wrote:
> > I downgraded drm-snapshot to the version in unstable and it didn't make
> > any difference. I then downgraded xserver-xorg-video-intel to the
> > version in unstable and everything is OK again!
> > 
> > So I guess the problem started when
> > 
> > 2009-06-19 00:28:54 upgrade xserver-xorg-video-intel-dbg 
> > 2:2.7.99.1-2 2:2.7.99.901-2
> > 
> > and I simply hadn't restarted my system since then, despite what the
> > 'uptime' command tells me. Maybe it doesn't handle suspend/hibernation
> > very well. :)
> 
> It is better with 2.7.99.902 from experimental?

Yes, that seems to fix it. Thanks!
> 
> Brice
-- 
Sam Morris 



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#535300: In fact it is xserver-xorg-video-intel after all

2009-07-01 Thread Sam Morris
reassign 535300 xserver-xorg-video-intel
found 535300 2:2.7.99.901-2
notfound 535300 2:2.7.99.1-2
notfound 535300 2:2.7.1-1
thanks

I downgraded drm-snapshot to the version in unstable and it didn't make
any difference. I then downgraded xserver-xorg-video-intel to the
version in unstable and everything is OK again!

So I guess the problem started when

2009-06-19 00:28:54 upgrade xserver-xorg-video-intel-dbg 2:2.7.99.1-2 
2:2.7.99.901-2

and I simply hadn't restarted my system since then, despite what the
'uptime' command tells me. Maybe it doesn't handle suspend/hibernation
very well. :)

-- 
Sam Morris 



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#535300: libdrm-intel1: gvim takes ages to redraw its window, X takes 100% of the CPU

2009-07-01 Thread Sam Morris
Package: libdrm-intel1
Version: 2.4.11+git+20090630+de1ed01-1
Severity: grave
Justification: renders package unusable

Since I started X this morning, gvim has become unusably slow. It takes several
seconds to redraw its window when resized/exposed, during which X is eating
100% of the CPU.

I'm filing this against drm-snapshot because it's the only X-related package
that I have upgraded since the 19th of June. But please reassign it elsewhere
if it belongs somewhere else. :)

00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 
Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller])
Subsystem: Samsung Electronics Co Ltd Device c510
Flags: bus master, fast devsel, latency 0, IRQ 28
Memory at f000 (64-bit, non-prefetchable) [size=1M]
Memory at d000 (64-bit, prefetchable) [size=256M]
I/O ports at 1800 [size=8]
Expansion ROM at  [disabled]
Capabilities: 

Xorg log attached. Let me know if you need anything else!

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

Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libdrm-intel1 depends on:
ii  libc6  2.9-12GNU C Library: Shared libraries
ii  libdrm22.4.11+git+20090630+de1ed01-1 Userspace interface to kernel rend

libdrm-intel1 recommends no packages.

libdrm-intel1 suggests no packages.

-- no debconf information

This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.6.1.901 (1.6.2 RC 1)
Release Date: 2009-5-8
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.30-dsa-amd64 x86_64 Debian
Current Operating System: Linux durandal 2.6.30-1-amd64 #1 SMP Sun Jun 14 
15:00:29 UTC 2009 x86_64
Build Date: 23 June 2009  06:28:59PM
xorg-server 2:1.6.1.901-3 (buildd@) 
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.0.log", Time: Wed Jul  1 13:23:24 2009
(==) Using config file: "/etc/X11/xorg.conf"
(==) No Layout section.  Using the first Screen section.
(==) No screen section available. Using defaults.
(**) |-->Screen "Default Screen Section" (0)
(**) |   |-->Monitor ""
(==) No device specified for screen "Default Screen Section".
Using the first device section listed.
(**) |   |-->Device "Configured Video Device"
(==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
Entry deleted from font path.
(==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
built-ins
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) Cannot locate a core pointer device.
(II) Cannot locate a core keyboard device.
(II) The server relies on HAL to provide the list of input devices.
If no devices become available, reconfigure HAL or disable 
AllowEmptyInput.
(II) Loader magic: 0x3b40
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 5.0
X.Org XInput driver : 4.0
X.Org Server Extension : 2.0
(II) Loader running on linux
(++) using VT number 7

(--) PCI:*(0:0:2:0) 8086:2a02:144d:c510 Intel Corporation Mobile GM965/GL960 
Integrated Graphics Controller rev 3, Mem @ 0xf000/1048576, 
0xd000/268435456, I/O @ 0x1800/8
(II) Open ACPI successful (/var/run/acpid.socket)
(II) System resource ranges:
[0] -1  0   0x - 0x (0x1) MX[B]
[1] -1  0   0x000f - 0x000f (0x1) MX[B]
[2] -1  0   0x000c - 0x000e (0x3) MX[B]
[3] -1  0   0x - 0x0009 (0xa) MX[B]
[4] -1  0   0x - 0x (0x1) IX[B]
[5] -1  0   0x - 0x (0x1) IX[B]
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/m

Bug#531031: xserver-xorg-video-intel: Segfault resuming from suspend

2009-05-29 Thread Sam Morris
On Fri, 2009-05-29 at 13:50 +0200, Julien Cristau wrote:
> On Fri, May 29, 2009 at 11:59:40 +0100, Sam Morris wrote:
> 
> > Package: xserver-xorg-video-intel
> > Version: 2:2.7.99.1-2
> > Severity: normal
> > 
> > The X server segfaulted after I resumed from suspend. Log attached.
> > 
> > So far I've only seen this once.
> > 
> Are you sure this was with -2?  I got that crash with 2.7.99.1 proper,
> but should be fixed in head...

I think it was probably -1. AFAIR I hadn't restarted X since upgrading.
So feel free to close.
> 
> Cheers,
> Julien
-- 
Sam Morris 



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#523848: xserver-xorg-input-synaptics: Edge scrolling & tapping no longer work

2009-04-13 Thread Sam Morris
reassign 523848 gsynaptics
found 523848 0.9.15-1
thanks

I'm able to configure the server fine with synclient. So it appears to
just be gsynaptics that is not working.

-- 
Sam Morris
https://robots.org.uk/

PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078


signature.asc
Description: This is a digitally signed message part


Bug#523779: /etc/X11/app-defaults/Beforelight: obsolete conffile not removed

2009-04-12 Thread Sam Morris
Package: xbase-clients
Version: 1:7.4+1
Severity: minor
File: /etc/X11/app-defaults/Beforelight
User: s...@robots.org.uk
Usertags: cruft

The following file was shipped in an old version of the package, but was
never removed on upgrade:

 /etc/X11/app-defaults/Beforelight 2a5c3b62bb133514dac3692214b6eedb obsolete

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

Kernel: Linux 2.6.29-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xbase-clients depends on:
ii  x11-apps  7.3+4  X applications
ii  x11-session-utils 7.3+1  X session utilities
ii  x11-utils 7.4+1  X11 utilities
ii  x11-xfs-utils 7.4+1  X font server utilities
ii  x11-xkb-utils 7.4+2  X11 XKB utilities
ii  x11-xserver-utils 7.4+2  X server utilities
ii  xauth 1:1.0.3-2  X authentication utility
ii  xinit 1.1.1-1X server initialisation tool

xbase-clients recommends no packages.

xbase-clients suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#522054: Downgrading libdrm fixes it

2009-03-31 Thread Sam Morris
On Tue, 2009-03-31 at 17:17 +0200, Julien Cristau wrote:
> On Tue, 2009-03-31 at 15:49 +0100, Sam Morris wrote:
> > Would the absence of this device cause the whole system to lock up
> > though?
> > 
> It means using software rendering, which is a whole different codepath.
> 
> > I can install the newer packages and reboot and check if you think it
> > would help. :)
> 
> Yes please.

Ok--after I boot up, there is no /dev/dri directory. However after I get
into X (via startx currently), I see:

crw-rw 1 root video 226, 0 2009-03-31 18:03 /dev/dri/card0

which looks normal to me.

-- 
Sam Morris 



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#522054: Downgrading libdrm fixes it

2009-03-31 Thread Sam Morris
On Tue, 2009-03-31 at 16:33 +0200, Julien Cristau wrote:
> On Tue, 2009-03-31 at 14:50 +0100, Sam Morris wrote:
> > I downgraded libdrm2 and libdrm-intel1 to version 2.4.4+git+20090205
> > +8b88036-1 and Blender and my own OpenGL program now work again!
> > 
> > This also caused libgl1-mesa-dri and libgl1-mesa-glx to be downgraded to
> > version 7.0.3-7.
> 
> What are the permissions on /dev/dri/card*?  libdrm used to mknod and
> chmod 0666, but now relies on udev for this, which might prevent users
> not in the video group from using DRI.

Would the absence of this device cause the whole system to lock up
though?

I can install the newer packages and reboot and check if you think it
would help. :)

> 
> Cheers,
> Julien
-- 
Sam Morris 



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#522054: Downgrading libdrm fixes it

2009-03-31 Thread Sam Morris
retitle 522054 OpenGL malfunctions and causes crashes
reassign 522054 libdrm-intel1
found 522054 2.4.5-2
thanks

I downgraded libdrm2 and libdrm-intel1 to version 2.4.4+git+20090205
+8b88036-1 and Blender and my own OpenGL program now work again!

This also caused libgl1-mesa-dri and libgl1-mesa-glx to be downgraded to
version 7.0.3-7.

-- 
Sam Morris 
Red Redemption




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#522054: xserver-xorg-video-intel: OpenGL screwed up

2009-03-31 Thread Sam Morris
bts retitle 522054 xserver-xorg-video-intel: OpenGL malfunctions and causes 
crashes
thanks

I've done some more testing and this happens with both 2.6.26 and
2.6.29.

Attached is what the X server prints to the console when started via
'startx'.

-- 
Sam Morris 
Script started on Tue 31 Mar 2009 14:01:44 BST


This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.5.99.902 (1.6.0 RC 2)
Release Date: 2009-1-30
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.28 x86_64 Debian
Current Operating System: Linux durandal 2.6.29-1-amd64 #1 SMP Tue Mar 24 
22:24:50 UTC 2009 x86_64
Build Date: 31 January 2009  07:16:39PM
xorg-server 2:1.5.99.902-1 (jcris...@debian.org) 
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.0.log", Time: Tue Mar 31 14:01:44 2009
(==) Using config file: "/etc/X11/xorg.conf"
WARNING: All config files need .conf: /etc/modprobe.d/pnp-hotplug, it will be 
ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/display_class, it will be 
ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/blacklist, it will be 
ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/oss-compat, it will be 
ignored in a future release.
exaCopyDirty: Pending damage region empty!


Bug#481345: unreproducible

2009-03-16 Thread Sam Morris
I am unable to reproduce this crash any more with packages from
experimental (intel 2.6.1). Will file a new bug if it crops up again.

-- 
Sam Morris 



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#518953: xserver-xorg-video-intel: Signal 11 when x server exits

2009-03-09 Thread Sam Morris
Package: xserver-xorg-video-intel
Version: 2:2.6.1-1
Severity: serious

The X server segfaults when exiting, before it restores the keyboard and
monitor to a usable state. Log attached.

-- Package-specific info:
Contents of /var/lib/x11/X.roster:
xserver-xorg

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

X server symlink status:
lrwxrwxrwx 1 root root 13 2008-04-09 22:08 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 1872144 2009-01-31 19:20 /usr/bin/Xorg

Contents of /var/lib/x11/xorg.conf.roster:
xserver-xorg

VGA-compatible devices on PCI bus:
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 
Integrated Graphics Controller (rev 03)

/etc/X11/xorg.conf does not match checksum in /var/lib/x11/xorg.conf.md5sum.

Xorg X server configuration file status:
lrwxrwxrwx 1 root root 24 2009-01-07 13:06 /etc/X11/xorg.conf -> 
/etc/X11/xorg.conf.intel

Contents of /etc/X11/xorg.conf:
# xorg.conf (X.Org 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 xorg.conf manual page.
# (Type "man 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 "InputDevice"
Identifier  "Generic Keyboard"
Driver  "kbd"
Option  "XkbRules"  "xorg"
Option  "XkbModel"  "pc105"
Option  "XkbLayout" "gb"
EndSection

# http://bugs.debian.org/470763
#Section "InputDevice"
#   Identifier  "Configured Mouse"
#   Driver  "mouse"
#EndSection

Section "InputDevice"
Identifier  "Synaptics Touchpad"
Driver  "synaptics"
Option  "SendCoreEvents""true" # otherwise it doesn't work
#Option "VertTwoFingerScroll" "1"
#Option "HorizTwoFingerScroll" "1"
#Option "VertEdgeScroll" "0"
Option "VertEdgeScroll" "1"
#Option "HorizEdgeScroll" "0"
#Option "TapButton2" "2"
#Option "TapButton3" "3"
#Option "SHMConfig" "1"
Option "SHMConfig" "1"
EndSection

Section "Device"
Identifier  "Configured Video Device"
#Option "EXANoComposite" "true"
#Option "AccelMethod" "XAA" # debian #451791
#Option "XaaNoOffscreenPixmaps" "true" # operation climate control web 
page background
#option "accelmethod" "uxa"
EndSection

Section "Monitor"
Identifier  "Configured Monitor"
EndSection

Section "Screen"
Identifier  "Default Screen"
Monitor "Configured Monitor"
EndSection

Section "ServerLayout"
Identifier  "Default Layout"
Screen  "Default Screen"
InputDevice "Generic Keyboard"
#InputDevice"Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection

Section "ServerFlags"
Option "DontZap" "on"
EndSection


Xorg X server log files on system:
-rw-r--r-- 1 root root 34488 2009-01-01 16:48 /var/log/Xorg.20.log
-rw-r--r-- 1 root root 20352 2009-02-01 20:15 /var/log/Xorg.1.log
-rw-r--r-- 1 root root 24365 2009-03-09 13:47 /var/log/Xorg.0.log

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

This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.5.99.902 (1.6.0 RC 2)
Release Date: 2009-1-30
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.28 x86_64 Debian
Current Operating System: Linux durandal 2.6.26-1-amd64 #1 SMP Sat Jan 10 
17:57:00 UTC 2009 x86_64
Build Date: 31 January 2009  07:16:39PM
xorg-server 2:1.5.99.902-1 (jcris...@debian.org) 
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.0.log", Time: Mon Mar  9 13:46:19 2009
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) |   |-->Monitor "Configured Monitor"
(==) No device specified for screen "Default Screen".
Using the first device section listed.
(**) |   |-->Device "Configured Video Device"
(**) |-->Inpu

Bug#514723: xserver-xorg-video-intel: After resuming from suspend, playing a movie kills the x server

2009-02-18 Thread Sam Morris
On Mon, Feb 16, 2009 at 07:27:11PM +0100, Brice Goglin wrote:
> Sam Morris wrote:
> > X: ../../../libdrm/intel/intel_bufmgr_fake.c:1107: 
> > drm_intel_fake_bo_validate: Assertion `bo_fake->block->bo == &bo_fake->bo' 
> > failed.
> > xinit:  connection to X server lost.
> > 
> > In this particular instance I was left with a blank screen and no
> > keyboard input. Fortunately the x server abort does not take out the
> > power button so I was able to restart sanely by hitting my power
> > button. :)
> >   
> 
> Thanks. Which libdrm-intel are you running? And your kernel is still
> 2.6.26-1-amd64 ? Any chance you try a more recent kernel with GEM support ?

I've got libdrm-intel1 from experimental (2.4.4+git+20090205+8b880361-1) and
linux-image-2.6.26-1-amd64 from testing.

I'll give a newer kernel version a go and see if it makes a difference. Which
is the minimum version needed for GEM with intel?

> 
> Brice
> 

-- 
Sam Morris
http://robots.org.uk/

PGP key id 5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#514723: xserver-xorg-video-intel: After resuming from suspend, playing a movie kills the x server

2009-02-16 Thread Sam Morris
On Tue, 2009-02-10 at 14:14 +0100, Brice Goglin wrote:
> Sam Morris wrote:
> > Package: xserver-xorg-video-intel
> > Version: 2:2.6.1-1
> > Severity: important
> >
> > After I resume from suspend, trying to play a movie in totem or mplayer 
> > causes
> > the x server to exit. I guess it's actually the use of XVideo that causes 
> > the
> > problem.
> >
> > Unfortunately, nothing shows up in the x server log.
> 
> Is there anything in stderr? You might have to start the server manually
> with something like
> startx /my/program 2> X.err
> after stopping gdm or so.

Bingo!

X: ../../../libdrm/intel/intel_bufmgr_fake.c:1107: 
drm_intel_fake_bo_validate: Assertion `bo_fake->block->bo == &bo_fake->bo' 
failed.
xinit:  connection to X server lost.

In this particular instance I was left with a blank screen and no
keyboard input. Fortunately the x server abort does not take out the
power button so I was able to restart sanely by hitting my power
button. :)

> Brice
> 
> 
-- 
Sam Morris 



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#514723: xserver-xorg-video-intel: After resuming from suspend, playing a movie kills the x server

2009-02-10 Thread Sam Morris
Package: xserver-xorg-video-intel
Version: 2:2.6.1-1
Severity: important

After I resume from suspend, trying to play a movie in totem or mplayer causes
the x server to exit. I guess it's actually the use of XVideo that causes the
problem.

Unfortunately, nothing shows up in the x server log. However, the following
kernel messages are logged:

Feb 10 12:00:35 durandal kernel: [208836.264371] [drm:i915_getparam] *ERROR* 
Unknown parameter 5
Feb 10 12:00:36 durandal kernel: [208837.311684] [drm:i915_getparam] *ERROR* 
Unknown parameter 5

-- Package-specific info:
Contents of /var/lib/x11/X.roster:
xserver-xorg

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

X server symlink status:
lrwxrwxrwx 1 root root 13 2008-04-09 22:08 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 1872144 2009-01-31 19:20 /usr/bin/Xorg

Contents of /var/lib/x11/xorg.conf.roster:
xserver-xorg

VGA-compatible devices on PCI bus:
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 
Integrated Graphics Controller (rev 03)

/etc/X11/xorg.conf does not match checksum in /var/lib/x11/xorg.conf.md5sum.

Xorg X server configuration file status:
lrwxrwxrwx 1 root root 24 2009-01-07 13:06 /etc/X11/xorg.conf -> 
/etc/X11/xorg.conf.intel

Contents of /etc/X11/xorg.conf:
# xorg.conf (X.Org 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 xorg.conf manual page.
# (Type "man 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 "InputDevice"
Identifier  "Generic Keyboard"
Driver  "kbd"
Option  "XkbRules"  "xorg"
Option  "XkbModel"  "pc105"
Option  "XkbLayout" "gb"
EndSection

# http://bugs.debian.org/470763
#Section "InputDevice"
#   Identifier  "Configured Mouse"
#   Driver  "mouse"
#EndSection

Section "InputDevice"
Identifier  "Synaptics Touchpad"
Driver  "synaptics"
Option  "SendCoreEvents""true" # otherwise it doesn't work
#Option "VertTwoFingerScroll" "1"
#Option "HorizTwoFingerScroll" "1"
#Option "VertEdgeScroll" "0"
Option "VertEdgeScroll" "1"
#Option "HorizEdgeScroll" "0"
#Option "TapButton2" "2"
#Option "TapButton3" "3"
#Option "SHMConfig" "1"
Option "SHMConfig" "1"
EndSection

Section "Device"
Identifier  "Configured Video Device"
#Option "EXANoComposite" "true"
#Option "AccelMethod" "XAA" # debian #451791
#Option "XaaNoOffscreenPixmaps" "true" # operation climate control web 
page background
EndSection

Section "Monitor"
Identifier  "Configured Monitor"
EndSection

Section "Screen"
Identifier  "Default Screen"
Monitor "Configured Monitor"
EndSection

Section "ServerLayout"
Identifier  "Default Layout"
Screen  "Default Screen"
InputDevice "Generic Keyboard"
#InputDevice"Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection

Section "ServerFlags"
Option "DontZap" "on"
EndSection


Xorg X server log files on system:
-rw-r--r-- 1 root root 34488 2009-01-01 16:48 /var/log/Xorg.20.log
-rw-r--r-- 1 root root 20352 2009-02-01 20:15 /var/log/Xorg.1.log
-rw-r--r-- 1 root root 23925 2009-02-10 12:01 /var/log/Xorg.0.log

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

This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.5.99.902 (1.6.0 RC 2)
Release Date: 2009-1-30
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.28 x86_64 Debian
Current Operating System: Linux durandal 2.6.26-1-amd64 #1 SMP Sat Jan 10 
17:57:00 UTC 2009 x86_64
Build Date: 31 January 2009  07:16:39PM
xorg-server 2:1.5.99.902-1 (jcris...@debian.org) 
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.0.log", Time: Tue Feb 10 12:00:33 2009

Bug#513875: xserver-xorg-input-synaptics: Clicking the track pad no longer generates a click event

2009-02-01 Thread Sam Morris
Package: xserver-xorg-input-synaptics
Version: 0.99.3-3
Severity: normal

Clicking the track pad used to be the same as clicking the mouse button. But
this is no longer the case, even if I set 'ClickFinger1' to '1'.

-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (530, 'testing'), (520, 'unstable'), (400, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xserver-xorg-input-synaptics depends on:
ii  libc6 2.7-18 GNU C Library: Shared libraries
ii  libx11-6  2:1.1.5-2  X11 client-side library
ii  libxi62:1.1.4-1  X11 Input extension library
ii  xserver-xorg-core 2:1.5.99.902-1 Xorg X server - core server

xserver-xorg-input-synaptics recommends no packages.

Versions of packages xserver-xorg-input-synaptics suggests:
ii  gsynaptics0.9.14-6   configuration tool for Synaptics t

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#512184: celestia-gnome: OpenGL canvas appears on top of menus

2009-01-18 Thread Sam Morris
On Sun, 2009-01-18 at 14:13 +, Julien Cristau wrote:
> On Sun, Jan 18, 2009 at 02:04:26PM +0000, Sam Morris wrote:
> > reassign 512184 xserver-xorg-video-intel
> > found 512184 2:2.6.0-1
> > retitle 512184 OpenGL canvases appear on top of all other windows
> > thanks
> > 
> > 
> > On Sun, 2009-01-18 at 12:54 +0100, Guus Sliepen wrote:
> > > I cannot reproduce that behaviour. Can you tell me more? Is it when 
> > > fullscreen
> > > is enabled or not? Can you send a screenshot?
> > 
> > After more investigation I found that this happens with _all_ 3d
> > programs, but only when a composite manager (either metacity or
> > xcompmhr) is enabled, so it's not celestia's fault. Sorry for the
> > noise :)
> > 
> This is bug#411141.

Thanks for the info. I already have libgl1-mesa-dri and libgl1-mesa-glx
installed from experimental though... or is it that the intel driver
still needs to be ported to DRI2?
> 
> Cheers,
> Julien
-- 
Sam Morris 



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#512195: xserver-xorg-video-intel: X server freeze when switching to tty1

2009-01-18 Thread Sam Morris
Package: xserver-xorg-video-intel
Version: 2:2.6.0-1
Severity: normal

I hit ctrl+alt+f1 and the xserver froze. Log attached. Can't reproduce though.

-- Package-specific info:
Contents of /var/lib/x11/X.roster:
xserver-xorg

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

X server symlink status:
lrwxrwxrwx 1 root root 13 2008-04-09 22:08 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 1797392 2008-11-12 13:14 /usr/bin/Xorg

Contents of /var/lib/x11/xorg.conf.roster:
xserver-xorg

VGA-compatible devices on PCI bus:
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 
Integrated Graphics Controller (rev 03)

/etc/X11/xorg.conf does not match checksum in /var/lib/x11/xorg.conf.md5sum.

Xorg X server configuration file status:
lrwxrwxrwx 1 root root 24 2009-01-07 13:06 /etc/X11/xorg.conf -> 
/etc/X11/xorg.conf.intel

Contents of /etc/X11/xorg.conf:
# xorg.conf (X.Org 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 xorg.conf manual page.
# (Type "man 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 "InputDevice"
Identifier  "Generic Keyboard"
Driver  "kbd"
Option  "XkbRules"  "xorg"
Option  "XkbModel"  "pc105"
Option  "XkbLayout" "gb"
EndSection

# http://bugs.debian.org/470763
#Section "InputDevice"
#   Identifier  "Configured Mouse"
#   Driver  "mouse"
#EndSection

Section "InputDevice"
Identifier  "Synaptics Touchpad"
Driver  "synaptics"
Option  "SendCoreEvents""true" # otherwise it doesn't work
#Option "VertTwoFingerScroll" "1"
#Option "HorizTwoFingerScroll" "1"
#Option "VertEdgeScroll" "0"
#Option "HorizEdgeScroll" "0"
#Option "TapButton2" "2"
#Option "TapButton3" "3"
#Option "SHMConfig" "1"
EndSection

Section "Device"
Identifier  "Configured Video Device"
#Option "EXANoComposite" "true"
#Option "AccelMethod" "XAA" # debian #451791
#Option "XaaNoOffscreenPixmaps" "true" # operation climate control web 
page background
EndSection

Section "Monitor"
Identifier  "Configured Monitor"
EndSection

Section "Screen"
Identifier  "Default Screen"
Monitor "Configured Monitor"
EndSection

Section "ServerLayout"
Identifier  "Default Layout"
Screen  "Default Screen"
InputDevice "Generic Keyboard"
#InputDevice"Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection

Section "ServerFlags"
Option "DontZap" "on"
EndSection


Xorg X server log files on system:
-rw-r--r-- 1 root root 34488 2009-01-01 16:48 /var/log/Xorg.20.log
-rw-r--r-- 1 root root 21556 2009-01-07 13:07 /var/log/Xorg.1.log
-rw-r--r-- 1 root root 21446 2009-01-18 12:50 /var/log/Xorg.0.log


-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (530, 'testing'), (520, 'unstable'), (400, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xserver-xorg-video-intel depends on:
ii  libc6   2.7-18   GNU C Library: Shared libraries
ii  libdrm-inte 2.4.3+git+20090105+a8c5480-1 Userspace interface to Intel-speci
ii  libdrm2 2.4.3+git+20090105+a8c5480-1 Userspace interface to kernel rend
ii  libpciacces 0.10.3-1 Generic PCI access library for X
ii  libxext62:1.0.4-1X11 miscellaneous extension librar
ii  libxv1  2:1.0.4-1X11 Video extension library
ii  libxvmc11:1.0.4-2X11 Video extension library
ii  xserver-xor 2:1.5.3-1Xorg X server - core server

xserver-xorg-video-intel recommends no packages.

xserver-xorg-video-intel suggests no packages.

-- no debconf information

X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.17.7 x86_64 Debian
Current Operating System: Linux durandal 2.6.26-1-amd64 #1 SMP Sat Jan 10 
17:57:00 UTC 2009 x86_64
Build Date: 12 November 2008  12:59:43PM
xorg-server 2:1.5.3-1 (bui...@xenophanes) 
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

reassign 511007 to libdrm2, forcibly merging 511018 511007

2009-01-07 Thread Sam Morris
# Automatically generated email from bts, devscripts version 2.10.35lenny1
reassign 511007 libdrm2 
forcemerge 511018 511007


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#511007: Looks like a dupe of #511018

2009-01-07 Thread Sam Morris
This looks like the same issue as #511018.

-- 
Sam Morris 



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#511007: Segfault starting X server

2009-01-06 Thread Sam Morris
Package: xserver-xorg-core
Followup-For: Bug #511007

To clarify my previous remark... While 'Xorg -configure' works fine, running
Xorg with the generated configuration file still causes the segfault.



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#511007: xserver-xorg-core: Segfault starting X server

2009-01-06 Thread Sam Morris
Package: xserver-xorg-core
Version: 2:1.5.3-1
Severity: grave
Justification: renders package unusable

I've been happily using xserver 1.5 for a few days. I rebooted today, and now
the X server won't start. This also happens when running 'Xorg -configure', so
I don't think it's my config file that's the problem.

I'm not sure how to get a better backtrace from gdb; fill me in and I'll do it.

-- Package-specific info:
Contents of /var/lib/x11/X.roster:
xserver-xorg

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

X server symlink status:
lrwxrwxrwx 1 root root 13 2008-04-09 22:08 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 1797392 2008-11-12 13:14 /usr/bin/Xorg

Contents of /var/lib/x11/xorg.conf.roster:
xserver-xorg

VGA-compatible devices on PCI bus:
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 
Integrated Graphics Controller (rev 03)

/etc/X11/xorg.conf does not match checksum in /var/lib/x11/xorg.conf.md5sum.

Xorg X server configuration file status:
-rw-r--r-- 1 root root 1898 2009-01-06 16:41 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
# xorg.conf (X.Org 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 xorg.conf manual page.
# (Type "man 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 "InputDevice"
Identifier  "Generic Keyboard"
Driver  "kbd"
Option  "XkbRules"  "xorg"
Option  "XkbModel"  "pc105"
Option  "XkbLayout" "gb"
EndSection

# http://bugs.debian.org/470763
#Section "InputDevice"
#   Identifier  "Configured Mouse"
#   Driver  "mouse"
#EndSection

Section "InputDevice"
Identifier  "Synaptics Touchpad"
Driver  "synaptics"
Option  "SendCoreEvents""true" # otherwise it doesn't work
#Option "VertTwoFingerScroll" "1"
#Option "HorizTwoFingerScroll" "1"
#Option "VertEdgeScroll" "0"
#Option "HorizEdgeScroll" "0"
#Option "TapButton2" "2"
#Option "TapButton3" "3"
#Option "SHMConfig" "1"
EndSection

Section "Device"
Identifier  "Configured Video Device"
#Option "EXANoComposite" "true"
#Option "AccelMethod" "XAA" # debian #451791
#Option "XaaNoOffscreenPixmaps" "true" # operation climate control web 
page background
EndSection

Section "Monitor"
Identifier  "Configured Monitor"
EndSection

Section "Screen"
Identifier  "Default Screen"
Monitor "Configured Monitor"
EndSection

Section "ServerLayout"
Identifier  "Default Layout"
Screen  "Default Screen"
InputDevice "Generic Keyboard"
#InputDevice"Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection

Section "ServerFlags"
Option "DontZap" "on"
EndSection


Xorg X server log files on system:
-rw-r--r-- 1 root root 34488 2009-01-01 16:48 /var/log/Xorg.20.log
-rw-r--r-- 1 root root 14032 2009-01-02 17:19 /var/log/Xorg.1.log
-rw-r--r-- 1 root root 17726 2009-01-06 16:41 /var/log/Xorg.0.log

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

X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.17.7 x86_64 Debian
Current Operating System: Linux durandal 2.6.26-1-amd64 #1 SMP Mon Dec 15 
17:25:36 UTC 2008 x86_64
Build Date: 12 November 2008  12:59:43PM
xorg-server 2:1.5.3-1 (bui...@xenophanes) 
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.0.log", Time: Tue Jan  6 16:41:16 2009
(EE) Unable to locate/open config file: "xorg.conf.new"
(II) Loader magic: 0x7b1ec0
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 4.1
X.Org XInput driver : 2.1
X.Org Server Extension : 1.1
X.Org Font Renderer : 0.6
(II) Loader running on linux
(--) using VT number 7

(--) PCI:*(0...@0:2:0) Intel Corporation Mobile GM965/GL960 Integrated Graphics 
Controller rev 3, Mem @ 0xf000/1048576, 0xd000/268435456, I/O @ 
0x1800/8
(--) PCI: (0...@0:2:1) Intel Corporation Mobile GM965/GL960 Integrated Graphics 
Controller rev 3, Mem @ 0xf010/1048576
(II) Scanning /usr/share/xserver-xorg/pci dir

Bug#510460: xserver-xorg-core: After updating to xserver 1.5, F-keys, arrows, etc. don't work

2009-01-02 Thread Sam Morris
On Fri, 2009-01-02 at 22:09 +0100, Julien Cristau wrote:
> On Fri, Jan  2, 2009 at 15:05:49 +0000, Sam Morris wrote:
> 
> > Updating libx11-data to the version from experimental fixed
> > everything--perhaps a versioned Depends is necessary?
> > 
> Did you mean xkb-data?

Hm, I also updated that package. If you think that's the one that would
have fixed this, then yes.

> 
> Cheers,
> Julien
-- 
Sam Morris 



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#510460: xserver-xorg-core: After updating to xserver 1.5, F-keys, arrows, etc. don't work

2009-01-02 Thread Sam Morris
Updating libx11-data to the version from experimental fixed
everything--perhaps a versioned Depends is necessary?

-- 
Sam Morris 
Red Redemption




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#451791: Fixed in experimental

2009-01-01 Thread Sam Morris
fixed 451791 2:2.5.1-1
thanks

With the intel driver from experimental, I no longer have to enable XAA
in my xorg.conf file--exa works just fine by default!

-- 
Sam Morris 



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#510460: xserver-xorg-core: After updating to xserver 1.5, F-keys, arrows, etc. don't work

2009-01-01 Thread Sam Morris
Package: xserver-xorg-core
Version: 2:1.5.3-1
Severity: grave
Justification: renders package unusable

Since upgrading to version 1.5, I can no longer use the arrow keys or
function keys. Pressing 'up' registers as the print screen button, 'left'
acts as AltGr, and so on. I also can't press Ctrl+Alt+F1 to switch back to
tty1.

-- Package-specific info:
Contents of /var/lib/x11/X.roster:
xserver-xorg

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

X server symlink status:
lrwxrwxrwx 1 root root 13 2008-04-09 22:08 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 1797392 2008-11-12 13:14 /usr/bin/Xorg

Contents of /var/lib/x11/xorg.conf.roster:
xserver-xorg

VGA-compatible devices on PCI bus:
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 
Integrated Graphics Controller (rev 03)

/etc/X11/xorg.conf does not match checksum in /var/lib/x11/xorg.conf.md5sum.

Xorg X server configuration file status:
-rw-r--r-- 1 root root 1899 2009-01-02 01:19 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
# xorg.conf (X.Org 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 xorg.conf manual page.
# (Type "man 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 "InputDevice"
Identifier  "Generic Keyboard"
Driver  "kbd"
Option  "XkbRules"  "xorg"
Option  "XkbModel"  "pc105"
Option  "XkbLayout" "gb"
EndSection

# http://bugs.debian.org/470763
#Section "InputDevice"
#   Identifier  "Configured Mouse"
#   Driver  "mouse"
#EndSection

Section "InputDevice"
Identifier  "Synaptics Touchpad"
Driver  "synaptics"
Option  "SendCoreEvents""true" # otherwise it doesn't work
#Option "VertTwoFingerScroll" "1"
#Option "HorizTwoFingerScroll" "1"
#Option "VertEdgeScroll" "0"
#Option "HorizEdgeScroll" "0"
#Option "TapButton2" "2"
#Option "TapButton3" "3"
#Option "SHMConfig" "1"
EndSection

Section "Device"
Identifier  "Configured Video Device"
#Option "EXANoComposite" "true"
#Option "AccelMethod" "XAA" # debian #451791
#Option "XaaNoOffscreenPixmaps" "true" # operation climate control web 
page background
EndSection

Section "Monitor"
Identifier  "Configured Monitor"
EndSection

Section "Screen"
Identifier  "Default Screen"
Monitor "Configured Monitor"
EndSection

Section "ServerLayout"
Identifier  "Default Layout"
Screen  "Default Screen"
InputDevice "Generic Keyboard"
#InputDevice"Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection

Section "ServerFlags"
#Option "DontZap" "on"
EndSection


Xorg X server log files on system:
-rw-r--r-- 1 root root 33044 2008-12-30 20:12 /var/log/Xorg.1.log
-rw-r--r-- 1 root root 34488 2009-01-01 16:48 /var/log/Xorg.20.log
-rw-r--r-- 1 root root 20553 2009-01-02 01:20 /var/log/Xorg.0.log

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

X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.17.7 x86_64 Debian
Current Operating System: Linux durandal 2.6.26-1-amd64 #1 SMP Mon Dec 15 
17:25:36 UTC 2008 x86_64
Build Date: 12 November 2008  12:59:43PM
xorg-server 2:1.5.3-1 (bui...@xenophanes) 
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.0.log", Time: Fri Jan  2 01:19:41 2009
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) |   |-->Monitor "Configured Monitor"
(==) No device specified for screen "Default Screen".
Using the first device section listed.
(**) |   |-->Device "Configured Video Device"
(**) |-->Input Device "Generic Keyboard"
(**) |-->Input Device "Synaptics Touchpad"
(==) Automatically adding devices
(==) Automatically enabling devices
(==) No FontPath specified.  Using compiled-in default.
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
Entry deleted from font path.
(==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/

Bug#491871: [965GM EXA] display corruption with xulrunner 1.9

2008-08-02 Thread Sam Morris
> > Does this still happen with Option "ExaNoComposite"?
> Yes

To be more precise, I need to use ExaNoComposite in order to make my
display usable at all; without it, I don't get any text or pixmaps
rendered at all (unless I use other options: AccelMethod XAA and
XAANoOffscreenPixmaps).

-- 
Sam Morris
http://robots.org.uk/

PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078


signature.asc
Description: This is a digitally signed message part


Bug#355923: A simpler way to avoid clobbering the TMPDIR environment variable

2008-08-02 Thread Sam Morris
On Sat, 2008-08-02 at 19:35 +0200, Julien Cristau wrote:
> On Wed, Aug  2, 2006 at 23:58:13 +0100, Sam Morris wrote:
> 
> > Could someone *please* look into making this very minor improvement to
> > the /etc/X11/Xsession.d/90x11-common_ssh-agent file?
> 
> I think I'll go with this:
> 
> --- a/debian/local/Xsession.d/90x11-common_ssh-agent
> +++ b/debian/local/Xsession.d/90x11-common_ssh-agent
> @@ -17,8 +17,8 @@ if grep -qs ^use-ssh-agent "$OPTIONFILE"; then
>fi
>  fi
>  
>  if [ -n "$STARTSSH" ]; then
> -  STARTUP="$SSHAGENT $SSHAGENTARGS $STARTUP"
> +  STARTUP="$SSHAGENT $SSHAGENTARGS ${TMPDIR:+env TMPDIR=$TMPDIR} $STARTUP"
>  fi
>  
>  # vim:set ai et sts=2 sw=2 tw=80:
> 
> Sounds sane?

Neat solution--looks good to me. :)
> 
> Cheers,
> Julien
-- 
Sam Morris
http://robots.org.uk/

PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078


signature.asc
Description: This is a digitally signed message part


Bug#481345: xserver-xorg-video-intel: Xserver locks up when google earth is run

2008-08-01 Thread Sam Morris
This happened agian, with intel 2:2.3.2-2 and libgl1-mesa-dri 7.0.3-5,
however it wasn't as fatal this time.

I ran stellarium, and the xserver froze for a few seconds before dieing.
Then it died and was restarted, but instead of locking the system up,
the xserver just died and was restarted again, in an infinite loop.
Unfortunately this would have screwed up the logs again, but at least
the attached log was left in Xorg.0.log.old. It has some
interesting/scary stuff in it that I'd not seen before.

-- 
Sam Morris <[EMAIL PROTECTED]>

X.Org X Server 1.4.2
Release Date: 11 June 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux Debian (xorg-server 2:1.4.2-2)
Current Operating System: Linux durandal 2.6.26-1-amd64 #1 SMP Tue Jul 29 
01:58:34 UTC 2008 x86_64
Build Date: 18 July 2008  11:08:10AM
 
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
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.0.log", Time: Fri Aug  1 10:41:10 2008
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) |   |-->Monitor "Configured Monitor"
(==) No device specified for screen "Default Screen".
Using the first device section listed.
(**) |   |-->Device "Configured Video Device"
(**) |-->Input Device "Generic Keyboard"
(**) |-->Input Device "Configured Mouse"
(**) |-->Input Device "Synaptics Touchpad"
(**) Option "DontZap" "on"
(==) Automatically adding devices
(==) Automatically enabling devices
(==) No FontPath specified.  Using compiled-in default.
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
Entry deleted from font path.
(==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
(==) RgbPath set to "/etc/X11/rgb"
(==) ModulePath set to "/usr/lib/xorg/modules"
(==) |-->Input Device "Configured Mouse"
(==) |-->Input Device "Generic Keyboard"
(==) The core pointer device wasn't specified explicitly in the layout.
Using the first mouse device.
(==) The core keyboard device wasn't specified explicitly in the layout.
Using the first keyboard device.
(II) Open ACPI successful (/var/run/acpid.socket)
(II) Loader magic: 0x7c31c0
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.3
X.Org Video Driver: 2.0
X.Org XInput driver : 2.0
X.Org Server Extension : 0.3
X.Org Font Renderer : 0.5
(II) Loader running on linux
(II) LoadModule: "pcidata"
(II) Loading /usr/lib/xorg/modules//libpcidata.so
(II) Module pcidata: vendor="X.Org Foundation"
compiled for 1.4.2, module version = 1.0.0
ABI class: X.Org Video Driver, version 2.0
(++) using VT number 8

(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,2a00 card 144d,c510 rev 03 class 06,00,00 hdr 00
(II) PCI: 00:02:0: chip 8086,2a02 card 144d,c510 rev 03 class 03,00,00 hdr 80
(II) PCI: 00:02:1: chip 8086,2a03 card 144d,c510 rev 03 class 03,80,00 hdr 80
(II) PCI: 00:1a:0: chip 8086,2834 card 144d,c510 rev 03 class 0c,03,00 hdr 80
(II) PCI: 00:1a:1: chip 8086,2835 card 144d,c510 rev 03 class 0c,03,00 hdr 00
(II) PCI: 00:1a:7: chip 8086,283a card 144d,c510 rev 03 class 0c,03,20 hdr 00
(II) PCI: 00:1b:0: chip 8086,284b card 144d,c510 rev 03 class 04,03,00 hdr 00
(II) PCI: 00:1c:0: chip 8086,283f card , rev 03 class 06,04,00 hdr 81
(II) PCI: 00:1c:1: chip 8086,2841 card , rev 03 class 06,04,00 hdr 81
(II) PCI: 00:1d:0: chip 8086,2830 card 144d,c510 rev 03 class 0c,03,00 hdr 80
(II) PCI: 00:1d:1: chip 8086,2831 card 144d,c510 rev 03 class 0c,03,00 hdr 00
(II) PCI: 00:1d:2: chip 8086,2832 card 144d,c510 rev 03 class 0c,03,00 hdr 00
(II) PCI: 00:1d:7: chip 8086,2836 card 144d,c510 rev 03 class 0c,03,20 hdr 00
(II) PCI: 00:1e:0: chip 8086,2448 card , rev f3 class 06,04,01 hdr 01
(II) PCI: 00:1f:0: chip 8086,2815 card 144d,c510 rev 03 class 06,01,00 hdr 80
(II) PCI: 00:1f:2: chip 8086,2828 card 144d,c510 rev 03 class 01,01,80 hdr 00
(II) PCI: 00:1f:3: chip 8086,283e card 144d,c510 rev 03 class 0c,05,00 hdr 00
(II) PCI: 02:00:0: chip 8086,4222 card 8086,1034 rev 02 class 02,80,00 hdr 00
(II) PCI: 03:00:0: chip 11ab,4353 card 144d,c510 rev 15 class 02,00,00 hdr 00
(II) PCI: 04:09:0: chip 1180,0476 card 3000, 

reassign 491871 to xserver-xorg-video-intel

2008-07-23 Thread Sam Morris
# Automatically generated email from bts, devscripts version 2.10.33
reassign 491871 xserver-xorg-video-intel 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#451791: [965G EXA] Fonts and many other items fail to render legibly

2008-07-05 Thread Sam Morris
I don't think that the bug I had is
<https://bugs.freedesktop.org/show_bug.cgi?id=15278>. My screen looks
totally different to the screenshots (either there, or on the bug that
it was marked a duplicate of), and I am not using isolinux's vesa menu,
but grub!

-- 
Sam Morris
http://robots.org.uk/

PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078


signature.asc
Description: This is a digitally signed message part


Bug#481345: xserver-xorg-video-intel: Xserver locks up when google earth is run

2008-06-25 Thread Sam Morris
I just ran into this again (but not with the updated intel driver and
mesa packages; I have now installed them and will see what changes).
Having rebooted, I examined the logs and tried to make it crash again,
but without success.

I now think that this is what is happening:

 1. the xserver dies
 2. gdm starts a new xserver. logs are rotated.
 3. the hardware was screwed in the crash, and the new xserver
causes the system to lock up.
 4. after rebooting, gdm starts the xserver and logs are rotated a
second time

So the log I originally posted is from the second xserver invocation
that causes the system to lock up, not from the first xserver that
originally screwed the hardware up.

This time I was unable to switch to tty1 to do anything. Hopefully next
time I'll have another system around to shell in and examine the
situation. I will also try to remember to boot up in single user mode to
try to recover the logs of the original xserver.

-- 
Sam Morris <[EMAIL PROTECTED]>



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#465220: xserver-xorg: External mouse button events are doubled up

2008-06-15 Thread Sam Morris
On Sun, 2008-06-15 at 12:22 +0200, Brice Goglin wrote:
> Sam Morris wrote:
> > That sounds like what is happening to me, but I don't know what I can do
> > about it without disabling the Synaptics Touchpad device.
> >   
> 
> Did you manage to fix this?
> If not, can you send your latest config and log?

Unfortunately I tossed my old laptop for a newer one. However I did work
out what the problem was. xorg.conf (as written during the initial
installaion) contained an entry for a Synaptics Touchpad device that
used /dev/psaux its device. This was fine in older versions of xorg,
however later I upgraded to a newer xserver that interpreted mouse
events from both the synaptics driver and the regular mouse driver
(presumably using /dev/input/mice) simultaneously.

The fix was to comment out the line 'Option "Device" "/dev/psaux"' from
the "Synaptics Touchpad" InputDevice in xorg.conf. So this bug can be
considered fixed if the xorg.conf that is generated by xserver-xorg no
longer contains that directive.

> Brice

-- 
Sam Morris
http://robots.org.uk/

PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078


signature.asc
Description: This is a digitally signed message part


Bug#481345: xserver-xorg-video-intel: Xserver locks up when google earth is run

2008-05-17 Thread Sam Morris
On Thu, 2008-05-15 at 15:16 +0200, Brice Goglin wrote:
> Sam Morris wrote:
> > Package: xserver-xorg-video-intel
> > Version: 2:2.3.1-1
> > Severity: important
> >
> > On an amd64 system, the server crashes when I run google earth.
> >
> > The screen freezes, and then the screen goes black for a second. When it
> > comes back, some colours on the screen are different (like someone
> > picked a random colour in a painting program and then clicked on a few
> > random places using the Fill tool).
> >
> > It is possible to switch to tty1 and hit ctrl+alt+del to reboot, or even
> > log in blind and run some programs, all while the screen remains frozen.
> >   
> 
> If X is actually crashing, there should be a backtrace at the end of
> /var/log/Xorg.0.log (or log.old if X already restarted since then).

There isn't, so it look like it's not actaully crashing, just getting
stuck somewhere...

> It would be even better if you catch a backtrace with gdb after
> installing xserver-xorg-core-dbg and libgl1-mesa-dri-dbg. Since your
> machine seems to be alive after the problem, logging through ssh and
> attaching gdb should be easy.

I'll try this next time I can reproduce the problem. Having failed every
single time I tried to run google earth so far, now I can't get it to
freeze at all! Computers, eh? :)

> 
> 
> > (WW) intel(0): ESR is 0x0001
> > (WW) intel(0): PRB0_CTL (0x0001f001) indicates ring buffer enabled
> > (WW) intel(0): PRB0_HEAD (0x468145b8) and PRB0_TAIL (0x00014710) indicate 
> > ring buffer not flushed
> > (WW) intel(0): Existing errors found in hardware state.
> >   
> 
> Beware of this. Assuming this is th X log after a soft reboot after the
> crash, it may mean that the hardware didn't get properly cleaned,
> causing some possible problems later. A hard reboot after the crash may
> help.

This is actually the log of the crashed X, as obtained by rebooting and
examining /var/log/Xorg.0.log.old.

> 
> Brice
> 
-- 
Sam Morris
http://robots.org.uk/

PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078


signature.asc
Description: This is a digitally signed message part


Bug#481345: xserver-xorg-video-intel: Xserver locks up when google earth is run

2008-05-15 Thread Sam Morris
Package: xserver-xorg-video-intel
Version: 2:2.3.1-1
Severity: important

On an amd64 system, the server crashes when I run google earth.

The screen freezes, and then the screen goes black for a second. When it
comes back, some colours on the screen are different (like someone
picked a random colour in a painting program and then clicked on a few
random places using the Fill tool).

It is possible to switch to tty1 and hit ctrl+alt+del to reboot, or even
log in blind and run some programs, all while the screen remains frozen.

-- Package-specific info:
Contents of /var/lib/x11/X.roster:
xserver-xorg

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

X server symlink status:
lrwxrwxrwx 1 root root 13 2008-04-09 22:08 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 1831520 2008-04-29 20:38 /usr/bin/Xorg

Contents of /var/lib/x11/xorg.conf.roster:
xserver-xorg

VGA-compatible devices on PCI bus:
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 
Integrated Graphics Controller (rev 03)

/etc/X11/xorg.conf does not match checksum in /var/lib/x11/xorg.conf.md5sum.

Xorg X server configuration file status:
-rw-r--r-- 1 root root 1601 2008-04-28 18:35 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
# xorg.conf (X.Org 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 xorg.conf manual page.
# (Type "man 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 "InputDevice"
Identifier  "Generic Keyboard"
Driver  "kbd"
Option  "XkbRules"  "xorg"
Option  "XkbModel"  "pc105"
Option  "XkbLayout" "gb"
EndSection

Section "InputDevice"
Identifier  "Configured Mouse"
Driver  "mouse"
Option  "Emulate3Buttons"   "true"
EndSection

Section "InputDevice"
Identifier  "Synaptics Touchpad"
Driver  "synaptics"
Option  "SendCoreEvents""true"
#Option "Device""/dev/psaux"
Option  "Protocol"  "auto-dev"
Option  "HorizScrollDelta"  "0"
EndSection

Section "Device"
Identifier  "Configured Video Device"
Option "AccelMethod" "XAA" # debian #451791
Option "XaaNoOffscreenPixmaps" "true"
EndSection

Section "Monitor"
Identifier  "Configured Monitor"
EndSection

Section "Screen"
Identifier  "Default Screen"
Monitor "Configured Monitor"
EndSection

Section "ServerLayout"
Identifier  "Default Layout"
Screen  "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection


Xorg X server log files on system:
-rw-r--r-- 1 root root 36869 2008-05-15 13:09 /var/log/Xorg.0.log

Contents of Xorg X server log file after a crash & reboot
/var/log/Xorg.0.log.old:

This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.4.0.90
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: Linux Debian (xorg-server 2:1.4.1~git20080131-4)
Current Operating System: Linux durandal 2.6.25-mainline-acpidebug #1 SMP Fri 
Apr 25 14:06:53 BST 2008 x86_64
Build Date: 29 April 2008  07:24:27PM
 
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
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.0.log", Time: Thu May 15 13:08:19 2008
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) |   |-->Monitor "Configured Monitor"
(==) No device specified for screen "Default Screen".
Using the first device section listed.
(**) |   |-->Device "Configured Video Device"
(**) |-->Input Device "Generic Keyboard"
(**) |-->Input Device "Configured Mouse"
(**) |-->Input Device "Synaptics Touchpad"
(==) Automatically adding device

Bug#470763: xserver-xorg-core: mouse events suddenly reported twice

2008-04-21 Thread Sam Morris
On Mon, 2008-04-21 at 23:35 +0200, Brice Goglin wrote:
> Sam Morris wrote:
> > retitile 470763 xserver-xorg-core: mouse vents suddenly reported twice
> > thanks
> >
> > I don't know quite how I discovered this, but if I comment out the line
> > that sets the Device option to /dev/psaux then this no longer happens.
> >   
> 
> 
> That's expected. If you don't set any device file, the driver manages to
> find the exact one that it needs. If you specify /dev/psaux, you end up
> with some events being received in both the exact device and in the
> generic/obsolete /dev/psaux which contains the other one, hence
> duplicate events.

Fair enough. Be advised however that the reason I had /dev/psaux in
there is because the version of xserver-xorg in lenny puts it in
xorg.conf by default.

> Brice
> 
-- 
Sam Morris
http://robots.org.uk/

PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078


signature.asc
Description: This is a digitally signed message part


Bug#451791: [965G EXA] Fonts and many other items fail to render legibly

2008-04-09 Thread Sam Morris
Hi, I think I may have run into this bug. No anti-aliased text renders
on my display, but if I hit alt-f2 I can run xterm fine.

My video card:
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile GM965/GL960 
Integrated Graphics Controller [8086:2a02] (rev 03)

Putting 'Option "AccelMethod" "XAA"' in xorg.conf fixes the problem.

Please let me know if I can help debug this!

-- 
Sam Morris
http://robots.org.uk/

PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078


signature.asc
Description: This is a digitally signed message part


Bug#470763: xserver-xorg-core: mouse events suddenly reported twice

2008-04-07 Thread Sam Morris
retitile 470763 xserver-xorg-core: mouse vents suddenly reported twice
thanks

I don't know quite how I discovered this, but if I comment out the line
that sets the Device option to /dev/psaux then this no longer happens.

-- 
Sam Morris <[EMAIL PROTECTED]>


signature.asc
Description: This is a digitally signed message part


Bug#470763: xserver-xorg-core: mouse becomes unusable

2008-03-16 Thread Sam Morris

On Sun, 2008-03-16 at 15:26 +0100, Brice Goglin wrote:
> retitle 470763 xserver-xorg-core: mouse vents suddenly reported twice
> thank you
> 
> 
> 
> Sam Morris wrote:
> > Subject: xserver-xorg-core: Mouse becomes unusable
> > Package: xserver-xorg-core
> > Version: 2:1.4.1~git20080131-1
> > Severity: important
> >
> > Over the last few days, my trackpad has started to behave very oddly.
> > All mousebutton events are doubled up (as confirmed in xev). Making it
> > hard to select or drag anything without activating or moving it.
> >   
> 
> 
> Oh, double events appeared after some time without restarting X in
> between? Interesting, I never saw anything like this. Did you
> unplug/replug some input devices in the meantime?

Not quite, this happened one morning when I booted up my laptop. But I
have no idea why -- dpkg.log does not mention the upgrade of any
X-related packages n or around the date when it started. :(

> 
> Brice
> 
-- 
Sam Morris
http://robots.org.uk/

PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078


signature.asc
Description: This is a digitally signed message part


Bug#465220: xserver-xorg: External mouse button events are doubled up

2008-03-16 Thread Sam Morris

On Sun, 2008-03-16 at 11:45 +0100, Brice Goglin wrote:
> Sam Morris wrote:
> > Package: xserver-xorg
> > Version: 1:7.3+10
> > Severity: normal
> >
> > When I try to use an external mouse I notice that all the button events
> > occur twice in quick succession:
> >   
> 
> What kind of external mouse it this? USB? PS2?

USB.
> 
> We've seen lots of bug reports like this that were caused by
> /dev/input/mice "containing" /dev/psaux or so. In such a case, all
> events are received by both the input section using /dev/input/mice (the
> default one) and some other section whose device file in included in the
> former, hence the double events that you see.

That sounds like what is happening to me, but I don't know what I can do
about it without disabling the Synaptics Touchpad device.

> 
> Brice
> 
-- 
Sam Morris
http://robots.org.uk/

PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078


signature.asc
Description: This is a digitally signed message part


Bug#451537: xserver-xorg: Can no longer scroll up/down with edge of touchpad

2007-12-22 Thread Sam Morris

On Sun, 2007-11-25 at 23:47 +0100, Brice Goglin wrote:
> Sam Morris wrote:
> > Package: xserver-xorg
> > Version: 1:7.3+6
> > Severity: important
> >
> > After upgrading to xserver-xorg 7.3+6 and reconfiguring the package, I
> > can no longer use the edge of my touchpad to send mouse wheel scroll
> > events.
> >
> > Also the feel of the mouse acceleration has changed... it feels more
> > slippery... but it is hard to quantify. :)
> >   
> 
> Just in case: does xserver-xorg-core 1.4.1 from unstable help?
> It contains lots of input-related fixes.

I just tried version 2:1.4.1~git20071212-2 and the results were the
same.
> 
> Brice
> 
> 
-- 
Sam Morris <[EMAIL PROTECTED]>


signature.asc
Description: This is a digitally signed message part


Bug#451537: xserver-xorg: Can no longer scroll up/down with edge of touchpad

2007-11-16 Thread Sam Morris
Package: xserver-xorg
Version: 1:7.3+6
Severity: important

After upgrading to xserver-xorg 7.3+6 and reconfiguring the package, I
can no longer use the edge of my touchpad to send mouse wheel scroll
events.

Also the feel of the mouse acceleration has changed... it feels more
slippery... but it is hard to quantify. :)

-- Package-specific info:
Contents of /var/lib/x11/X.roster:
xserver-xorg

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

X server symlink status:
lrwxrwxrwx 1 root root 13 2007-01-25 01:04 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 1669976 2007-09-29 15:33 /usr/bin/Xorg

Contents of /var/lib/x11/xorg.conf.roster:
xserver-xorg

VGA-compatible devices on PCI bus:
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility X700 
(PCIE)

/etc/X11/xorg.conf unchanged from checksum in /var/lib/x11/xorg.conf.md5sum.

Xorg X server configuration file status:
-rw-r--r-- 1 root root 1230 2007-11-16 17:59 /etc/X11/xorg.conf

Contents of /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  manual page.
# (Type "man " at the shell prompt.)
#
# This file is automatically updated on  package upgrades *only*
# if it has not been modified since the last upgrade of the 
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh 

Section "InputDevice"
Identifier  "Generic Keyboard"
Driver  "kbd"
Option  "XkbRules"  "xorg"
Option  "XkbModel"  "pc105"
Option  "XkbLayout" "gb"
EndSection

Section "InputDevice"
Identifier  "Configured Mouse"
Driver  "mouse"
Option  "Emulate3Buttons"   "true"
EndSection

Section "Device"
Identifier  "ATI Technologies Inc Radeon Mobility X700 (PCIE)"
Driver  "fglrx"
BusID   "PCI:1:0:0"
EndSection

Section "Monitor"
Identifier  "Configured Monitor"
Option  "DPMS"
EndSection

Section "Screen"
Identifier  "Default Screen"
Monitor "Configured Monitor"
DefaultDepth24
SubSection "Display"
Modes   "1280x800" "1024x768" "800x600" "640x480"
EndSubSection
EndSection


Xorg X server log files on system:
-rw-r--r-- 1 root root 43648 2007-06-12 15:37 /var/log/Xorg.20.log
-rw-r--r-- 1 root root 39591 2007-09-14 17:57 /var/log/Xorg.1.log
-rw-r--r-- 1 root root 44214 2007-11-16 18:00 /var/log/Xorg.0.log

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

X.Org X Server 1.4.0
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: Linux Debian (xorg-server 2:1.4-3)
Current Operating System: Linux tycho 2.6.22-2-k7 #1 SMP Fri Aug 31 01:02:37 
UTC 2007 i686
Build Date: 29 September 2007  04:19:41PM
 
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
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.0.log", Time: Fri Nov 16 18:00:32 2007
(==) Using config file: "/etc/X11/xorg.conf"
(==) No Layout section.  Using the first Screen section.
(**) |-->Screen "Default Screen" (0)
(**) |   |-->Monitor "Configured Monitor"
(==) No device specified for screen "Default Screen".
Using the first device section listed.
(**) |   |-->Device "ATI Technologies Inc Radeon Mobility X700 (PCIE)"
(==) |-->Input Device "Configured Mouse"
(==) |-->Input Device "Generic Keyboard"
(==) The core pointer device wasn't specified explicitly in the layout.
Using the first mouse device.
(==) The core keyboard device wasn't specified explicitly in the layout.
Using the first keyboard device.
(==) Automatically adding devices
(==) Automatically enabling devices
(==) No FontPath specified.  Using compiled-in default.
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
Entry deleted from font path.
(==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
(==) RgbPath set to "/etc/X11/rgb"
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) Open ACPI successful (/var/run/acpid.socket)
(II) Loader magic: 0x81d7b40
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.3
X.Org Video Driver: 2.0
X.Org XInput driver : 2.0
X.Org 

Bug#383465: Contains obfuscated source code, DFSG violation?

2006-11-28 Thread Sam Morris
I found some interesting links about this topic:

http://cvsweb.xfree86.org/cvsweb/xc/programs/Xserver/hw/xfree86/vga256/drivers/nv/Attic/README.RIVATNT.diff?r1=1.1.2.2&r2=1.1.2.3&hideattic=0&only_with_tag=xf-3_3_3
and
http://cvsweb.xfree86.org/cvsweb/xc/programs/Xserver/hw/xfree86/vga256/drivers/nv/Attic/nv3driver.c.diff?r1=1.1.2.5&r2=1.1.2.6&hideattic=0&only_with_tag=xf-3_3_3

If nvidia already 'forced' XFree86 to obfuscate their source code, it
doesn't seem unlikely that they require obfuscation of the source for
the 'nv' driver too.

-- 
Sam Morris
http://robots.org.uk/

PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078


signature.asc
Description: This is a digitally signed message part


Bug#355923: A simpler way to avoid clobbering the TMPDIR environment variable

2006-08-02 Thread Sam Morris
Like this:

if [ -n "$STARTSSH" ]; then
  eval $($SSHAGENT $SSHAGENTARGS -s)
fi

Could someone *please* look into making this very minor improvement to
the /etc/X11/Xsession.d/90x11-common_ssh-agent file?

-- 
Sam Morris
http://robots.org.uk/

PGP key id 1024D/5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078


signature.asc
Description: This is a digitally signed message part


Bug#375689: Instructions on how to reconfigure xserver-xorg are incorrect

2006-06-27 Thread Sam Morris
Package: xserver-xorg
Version: 1:7.0.22
Severity: important

The top of my xorg.conf file contains the following information:

# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
#   md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum
#   dpkg-reconfigure xserver-xorg

I have followed these steps, but running 'dpkg-reconfigure xserver-xorg'
has no effect on the xorg.conf file.

I installed xserver-xorg afresh and found that the following information
had replaced the above information:

# 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

Isn't this the message that one usually sees on Ubuntu systems? Regardless,
it is also incorrect.

Next I dug into the xserver-xorg.config script, and saw that it
appears to store its md5sums in /var/lib/x11. However, even through I
reset the contents of xorg.conf.md5sum in that directory, the script
still did not overwrite /etc/X11/xorg.conf with a new configuration
file.

So the issues here are:

 1. Users upgrading to X11R7 end up with incorrect and misleading information
in their xorg.conf files.
 
 2. Users installing X11R7 afresh end up with incorrect and misleading
instructions in their xorg.conf files and/or the xserver-xorg.config
script is broken.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (530, 'testing'), (520, 'unstable'), (510, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-k7
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages xserver-xorg depends on:
ii  debconf  1.5.2   Debian configuration management sy
ii  nvidia-glx [xserver-xorg-vid 1.0.8762-2  NVIDIA binary XFree86 4.x driver
ii  x11-common   1:7.0.22X Window System (X.Org) infrastruc
ii  xbase-clients1:7.0.1-2   miscellaneous X clients
ii  xkb-data 0.8-5   X Keyboard Extension (XKB) configu
ii  xserver-xorg-core1:1.0.2-8   X.Org X server -- core server
ii  xserver-xorg-input-aiptek [x 1:1.0.0.5-2 X.Org X server -- Aiptek input dri
ii  xserver-xorg-input-all   1:7.0.22the X.Org X server -- input driver
ii  xserver-xorg-input-evdev [xs 1:1.0.0.5-2 X.Org X server -- evdev input driv
ii  xserver-xorg-input-kbd [xser 1:1.0.1.3-2 X.Org X server -- keyboard input d
ii  xserver-xorg-input-mouse [xs 1:1.0.4-3   X.Org X server -- mouse input driv
ii  xserver-xorg-video-nv [xserv 1:1.0.1.5-2 X.Org X server -- NV display drive
ii  xserver-xorg-video-vesa [xse 1:1.0.1.3-2 X.Org X server -- VESA display dri

Versions of packages xserver-xorg recommends:
pn  discover1 | discover   (no description available)
pn  laptop-detect  (no description available)
pn  mdetect(no description available)
pn  xresprobe  (no description available)

-- debconf information:
* xserver-xorg/multiple_possible_x-drivers:
  xserver-xorg/config/monitor/use_sync_ranges: true
* xserver-xorg/config/inputdevice/mouse/port: /dev/input/mice
* xserver-xorg/config/monitor/lcd: false
* xserver-xorg/autodetect_monitor: true
* xserver-xorg/config/display/default_depth: 24
* xserver-xorg/config/display/modes: 1600x1200, 1280x1024, 1152x864, 1024x768, 
832x624, 800x600, 720x400, 640x480
* xserver-xorg/config/inputdevice/keyboard/internal:
* xserver-xorg/config/inputdevice/keyboard/options:
* xserver-xorg/config/device/use_fbdev: false
* xserver-xorg/config/inputdevice/keyboard/variant:
* xserver-xorg/config/nonnumeric_string_error:
* xserver-xorg/config/inputdevice/keyboard/layout: gb
* xserver-xorg/config/monitor/identifier: JC-17W41
* xserver-xorg/config/inputdevice/mouse/emulate3buttons: false
* xserver-xorg/autodetect_mouse: true
* xserver-xorg/config/monitor/horiz-sync: 30-92
* xserver-xorg/config/monitor/range_input_error:
* xserver-xorg/config/write_dri_section: false
* xserver-xorg/config/inputdevice/keyboard/model: pc104
* xserver-xorg/config/device/driver: nvidia
* xserver-xorg/config/monitor/selection-method: Medium
* xserver-xorg/config/write_files_section: true
* xserver-xorg/config/monitor/mode-list: 1280x960 @ 85Hz
* xserver-xorg/config/doublequote_in_string_error:
* xserver-xorg/config/monitor/screen-size: 17 inches (430 mm)
* shared/default-x-server: xserver-xorg
* xserver-xorg/config/inputdevice/mouse/protocol: ImPS/2
* shared/no_known_x-server:
* xserver-xorg/config/device/bus_id_error:
* xserver-xorg/config/monitor/vert-refresh: 50-85
* xserver-xorg/autodetect_keyboard: false
  xserver-xorg/config/fontpath/fontserver:
* xserver-xorg/config/modules: bitmap, dbe, ddc, extmod, freetype, glx, int10, 
record, vbe
* xserver-xorg/config/device/video_ram:
* xserver-xorg/

Bug#366007: x11-common: /etc/X11/Xsession has disappeared

2006-05-04 Thread Sam Morris
Package: x11-common
Version: 1:7.0.16
Severity: important

Since installing x11-common 1:7.0.16, /etc/X11/Xsession has been
deleted. This means that startx no longer works

According to dpkg --search, /etc/X11/Xsession is still owned by
x11-common, even though it no longer exists; there is also a new file,
/etc/X11/Xsession.xfree86, that is not owned by any package.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (530, 'testing'), (520, 'unstable'), (510, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.16-1-k7
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages x11-common depends on:
ii  debconf [debconf-2.0] 1.4.30.13  Debian configuration management sy
ii  debianutils   2.15.7 Miscellaneous utilities specific t
ii  lsb-base  3.1-4  Linux Standard Base 3.1 init scrip
ii  xfree86-common1:7.0.16   transitional package for Debian et

-- debconf information:
  x11-common/xwrapper/allowed_users: Console Users Only
  x11-common/experimental_packages:
  x11-common/xwrapper/actual_allowed_users: console
  x11-common/xwrapper/nice_value/error:
  x11-common/xwrapper/nice_value: 0


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#364830: xserver-xorg: Fixed by X11R7

2006-04-26 Thread Sam Morris
Package: xserver-xorg
Version: 1:7.0.14
Followup-For: Bug #364830

Upgrading to X11R7 seems to have fixed this problem (phew!).

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (530, 'testing'), (520, 'unstable'), (510, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.16-1-k7
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages xserver-xorg depends on:
ii  debconf  1.4.30.13   Debian configuration management sy
ii  nvidia-glx [xserver-xorg-vid 1.0.8756-4  NVIDIA binary XFree86 4.x driver
ii  x11-common   1:7.0.14X Window System (X.Org) infrastruc
ii  xbase-clients1:7.0.0-4   miscellaneous X clients
ii  xkb-data 0.8-5   X Keyboard Extension (XKB) configu
ii  xserver-xorg-core1:1.0.2-6   X.Org X server -- core server
ii  xserver-xorg-input-all   1:7.0.14the X.Org X server -- input driver
ii  xserver-xorg-input-evdev [xs 1:1.0.0.5-2 X.Org X server -- evdev input driv
ii  xserver-xorg-input-kbd [xser 1:1.0.1.3-2 X.Org X server -- keyboard input d
ii  xserver-xorg-input-mouse [xs 1:1.0.4-2   X.Org X server -- mouse input driv

-- debconf information excluded


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#364830: Full stack trace

2006-04-26 Thread Sam Morris
Here's the full story from gdb:

#0  0xa7dce6f1 in kill () at string2.h:998
No locals.
#1  0xa7dce455 in *__GI_raise (sig=6)
at ../linuxthreads/sysdeps/unix/sysv/linux/raise.c:32
No locals.
#2  0xa7dcf9d8 in *__GI_abort () at ../sysdeps/generic/abort.c:88
act = {__sigaction_handler = {sa_handler = 0x26, sa_sigaction = 0x26},
  sa_mask = {__val = {10, 263169, 108, 76, 435, 419, 9, 263169, 59, 58, 65105,
  65113, 9, 263169, 39, 64, 65106, 65114, 9, 263169, 96, 172, 124, 124, 0,
  65793, 65505, 9, 263169, 35, 126, 65104}}, sa_flags = 65109,
  sa_restorer = 0xb}
sigs = {__val = {32, 0 }}
#3  0xa7e0411f in __libc_message (do_abort=2,
fmt=0xa7eb92f0 "*** glibc detected *** %s: 0x%s ***\n")
at ../sysdeps/unix/sysv/linux/libc_fatal.c:145
ap = 0xafa418c0 "\u\223\u\u"
ap_copy = 0xafa418b8 
"\u\223\u\u\u\030\u\u\u\223\u\u"
fd = 20
list = 
nlist = 5
cp = 0x14 
#4  0xa7e09fb2 in malloc_printerr (action=2,
str=0xa7eb93c4 "double free or corruption (!prev)",
ptr=) at malloc.c:5525
buf = "083776b8"
cp = 
#5  0xa7e0a978 in *__GI___libc_free (mem=0x83776b8) at malloc.c:3404
ar_ptr = (mstate) 0xa7ec4a40
p = 
hook = 
#6  0x08149b1b in SrvXkbResizeKeyType (xkb=0x82932e0, type_ndx=11,
map_count=14, want_preserve=1, new_num_lvls=8) at XKBMAlloc.c:520
nextMatch = 14
type = (XkbKeyTypePtr) 0x837a4c0
matchingKeys = "\030\033\035\036\037')-45678:", '\0' nMatchingKeys = 14 '\016'
#7  0x08126b0a in ProcXkbSetMap (client=0x837db18) at xkb.c:1937
pOld = (XkbKeyTypePtr) 0x837a4a8
n = 13
dev = (DeviceIntPtr) 0x8292dd8
xkbi = (XkbSrvInfoPtr) 0x8293358
xkb = (XkbDescPtr) 0x82932e0
change = {device_spec = 0, state_changes = 0, map = {changed = 0,
min_key_code = 0 '\0', max_key_code = 0 '\0', first_type = 0 '\0',
num_types = 0 '\0', first_key_sym = 0 '\0', num_key_syms = 0 '\0',
first_key_act = 0 '\0', num_key_acts = 0 '\0',
first_key_behavior = 0 '\0', num_key_behaviors = 0 '\0',
first_key_explicit = 0 '\0', num_key_explicit = 0 '\0',
first_modmap_key = 0 '\0', num_modmap_keys = 0 '\0',
first_vmodmap_key = 0 '\0', num_vmodmap_keys = 0 '\0', pad = 0 '\0',
vmods = 0}, ctrls = {changed_ctrls = 0, enabled_ctrls_changes = 0,
num_groups_changed = 0}, indicators = {state_changes = 0,
map_changes = 0}, names = {changed = 0, first_type = 0 '\0',
num_types = 0 '\0', first_lvl = 0 '\0', num_lvls = 0 '\0',
num_aliases = 0 '\0', num_rg = 0 '\0', first_key = 0 '\0',
num_keys = 0 '\0', changed_vmods = 0, changed_indicators = 0,
changed_groups = 0 '\0'}, compat = {changed_groups = 0 '\0', first_si = 0,
num_si = 0}}
cause = {kc = 0 '\0', event = 0 '\0', mjr = 152 '\230', mnr = 9 '\t',
  client = 0x837db18}
nTypes = 
nActions = 0
error = 
tmp = 0x83a47b4 ""
mapWidths = 
"\001\002\002\002\002\002\003\002\003\b\b\b\004\004\004\004\004", '\0' , "[EMAIL PROTECTED]/[EMAIL PROTECTED]", '\0' , 
"\214M\u\u\000\000\000\000\214J\u\u\u!)[EMAIL PROTECTED] 
\232<[EMAIL PROTECTED]@J\u\u\230\u'\b"
symsPerKey = {0, 0, 0, 0, 0, 32768, 16383, 0, 0, 1,
  4 , 2, 2, 4, 4, 2, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4,
  4, 4, 4, 4, 2, 4, 4, 4, 4, 4, 1, 4, 4, 4, 4, 4, 4, 2, 4, 4, 4, 4, 1, 2, 2,
  1, 1, 2 , 1, 2 , 0, 1, 4, 2, 2, 1, 1, 1,
  1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 2, 1, 0, 1, 2, 1, 0, 0, 0, 0, 0, 0, 1,
  2, 1, 2, 2, 0 , 2, 0 , 65520, 65535, 1,
  0, 1, 0, 7720, 44964, 61080, 2056, 7708, 44964, 0, 0, 1, 0, 17440, 2082,
  47192, 119, 0, 32973, 0, 0, 24697, 17487, 6447, 13, 46864, 2106, 8296,
  44964, 35645, 2062, 0, 8, 17440, 2082, 0, 0, 0, 0, 8272, 44964, 0, 0, 8,
  0 }
sentNKN = 0
stuff = (xkbSetMapReq *) 0x83a4790
#8  0x080c9a7e in Dispatch () at dispatch.c:459
result = 
client = 
nready = 0
start_tick = 120
#9  0x080d6785 in main (argc=1, argv=0xafa42554, envp=0x0) at main.c:484
pScreen = 
i = 1
j = 
k = 
error = 0
xauthfile = 
alwaysCheckForInput = {0, 1}

Also, I noticed this message left on the console after resetting my video
card:

  *** glibc detected *** double free or corruption (!prev): 0x083e12c0 ***

-- 
Sam Morris
http://robots.org.uk/

PGP key id 5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#364830: Can't crash the server with setxkbmap

2006-04-26 Thread Sam Morris
I can't seem to crash the server by issuing setxkbmap commands to enact
my Gnome keyboard configuration. I also can't crash a nested server by
launching gnome-settings-daemon.

-- 
Sam Morris
http://robots.org.uk/

PGP key id 5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Bug#364545: xserver-xorg: DisplaySize ignored

2006-04-24 Thread Sam Morris
On Mon, 24 Apr 2006 21:18:14 +0200, Vincent =?UTF-8?Q?L=C3=B6nngren?=
wrote:

> mån 2006-04-24 klockan 16:25 +0200 skrev Michel Dänzer:
>> Probably, I don't know them all either offhand though. Does ps show that
>> the X server is passed -dpi?
>> 
>> 
> 
> Yes, it's passed the command line option, and it is started by gdm. I tried 
> starting it with startx instead, and there was no 96 DPI problem. I guess 
> whatever is wrong is in gdm. I recursively grepped /etc/gdm for 96 but found 
> nothing, so I have no idea what to do about it. Anyway, it seems the bug 
> should belong to gdm.

GDM 2.14 keeps its defaults in /usr/share/gdm/defaults.conf and only
user-specified overrides go into /etc/gdm/gdm.conf:

$ grep dpi /usr/share/gdm/defaults.conf
command=/usr/X11R6/bin/X -dpi 96 -audit 0

You can put your own 'command' setting in the [server-Standard] section
of /etc/gdm/gdm.conf, or use gdmsetup to make the change for you.

-- 
Sam Morris
http://robots.org.uk/

PGP key id 5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: X-Window/XTerm and environement variables

2006-04-15 Thread Sam Morris
Michelle Konzack wrote:
> Because I am working in a secured environement, XTerm break it,
> while droping the TEMPDIR variable which was set from /etc/profile,
> ~/.bash_login or ~/.xsession.
> 
> Generaly it is set using:
> 
> mkdir -p  /tmp/$USER
> chmod 700 /tmp/$USER
> export TMPDIR=/tmp/$USER

Could you try another terminal emulator? Xterm is setgid to the utmp
group:

-rwxr-sr-x 1 root utmp 288K 2006-03-17 01:19 /usr/bin/xterm

This causes glibc to purge 'harmful' environment variables from its
environment when it is run, including TMPDIR.

If you must use xterm you could use dpkg-statoverride to remove its
setgid permission; that way the utmp file won't be updated when xterm is
run (so xterms won't appear in the output of w(1)) but at least you
won't lose the TMPDIR environment variable.

> Then the Variable MANPATH is eaten by X-Window.  We are using
> heavyly private manpages from ~/man and using in the configs
> 
> if test -z "$MANPATH" ; then export MANPATH=`manpath` ; fi
> 
> Under Woody it was working, but now under Sarge, I can not more read
> my private Manpages using xman.

Where is that code for setting MANPATH located, and how are you starting
the X server?

-- 
Sam Morris
http://robots.org.uk/

PGP key id 5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#352127: xbase-clients: Unable to use startx/xinit with a terminal emulator as the client

2006-02-09 Thread Sam Morris
Package: xbase-clients
Version: 6.9.0.dfsg.1-4
Severity: important

I can unable to use startx or xinit to start an X session with a terminal
emulator as the client. The command I am using is 'startx xterm'.

With xterm, the window appears but a shell is never run. The mouse
cursor flickers when it hovers over the xterm window.

When I try rxvt, the entire window flickers constantly; when I try
gnome-terminal, the window appears and then disappears and the X session
ends.

Everything works if I use twm as the client.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (530, 'testing'), (520, 'unstable'), (510, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.15-1-k7
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages xbase-clients depends on:
ii  cpp4:4.0.2-2 The GNU C preprocessor (cpp)
ii  libc6  2.3.5-8   GNU C Library: Shared libraries an
ii  libdmx16.9.0.dfsg.1-4Distributed Multihead X client lib
ii  libexpat1  1.95.8-3  XML parsing C library - runtime li
ii  libfontconfig1 2.3.1-2   generic font configuration library
ii  libfreetype6   2.1.10-1  FreeType 2 font engine, shared lib
ii  libfs6 6.9.0.dfsg.1-4X Font Server library
ii  libglu1-xorg [libglu1] 6.9.0.dfsg.1-4Mesa OpenGL utility library [X.Org
ii  libice66.9.0.dfsg.1-4Inter-Client Exchange library
ii  libpng12-0 1.2.8rel-5PNG library - runtime
ii  libsm6 6.9.0.dfsg.1-4X Window System Session Management
ii  libx11-6   6.9.0.dfsg.1-4X Window System protocol client li
ii  libxau66.9.0.dfsg.1-4X Authentication library
ii  libxaw86.9.0.dfsg.1-4X Athena widget set library
ii  libxcursor11.1.3-1   X cursor management library
ii  libxext6   6.9.0.dfsg.1-4X Window System miscellaneous exte
ii  libxfixes3 6.9.0.dfsg.1-4X Window System miscellaneous 'fix
ii  libxft22.1.7-1   FreeType-based font drawing librar
ii  libxi6 6.9.0.dfsg.1-4X Window System Input extension li
ii  libxinerama1   6.8.2.dfsg.1-11   X Window System multi-head display
ii  libxkbfile16.9.0.dfsg.1-4X Keyboard Extension file parsing 
ii  libxkbui1  6.9.0.dfsg.1-4X Keyboard Extension user interfac
ii  libxmu66.9.0.dfsg.1-4X Window System miscellaneous util
ii  libxmuu1   6.9.0.dfsg.1-4lightweight X Window System miscel
ii  libxp6 6.9.0.dfsg.1-4X Window System printing extension
ii  libxpm46.9.0.dfsg.1-4X pixmap library
ii  libxrandr2 6.9.0.dfsg.1-4X Window System Resize, Rotate and
ii  libxrender11:0.9.0.2-1   X Rendering Extension client libra
ii  libxss16.8.2.dfsg.1-11   X Screen Saver client-side library
ii  libxt6 6.9.0.dfsg.1-4X Toolkit Intrinsics
ii  libxtrap6  6.9.0.dfsg.1-4X Window System protocol-trapping 
ii  libxtst6   6.9.0.dfsg.1-4X Window System event recording an
ii  libxv1 6.9.0.dfsg.1-4X Window System video extension li
ii  libxxf86dga1   6.8.2.dfsg.1-11   X Direct Graphics Access extension
ii  libxxf86misc1  6.9.0.dfsg.1-4X miscellaneous extensions library
ii  libxxf86vm16.8.2.dfsg.1-11   X Video Mode selection library
ii  xlibmesa-gl [libgl1]   6.9.0.dfsg.1-4Mesa 3D graphics library [X.Org]
ii  xlibs  6.9.0.dfsg.1-4X Window System client libraries m
ii  xlibs-data 6.9.0.dfsg.1-4X Window System client data
ii  zlib1g 1:1.2.2-4.sarge.2 compression library - runtime

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: xklavier test program and output

2006-01-20 Thread Sam Morris

Denis Barbier wrote:

I checked differences between /etc/X11/xkb-data/rules/xorg.xml
and /etc/X11/xkb/rules/xorg.xml, and found that these problems
are caused by comments in the latter file.  I am reassigning
this bugreport to libxklavier10, IMO it should not be confused
by comments in xorg.xml.  If this cannot be fixed easily, please
let us know, we may remove these comments from xorg.xml, but
fixing libxklavier10 is a much better solution for the long term.


Many thanks for doing the hard work! I have altered libxklavier so that 
it doesn't bug out if there is a comment under any of the 
/xkbConfigRegistry/optionList/group elements of the XML file.


Comments anywhere else in the file may still cause similar failures, but 
I think that's a job for upstream.


If the attached patch is acceptable, you will probably have to NMU 
libxklavier; the last upload by the maintainer was in August 2004.



Denis


--
Sam Morris
http://robots.org.uk/

PGP key id 5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078
--- libxklavier-2.0/libxklavier/xklavier_config.c   2006-01-21 
00:03:46.0 +
+++ libxklavier-2.0+sam/libxklavier/xklavier_config.c   2006-01-21 
00:02:17.0 +
@@ -60,9 +60,11 @@
   break;
 return False;
   case XML_TEXT_NODE:
+  case XML_COMMENT_NODE:
 ptr = ptr->next;
 continue;
   default:
+   XklDebug (115, "Unknown node type [%d]\n", ptr->type);
 return False;
 }
 break;
@@ -464,6 +466,8 @@
 
 func( &ci, allowMC, userData );
   }
+  else
+XklDebug (110, "Unable to parse 'group' element\n");
 
   theNodePtr++;
 }


Bug#347803: Patches to document XF86MiscSetGrabKeysState

2006-01-12 Thread Sam Morris
These patches document XF86MiscSetGrabKeysState. I don't know if 
AllowClosedownGrabs and AllowDeactivateGrabs affects the other XGrab* 
functions; if so, then the text added to XGrabServer and XGrabKeyboard 
should be added to those man pages as well.


--
Sam Morris
http://robots.org.uk/

PGP key id 5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078
--- /dev/fd/63  2006-01-12 22:12:38.395008362 +
+++ XF86Misc.3x 2006-01-12 22:12:34.0 +
@@ -12,7 +12,7 @@
 ..
 .TH XF86MISC 3x Version\ 6.9.0 X.Org "X FUNCTIONS"
 .SH NAME
-XF86MiscQueryExtension, XF86MiscQueryVersion, XF86MiscGetMouseSettings, 
XF86MiscSetMouseSettings, XF86MiscGetKbdSettings, XF86MiscSetKbdSettings \- 
Extension library for the XFree86-Misc X extension.
+XF86MiscQueryExtension, XF86MiscQueryVersion, XF86MiscGetMouseSettings, 
XF86MiscSetMouseSettings, XF86MiscGetKbdSettings, XF86MiscSetKbdSettings, 
XF86MiscSetGrabKeysState \- Extension library for the XFree86-Misc X extension.
 .SH SYNTAX
 .nf
 .LP
@@ -57,6 +57,10 @@
 Status XF86MiscSetKbdSettings(
 Display *\fIdisplay\fP\^,
 XF86MiscKbdSettings *\fIkbdinfo\fP\^);
+.LP
+int XF86MiscSetGrabKeysState(
+Display *\fIdisplay\fP\^,
+Bool \fIenabled\fP\^);
 .fi
 .SH ARGUMENTS
 .IP \fIdisplay\fP 2i
@@ -89,6 +93,8 @@
 Specifies a structure which contains the mouse parameters.
 .IP \fIkbdinfo\fP 2i
 Specifies a structure which contains the keyboard parameters.
+.IP \fIenabled\fP 2i
+Specifies whether the grab-killing keys should be enabled.
 .SH STRUCTURES
 .nf
 .ta 3i
@@ -200,6 +206,17 @@
 .ZN XF86MiscQueryVersion ,
 are provided which allow the client to query some information
 regarding the extension itself.
+.PP
+The
+.ZN XF86MiscSetGrabKeysState
+function allows you to disable the user's ability to deactivate grabs held by
+an X client, or kill an X client that has a grab, with the
+.B Ctrl+Alt+Keypad\-Divide
+and
+.B Ctrl+Alt+Keypad\-Multiply
+keys. It should be used by screen-locking programs to ensure that an attacker
+cannot bypass a locked screen by killing the screen-locking client.
+.PP
 .SH PREDEFINED VALUES
 The header file
 .ZN X11/extensions/xf86misc.h
@@ -210,8 +227,16 @@
 Keyboard types
 .IP \fBMF_\fP* 1i
 Mouse flags
+.IP \fBMiscExtGrabStateSuccess\fP
+Return value for
+.ZN XF86MiscSetGrabKeysState .
+Indicates success.
+.IP \fBMiscExtGrabStateLocked\fP
+A client already requested that grabs cannot be disabled/killed.
+.IP \fBMiscExtGrabStateAlready\fP
+Request for enabling/disabling grab removeal/kill already done.
 .SH "SEE ALSO"
-xset(1x), xorg.conf(5x)
+xset(1x), xorg.conf(5x), XGrabServer(3x), XGrabKeyboard(3x)
 .SH AUTHORS
 Joe Moss and David Dawes, The XFree86 Project, Inc.
 
--- /dev/fd/63  2006-01-12 22:06:49.591901594 +
+++ XF86MiscSetGrabKeysState.3x 2006-01-12 19:53:43.0 +
@@ -0,0 +1 @@
+.so man3/XF86Misc.3x
.\" Copyright \(co 1985, 1986, 1987, 1988, 1989, 1990, 1991, 1994, 1996 X 
Consortium
.\"
.\" Permission is hereby granted, free of charge, to any person obtaining
.\" a copy of this software and associated documentation files (the
.\" "Software"), to deal in the Software without restriction, including
.\" without limitation the rights to use, copy, modify, merge, publish,
.\" distribute, sublicense, and/or sell copies of the Software, and to
.\" permit persons to whom the Software is furnished to do so, subject to
.\" the following conditions:
.\"
.\" The above copyright notice and this permission notice shall be included
.\" in all copies or substantial portions of the Software.
.\"
.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
.\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
.\" IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR
.\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
.\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
.\" OTHER DEALINGS IN THE SOFTWARE.
.\"
.\" Except as contained in this notice, the name of the X Consortium shall
.\" not be used in advertising or otherwise to promote the sale, use or
.\" other dealings in this Software without prior written authorization
.\" from the X Consortium.
.\"
.\" Copyright \(co 1985, 1986, 1987, 1988, 1989, 1990, 1991 by
.\" Digital Equipment Corporation
.\"
.\" Portions Copyright \(co 1990, 1991 by
.\" Tektronix, Inc.
.\"
.\" Permission to use, copy, modify and distribute this documentation for
.\" any purpose and without fee is hereby granted, provided that the above
.\" copyright notice appears in all copies and that both that copyright notice
.\" and this permission notice appear in all copies, and that the names of
.\" Digital and T

Bug#347803: xserver-xorg: Improved xorg.conf.5x man page mentions XF86MiscSetGrabKeysState(3x)

2006-01-12 Thread Sam Morris
Package: xserver-xorg
Version: 6.9.0.dfsg.1-3
Severity: wishlist
Tags: patch

Here is a patch to improve the xorg.conf.5x man page. The manual should
mention the API that display-locking programs should use to disable the
grab-killing keys, that are enabled with AllowDeactivateGrabs and
AllowClosedownGrabs.
--- /dev/fd/63  2006-01-12 19:26:50.651879536 +
+++ xorg.conf.5x2006-01-12 19:26:46.0 +
@@ -633,15 +633,17 @@
 .BR XGrabServer(3x)
 Xlib function.
 Default: off.
-.br
-Note that the options
+.PP
+.B Important security note.
+The
 .B AllowDeactivateGrabs
 and
 .B AllowClosedownGrabs
-will allow users to remove the grab used by screen saver/locker programs.
-An API was written to such cases.
-If you enable this option, make sure your screen saver/locker is updated.
-Default: off.
+options allow clients to remove the grab used by screen saver/locker programs.
+Such programs can prevent this by using the 
+.BR XF86MiscSetGrabKeysState(3x)
+Xlib function. If you enable these options, make sure your screen saver/locker
+has been updated.
 .TP 7
 .BI "Option \*qHandleSpecialKeys\*q \*q" when \*q
 This option controls when the server uses the builtin handler to process


Bug#345436: Can't switch virtual consoles with Ctrl+Alt+Function keys when XkbRules is set to 'base'

2006-01-02 Thread Sam Morris

Denis Barbier wrote:

On Mon, Jan 02, 2006 at 09:27:47PM +, Sam Morris wrote:
While investigating #336791 [0] I found that if I have XkbRules set to 
'base', instead of the default 'xorg' [1], The Ctrl+Alt+Function key 
chord no longer switches between virtual consoles.


And when it is set to xorg, does everything work fine?

Denis


Yes, except for the XKEYBOARD related issues with #336791. For now, I am 
using 'xorg' since switching virtual consoles is more important to me 
than configuring the compose key. :)


--
Sam Morris
http://robots.org.uk/

PGP key id 5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#345436: Can't switch virtual consoles with Ctrl+Alt+Function keys when XkbRules is set to 'base'

2006-01-02 Thread Sam Morris
While investigating #336791 [0] I found that if I have XkbRules set to 
'base', instead of the default 'xorg' [1], The Ctrl+Alt+Function key 
chord no longer switches between virtual consoles. Instead it is passed 
through to my X clients; for example, Ctrl+Alt+F1 makes xterm beep and 
print the 'P' character.


I am not experiencing the other symptoms mentioned by the reporter (? 
and / key, AltGr key not working).


[0] <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=336791>

[1] As recommended by "GNOME and XKB: looking at the issues" 
<http://gswitchit.sourceforge.net/gnome_xkb_tsh.pdf>; is using 'base' 
sound advice, or should libxklavier be fixed to work with the 'xorg' 
setting?


--
Sam Morris
http://robots.org.uk/

PGP key id 5EA01078
3412 EA18 1277 354B 991B  C869 B219 7FDB 5EA0 1078


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Bug#276008: xserver-xfree86: input driver for the aiptek tablet is missing

2004-11-11 Thread Sam Morris

Branden Robinson wrote:

tag 276008 = upstream help
thanks

On Fri, Oct 29, 2004 at 02:40:28PM +0200, Christopher Zimmermann wrote:


Ups, it's not in your sources. I found it in a source tree I patched. It
would still be fine if you could include the patch. Sorry for sending
you wrong information. The patch is on http://aiptektablet.sourceforge.net



Okay.

Since I don't own this hardware, I am not a good person to integrate this
patch.

I'd be happy to work with someone who'd be willing to prepare a patch
applicable to Debian's XFree86 packages, or work on adding this patch via
the Debian X Strike Force Subversion repository for XFree86.

http://necrotic.deadbeast.net/xsf/XFree86/NEWS.xhtml



Brandon,

I also own a tablet that uses the aiptek driver, and would love to test 
this. However, the driver is present in XFree86 4.4 and Xorg, so there's 
not much point working on it unless the updated xserver-xfree86 would 
enter Sarge.


Christopher: I compiled aiptek_drv.o a while back. I never got the 
tablet to do anything other than make the cursor dart around in an 
irregular fashion, but if you want a go you can get it from 
<http://robots.org.uk/stuff/aiptek_drv.o>. It just needs to be dropped 
into "/usr/X11R6/lib/modules/input". If you do manage to make it work 
properly, please let me know how. :)


Regards,

--
Sam Morris