Bug#336774: Info received (Bug#336774: xserver-xorg: X hangs randomly)

2006-08-08 Thread James Tait
Finally I got around to re-enabling DPMS and managed to reproduce the 
problem.  Currently the monitor is stuck in power-saving mode and no 
amount of banging the keyboard or wiggling the mouse is waking it, but I 
can still SSH to the machine and "do stuff".


I got a backtrace:

[EMAIL PROTECTED]:~# gdb --pid 12103
GNU gdb 6.4-debian
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.

Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
Attaching to process 12103
Reading symbols from /usr/bin/Xorg...(no debugging symbols found)...done.
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
Reading symbols from /lib/tls/i686/cmov/libdl.so.2...(no debugging 
symbols found)...done.

Loaded symbols for /lib/tls/i686/cmov/libdl.so.2
Reading symbols from /usr/lib/libXfont.so.1...(no debugging symbols 
found)...done.

Loaded symbols for /usr/lib/libXfont.so.1
Reading symbols from /usr/lib/libXau.so.6...(no debugging symbols 
found)...done.

Loaded symbols for /usr/lib/libXau.so.6
Reading symbols from /usr/lib/libfontenc.so.1...(no debugging symbols 
found)...done.

Loaded symbols for /usr/lib/libfontenc.so.1
Reading symbols from /usr/lib/libXdmcp.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXdmcp.so.6
Reading symbols from /usr/lib/libz.so.1...(no debugging symbols 
found)...done.

Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/tls/i686/cmov/libm.so.6...(no debugging 
symbols found)...done.

Loaded symbols for /lib/tls/i686/cmov/libm.so.6
Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols 
found)...done.

Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/tls/i686/cmov/libc.so.6...
(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libc.so.6
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols 
found)...done.

Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/libfreetype.so.6...(no debugging symbols 
found)...done.

Loaded symbols for /usr/lib/libfreetype.so.6
Reading symbols from /usr/lib/xorg/modules/fonts/libbitmap.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/lib/xorg/modules/fonts/libbitmap.so
Reading symbols from /usr/lib/xorg/modules/libpcidata.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/libpcidata.so
Reading symbols from /usr/lib/xorg/modules/extensions/libdri.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/lib/xorg/modules/extensions/libdri.so
Reading symbols from /usr/lib/xorg/modules/linux/libdrm.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/lib/xorg/modules/linux/libdrm.so
Reading symbols from /usr/lib/xorg/modules/libddc.so...(no debugging 
symbols found)...done.

Loaded symbols for /usr/lib/xorg/modules/libddc.so
Reading symbols from /usr/lib/xorg/modules/extensions/libextmod.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/extensions/libextmod.so
Reading symbols from /usr/lib/xorg/modules/fonts/libfreetype.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/lib/xorg/modules/fonts/libfreetype.so
Reading symbols from /usr/lib/xorg/modules/extensions/libglx.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/lib/xorg/modules/extensions/libglx.so
Reading symbols from /usr/lib/xorg/modules/extensions/libGLcore.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/lib/xorg/modules/extensions/libGLcore.so
Reading symbols from /usr/lib/xorg/modules/libint10.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/xorg/modules/libint10.so
Reading symbols from /usr/lib/xorg/modules/fonts/libtype1.so...(no 
debugging symbols found)...done.

Loaded symbols for /usr/lib/xorg/modules/fonts/libtype1.so
Reading symbols from /usr/lib/xorg/modules/libvbe.so...(no debugging 
symbols found)...done.

Loaded symbols for /usr/lib/xorg/modules/libvbe.so
Reading symbols from /usr/lib/xorg/modules/drivers/nv_drv.so...done.
Loaded symbols for /usr/lib/xorg/modules/drivers/nv_drv.so
Reading symbols from /usr/lib/xorg/modules/input/kbd_drv.so...done.
Loaded symbols for /usr/lib/xorg/modules/input/kbd_drv.so
Reading symbols from /usr/lib/xorg/modules/input/mouse_drv.so...done.
Loaded symbols for /usr/lib/xorg/modules/input/mouse_drv.so
Reading symbols from /usr/lib/xorg/modules/libvgahw.so...done.
Loaded symbols for /usr/lib/xorg/modules/libvgahw.so
Reading symbols from /usr/lib/xorg/modules/libi2c.so...done.
Loaded symbols for /usr/lib/xorg/modules/libi2c.so
Reading symbols from /usr/lib/xorg/modules/libfb.so...done.
Loaded symbols for /usr/lib/xorg/modules/libfb.so
Reading symbols from /usr/lib/xorg/mod

Bug#336774: xserver-xorg: X hangs randomly

2006-07-26 Thread James Tait
I believe I am experiencing a similar problem with Ubuntu Dapper and an 
Aladdin TNT2 card (on-board) with the "nv" Driver of Xorg.  It only 
seems to happen for me when DPMS is enabled -- disabling DPMS causes the 
problem to go away, but the monitor never goes into power-saving mode, 
just sits there with a black screen.


When it does happen, hitting the keyboard and moving the mouse don't 
wake the monitor.  For a certain amount of time, I'm still able to SSH 
into the machine, so I may be able to get the logs and a gdb bt.


I have DPMS disabled now, so the problem won't manifest itself, but I'll 
post my xorg.conf now, and Xorg.0.log and a gdb bt later if I can grab them.



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

Section "Files"
FontPath"/usr/share/X11/fonts/misc"
FontPath"/usr/share/X11/fonts/cyrillic"
FontPath"/usr/share/X11/fonts/100dpi/:unscaled"
FontPath"/usr/share/X11/fonts/75dpi/:unscaled"
FontPath"/usr/share/X11/fonts/Type1"
FontPath"/usr/share/X11/fonts/CID"
FontPath"/usr/share/X11/fonts/100dpi"
FontPath"/usr/share/X11/fonts/75dpi"
# paths to defoma fonts
FontPath"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath"/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
# Comment these for the nvidia driver, uncomment them for the 
nv driver.

Load"GLCore"
Load"dri"

Load"bitmap"
Load"ddc"
Load"extmod"
Load"freetype"
Load"glx"
Load"int10"
Load"type1"
Load"vbe"
EndSection

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

Section "InputDevice"
Identifier  "Configured Mouse"
Driver  "mouse"
Option  "CorePointer"
Option  "Device""/dev/input/mice"
Option  "Protocol"  "ImPS/2"
Option  "ZAxisMapping"  "4 5"
EndSection

Section "Device"
Identifier  "NVIDIA Corporation NV5 [Aladdin TNT2]"
# Uncomment these to use the binary-only nvidia driver
#   Driver  "nvidia"
#   Option  "RenderAccel" "true"
#   Option  "AllowGLXWithComposite" "true"

# Uncomment this to use the free nv driver
Driver  "nv"
BusID   "PCI:1:0:0"
#   Option  "DPMS" "On"
EndSection

Section "Monitor"
Identifier  "TEO TL766"
HorizSync   24.83-79.97
VertRefresh 56.25-70.02
#   Option  "DPMS" "On"
EndSection

Section "Screen"
Identifier  "Default Screen"
Device  "NVIDIA Corporation NV5 [Aladdin TNT2]"
Monitor "TEO TL766"
DefaultDepth24
SubSection "Display"
Depth   1
Modes   "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   4
Modes   "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   8
Modes   "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   15
Modes   "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   16
Modes   "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth   24
Modes   "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

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

Section "DRI"
Mode0666
EndSection

Cheers,

JT
-

Bug#336774: xserver-xorg: X hangs randomly

2006-01-08 Thread matthieu castet
Package: xserver-xorg
Version: 6.9.0.dfsg.1-1
Followup-For: Bug #336774


Same on my 2 computers execpt is not that too often.
It even make me crash a cd-recording session...

Matthieu


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

/etc/X11/X target unchanged from checksum in /var/lib/xfree86/X.md5sum.

X server symlink status:
lrwxrwxrwx 1 root root 17 2005-06-25 14:46 /etc/X11/X -> /usr/bin/X11/Xorg
-rwxr-xr-x 1 root root 1852284 2005-12-29 08:38 /usr/bin/X11/Xorg

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

VGA-compatible devices on PCI bus:
:01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 MX 
440] (rev a3)

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

Xorg X server configuration file status:
-rw-r--r-- 1 root root 5175 2006-01-01 14:13 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
# XF86Config-4 (XFree86 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 XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 > /var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Section "Files"
#FontPath   "unix/:7101"# local font server
FontPath"unix/:7100"# local font server
# if the local font server has problems, we can fall back on these
FontPath"/usr/lib/X11/fonts/misc"
FontPath"/usr/lib/X11/fonts/cyrillic"
FontPath"/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath"/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath"/usr/lib/X11/fonts/Type1"
FontPath"/usr/lib/X11/fonts/CID"
FontPath"/usr/lib/X11/fonts/Speedo"
FontPath"/usr/lib/X11/fonts/100dpi"
FontPath"/usr/lib/X11/fonts/75dpi"
EndSection

Section "ServerFlags"
AllowMouseOpenFail # allows the server to start up even if the mouse 
doesn't work
EndSection

Section "Module"
#   Load"GLcore"
Load"bitmap"
Load"dbe"
Load"ddc"
#   Load"dri"
Load"extmod"
Load"freetype"
Load"glx"
Load"int10"
Load"record"
Load"speedo"
Load"type1"
Load"vbe"
Load"v4l"
Load"xtt"
EndSection

Section "InputDevice"
Identifier  "Generic Keyboard"
Driver  "kbd"
#   Driver  "Keyboard"
Option  "CoreKeyboard"
#   Option  "XkbRules"  "xfree86"
Option  "XkbModel"  "pc105"
Option  "XkbLayout" "fr"
EndSection

Section "InputDevice"
Identifier  "Configured Mouse"
Driver  "mouse"
Option  "CorePointer"
Option  "Device""/dev/input/mice"
Option  "Protocol"  "ImPS/2"
#   Option  "Emulate3Buttons"   "true"
Option  "ZAxisMapping"  "4 5"
EndSection

Section "Device"
Identifier "device1"
VendorName "nVidia Corporation"
BoardName "NVIDIA GeForce2 DDR (generic)"
Driver "nv"
#Driver "nvidia"
Option "DPMS"
Option "CursorShadowYOffset" "2"
Option "CursorShadow" "on"
Option "CursorShadowXOffset" "4"
Option "CursorShadowAlpha" "64" 

Option "NoLogo" "on"
Option "NvAGP" "3"
Option "RenderAccel" "0"
#Option "TVOverScan" "0.0"
#Option "DigitalVibrance" "255"

Option "TwinView" "off" 
##"on"
Option "TwinViewOrientation" "Clone"
Option "SecondMonitorHorizSync" "30-50"
Option "SecondMonitorVertRefresh" "60"
Option "TVStandard" "PAL-B"

Option "MetaModes" "1024x768 , NULL; NULL , 800x600;1024x768 ,1024x768"
#Option "MetaModes" "800x600 ,800x600"#;800x600 ,640x480;640x480,640x480"
#Option "MetaModes" "1024x768 ,1024x768 ; 800x600 ,800x600 ; 640x480 , 
640x480"
#Option "MetaModes" " 1024x768 ,@800x600"

Option "ConnectedMonitor" "CRT, TV"
Option "TVOutFormat" "Composite"

EndSection

Section "Monitor"
# Block type: 2:0 3:ff
# Block type: 2:0 3:fd
# Block type: 2:0 3:fc
# http://www.fujitsu-siemens.fr/produits/periph/moniteurs.htm
Identifier "C994"
VendorName "FUS"
ModelName "C994"