Comment 9 for bug 593463

Revision history for this message
gene (eugenios) wrote : Re: [i945g] xsession crash and consecutive loss of dri/drm capability on i915

 I recently built 2.6.37-rc3 from the kernel.org with Mike Galbraith's patch being applied to it. It looks stable so far. Besides seeming keyboard lock-ups shortly after getting to the gdm login window. The "lock-up" lasted for a few seconds and did not come back. The bug was still present for 2.6.35.4, which I tested for quite a while and the issues in question occurred only once.
The following work-around is shaping up:
1) gnome-power-manager should be turned off and "xset dpms 300 300 300" setting should be used for the Xsession instead.
2) if a buggy application (such as npviewer, the adobe flash player wrapper) uses i915, one should issue
the command "xset dpms 0 0 0" to disable display sleep.

The only occasion when dri/drm was dropped by the kernel was on 2.6.35.4 when the infamous Adobe flashplayer played a video. Apparently flasplayer does not care about the display sleep option. It also uses way too much CPU time.

As far as 2.6.37-rc3 is concerned, it might've been improved. Since when a video was played by the Adobe flashplayer (with gnome power manager on) the dsplay went to sleep and could not be returned by any means, other than "SysReq+K" magic keys. The kernel did NOT drop dri/drm capabilities this time !