Bug 14299 - [855GM] System lockup upon video mode change on gentoo Linux
Summary: [855GM] System lockup upon video mode change on gentoo Linux
Status: RESOLVED WORKSFORME
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.2 (2007.02)
Hardware: x86 (IA32) Linux (All)
: medium major
Assignee: Hong Liu
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks: 15000
  Show dependency treegraph
 
Reported: 2008-01-29 20:34 UTC by Francesco Chemolli
Modified: 2008-05-01 00:06 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg log (6.57 KB, application/gzip)
2008-01-29 20:37 UTC, Francesco Chemolli
no flags Details
xorg.conf (1.79 KB, application/gzip)
2008-01-29 20:38 UTC, Francesco Chemolli
no flags Details
make.conf (including cflags) (1.07 KB, application/gzip)
2008-01-29 20:38 UTC, Francesco Chemolli
no flags Details
Xorg.0.log (57.38 KB, text/plain)
2008-03-03 11:13 UTC, Michael Fu
no flags Details
xorg.conf (7.12 KB, application/octet-stream)
2008-03-03 11:14 UTC, Michael Fu
no flags Details
make file (1.75 KB, application/octet-stream)
2008-03-03 11:16 UTC, Michael Fu
no flags Details
Xorg.0.log for crashed session (64.22 KB, text/plain)
2008-03-14 11:50 UTC, Francesco Chemolli
no flags Details
Xorg.0.log for crashed session (64.22 KB, text/plain)
2008-03-14 11:50 UTC, Francesco Chemolli
no flags Details
Try to use bios mode instead (802 bytes, patch)
2008-03-25 00:24 UTC, Wang Zhenyu
no flags Details | Splinter Review

Description Francesco Chemolli 2008-01-29 20:34:09 UTC
I'm experiencing random system lockups upon video mode change - both resolution and when switching from graphics mode to text-mode (e.g. to shut the system down). It happens roughly 50% of the times; hardware is a Fujitsu-Siemens Lifebook S7010.
Only workaround is a forced reboot.

The problem doesn't seem to be hardware-related; the system runs fine when running the VESA driver, and it used to run fine with previous versions of X.org and of the Intel driver.

I'm attaching xorg.conf, Xorg.0.log and make.conf.
Comment 1 Francesco Chemolli 2008-01-29 20:37:19 UTC
Created attachment 14027 [details]
Xorg log
Comment 2 Francesco Chemolli 2008-01-29 20:38:25 UTC
Created attachment 14028 [details]
xorg.conf
Comment 3 Francesco Chemolli 2008-01-29 20:38:48 UTC
Created attachment 14029 [details]
make.conf (including cflags)
Comment 4 Francesco Chemolli 2008-01-29 20:42:49 UTC
The video driver is xf86-video-i810 version 2.1.1.
Comment 5 Fatih Aşıcı 2008-01-30 00:15:24 UTC
Some people using Toshiba L10 laptop (which includes a 855GM) have reported that they can reproduce the same problem frequently. They have the same version (2.1.1) of intel driver.
Comment 6 Gordon Jin 2008-02-02 23:31:46 UTC
There have been some related fixes after 2.1.1. Please try the latest git driver or the upcoming 2.2.1 release.
Comment 7 Francesco Chemolli 2008-02-11 03:04:52 UTC
Better, but still not solved.

As it is now, video-mode change freezes the system roughly one time out of four. I'm running the latest build included in gentoo, which is

x11-drivers/xf86-video-i810-2.2.1_pre20080125

Comment 8 Michael Fu 2008-02-14 05:18:07 UTC
(In reply to comment #7)
> Better, but still not solved.
> 
> As it is now, video-mode change freezes the system roughly one time out of
> four. I'm running the latest build included in gentoo, which is
> 
> x11-drivers/xf86-video-i810-2.2.1_pre20080125
> 

Francesco, are you able to test the code in the git repository tip? 20080125 is still old... thanks...
Comment 9 Michael Fu 2008-02-18 19:07:00 UTC
Francesco, are you still able to access the system from a ssh session after the "system lockup"? 

also request in comment# 8 is still valid... thanks.
Comment 10 Francesco Chemolli 2008-02-18 23:14:59 UTC
Hi.

Bad news: the problem is present in the latest git sources.

Regarding whether the system is still accessible after a lockup: I believe it's not, but I'll try again next time it hangs.
Comment 11 Francesco Chemolli 2008-02-19 13:54:59 UTC
Confirmed, when video mode change messes things up (I'd estimate about once every fourth change) the system is completely frozen, and won't answer to ICMP requests over the netework, nor will it react to any local input.
Comment 12 Hong Liu 2008-02-19 18:32:57 UTC
Which X server do you use, would you please try a newer X server?

Can you try to capture the Xorg log using GDB (there is some instructions on this page http://www.x.org/wiki/Development/Documentation/ServerDebugging)?

Thanks,
Hong
Comment 13 Francesco Chemolli 2008-02-22 08:39:03 UTC
I have upgraded these packages (gentoo ebuilds)

x11-drivers/xf86-video-i810-2.2.0.90
x11-base/xorg-server-1.4.0.90-r3
x11-libs/pixman-0.9.6
x11-libs/libXrender-0.9.4
x11-libs/xtrans-1.0.4
media-libs/mesa-7.0.2

(plus relevant auxiliary drivers - mouse keyboard etc.)

and so far X seems to be working fine, I've tried a few video-mode changes and it hasn't frozen.

News in a few days.
Comment 14 Michael Fu 2008-02-29 15:58:34 UTC
Francesco, how about your system in the wee? Are you able to mark this bug as gone now?
Comment 15 Francesco Chemolli 2008-03-01 01:46:28 UTC
Unfortunately not. I've had two cases of hard lock-ups since I
upgraded. It's gotten better, but it's not fixed yet.




On 3/1/08, bugzilla-daemon@freedesktop.org
<bugzilla-daemon@freedesktop.org> wrote:
> http://bugs.freedesktop.org/show_bug.cgi?id=14299
>
>
>
>
>
> --- Comment #14 from Michael Fu <michael.fu@intel.com>  2008-02-29 15:58:34
> PST ---
> Francesco, how about your system in the wee? Are you able to mark this bug
> as
> gone now?
>
>
> --
> Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug.
> You reported the bug.
>


Comment 16 Michael Fu 2008-03-03 11:13:52 UTC
Created attachment 14790 [details]
Xorg.0.log

Francesco's unzipped xorg.log
Comment 17 Michael Fu 2008-03-03 11:14:52 UTC
Created attachment 14791 [details]
xorg.conf

Francesco's unzipped xorg.conf file
Comment 18 Michael Fu 2008-03-03 11:16:17 UTC
Created attachment 14792 [details]
make file

Francesco's unzipped make file.
Comment 19 Michael Fu 2008-03-03 11:19:44 UTC
(In reply to comment #15)
> Unfortunately not. I've had two cases of hard lock-ups since I
> upgraded. It's gotten better, but it's not fixed yet.
> 
Francesco, would you be able to turn modedebug on and send us the log file if the hard-lock happens again? hopefully we can find something in it, otherwise it's likely to become a dead bug.. thanks.

BTW, please don't zip the log file, just attach it as text would be fine. thanks.
Comment 20 Francesco Chemolli 2008-03-09 03:11:39 UTC
I'm running with modedebug enabled, but still no lockups. I'll keep you unformed of any news.
Comment 21 Francesco Chemolli 2008-03-14 11:50:20 UTC
Created attachment 15128 [details]
Xorg.0.log for crashed session

I've had two crashes since I've enabled debugging. I'm attaching Xorg.0.log for both crashes.
Comment 22 Francesco Chemolli 2008-03-14 11:50:55 UTC
Created attachment 15129 [details]
Xorg.0.log for crashed session
Comment 23 Hong Liu 2008-03-19 19:23:56 UTC
It's bad that Xorg log doesn't have any useful info.

Can you ssh to your system when it crashed?

Could you try the following options to see if crash happens, just want to narrow down the problem.

1. option "DRI" "false" to disable 3D acceleration
or 
2. option "ExaNoComposite" "true" to disable exa using 3d pipeline.
or
3. option "AccelMethod" "xaa" to try XAA accel?

Thanks,
Hong
Comment 24 Wang Zhenyu 2008-03-25 00:24:22 UTC
Created attachment 15440 [details] [review]
Try to use bios mode instead

Could you try about this debug patch?
Comment 25 WuNian 2008-03-25 20:34:01 UTC
I can not reproduce this bug with the latest 2D driver/xserver.

My steps are:
xinit &
xrandr --output LVDS --mode 800x600
CTRL-ALT-F1
CTRL-ALT-F7
xrandr --output LVDS --mode 720x400
CTRL-ALT-F1
CTRL-ALT-F7
xrandr --output LVDS --mode 1024x768
CTRL-ALT-F1
CTRL-ALT-F7

There is no any problem when change resolution and switch VT.

My 855GM machine is Toshiba satellite M20.
Comment 26 Francesco Chemolli 2008-03-30 09:57:54 UTC
I tried disabling DRI and changing the acceleration architecture to
XAA, unfortunately neither fixed the issue.
Unfortunately the laptop experiencing the problem died yesterday of an
hardware failure, so I will not be able to do any more tests.

Thanks for your help and good luck.
Comment 27 Gordon Jin 2008-05-01 00:06:31 UTC
I'll have to close this bug since the reporter's machine has been dead while we can't reproduce it.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.