Comment 56 for bug 541492

Revision history for this message
Geir Ove Myhr (gomyhr) wrote : Re: [Bug 541492] Re: MASTER: [i845] GPU lockup (apport-crash) (Should KMS be blacklisted?)

Thank you for the Xorg.0.log file. It confirms that different things
happen when the xorg.conf option is used.

In the Xorg.0.log from comment #44 (DRI disabled in driver, not in
xorg.conf) there's first
(WW) intel(0): i845 or i855 chip detected. Disabling DRI to prevent
system instability.
then a bit later
(II) intel(0): direct rendering: Failed
while in Xorg.0.log from the previous comment (DRI disabled in driver
and in xorg.conf), the first line does not show up and then
(II) intel(0): direct rendering: Disabled

The difference between Failed and Disabled is that in the first case
pI830->directRenderingType is DRI_NONE and in the second case it is
DRI_DISABLED (messages are from in I830ScreenInit() in the driver).

This part of I830PreInit() is skipped when directRenderingType is
DRI_DISABLED, but as far as I understand the current patch only
disables DRI inside the dri2 module that is loaded here.

   /* Load the dri2 module if requested. */
   if (xf86ReturnOptValBool(pI830->Options, OPTION_DRI, FALSE) &&
       pI830->directRenderingType != DRI_DISABLED) {
       xf86LoadSubModule(pScrn, "dri2");
   }

I hope this digging can be of some help to the developers.