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

Bug#420164: marked as done (libgl1-mesa-dri: Darwinia only shows black screen)



Your message dated Sat, 19 May 2007 14:02:15 +0000
with message-id <E1HpPVf-0007wC-Uw@ries.debian.org>
and subject line Bug#420164: fixed in mesa 6.5.2-5
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: libgl1-mesa-dri
Version: 6.5.2-4
Severity: normal
Tags: patch

With the current mesa 6.5.2, running Darwinia (and possibly other apps)
results in a black screen (the game seems to work, just nothing is
shown). There's a patch in mesa git (also attached, as it is quite
small) that fixes this issue:

http://gitweb.freedesktop.org/?p=mesa/mesa.git;a=commitdiff;h=6f9b1afc862851532e4820705c412388b497ad58

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (800, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.19-beyond1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.utf8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libgl1-mesa-dri depends on:
ii  libc6                         2.5-2      GNU C Library: Shared libraries
ii  libdrm2                       2.3.0-4    Userspace interface to kernel DRM 
ii  libexpat1                     1.95.8-3.4 XML parsing C library - runtime li
ii  libgl1-mesa-glx               6.5.2-4    A free implementation of the OpenG

libgl1-mesa-dri recommends no packages.

-- no debconf information

-- 
Do not rejoice in his defeat, you men,
For though the world stood up
And stopped the bastard,
The bitch that bore him is in heat again.
		-- Bertolt Brecht
From: Michel Dänzer <michel@tungstengraphics.com>
Date: Tue, 6 Mar 2007 12:22:35 +0000 (+0100)
Subject: r300: Call radeonSetCliprects from radeonMakeCurrent.
X-Git-Url: http://gitweb.freedesktop.org/?p=mesa/mesa.git;a=commitdiff;h=6f9b1afc862851532e4820705c412388b497ad58

r300: Call radeonSetCliprects from radeonMakeCurrent.

Based on a patch by Panagiotis Papadakos.

Among other things, this makes sure the framebuffer object associated with the
drawable has the correct size when _mesa_make_current is called, so the default
viewport is set up correctly.

Also update radeon->lastStamp in radeonSetCliprects.
---

--- a/src/mesa/drivers/dri/r300/radeon_context.c
+++ b/src/mesa/drivers/dri/r300/radeon_context.c
@@ -51,6 +51,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DE
 #include "radeon_macros.h"
 #include "radeon_reg.h"
 
+#include "radeon_state.h"
 #include "r300_state.h"
 
 #include "utils.h"
@@ -279,6 +280,8 @@ GLboolean radeonMakeCurrent(__DRIcontext
 
 			r300UpdateWindow(radeon->glCtx);
 			r300UpdateViewportOffset(radeon->glCtx);
+
+			radeonSetCliprects(radeon);
 		}
 
 		_mesa_make_current(radeon->glCtx,
--- a/src/mesa/drivers/dri/r300/radeon_lock.c
+++ b/src/mesa/drivers/dri/r300/radeon_lock.c
@@ -90,7 +90,6 @@ static void r300RegainedLock(radeonConte
 #else
 		radeonUpdateScissor(radeon->glCtx);
 #endif
-		radeon->lastStamp = drawable->lastStamp;
 	}
 
 	if (sarea->ctx_owner != radeon->dri.hwContext) {
--- a/src/mesa/drivers/dri/r300/radeon_state.c
+++ b/src/mesa/drivers/dri/r300/radeon_state.c
@@ -185,6 +185,8 @@ void radeonSetCliprects(radeonContextPtr
 
 	if (radeon->state.scissor.enabled)
 		radeonRecalcScissorRects(radeon);
+
+	radeon->lastStamp = drawable->lastStamp;
 }
 
 

--- End Message ---
--- Begin Message ---
Source: mesa
Source-Version: 6.5.2-5

We believe that the bug you reported is fixed in the latest version of
mesa, which is due to be installed in the Debian FTP archive:

libgl1-mesa-dev_6.5.2-5_all.deb
  to pool/main/m/mesa/libgl1-mesa-dev_6.5.2-5_all.deb
libgl1-mesa-dri-dbg_6.5.2-5_i386.deb
  to pool/main/m/mesa/libgl1-mesa-dri-dbg_6.5.2-5_i386.deb
libgl1-mesa-dri_6.5.2-5_i386.deb
  to pool/main/m/mesa/libgl1-mesa-dri_6.5.2-5_i386.deb
libgl1-mesa-glx-dbg_6.5.2-5_i386.deb
  to pool/main/m/mesa/libgl1-mesa-glx-dbg_6.5.2-5_i386.deb
libgl1-mesa-glx_6.5.2-5_i386.deb
  to pool/main/m/mesa/libgl1-mesa-glx_6.5.2-5_i386.deb
libgl1-mesa-swx11-dbg_6.5.2-5_i386.deb
  to pool/main/m/mesa/libgl1-mesa-swx11-dbg_6.5.2-5_i386.deb
libgl1-mesa-swx11-dev_6.5.2-5_i386.deb
  to pool/main/m/mesa/libgl1-mesa-swx11-dev_6.5.2-5_i386.deb
libgl1-mesa-swx11-i686_6.5.2-5_i386.deb
  to pool/main/m/mesa/libgl1-mesa-swx11-i686_6.5.2-5_i386.deb
libgl1-mesa-swx11_6.5.2-5_i386.deb
  to pool/main/m/mesa/libgl1-mesa-swx11_6.5.2-5_i386.deb
libglu1-mesa-dev_6.5.2-5_i386.deb
  to pool/main/m/mesa/libglu1-mesa-dev_6.5.2-5_i386.deb
libglu1-mesa_6.5.2-5_i386.deb
  to pool/main/m/mesa/libglu1-mesa_6.5.2-5_i386.deb
libosmesa6-dev_6.5.2-5_i386.deb
  to pool/main/m/mesa/libosmesa6-dev_6.5.2-5_i386.deb
libosmesa6_6.5.2-5_i386.deb
  to pool/main/m/mesa/libosmesa6_6.5.2-5_i386.deb
mesa-common-dev_6.5.2-5_all.deb
  to pool/main/m/mesa/mesa-common-dev_6.5.2-5_all.deb
mesa-swx11-source_6.5.2-5_all.deb
  to pool/main/m/mesa/mesa-swx11-source_6.5.2-5_all.deb
mesa-utils_6.5.2-5_i386.deb
  to pool/main/m/mesa/mesa-utils_6.5.2-5_i386.deb
mesa_6.5.2-5.diff.gz
  to pool/main/m/mesa/mesa_6.5.2-5.diff.gz
mesa_6.5.2-5.dsc
  to pool/main/m/mesa/mesa_6.5.2-5.dsc



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 420164@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julien Cristau <jcristau@debian.org> (supplier of updated mesa package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 18 May 2007 13:36:25 +0200
Source: mesa
Binary: libgl1-mesa-glx libosmesa6-dev libgl1-mesa-dev libosmesa6 mesa-utils libgl1-mesa-glx-dbg libglu1-mesa-dev libgl1-mesa-dri libgl1-mesa-swx11-dbg libgl1-mesa-dri-dbg libgl1-mesa-swx11 libgl1-mesa-swx11-i686 libgl1-mesa-swx11-dev mesa-common-dev mesa-swx11-source libglu1-mesa
Architecture: source i386 all
Version: 6.5.2-5
Distribution: unstable
Urgency: low
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Julien Cristau <jcristau@debian.org>
Description: 
 libgl1-mesa-dev - A free implementation of the OpenGL API -- GLX development suppor
 libgl1-mesa-dri - A free implementation of the OpenGL API -- DRI modules
 libgl1-mesa-dri-dbg - A free implementation of the OpenGL API -- DRI modules -- debuggi
 libgl1-mesa-glx - A free implementation of the OpenGL API -- GLX runtime
 libgl1-mesa-glx-dbg - A free implementation of the OpenGL API -- GLX runtime -- debuggi
 libgl1-mesa-swx11 - A free implementation of the OpenGL API -- runtime
 libgl1-mesa-swx11-dbg - A free implementation of the OpenGL API -- debugging symbols
 libgl1-mesa-swx11-dev - A free implementation of the OpenGL API -- development support fi
 libgl1-mesa-swx11-i686 - A free implementation of the OpenGL API -- runtime [i686 optimize
 libglu1-mesa - The OpenGL utility library (GLU)
 libglu1-mesa-dev - The OpenGL utility library -- development support files
 libosmesa6 - Mesa Off-screen rendering extension
 libosmesa6-dev - Mesa Off-screen rendering extension -- development support files
 mesa-common-dev - Developer documentation for Mesa
 mesa-swx11-source - Mesa software rasteriser source -- development support files
 mesa-utils - Miscellaneous Mesa GL utilities
Closes: 420164
Changes: 
 mesa (6.5.2-5) unstable; urgency=low
 .
   [ Brice Goglin ]
   * Add 07_call_radeonSetCliprects_from_radeonMakeCurrent.patch
     (closes: #420164). Thanks to Christian Ohm.
   * Add 08_r300_update_window_state_when_bound_but_stamp_changed.patch
   * Add 09_i915_always_enable_pixel_fog.patch
Files: 
 5c17a9289ec283a01c55014327588f69 1116 graphics optional mesa_6.5.2-5.dsc
 f1d2ff512a4953e71acf261377a5d94b 302444 graphics optional mesa_6.5.2-5.diff.gz
 7d1691176ab8a1998a91540ac6899580 23816 libdevel optional libgl1-mesa-dev_6.5.2-5_all.deb
 9aaf7e03e2eecbc835dc8cd38da2e3c3 173200 devel optional mesa-common-dev_6.5.2-5_all.deb
 c2d6e41fc7cce4399ddc9bfc51aa3ab7 1536836 libdevel optional mesa-swx11-source_6.5.2-5_all.deb
 7f8a4b75b13d72943ecf0b82c2e54bcc 917762 libs optional libgl1-mesa-swx11_6.5.2-5_i386.deb
 35e72bb1b45775e8b57d45b789a2e722 5180536 libs extra libgl1-mesa-swx11-dbg_6.5.2-5_i386.deb
 b0b60ba6887149c895f16ecfce341fe3 914966 libs extra libgl1-mesa-swx11-i686_6.5.2-5_i386.deb
 ef238390c688c5fd13d16f4c480ff28c 1044534 libdevel optional libgl1-mesa-swx11-dev_6.5.2-5_i386.deb
 9eb1361611b6c603df97908280975daa 141640 libs optional libgl1-mesa-glx_6.5.2-5_i386.deb
 aeb5ce1165e34ede9852d6dc5337167c 480966 libdevel extra libgl1-mesa-glx-dbg_6.5.2-5_i386.deb
 051c66491161c1369b6619910d6fa151 13252862 libs optional libgl1-mesa-dri_6.5.2-5_i386.deb
 b4963453a4e378e09c044228efcfa117 86404478 libdevel extra libgl1-mesa-dri-dbg_6.5.2-5_i386.deb
 e0414d5e3d31837db6352843e09e3c89 2387410 libs optional libosmesa6_6.5.2-5_i386.deb
 65348c0caef8de3fc1fce12c8890c86a 2727088 devel optional libosmesa6-dev_6.5.2-5_i386.deb
 74e102edccb9e9e309262e314e1c581e 237946 libs optional libglu1-mesa_6.5.2-5_i386.deb
 b07a2641125f46a11a59b6b2b1ff703a 255496 libdevel optional libglu1-mesa-dev_6.5.2-5_i386.deb
 7bd663d3b223ad3e1f61289fda7523f0 43600 x11 optional mesa-utils_6.5.2-5_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGTwGPmEvTgKxfcAwRApIHAKCdNZ7YmAlZ/qIkk6DQ4mC5gk73hQCgnZS1
1aZI8Doe2CfDfU8KK8izHqg=
=4q95
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: