Bug#483206: [xserver-xorg-video-intel] Xorg: screen gets blank randomly, and there is no way to recover

2008-05-28 Thread edwin

Brice Goglin wrote:

edwin wrote:
  

Package: xserver-xorg-video-intel
Version: 2:2.3.1-1
Severity: normal

--- Please enter the report below this line. ---

I was writing an email in icedove, suddenly the screen went black
(backlight still on).
I switched to VTYs, and I could run commands, but switching back to X
gave me a blank screen again. I tried typing, moving the mouse, with no
results.

I have started x11vnc from a terminal, and connected remotely, however
all I got was a black screen.
I also tried suspend-to-RAM, but it didn't bring me back the X console
either (and neither did vbetool dpms off/on).

I had to reboot (restarting just the X server didn't work either)

I don't know how to debug this if it happens again. Any suggestions?

Also, I never had such problems before upgrading to version 2.3.1 of the
intel video driver.
E.g. now sometimes when I login X is killed, and restarted, the 2nd
login works fine. Unfortunately it is not always reproducible.

I am running a 2.6.26-rc1 kernel, should that matter.



Can you try with latest upstream git? Some possibly related lockup were
fixed today (see https://bugs.freedesktop.org/show_bug.cgi?id=13326).
  


Yesterday when I logged in, X got restarted again, I looked in 
Xorg.0.log, and dmesg, and there was nothing related to a crash or 
restart. The last entries in Xorg.0.log were these:

(II) Configured Mouse: ps2EnableDataReporting: succeeded
(II) intel(0): xf86UnbindGARTMemory: unbind key 0
(II) intel(0): xf86UnbindGARTMemory: unbind key 1

Today's Xorg.0.log doesn't contain the unbind key message:
(II) Configured Mouse: ps2EnableDataReporting: succeeded

An older log (Xorg.20.log) shows:
(II) Configured Mouse: ps2EnableDataReporting: succeeded
(II) intel(0): xf86UnbindGARTMemory: unbind key 5
(II) intel(0): xf86UnbindGARTMemory: unbind key 6

I was not yet able to reproduce the issue today with the debian package. 
(I did a dist-upgrade this morning, but nothing xorg related).


I will try the upstream git, but first I need to find a way to tell 
wether the bug is still present or not ;)



Some things that may somehow be related to such lockups: using EXA (i.e.
not having Option AccelMethod XAA), using multiple monitors at the same
time, having framebuffercompression enabled, ...
  


I am not using multiple monitors, the problem happens with the laptop's 
LCD.
EXA, and framebuffer compression is enabled, but I didn't explicitly 
asked for that (default?).



Please send the full output of output after running
/usr/share/bug/xserver-xorg/script 3 output.


Attached, I have run the script when the screen is working.


 And please do not use
reportbug-ng since it does not automatically include all required info
that we need to diagnose the problem.


Sorry, I thought reportbug and reportbug-ng are functionally equivalent.

Best regards,
--Edwin
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-10-03 23:40 /etc/X11/X - /usr/bin/Xorg
-rwxr-xr-x 1 root root 1682576 2008-05-18 14:55 /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 945GM/GMS, 
943/940GML Express 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 2061 2008-03-11 00:00 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
# 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 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 Files
EndSection

Section Module
Load glx
EndSection

Section InputDevice
Identifier  Generic Keyboard
Driver  kbd
Option  CoreKeyboard
Option  XkbRules  xorg
Option  XkbModel  pc104
Option  XkbLayout us
EndSection

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

Section InputDevice
Identifier  Synaptics Touchpad
Driver  synaptics
Option  SendCoreEventstrue
Option  Device/dev/psaux
Option  Protocol   

Bug#483206: [xserver-xorg-video-intel] Xorg: screen gets blank randomly, and there is no way to recover

2008-05-28 Thread edwin

edwin wrote:

I have rebooted, and I didn't get an underrun yet since.


Spoke too soon, I get an underrun even with the git intel driver, Xorg 
log attached.
Should I also build the drm module from git? (I use the kernel provided 
drm module)


Best regards,
--Edwin

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~git20080517-1)
Current Operating System: Linux thunder 2.6.26-rc1-6-gafa26be #25 SMP 
PREEMPT Sun May 4 15:41:23 EEST 2008 i686
Build Date: 18 May 2008  01:38:06PM
 
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: Wed May 28 14:27:15 2008
(==) Using config file: /etc/X11/xorg.conf
(==) ServerLayout Default Layout
(**) |--Screen Default Screen (0)
(**) |   |--Monitor Generic Monitor
(**) |   |--Device Intel Corporation Mobile 945GM/GMS, 943/940GML Express 
Integrated Graphics Controller
(**) |--Input Device Generic Keyboard
(**) |--Input Device Configured Mouse
(**) |--Input Device Synaptics Touchpad
(==) 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
(==) RgbPath set to /etc/X11/rgb
(==) ModulePath set to /usr/lib/xorg/modules
(**) Extension Composite is enabled
(II) Open ACPI successful (/var/run/acpid.socket)
(II) Loader magic: 0x81d8500
(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.0.90, module version = 1.0.0
ABI class: X.Org Video Driver, version 2.0
(++) using VT number 7

(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,27a0 card 1028,01bd rev 03 class 06,00,00 hdr 00
(II) PCI: 00:02:0: chip 8086,27a2 card 1028,01bd rev 03 class 03,00,00 hdr 80
(II) PCI: 00:02:1: chip 8086,27a6 card 1028,01bd rev 03 class 03,80,00 hdr 80
(II) PCI: 00:1b:0: chip 8086,27d8 card 1028,01bd rev 01 class 04,03,00 hdr 00
(II) PCI: 00:1c:0: chip 8086,27d0 card , rev 01 class 06,04,00 hdr 81
(II) PCI: 00:1c:3: chip 8086,27d6 card , rev 01 class 06,04,00 hdr 81
(II) PCI: 00:1d:0: chip 8086,27c8 card 1028,01bd rev 01 class 0c,03,00 hdr 80
(II) PCI: 00:1d:1: chip 8086,27c9 card 1028,01bd rev 01 class 0c,03,00 hdr 00
(II) PCI: 00:1d:2: chip 8086,27ca card 1028,01bd rev 01 class 0c,03,00 hdr 00
(II) PCI: 00:1d:3: chip 8086,27cb card 1028,01bd rev 01 class 0c,03,00 hdr 00
(II) PCI: 00:1d:7: chip 8086,27cc card 1028,01bd rev 01 class 0c,03,20 hdr 00
(II) PCI: 00:1e:0: chip 8086,2448 card , rev e1 class 06,04,01 hdr 01
(II) PCI: 00:1f:0: chip 8086,27b9 card 1028,01bd rev 01 class 06,01,00 hdr 80
(II) PCI: 00:1f:2: chip 8086,27c4 card 1028,01bd rev 01 class 01,01,80 hdr 00
(II) PCI: 00:1f:3: chip 8086,27da card 1028,01bd rev 01 class 0c,05,00 hdr 00
(II) PCI: 03:00:0: chip 14e4,170c card 1028,01af rev 02 class 02,00,00 hdr 00
(II) PCI: 0b:00:0: chip 8086,4222 card 8086,1021 rev 02 class 02,80,00 hdr 00
(II) PCI: End of PCI scan
(II) Intel Bridge workaround enabled
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,12), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
[0] -1  0   0x - 0x (0x1) IX[B]
(II) Bus 0 non-prefetchable memory range:
[0] -1  0   0x - 0x (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
[0] -1  0   0x - 0x (0x0) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 11: bridge is at (0:28:0), (0,11,11), BCTRL: 0x0002 (VGA_EN is cleared)
(II) Bus 11 non-prefetchable memory range:
[0] -1  0   0xefd0 - 0xefdf (0x10) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 12: bridge is at (0:28:3), (0,12,13), BCTRL: 0x0002 (VGA_EN is cleared)
(II) Bus 12 I/O range:
[0] -1  0   0xd000 - 0xdfff (0x1000) IX[B]
(II) Bus 12 non-prefetchable memory range:
[0] -1  0   0xefa0 - 0xefcf (0x30) MX[B]
(II) Bus 12 prefetchable memory range:
[0] -1  0   0xe000 - 0xe01f (0x20) MX[B]
(II) Subtractive PCI-to-PCI bridge:
(II) Bus 

Bug#483206: [xserver-xorg-video-intel] Xorg: screen gets blank randomly, and there is no way to recover

2008-05-28 Thread edwin

edwin wrote:

Brice Goglin wrote:

Can you try with latest upstream git? Some possibly related lockup were
fixed today (see https://bugs.freedesktop.org/show_bug.cgi?id=13326).
  


Yesterday when I logged in, X got restarted again, I looked in 
Xorg.0.log, and dmesg, and there was nothing related to a crash or 
restart. The last entries in Xorg.0.log were these:

(II) Configured Mouse: ps2EnableDataReporting: succeeded
(II) intel(0): xf86UnbindGARTMemory: unbind key 0
(II) intel(0): xf86UnbindGARTMemory: unbind key 1

Today's Xorg.0.log doesn't contain the unbind key message:
(II) Configured Mouse: ps2EnableDataReporting: succeeded

An older log (Xorg.20.log) shows:
(II) Configured Mouse: ps2EnableDataReporting: succeeded
(II) intel(0): xf86UnbindGARTMemory: unbind key 5
(II) intel(0): xf86UnbindGARTMemory: unbind key 6

I was not yet able to reproduce the issue today with the debian 
package. (I did a dist-upgrade this morning, but nothing xorg related).


I will try the upstream git, but first I need to find a way to tell 
wether the bug is still present or not ;)


It happened again, and I got those 2 unbind entries in Xorg.0.log again.
I downloaded latest git, built it and installed it from a text console 
(without rebooting). I have run the reg_dumper tool (attached output as 
'dump').
After installing the latest git of the intel video driver, I have 
restarted X (without rebooting), and I got this in my Xorg.0.log:

(EE) intel(0): underrun on pipe B!
(EE) intel(0): underrun on pipe B!
(EE) intel(0): underrun on pipe B!
...
(II) intel(0): xf86UnbindGARTMemory: unbind key 0
(II) intel(0): xf86UnbindGARTMemory: unbind key 1

I have rebooted, and I didn't get an underrun yet since.

Best regards,
--Edwin
(II): DumpRegsBegin
(II):VCLK_DIVISOR_VGA0: 0x00031108 (n = 3, m1 = 17, m2 = 8)
(II):VCLK_DIVISOR_VGA1: 0x00031406 (n = 3, m1 = 20, m2 = 6)
(II):VCLK_POST_DIV: 0x00020002 (vga0 p1 = 4, p2 = 2, vga1 p1 = 2, p2 = 
2)
(II):DPLL_TEST: 0x00010001 ()
(II): CACHE_MODE_0: 0x6820
(II):  D_STATE: 0x
(II):DSPCLK_GATE_D: 0x1000 (clock gates disabled: DPLUNIT)
(II):   RENCLK_GATE_D1: 0x
(II):   RENCLK_GATE_D2: 0x
(II):SDVOB: 0x0048 (disabled, pipe A, stall disabled, not 
detected)
(II):SDVOC: 0x0048 (disabled, pipe A, stall disabled, not 
detected)
(II):  SDVOUDI: 0x0020
(II):   DSPARB: 0x1d9c
(II):   DSPFW1: 0x
(II):   DSPFW2: 0x
(II):   DSPFW3: 0x
(II): ADPA: 0x40008c18 (disabled, pipe B, +hsync, +vsync)
(II): LVDS: 0xc0300300 (enabled, pipe B, 18 bit, 1 channel)
(II): DVOA: 0x (disabled, pipe A, no stall, -hsync, 
-vsync)
(II): DVOB: 0x0048 (disabled, pipe A, no stall, -hsync, 
-vsync)
(II): DVOC: 0x0048 (disabled, pipe A, no stall, -hsync, 
-vsync)
(II):  DVOA_SRCDIM: 0x
(II):  DVOB_SRCDIM: 0x
(II):  DVOC_SRCDIM: 0x
(II):   PP_CONTROL: 0x0001 (power target: on)
(II):PP_STATUS: 0xc008 (on, ready, sequencing idle)
(II): PFIT_CONTROL: 0x80002668
(II):  PFIT_PGM_RATIOS: 0x
(II):  PORT_HOTPLUG_EN: 0x0020
(II):PORT_HOTPLUG_STAT: 0x0400
(II): DSPACNTR: 0x (disabled, pipe A)
(II):   DSPASTRIDE: 0x (0 bytes)
(II):  DSPAPOS: 0x (0, 0)
(II): DSPASIZE: 0x (1, 1)
(II): DSPABASE: 0x
(II): DSPASURF: 0x
(II):  DSPATILEOFF: 0x
(II):PIPEACONF: 0x (disabled, single-wide)
(II): PIPEASRC: 0x027f01df (640, 480)
(II):PIPEASTAT: 0x8a03 (status: FIFO_UNDERRUN GMBUS_INT_STATUS 
VSYNC_INT_STATUS VBLANK_INT_STATUS OREG_UPDATE_STATUS)
(II): FBC_CFB_BASE: 0x
(II):  FBC_LL_BASE: 0x
(II):  FBC_CONTROL: 0x
(II):  FBC_COMMAND: 0x
(II):   FBC_STATUS: 0x2000
(II): FBC_CONTROL2: 0x
(II):FBC_FENCE_OFF: 0x
(II):  FBC_MOD_NUM: 0x
(II): FPA0: 0x00031108 (n = 3, m1 = 17, m2 = 8)
(II): FPA1: 0x00031108 (n = 3, m1 = 17, m2 = 8)
(II):   DPLL_A: 0x0483 (disabled, non-dvo, VGA, default clock, 
DAC/serial mode, p1 = 8, p2 = 10, SDVO mult 1)
(II):DPLL_A_MD: 0x
(II): HTOTAL_A: 0x031f027f (640 active, 800 total)
(II): HBLANK_A: 0x03170287 (648 start, 792 end)
(II):  HSYNC_A: 0x02ef028f (656 start, 752 end)
(II): VTOTAL_A: 0x020c01df (480 active, 525 total)
(II): VBLANK_A: 0x020401e7 (488 start, 517 end)
(II):  VSYNC_A: 0x01eb01e9 (490 start, 492 end)
(II):BCLRPAT_A: 0x
(II):

Bug#483206: [xserver-xorg-video-intel] Xorg: screen gets blank randomly, and there is no way to recover

2008-05-27 Thread edwin

Package: xserver-xorg-video-intel
Version: 2:2.3.1-1
Severity: normal

--- Please enter the report below this line. ---

I was writing an email in icedove, suddenly the screen went black
(backlight still on).
I switched to VTYs, and I could run commands, but switching back to X
gave me a blank screen again. I tried typing, moving the mouse, with no
results.

I have started x11vnc from a terminal, and connected remotely, however
all I got was a black screen.
I also tried suspend-to-RAM, but it didn't bring me back the X console 
either (and neither did vbetool dpms off/on).


I had to reboot (restarting just the X server didn't work either)

I don't know how to debug this if it happens again. Any suggestions?

Also, I never had such problems before upgrading to version 2.3.1 of the
intel video driver.
E.g. now sometimes when I login X is killed, and restarted, the 2nd
login works fine. Unfortunately it is not always reproducible.

I am running a 2.6.26-rc1 kernel, should that matter.


--- System information. ---
Architecture: i386
Kernel: Linux 2.6.26-rc1-6-gafa26be

Debian Release: lenny/sid
500 unstable ftp.ro.debian.org
500 testing ftp.ro.debian.org

--- Package information. ---
Depends (Version) | Installed
-+-===
libc6 (= 2.7-1) | 2.7-11
libdrm2 (= 2.3.0) | 2.3.0-4
xserver-xorg-core (= 2:1.4) | 2:1.4.1~git20080517-1




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



Bug#483206: [xserver-xorg-video-intel] Xorg: screen gets blank randomly, and there is no way to recover

2008-05-27 Thread Brice Goglin
edwin wrote:
 Package: xserver-xorg-video-intel
 Version: 2:2.3.1-1
 Severity: normal

 --- Please enter the report below this line. ---

 I was writing an email in icedove, suddenly the screen went black
 (backlight still on).
 I switched to VTYs, and I could run commands, but switching back to X
 gave me a blank screen again. I tried typing, moving the mouse, with no
 results.

 I have started x11vnc from a terminal, and connected remotely, however
 all I got was a black screen.
 I also tried suspend-to-RAM, but it didn't bring me back the X console
 either (and neither did vbetool dpms off/on).

 I had to reboot (restarting just the X server didn't work either)

 I don't know how to debug this if it happens again. Any suggestions?

 Also, I never had such problems before upgrading to version 2.3.1 of the
 intel video driver.
 E.g. now sometimes when I login X is killed, and restarted, the 2nd
 login works fine. Unfortunately it is not always reproducible.

 I am running a 2.6.26-rc1 kernel, should that matter.

Can you try with latest upstream git? Some possibly related lockup were
fixed today (see https://bugs.freedesktop.org/show_bug.cgi?id=13326).

Some things that may somehow be related to such lockups: using EXA (i.e.
not having Option AccelMethod XAA), using multiple monitors at the same
time, having framebuffercompression enabled, ...

Please send the full output of output after running
/usr/share/bug/xserver-xorg/script 3 output. And please do not use
reportbug-ng since it does not automatically include all required info
that we need to diagnose the problem.

Brice




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