Bug#515148: Bug#596356: xserver-xorg-video-intel: crash every day with intel driver, don't crash with vesa

2011-01-20 Thread Yan Morin
Le 2011-01-15 18:12, Cesare Leonardi a écrit :
 On 13/01/2011 19:31, Yan Morin wrote:
 VGA-compatible devices on PCI bus:
 00:02.0 VGA compatible controller: Intel Corporation
 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01)

 Hi Yan.
 Even if your system crash as the one from the original reporter, you
 both have very very different hardware: yours is one the older chipset
 supported by Intel driver and for which there are known problems;
 Julian has instead a very new hardware.

 I think you'd better to open a new bug to track your problem.
 And keep in mind that your platform is quite rare now, so it would be
 good if you will inform upstream too:
 http://intellinuxgraphics.org/feedback.html

 Xorg X server configuration file status:
 -rw-r--r-- 1 root root 3607 Jan 11 21:45 /etc/X11/xorg.conf

 From the low of my experience i can suggest you:
 - search for 845, hung, hangcheck and similar on bugs.debian.org
 and on lists.freedesktop.org/archives/intel-gfx/, to find similar
 reports.
 - try to rename xorg.conf so that it won't be loaded anymore. If you
 don't have particular needing, now X is able set the proper
 configuration automatically. This probably won't resolve your specific
 problem.
 - if you are able and if you are not afraid to experiment, you can try
 both kernel and intel driver from experimental, so you can see if your
 problem are already corrected or got better. To summarize upgrade
 xserver-xorg-video-intel, libdrm-intel1, libdrm2 and install
 linux-image-2.6.37-trunk-686.

 DRM Information from dmesg:
 [1.006699] Linux agpgart interface v0.103
 [1.006788] agpgart-intel :00:00.0: Intel 830M Chipset
 [1.007044] agpgart-intel :00:00.0: detected 8060K stolen memory
 [1.008884] agpgart-intel :00:00.0: AGP aperture is 128M @
 0x8800
 [   21.638642] [drm] Initialized drm 1.1.0 20060810
 [   21.771292] [drm] set up 15M of stolen space
 [   21.817247] [drm] initialized overlay support
 [   21.996304] fb0: inteldrmfb frame buffer device
 [   21.996319] [drm] Initialized i915 1.6.0 20080730 for :00:02.0
 on minor 0
 [103690.148008] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
 elapsed... GPU hung
 [103690.148036] [drm:i915_do_wait_request] *ERROR*
 i915_do_wait_request returns -5 (awaiting 766371 at 766370)

 Maybe it's normal, but i wonder why lspci reports an i845 chipset,
 while this logs talks about an i830.

 Good luck.

 Cesare.
Here is my result with experimental packages:
libdrm-intel1 2.4.23-1
libdrm2   2.4.23-1
linux: 2.6.37-trunk-686
xserver-xorg-video-intel  2:2.14.0-1

Xorg Server seems more stable than before, I'm now able to switch from
CTRL+ALT+F1 to CTRL+ALT+F7 many times without a black screen when there
is no error.

Before the hung CPU error, graphics seems to freeze sometimes but it
displays OK after.

I still have a hung CPU error but this time it didn't crash my computer.
tvtime doesn't work anymore but iceweasel works.

Extract from /var/log/Xorg.0.log:
[  6987.859] (EE) intel(0): Detected a hung GPU, disabling acceleration.
[  6996.491] (EE) intel(0): failed to set cursor: Input/output error
...
[  7007.566] (WW) intel(0): intel_uxa_prepare_access: bo map failed:
Input/output error
...


dmesg:
[   23.970089] [drm] Initialized drm 1.1.0 20060810
[   24.259621] i915 :00:02.0: PCI INT A - GSI 16 (level, low) - IRQ 16
[   24.259631] i915 :00:02.0: setting latency timer to 64
[   24.305016] vgaarb: device changed decodes:
PCI::00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
[   24.305411] [drm] initialized overlay support
[   24.384823] Console: switching to colour frame buffer device 210x65
[   24.384838] fb0: inteldrmfb frame buffer device
[   24.384841] drm: registered panic notifier
[   24.385072] [drm] Initialized i915 1.6.0 20080730 for :00:02.0 on
minor 0
[   29.232021] eth2: no IPv6 routers present
[   29.798830] render error detected, EIR: 0x0010
[   29.798830] [drm:i915_report_and_clear_eir] *ERROR* EIR stuck:
0x0010, masking
[   29.798830] render error detected, EIR: 0x0010
...
[ 6987.412013] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
elapsed... GPU hung
[ 6987.428056] render error detected, EIR: 0x0010
[ 6987.428065] [drm:i915_report_and_clear_eir] *ERROR* EIR stuck:
0x0010, masking
[ 6987.428074] render error detected, EIR: 0x0010
[ 6987.856015] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
elapsed... GPU hung
[ 6987.856125] [drm:i915_reset] *ERROR* GPU hanging too fast, declaring
wedged!
[ 6987.856128] [drm:i915_reset] *ERROR* Failed to reset chip.

-- 
Yan Morin
Consultant en Logiciel Libre de Progysm
prog...@gmail.com
http://progysm.com/
819 499-0616

attachment: progysm.vcf

Bug#596356: xserver-xorg-video-intel: crash every day with intel driver, don't crash with vesa

2011-01-15 Thread Cesare Leonardi

On 13/01/2011 19:31, Yan Morin wrote:

VGA-compatible devices on PCI bus:
00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE 
Chipset Integrated Graphics Device (rev 01)


Hi Yan.
Even if your system crash as the one from the original reporter, you 
both have very very different hardware: yours is one the older chipset 
supported by Intel driver and for which there are known problems; Julian 
has instead a very new hardware.


I think you'd better to open a new bug to track your problem.
And keep in mind that your platform is quite rare now, so it would be 
good if you will inform upstream too:

http://intellinuxgraphics.org/feedback.html


Xorg X server configuration file status:
-rw-r--r-- 1 root root 3607 Jan 11 21:45 /etc/X11/xorg.conf


From the low of my experience i can suggest you:
- search for 845, hung, hangcheck and similar on bugs.debian.org 
and on lists.freedesktop.org/archives/intel-gfx/, to find similar reports.
- try to rename xorg.conf so that it won't be loaded anymore. If you 
don't have particular needing, now X is able set the proper 
configuration automatically. This probably won't resolve your specific 
problem.
- if you are able and if you are not afraid to experiment, you can try 
both kernel and intel driver from experimental, so you can see if your 
problem are already corrected or got better. To summarize upgrade 
xserver-xorg-video-intel, libdrm-intel1, libdrm2 and install 
linux-image-2.6.37-trunk-686.



DRM Information from dmesg:
[1.006699] Linux agpgart interface v0.103
[1.006788] agpgart-intel :00:00.0: Intel 830M Chipset
[1.007044] agpgart-intel :00:00.0: detected 8060K stolen memory
[1.008884] agpgart-intel :00:00.0: AGP aperture is 128M @ 0x8800
[   21.638642] [drm] Initialized drm 1.1.0 20060810
[   21.771292] [drm] set up 15M of stolen space
[   21.817247] [drm] initialized overlay support
[   21.996304] fb0: inteldrmfb frame buffer device
[   21.996319] [drm] Initialized i915 1.6.0 20080730 for :00:02.0 on minor 0
[103690.148008] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... 
GPU hung
[103690.148036] [drm:i915_do_wait_request] *ERROR* i915_do_wait_request returns 
-5 (awaiting 766371 at 766370)


Maybe it's normal, but i wonder why lspci reports an i845 chipset, while 
this logs talks about an i830.


Good luck.

Cesare.



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



Bug#596356: xserver-xorg-video-intel: crash every day with intel driver, don't crash with vesa

