Bug#625813: xorg: Reoccurrence with diagnostics while in the problem state

2011-08-22 Thread Thomas Thorne
Package: xorg
Version: 1:7.5+8
Severity: normal

Reoccurrence this morning, just the same as before but I am now using
Synergy to share my keyboard with my windows machine instead.  Just as
before my mouse pointer between the two screen and only responds to
mouse movments in a limited way.  Only a black background is visible
other than the pointer, no login prompt is shown.  


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

lrwxrwxrwx 1 root root 13 Oct 27  2010 /etc/X11/X - /usr/bin/Xorg
-rwxr-xr-x 1 root root 1889472 Feb 18  2011 /usr/bin/Xorg

Diversions concerning libGL are in place

diversion of /usr/lib/libGL.so to /usr/lib/nvidia/diversions/libGL.so by 
libgl1-nvidia-alternatives
diversion of /usr/lib/libGL.so.1 to /usr/lib/nvidia/diversions/libGL.so.1 by 
libgl1-nvidia-alternatives
diversion of /usr/lib/xorg/modules/extensions/libglx.so to 
/usr/lib/nvidia/diversions/libglx.so by libglx-nvidia-alternatives
diversion of /usr/lib/libGL.so.1.2 to /usr/lib/nvidia/diversions/libGL.so.1.2 
by libgl1-nvidia-alternatives
diversion of /usr/lib/debug/usr/lib/xorg/modules/extensions/libglx.so to 
/usr/lib/nvidia/diversions/libglx.so.dbg by libglx-nvidia-alternatives

VGA-compatible devices on PCI bus:
--
02:00.0 VGA compatible controller [0300]: nVidia Corporation G98 [Quadro NVS 
295] [10de:06fd] (rev a1)

Xorg X server configuration file status:

-rw-r--r-- 1 root root 2774 Aug  5 15:14 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
---
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildd@barber)  Sun Jun 13 12:08:56 UTC 2010

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (pbuilder@c203)  Tue May 18 07:56:38 UTC 2010
# PowerMizer settings taken from 
linux.aldeby.org/nvidia-powermizer-powersaving.html

Section ServerLayout
Identifier Layout0
Screen  0  Screen0 0 0
Screen  1  Screen1 1600 460
InputDeviceKeyboard0 CoreKeyboard
InputDeviceMouse0 CorePointer
Option Xinerama 0
EndSection

Section InputDevice

# generated from default
Identifier Mouse0
Driver mouse
Option Protocol auto
Option Device /dev/psaux
Option Emulate3Buttons no
Option ZAxisMapping 4 5
EndSection

Section InputDevice

# generated from default
Identifier Keyboard0
Driver kbd
EndSection

Section Monitor
Identifier Monitor0
VendorName Unknown
ModelName  HP LP2065
HorizSync   30.0 - 92.0
VertRefresh 48.0 - 85.0
Option DPMS
EndSection

Section Monitor
Identifier Monitor1
VendorName Unknown
ModelName  HP LP2065
HorizSync   30.0 - 92.0
VertRefresh 48.0 - 85.0
EndSection

Section Device
Identifier Device0
Driver nvidia
VendorName NVIDIA Corporation
BoardName  Quadro NVS 295
BusID  PCI:2:0:0
Screen  0
EndSection

Section Device
Identifier Device1
Driver nvidia
VendorName NVIDIA Corporation
BoardName  Quadro NVS 295
BusID  PCI:2:0:0
Screen  1
EndSection

Section Screen
Identifier Screen0
Device Device0
MonitorMonitor0
DefaultDepth24
Option TwinView 0
Option metamodes DFP-0: nvidia-auto-select +0+0
Option RegistryDwords PowerMizerEnable=0x1; PerfLevelSrc=0x; 
PowerMizerLevel=0x3; PowerMizerDefault=0x3; PowerMizerDefaultAC=0x3
SubSection Display
Depth   24
EndSubSection
EndSection

Section Screen
Identifier Screen1
Device Device1
MonitorMonitor1
DefaultDepth24
Option TwinView 0
Option metamodes DFP-1: nvidia-auto-select +0+0
Option RegistryDwords PowerMizerEnable=0x1; PerfLevelSrc=0x; 
PowerMizerLevel=0x3; PowerMizerDefault=0x3; PowerMizerDefaultAC=0x3
SubSection Display
Depth   24
EndSubSection
EndSection


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

KMS configuration files:

/etc/modprobe.d/i915-kms.conf:
  options i915 modeset=1
/etc/modprobe.d/radeon-kms.conf:
  options radeon modeset=1

Kernel version (/proc/version):
---
Linux version 2.6.32-5-amd64 (Debian 2.6.32-35) (da...@debian.org) (gcc version 
4.3.5 (Debian 4.3.5-4) ) #1 SMP Tue Jun 14 09:42:28 UTC 2011

Xorg X server log files on system:
--
-rw-r--r-- 1 root root 16250 May  6 15:01 /var/log/Xorg.1.log
-rw-r--r-- 1 root root 15804 Aug  5 14:49 /var/log/Xorg.0.log

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

Bug#625813: Xorg: multihead system sometimes locks when awoken from screen saver using mouse

2011-05-06 Thread Thomas Thorne
Package: Xorg
Version: 1:7.5+8
Severity: important

When I get in after leaving my machine runnin overnight and clear the
screen saver by moving the mouse the Xorg progress sometimes locks up.
I have a system with two displays attached and it seems that this may be
caused by moving the mouse from one display to the other as the screen
saver is canceling.  The mouse pointer then appears to flicker between the two
displays and will respond slightly to mouse movment; both displays keep
a black background.  I have my screen saver set to blank and use it
mearly as a backup to ensure my terminal is locked if left unattended
for any period of time.  

I have not managed to reproduce this when the screen saver has been
active during the day; so it must require the X session to have been
without keyboard or mouse input for more than an hour.  This seems to be
very reproducable on my system if I move the mouse between displays
first thing in the morning and avoidable if I am careful to leave the
mouse pointer in the middle of either display and only move it slightly
to awake the system.  Waking the system with a keystroke has never
triggered this.  

Top shows that the Xorg process run by root is using 100% CPU in
user space of Cpu0 while all my other cores are idel.  

I can work around this issue by ssh into the box and killing the Xorg
process then awaiting for the system to automatically restart it.  

While the system is in this state it does not let me switch tty using
Ctrl+Aly+F# 

I hope that this provides sufficent infromation to help diagnose the
issue; as I said it seems to be recreateable on my end so if you would
like me to provide further infromation then please let me know.  

Top Outpu:
Tasks: 320 total,   2 running, 318 sleeping,   0 stopped,   0
zombie
Cpu0  : 99.3%us,  0.7%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  0.0%si,
0.0%st
Cpu1  :  0.7%us,  0.7%sy,  0.0%ni, 98.7%id,  0.0%wa,  0.0%hi,  0.0%si,
0.0%st
Cpu2  :  1.0%us,  0.3%sy,  0.0%ni, 98.7%id,  0.0%wa,  0.0%hi,  0.0%si,
0.0%st
Cpu3  :  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,
0.0%st
Cpu4  :  1.6%us,  1.0%sy,  0.0%ni, 97.4%id,  0.0%wa,  0.0%hi,  0.0%si,
0.0%st
Cpu5  :  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,
0.0%st
Cpu6  :  0.3%us,  0.0%sy,  0.0%ni, 99.7%id,  0.0%wa,  0.0%hi,  0.0%si,
0.0%st
Cpu7  :  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,
0.0%st
Mem:  12327936k total, 12233732k used,94204k free,   766524k buffers
Swap: 15623204k total,  1059920k used, 14563284k free,  1947696k cached

  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
   5349 root  20   0  187m  36m 9476 R  100  0.3  53:14.55 Xorg
   32537 tthorne   20   0 5799m 5.5g 2092 S2 47.0   0:23.28
   gnome-screensav
   26101 tthorne   20   0  317m  14m 3156 S1  0.1   9:37.07
   gtk-gnash
   26103 tthorne   20   0  317m  14m 3188 S1  0.1   9:47.19
   gtk-gnash
   26108 tthorne   20   0  318m  14m 3152 S1  0.1   9:43.42
   gtk-gnash
   26109 tthorne   20   0  318m  14m 3116 S1  0.1   9:40.15
   gtk-gnash
2572 tthorne   20   0 17124 1576 1040 R0  0.0   0:01.10 top



