misc/153358: Intel driver freeze with Xorg 7.5

Imanol tidus199193 at yahoo.es
Tue Dec 21 23:00:24 UTC 2010

>Number:         153358
>Category:       misc
>Synopsis:       Intel driver freeze with Xorg 7.5
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 21 23:00:21 UTC 2010
>Originator:     Imanol
>Release:        8.1-CURRENT
FreeBSD daemon 8.1-RELEASE FreeBSD 8.1-RELEASE #3: Fri Dec 10 19:40:42 CET 2010     root at daemon:/usr/obj/usr/src/sys/VESAKERN  i386
Intel driver crashes whole system with new Xorg 7.5. I've tried the ports version, currently 2.7.1_3 and previous ones, even original, non-ported versions, and all of them crash the system.

The computer just stops responding, keyboard is non-responsive, SSH connections are closed, and pretty much everything else.

Xorg log is empty, adding an option in xorg.conf to sync the log makes some output on it, but no errors are shown.

I do believe it only happens with 83X and 85X chipsets. Reason is explained in "How to fix the problem"
Install Xorg and xf86-video-intel from ports or packages, or compile it manually
Then try to start X server via: xinit,Xorg,xdm or anything
Crash happens
There are 2 workarounds:

Use vesa driver, which I find unnacceptable

The other one, which was revealed to me after building Xorg with debug support, is to comment out the following part of one of the files in the intel driver port:

the file is /usr/ports/x11-drivers/xf86-video-intel/work/xf86-video-intel-2.7.1/src/

LINE 1942:

/*for (i = 0; i < 256; i++) {
        OUTREG(palreg + 4 * i,
               (intel_crtc->lut_r[i] << 16) |
               (intel_crtc->lut_g[i] << 8) |
that's the commented part, it fixes the issue, as it seems that when i=2, the whole system freezes.

I'm running the driver with the patch applied and there are no issues at all


More information about the freebsd-bugs mailing list