Bug#396037: libgl1-mesa-dri: i915 OpenGL severely broken

2007-04-09 Thread Martin Pärtel

 Could you report this upstream at http://bugs.freedesktop.org, product
 xorg, component Driver/intel? Thanks.

Done.
https://bugs.freedesktop.org/show_bug.cgi?id=10586


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#396037: libgl1-mesa-dri: i915 OpenGL severely broken

2007-04-08 Thread Michel Dänzer
On Sun, 2007-04-08 at 10:37 +0300, Martin Pärtel wrote:
   * Behaviour with latest experimental packages:
   xserver-xorg-core_1.2.99.903-1_i386.deb
   xserver-xorg-video-i810_1.9.93-1_all.deb
   xserver-xorg-video-intel_1.9.93-1_i386.deb
  
   Same as with the previous experimental packages as far as I can tell
   except for some new issues:
   - Exiting X or switching to a console VT while beryl is running almost
   always causes the machine to freeze!
 
  Please post full log files from both versions of
  xserver-xorg-video-i810.
 
 Attached.
 
 i810-1.9.93 seemed to dump lots of info about the card's state whenever I 
 switched to a VT and back. The log doesn't get written to disk when the 
 system freezes so this logfile is from a session with three VT switches where 
 it didn't happen to crash. The log messages for the third switch seem to 
 indicate memory corruption (non-ascii characters in the Modeline line):
 
 (WW) intel(0): Existing errors found in hardware state.
 (II) intel(0): Mode for pipe B:
 (II) intel(0): Modeline PèÊ Ëx60.0   65.00  1024 1048 1184 1344  768 771 
 777 
 806 -hsync -vsync (48.4 kHz)
 chosen: dotclock 65142 vco 1824000 ((m 95, m1 15, m2 8), n 3, (p 28, p1 2, p2 
 14))

Could you report this upstream at http://bugs.freedesktop.org, product
xorg, component Driver/intel? Thanks.


-- 
Earthling Michel Dänzer   |  http://tungstengraphics.com
Libre software enthusiast |  Debian, X and DRI developer



Bug#396037: libgl1-mesa-dri: i915 OpenGL severely broken

2007-04-01 Thread Martin Pärtel
Yeah, sorry, that was a messy post. I hope this one is a bit better.


* Behaviour with unstable packages:
libdrm2_2.0.2-0.1_i386.deb
libdrm-dev_2.0.2-0.1_i386.deb
libgl1-mesa-dev_6.5.1-0.6_i386.deb
libgl1-mesa-dri_6.5.1-0.6_i386.deb
libgl1-mesa-glx_6.5.1-0.6_i386.deb
mesa-common-dev_6.5.1-0.6_all.deb
xserver-xorg-core_1.1.1-20_i386.deb
xserver-xorg-video-i810_1.7.2-4_i386.deb

As described in the initial bugreport: OpenGL apps don't work unless 
LIBGL_ALWAYS_INDIRECT is set. With LIBGL_ALWAYS_INDIRECT I get lots of 
rendering artifacts (e.g. the sun is missing a quarter of its halo in 
Celestia, textures blinking in nexuiz).

(xserver-xorg-core is the only package that has changed here since the initial 
bug report. 1.1.1-18 = 1.1.1-20)



* Behaviour with old experimental packages from previous e-mail:
libdrm2_2.3.0-1_i386.deb
libdrm-dev_2.3.0-1_i386.deb
libgl1-mesa-dev_6.5.2-3_all.deb
libgl1-mesa-dri_6.5.2-3_i386.deb
libgl1-mesa-glx_6.5.2-3_i386.deb
mesa-common-dev_6.5.2-3_all.deb
xserver-xorg-core_1.2.0-4_i386.deb

- LIBGL_ALWAYS_INDIRECT causes the exact same rendering bugs but OpenGL 
programs now work properly _without_ it (although with a warning about a 
missing visual).

- Putting Option XAANoOffscreenPixmaps in the device section fixes at least 
a bug with Beryl/Compiz where windows don't redraw themselves in texture 
from pixmap mode. Load dbe in Section module doesn't seem to have any 
effect after all.



* Behaviour with latest experimental packages:
xserver-xorg-core_1.2.99.903-1_i386.deb
xserver-xorg-video-i810_1.9.93-1_all.deb
xserver-xorg-video-intel_1.9.93-1_i386.deb

Same as with the previous experimental packages as far as I can tell except 
for some new issues:
- Exiting X or switching to a console VT while beryl is running almost always 
causes the machine to freeze!

- Even when Beryl is not running X prints the following on exit:
(EE) intel(0): I830 Vblank PipeSetup Failed 0

- X also always prints the following warning while starting up:
(WW) intel(0): xf86AllocateGARTMemory: allocation of 10 pages failed
(Cannot allocate memory)

- Some of Beryl's Emerald themes render incorrectly.



So the best combination for me was:
- Mesa 6.5.2-3
- libdrm2_2.3.0-1
- xserver-xorg-core_1.2.0-4
- xserver-xorg-video-i810_1.7.2-4 (the one in unstable)
- NO special envvars
- Option XAANoOffscreenPixmaps if running Beryl or Compiz.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#396037: libgl1-mesa-dri: i915 OpenGL severely broken

2007-04-01 Thread Michel Dänzer
notfound 396037 6.5.2-3
kthxbye

On Sun, 2007-04-01 at 12:08 +0300, Martin Pärtel wrote:
 
 * Behaviour with old experimental packages from previous e-mail:
 libdrm2_2.3.0-1_i386.deb
 libdrm-dev_2.3.0-1_i386.deb
 libgl1-mesa-dev_6.5.2-3_all.deb
 libgl1-mesa-dri_6.5.2-3_i386.deb
 libgl1-mesa-glx_6.5.2-3_i386.deb
 mesa-common-dev_6.5.2-3_all.deb
 xserver-xorg-core_1.2.0-4_i386.deb
 
 - LIBGL_ALWAYS_INDIRECT causes the exact same rendering bugs but OpenGL 
 programs now work properly _without_ it 

I'm marking this bug as fixed in libgl1-mesa-dri 6.5.2-3 then. If you
want the issues with indirect rendering to be tracked, please file
separate bugs against xserver-xorg-core.

 (although with a warning about a missing visual).

Harmless, see https://bugs.freedesktop.org/show_bug.cgi?id=6689 .

 - Putting Option XAANoOffscreenPixmaps in the device section fixes at least 
 a bug with Beryl/Compiz where windows don't redraw themselves in texture 
 from pixmap mode. 

Yes, this is necessary due to issues in XAA.

 Load dbe in Section module doesn't seem to have any effect after all.

Would have been surprising if it did.


 * Behaviour with latest experimental packages:
 xserver-xorg-core_1.2.99.903-1_i386.deb
 xserver-xorg-video-i810_1.9.93-1_all.deb
 xserver-xorg-video-intel_1.9.93-1_i386.deb
 
 Same as with the previous experimental packages as far as I can tell except 
 for some new issues:
 - Exiting X or switching to a console VT while beryl is running almost always 
 causes the machine to freeze!

Please post full log files from both versions of
xserver-xorg-video-i810.

 - Even when Beryl is not running X prints the following on exit:
 (EE) intel(0): I830 Vblank PipeSetup Failed 0
 
 - X also always prints the following warning while starting up:
 (WW) intel(0): xf86AllocateGARTMemory: allocation of 10 pages failed
   (Cannot allocate memory)

These are harmless.


-- 
Earthling Michel Dänzer   |  http://tungstengraphics.com
Libre software enthusiast |  Debian, X and DRI developer



Bug#396037: libgl1-mesa-dri: i915 OpenGL severely broken

2007-03-28 Thread Brice Goglin
forwarded 396037 https://bugs.freedesktop.org/show_bug.cgi?id=9199
thank you



