Bug 19636 - [GM45 KMS] server hang with compiz
Summary: [GM45 KMS] server hang with compiz
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium critical
Assignee: Jesse Barnes
QA Contact: Xorg Project Team
Keywords: NEEDINFO
Depends on:
Reported: 2009-01-17 17:18 UTC by Alex Hofbauer
Modified: 2017-07-24 23:11 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

syslog (291.49 KB, text/plain)
2009-01-17 17:18 UTC, Alex Hofbauer
no flags Details
Xorg.o.log (26.72 KB, text/plain)
2009-01-17 17:19 UTC, Alex Hofbauer
no flags Details

Description Alex Hofbauer 2009-01-17 17:18:57 UTC
Created attachment 22077 [details]


I've been testing latest git stuff (mesa, drm, video-intel, xserver-xorg, drm-intel-next w. 2.6.29) on my notebook (Latitude E5500) which features an Intel Mobile Intel GM45 Express Chipset and 4500MHD.

The only error message I get in my log is "drm_mode_object_get called w/o mode_config lock" (which as I found out is not critical).

Loading i915 with modeset=1 results in dark ttys, but X-Server (and compiz) works for at least a few minutes and will freeze eventually I (sysrq-keys still work). I can trigger that freeze for example by min/maximizing windows rapidly.

I've attached a complete syslog and Xorg.0.log of a modeset=1 test. Please tell me if you need more info/debug output.

Btw, I've found no doc of that so far: Has setting resolution of ttys at boot time already been implemented (like video=791 for framebuffers)?
Comment 1 Alex Hofbauer 2009-01-17 17:19:32 UTC
Created attachment 22078 [details]
Comment 2 Jesse Barnes 2009-01-26 10:41:58 UTC
No the kernel just picks a default initial configuration w/o user input right now.  We should probably add support for custom modes & configurations on the command line though.
Comment 3 Jesse Barnes 2009-01-28 13:17:52 UTC
Oh and you'll need the fbcon driver built in or loaded to see your console with the modesetting option enabled.  So I think the main bug here is the hang...  There have been some 2D fixes in this area recently (preventing rendering with bad state), can you try git master and see if you can still reproduce the hangs?
Comment 4 Alex Hofbauer 2009-02-07 03:32:03 UTC
After adding i915 to my initram console is back with modesetting.
There are problems with the correct resolution in X - but I think this is some issue with Gnome and randr.

> There have been some 2D fixes in this area recently (preventing rendering with
> bad state), can you try git master and see if you can still reproduce the
> hangs?

I'm now using the 2.6-rc of xorg in Debian/experimental and built git master of video-intel in top of that.

Video-intel-2.6.1 (also in experimental) definitely freezes after some time (don't even need to stress the system), but so far git master proved quite stable.
Again, I'm using kernel git and drm-intel-next.

I'm closing this bug for now - it really seems fixed.

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.