On Thu, Nov 4, 2010 at 3:27 PM, xiaoxiaomuyu <xiaoxiaomuyusajiangt...@gmail.com> wrote: > with export EGL_PLATFORM=drm, I ran egl/demo2 in ctr+alt+f1 terminal other > than in Xwindow, > > struct pipe_screen * > i915_screen_create(struct i915_winsys *iws) > { > struct i915_screen *is = CALLOC_STRUCT(i915_screen); > > if (!is) > return NULL; > > switch (iws->pci_id) { > case PCI_CHIP_I915_G: > case PCI_CHIP_I915_GM: > case 0x0046: -----> added it > is->is_i945 = FALSE; > break; > It doesn't work surely, > [ 274.617475] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer > elapsed... GPU hung > > > In x window when i was running it: > > projects/demos/progs/egl$ ./a.out > > EGL version = 1.4 > EGL_VENDOR = Mesa Project > Got 3 EGL configs: > 1: Red Size = 8 Depth Size = 0 > 2: Red Size = 8 Depth Size = 24 > 3: Red Size = 8 Depth Size = 24 > Mesa: Mesa 7.9 DEBUG build Nov 4 2010 12:33:09 > Mesa warning: couldn't open libtxc_dxtn.so, software DXTn > compression/decompression unavailable > Found 1 screens > Screen 0 handle: 1 > Redraw event > sleep(1) > Redraw event > ...... > > It is nothing, but when I restarted my laptop, xorg havn't recognize my VGA > and videoCard... it have been running on low resolution, I don't know where > is xorg config at as there isn't /etc/xorg.conf, or maybe i have to write > one /etc/xorg.conf , dpkg-reconfig xorg-xserver do nothing for me. Take a look at /var/log/Xorg.0.log. Maybe removing /usr/lib/libGL.* helps.
-- o...@lunarg.com _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev