[Mesa-dev] EGL_PLATFORM=drm ruined my xorg, coincidence?

xiaoxiaomuyu xiaoxiaomuyusajiangtian at gmail.com
Thu Nov 4 00:27:46 PDT 2010

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;
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
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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20101104/c575df05/attachment.html>

More information about the mesa-dev mailing list