NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Xorg on hp nc6120



In article <4D44988A.9050709%libero.it@localhost>,
Riccardo Mottola  <riccardo.mottola%libero.it@localhost> wrote:
>Hi,
>
>I installed NetBSD 5.1 on an HP nc6120 laptop, I installed all the 
>packages. The machine boots fine, but when I attempt to "startx" or to 
>run "X -configure" the computer freezes. No X log gets written. Even 
>attempting to start X from a remote console shows no error or warning, 
>it freezes right after "List of video drivers:"
>
>The laptop should have an intel GM chipset with shared memory.
>
>Is this supported? What else can I try?

There was a problem with the intel driver in current I fixed that would
freeze the machine (it was trying to load the colormap with the graphics
engine running). Perhaps you are running into the same problem.

christos

Index: i830_display.c
===================================================================
RCS file: /cvsroot/xsrc/external/mit/xf86-video-intel/dist/src/i830_display.c,v
retrieving revision 1.1.1.2
retrieving revision 1.3
diff -u -r1.1.1.2 -r1.3
--- i830_display.c      9 Jun 2009 02:54:32 -0000       1.1.1.2
+++ i830_display.c      9 Jan 2011 20:25:46 -0000       1.3
@@ -1170,11 +1170,11 @@
        OUTREG(dspbase_reg, INREG(dspbase_reg));
     }
 
-    i830_crtc_load_lut(crtc);
-
     /* Give the overlay scaler a chance to enable if it's on this pipe */
     i830_crtc_dpms_video(crtc, TRUE);
 
+    i830_crtc_load_lut(crtc);
+
     /* Reenable compression if needed */
     if (i830_use_fb_compression(crtc))
        i830_enable_fb_compression(crtc);
@@ -1936,7 +1936,7 @@
     int i;
 
     /* The clocks have to be on to load the palette. */
-    if (!crtc->enabled)
+    if (!crtc->enabled || intel_crtc->dpms_mode != DPMSModeOn)
        return;
 
     for (i = 0; i < 256; i++) {



Home | Main Index | Thread Index | Old Index