Martin Pärtel wrote:
 xserver-xorg-video-i810-modesetting_1.7.2.git20070210-1_i386.deb
 (also tried without the modesetting driver; no difference)

The backtrace indicates either a problem in the i915 module
(libgl1-mesa-dri package) or in
/usr/lib/xorg/modules/extensions/libglx.so (xserver-xorg-core package).
The i810 driver does
not seem involved.

I found the same backtrace on the same graphic board in the upstream
bugzilla at https://bugs.freedesktop.org/show_bug.cgi?id=9199. There has
been no reply so far, but the bug was not against the right component, so...

I reassigned it correctly. It would be nice if you could summarize all
your conclusions there. Note that I found your last mail pretty hard to
understand since there are lots of combinations of
modules/envvar/packages involved. It would be nice to explain in a
simple way how to reproduce the bug and what works around it. Note that
upstream does not really like old versions, so be prepared to have to
reproduce with xserver-xorg-core (2:1.2.99.903-1) or
xserver-xorg-video-intel (2:1.9.93-1) currently in experimental :) Mesa
6.5.2-3 is fine.

 At first OpenGL apps were much slower and had different (but still ugly)
 rendering artifacts than before, but after adding Load dbe and
 Option XAANoOffscreenPixmaps (not sure which one helped, sorry) to
 xorg.conf the speed went back to normal. Adding those options didn't
 seem to
 have change anything after I had reverted back to sid packages.

Hum, I don't know anything about this dbe option...

 So, the working combination was:
 - experimental packages (except i810-modesetting)
 - Load dbe (or Option XAANoOffscreenPixmaps?)
 - _no_ LIBGL_ALWAYS_INDIRECT.

All at the same time? Or any of these lines?

Thanks a lot,
Brice




Bug#396037: libgl1-mesa-dri: i915 OpenGL severely broken

2007-02-28 Thread Martin Pärtel
Hi Brice,

Yes, the problem still exists, although with LIBGL_ALWAYS_INDIRECT enabled 
programs no longer tend to crash.

I tried with the following experimental packages:
libdrm2_2.3.0-1_i386.deb
libdrm-dev_2.3.0-1_i386.deb
libgl1-mesa-dev_6.5.2-3_all.deb
libgl1-mesa-dri_6.5.2-3_i386.deb
libgl1-mesa-glx_6.5.2-3_i386.deb
mesa-common-dev_6.5.2-3_all.deb
xserver-xorg-core_1.2.0-4_i386.deb
xserver-xorg-video-i810-modesetting_1.7.2.git20070210-1_i386.deb

(also tried without the modesetting driver; no difference)

At first OpenGL apps were much slower and had different (but still ugly) 
rendering artifacts than before, but after adding  Load dbe and 
Option XAANoOffscreenPixmaps (not sure which one helped, sorry) to 
xorg.conf the speed went back to normal. Adding those options didn't seem to 
have change anything after I had reverted back to sid packages.

With the experimental packages the LIBGL_ALWAYS_INDIRECT envvar caused the 
exact same rendering artifacts as with unstable packages. After adding the 
above options to xorg.conf, things worked perfectly, but only without 
LIBGL_ALWAYS_INDIRECT.

So, the working combination was:
- experimental packages (except i810-modesetting)
- Load dbe (or Option XAANoOffscreenPixmaps?)
- _no_ LIBGL_ALWAYS_INDIRECT.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#396037: libgl1-mesa-dri: i915 OpenGL severely broken

2007-02-27 Thread Brice Goglin
Hi Martin,

Do you still reproduce this problem with latest Xorg/Mesa in Etch? If
so, could you try the experimental packages?

Brice



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#396037: libgl1-mesa-dri: i915 OpenGL severely broken

2006-10-29 Thread Martin Pärtel
Package: libgl1-mesa-dri
Version: 6.5.1-0.2
Severity: important

