Bug#515148: Regression of usability with latest linux kernel on sid

2011-03-25 Thread Yan Morin
With 2.6.37-2 linux kernel (sid), when X crashes (every day after 1
hours, maybe less, it takes longer if I use only tvtime without
pidgin/iceweasel/icedove), the screen go black, my cursor pointer freeze
(if I have an arrow, it will stick to the arrow), but I can continue to
work. tvtime doesn't work anymore but I can surf and work with vim,
gimp, iceweasel, etc...

With 2.6.38-1 linux kernel (sid), now when X crashes (still every day
after some period of time), nothing work anymore. The keyboard/screen is
frozen, I need to restart manually the computer.

With vesa driver, I don't have crash but I can't used tvtime to watch
television.

ii  linux-image-2.6.37-1-686  
2.6.37-1   Linux 2.6.37 for modern PCs
(crash but partially working)
ii  linux-image-2.6.37-2-686  
2.6.37-2   Linux 2.6.37 for modern PCs
(crash but partially working)
ii  linux-image-2.6.37-trunk-686  
2.6.37-1~experimental.1Linux 2.6.37 for modern PCs
(crash but partially working)
ii  linux-image-2.6.38-1-686  
2.6.38-1   Linux 2.6.38 for modern PCs
(crash, deep freeze)
ii  libdrm-intel1 
2.4.23-3   Userspace interface to
intel-specific kernel DRM services -- runtime
ii  xserver-xorg-video-intel  
2:2.14.0-4 X.Org X server -- Intel i8xx,
i9xx display driver

-- 

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

<>

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

<>

Bug#515148: xserver-xorg-video-intel: testing without xorg.conf as suggested in #596356

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

Testing without xorg.conf. Same problem.
Will try others option with experimental packages next time...

-- 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 1733468 Jan 11 22:50 /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)

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

Kernel version (/proc/version):
Linux version 2.6.32-5-686 (Debian 2.6.32-30) (b...@decadent.org.uk) (gcc 
version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Wed Jan 12 04:01:41 UTC 2011

Xorg X server log files on system:
-rw-r--r-- 1 root root 33443 Jan 16 14:30 /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.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32.28-dsa-ia32 i686 Debian
Current Operating System: Linux work.progysm.ysm 2.6.32-5-686 #1 SMP Wed Jan 12 
04:01:41 UTC 2011 i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-5-686 
root=UUID=cc3aa3ad-e74f-45ef-8329-1571d6bf6f7b ro quiet
Build Date: 12 January 2011  03:44:48AM
xorg-server 2:1.7.7-11 (Cyril Brulebois ) 
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: Sun Jan 16 01:09:46 2011
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(==) 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) 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: 0x81ecca0
(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:2562:1014:0267 Intel Corporation 
82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device rev 1, Mem @ 
0x8800/134217728, 0x8000/524288
(--) PCI: (0:2:10:0) 14f1:8800:1002:00f9 Conexant Systems, Inc. CX23880/1/2/3 
PCI Video and Audio Decoder rev 5, Mem @ 0xc100/16777216
(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.7, 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 XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.13.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD

Bug#596356: xserver-xorg-video-intel: hung CPU, disabling acceleration

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

Same problem then before, but this is after an upgrade of some xorg package and 
kernel package.
I was browsing on internet when it happened.

-- 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 1733468 Jan 11 22:50 /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
#   InputDevice"Mouse0" "CorePointer"
#   InputDevice"Keyboard0" "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"
ModelName"Monitor Model"
EndSection

Section "Device"
### Available Driver options are:-
### Values: : integer, : float, : "True"/"False",
### : "String", : " Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel"  "True"   # [] # not used by conf!
#Option "SWcursor"  # []
#Option "ColorKey"  # 
#Option "CacheLines"# 
#Option "Dac6Bit"   # []
#Option "DRI"   # []
#   Driver "intel"
#   Option "shadow"
#   Option "DRI" "off"
#Option "NoDDC" # []
#Option "ShowCache" # []
#Option "XvMCSurfaces"  # 
#Option "PageFlip"  # []
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"
Monitor"Monitor0"
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 "Di

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
#   InputDevice"Mouse0" "CorePointer"
#   InputDevice"Keyboard0" "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"
ModelName"Monitor Model"
EndSection

Section "Device"
### Available Driver options are:-
### Values: : integer, : float, : "True"/"False",
### : "String", : " Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel"  "True"   # [] # not used by conf!
#Option "SWcursor"  # []
#Option "ColorKey"  # 
#Option "CacheLines"# 
#Option "Dac6Bit"   # []
#Option "DRI"   # []
#   Driver "intel"
#   Option "shadow"
#   Option "DRI" "off"
#Option "NoDDC" # []
#Option "ShowCache" # []
#Option "XvMCSurfaces"  # 
#Option "PageFlip"  # []
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"
Monitor"Monitor0"
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"  
End