-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (1001, 'stable'), (500, 'oldstable'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages Xorg depends on:
ii  gnome-terminal [x-terminal-em 2.30.2-1   The GNOME terminal emulator applic
ii  libgl1-mesa-dri   7.7.1-4A free implementation of the OpenG
ii  libgl1-mesa-glx [libgl1]  7.7.1-4A free implementation of the OpenG
ii  libglu1-mesa  7.7.1-4The OpenGL utility library (GLU)
ii  rxvt [x-terminal-emulator]1:2.6.4-14 VT102 terminal emulator for the X 
ii  x11-apps  7.5+5  X applications
ii  x11-session-utils 7.5+1  X session utilities
ii  x11-utils 7.5+4  X11 utilities
ii  x11-xfs-utils 7.4+1  X font server utilities
ii  x11-xkb-utils 7.5+5  X11 XKB utilities
ii  x11-xserver-utils 7.5+3  X server utilities
ii  xauth 1:1.0.4-1  X authentication utility
ii  xfonts-100dpi 1:1.0.1100 dpi fonts for X
ii  xfonts-75dpi  1:1.0.175 dpi fonts for X
ii  xfonts-base   1:1.0.1standard fonts for X
ii  xfonts-scalable   1:1.0.1-1  scalable fonts for X
ii  xfonts-utils  1:7.5+2X Window System font utility progr
ii  xinit 1.2.0-2X server initialisation tool
ii  xkb-data  1.8-2  X Keyboard Extension (XKB) configu
ii  xorg-docs-core1:1.5-1Core documentation for the X.org X
ii  xserver-xorg  1:7.5+8the X.Org X server

Bug#625813:

2011-05-06 Thread Thomas Thorne
My xorg.conf:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (pbuilder@c203)  Tue May 18 07:56:38 UTC 2010


Section ServerLayout
Identifier Layout0
Screen  0  Screen0 0 0
Screen  1  Screen1 1600 460
InputDeviceKeyboard0 CoreKeyboard
InputDeviceMouse0 CorePointer
Option Xinerama 0
EndSection

Section InputDevice

# generated from default
Identifier Mouse0
Driver mouse
Option Protocol auto
Option Device /dev/psaux
Option Emulate3Buttons no
Option ZAxisMapping 4 5
EndSection

Section InputDevice

# generated from default
Identifier Keyboard0
Driver kbd
EndSection

Section Monitor
Identifier Monitor0
VendorName Unknown
ModelName  HP LP2065
HorizSync   30.0 - 92.0
VertRefresh 48.0 - 85.0
Option DPMS
EndSection

Section Monitor
Identifier Monitor1
VendorName Unknown
ModelName  HP LP2065
HorizSync   30.0 - 92.0
VertRefresh 48.0 - 85.0
EndSection

# PowerMizer settings taken from 
linux.aldeby.org/nvidia-powermizer-powersaving.html
Section Device
Identifier Device0
Driver nvidia
VendorName NVIDIA Corporation
BoardName  Quadro NVS 295
BusID  PCI:2:0:0
Option RegistryDwords PowerMizerEnable=0x1; PerfLevelSrc=0x; 
PowerMizerLevel=0x3; PowerMizerDefault=0x3; PowerMizerDefaultAC=0x3
Screen  0
EndSection

Section Device
Identifier Device1
Driver nvidia
VendorName NVIDIA Corporation
BoardName  Quadro NVS 295
BusID  PCI:2:0:0
Option RegistryDwords PowerMizerEnable=0x1; PerfLevelSrc=0x; 
PowerMizerLevel=0x3; PowerMizerDefault=0x3; PowerMizerDefaultAC=0x3
Screen  1
EndSection

Section Screen
Identifier Screen0
Device Device0
MonitorMonitor0
DefaultDepth24
Option TwinView 0
Option metamodes DFP-0: nvidia-auto-select +0+0
SubSection Display
Depth   24
EndSubSection
EndSection

Section Screen
Identifier Screen1
Device Device1
MonitorMonitor1
DefaultDepth24
Option TwinView 0
Option metamodes DFP-1: nvidia-auto-select +0+0
SubSection Display
Depth   24
EndSubSection
EndSection


The PowerMizer settings were an early attempt to fix the problem as other 
people at my office with similar hardware had seen problems with the defaults.  
They have not altered the behaviour of my problem at all.   No one else here 
seems to have this bug but few other people have two displays connected to 
there linux machines; before I had two screens connected I did not see this 
problem.


Bug#625813: Screen Power Settings

2011-05-06 Thread Thomas Thorne
Now that I have got an xsession back I can confirm that me screen saver is set 
to Blank Screen, Regard the computer as idel after 9min, activate screensaver 
when computer is idel, Lock screen when screensaver is active and in power 
management my computer is set to never go to sleep and to put the display to 
sleep when inactive for 10min.


Bug#625813: Duplicate

2011-05-06 Thread Thomas Thorne
I have just spotted that bug 
#576183http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=576183 looks a lot 
like this bug apart from the fact that this one only occurs after the screen 
has been powered off after beind idle but #576183 sounds like it happens all 
the time.  The symptoms sound very similar though.


Bug#576183: Duplicate

2011-05-06 Thread Thomas Thorne
I may have just raised a bug very much like this one; I missed it when I was 
filing the report with reportbug.  My new bug is 
625813http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=625813.  I only 
experience a problem like the one described here when I wake up my screen after 
it as entered the screen saver and powered down the screen overnight but the 
symptoms sound exactly the same.