OpenGL apps are terribly slow or don't work at all unless
LIBGL_ALWAYS_INDIRECT is set.

e.g. glxgears renders nothing and prints:
libGL warning: 3D driver claims to not support visual 0x5b
do_wait: drmWaitVBlank returned -1, IRQs don't seem to be working 
correctly.
Try running with LIBGL_THROTTLE_REFRESH and LIBL_SYNC_REFRESH unset.

Celestia works but has major rendering artifacts.

Many OpenGL apps crash the X server either every time (a Qt4/OpenGL 
app of mine) or occasionaly (flurry screensaver). A backtrace from one
of the crashes:

0: /usr/bin/X(xf86SigHandler+0x84) [0x80c4354]
1: [0xe420]
2: /usr/lib/xorg/modules/extensions/libglx.so [0xb7c919b7]
3: /usr/lib/dri/i915_dri.so(__driUtilUpdateDrawableInfo+0xeb) 
[0xa7798d5b]
4: /usr/lib/dri/i915_dri.so(intelGetLock+0xde) [0xa77b339e]
5: /usr/lib/dri/i915_dri.so(intelClearWithBlit+0x69d) [0xa77b164d]
6: /usr/lib/dri/i915_dri.so(intelClear+0x133) [0xa77b54e3]
7: /usr/lib/dri/i915_dri.so(_mesa_Clear+0x185) [0xa78f38b5]
8: /usr/lib/xorg/modules/extensions/libglx.so [0xb7c70f38]
9: /usr/lib/xorg/modules/extensions/libglx.so(__glXRender+0xf3) 
[0xb7c68fd3]
10: /usr/lib/xorg/modules/extensions/libglx.so [0xb7c6df6a]
11: /usr/bin/X(Dispatch+0x19b) [0x8086cab]
12: /usr/bin/X(main+0x489) [0x806e699]
13: /lib/tls/libc.so.6(__libc_start_main+0xc8) [0xb7da1ea8]
14: /usr/bin/X(FontFileCompleteXLFD+0xa9) [0x806d9d1]

Fatal server error:
Caught signal 11.  Server aborting


Some other interesting lines from Xorg.log:

(WW) AIGLX: 3D driver claims to not support visual 0x23
(WW) AIGLX: 3D driver claims to not support visual 0x24
(WW) AIGLX: 3D driver claims to not support visual 0x25
(WW) AIGLX: 3D driver claims to not support visual 0x26
(WW) AIGLX: 3D driver claims to not support visual 0x27
(WW) AIGLX: 3D driver claims to not support visual 0x28
(WW) AIGLX: 3D driver claims to not support visual 0x29
(WW) AIGLX: 3D driver claims to not support visual 0x2a
(WW) AIGLX: 3D driver claims to not support visual 0x2b
(WW) AIGLX: 3D driver claims to not support visual 0x2c
(WW) AIGLX: 3D driver claims to not support visual 0x2d
(WW) AIGLX: 3D driver claims to not support visual 0x2e
(WW) AIGLX: 3D driver claims to not support visual 0x2f
(WW) AIGLX: 3D driver claims to not support visual 0x30
(WW) AIGLX: 3D driver claims to not support visual 0x31
(WW) AIGLX: 3D driver claims to not support visual 0x32
(II) AIGLX: Loaded and initialized /usr/lib/dri/i915_dri.so


Turning off Composite does not help.

There is nothing interesting in dmesg.


Hardware:
Thinkpad T60
Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics 
Controller (rev 03)


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-beyond4
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-15)

Versions of packages libgl1-mesa-dri depends on:
ii  libc62.3.6.ds1-4 GNU C Library: Shared libraries
ii  libdrm2  2.0.2-0.1   Userspace interface to kernel DRM 
ii  libexpat11.95.8-3.3  XML parsing C library - runtime li
ii  libgl1-mesa-glx  6.5.1-0.2   A free implementation of the OpenG

libgl1-mesa-dri recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]