2011-01-13 Thread Yan Morin
Package: xserver-xorg-video-intel
Version: 2:2.13.0-5
Severity: normal



-- 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 Feb 27  2008 /etc/X11/X - /usr/bin/Xorg
-rwxr-xr-x 1 root root 1733512 Dec  1 19:16 /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 82845G/GL[Brookdale-G]/GE 
Chipset Integrated Graphics Device (rev 01)

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

Xorg X server configuration file status:
-rw-r--r-- 1 root root 3607 Jan 11 21:45 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
Section ServerLayout
Identifier X.org Configured
Screen  0  Screen0 0 0
#   InputDeviceMouse0 CorePointer
#   InputDeviceKeyboard0 CoreKeyboard
EndSection


Section ServerFlags
#  Option AutoAddDevices false
#  Option AllowEmptyInput false
EndSection



Section Files
ModulePath   /usr/lib/xorg/modules
FontPath /usr/share/fonts/X11/misc
#   FontPath /usr/share/fonts/X11/cyrillic
FontPath /usr/share/fonts/X11/100dpi/:unscaled
FontPath /usr/share/fonts/X11/75dpi/:unscaled
FontPath /usr/share/fonts/X11/Type1
FontPath /usr/share/fonts/X11/100dpi
FontPath /usr/share/fonts/X11/75dpi
FontPath /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
FontPath built-ins
EndSection

Section Module
Load  dbe
Load  record
Load  dri2
Load  glx
#Disable glx  remove AIGLX message, but mouse doesn't work after 
switch VT
Load  extmod
Load  dri
EndSection

Section InputDevice
Identifier  Keyboard0
Driver  kbd
Option XkbRules xorg
Option XkbModel pc105
Option XkbLayout ca
EndSection

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/input/mice
Option  ZAxisMapping 4 5 6 7
EndSection

Section Monitor
Identifier   Monitor0
VendorName   Monitor Vendor
ModelNameMonitor Model
EndSection

Section Device
### Available Driver options are:-
### Values: i: integer, f: float, bool: True/False,
### string: String, freq: f Hz/kHz/MHz
### [arg]: arg optional
#Option NoAccel  True   # [bool] # not used by conf!
#Option SWcursor  # [bool]
#Option ColorKey  # i
#Option CacheLines# i
#Option Dac6Bit   # [bool]
#Option DRI   # [bool]
#   Driver intel
#   Option shadow
#   Option DRI off
#Option NoDDC # [bool]
#Option ShowCache # [bool]
#Option XvMCSurfaces  # i
#Option PageFlip  # [bool]
Identifier  Card0
#   Driver  vesa # same black screen, but doesn't crash X
Driver intel
#   Driver fbdev
VendorName  Intel Corporation
BoardName   82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics 
Device
BusID   PCI:0:2:0
#   Option ForceEnablePipeA true # worst, lost video signal
#   Option AccelMethod XAA # worst, lost video signal and Option 
AccelMethod is not used
Option AccelMethod XAA
Option Accel Off
Option DRI Off
Option AIGLX Off
Option PM Off
Option NoMTRR
EndSection

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
DefaultDepth 24
SubSection Display
Viewport   0 0
Depth 1
Modes 1440x900 1680x1050  
EndSubSection
SubSection Display
Viewport   0 0
Depth 4
Modes 1440x900 1680x1050  
EndSubSection
SubSection Display
Viewport   0 0
Depth 8
Modes 1440x900 1680x1050  
EndSubSection
SubSection Display
Viewport   0 0
Depth 15
Modes 1440x900 1680x1050  
EndSubSection
SubSection Display
Viewport   0 0
Depth 16
Modes 1440x900 1680x1050  
EndSubSection
SubSection Display
Viewport   0 0
Depth 24
Modes 1440x900 1680x1050  
EndSubSection
EndSection



Kernel version (/proc/version):
Linux version 2.6.32-5-686 (Debian 2.6.32-29) (b...@decadent.org.uk) (gcc 
version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Fri Dec 10