>Number:         153358
>Category:       misc
>Synopsis:       Intel driver freeze with Xorg 7.5
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 21 23:00:21 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Imanol
>Release:        8.1-CURRENT
>Organization:
>Environment:
FreeBSD daemon 8.1-RELEASE FreeBSD 8.1-RELEASE #3: Fri Dec 10 19:40:42 CET 2010 
    r...@daemon:/usr/obj/usr/src/sys/VESAKERN  i386
>Description:
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"
>How-To-Repeat:
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
>Fix:
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) |
               intel_crtc->lut_b[i]);
    }*/
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


>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to