Bug#692814: backtrace

2013-01-16 Thread sandeep shedmake
backtrace @praveen_box
pravi@savannah:/var/log$ sudo gdb --pid=9671
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type show copying
and show warranty for details.
This GDB was configured as x86_64-linux-gnu.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Attaching to process 9671
Reading symbols from /usr/bin/Xorg...Reading symbols from 
/usr/lib/debug/usr/bin/Xorg...done.
done.
Reading symbols from /lib/x86_64-linux-gnu/libudev.so.0...(no debugging symbols 
found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libudev.so.0
Reading symbols from /lib/x86_64-linux-gnu/libgcrypt.so.11...(no debugging 
symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libgcrypt.so.11
Reading symbols from /lib/x86_64-linux-gnu/libdl.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libdl.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/libpciaccess.so.0...(no 
debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libpciaccess.so.0
Reading symbols from /lib/x86_64-linux-gnu/libpthread.so.0...(no debugging 
symbols found)...done.
[Thread debugging using libthread_db enabled]
Using host libthread_db library /lib/x86_64-linux-gnu/libthread_db.so.1.
Loaded symbols for /lib/x86_64-linux-gnu/libpthread.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libpixman-1.so.0...(no debugging 
symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libpixman-1.so.0
Reading symbols from /usr/lib/libXfont.so.1...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib/libXfont.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/libXau.so.6...(no debugging 
symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libXau.so.6
Reading symbols from /usr/lib/x86_64-linux-gnu/libXdmcp.so.6...(no debugging 
symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libXdmcp.so.6
Reading symbols from /lib/libaudit.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libaudit.so.0
Reading symbols from /lib/x86_64-linux-gnu/libm.so.6...(no debugging symbols 
found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libm.so.6
Reading symbols from /lib/x86_64-linux-gnu/librt.so.1...(no debugging symbols 
found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/librt.so.1
Reading symbols from /lib/x86_64-linux-gnu/libc.so.6...(no debugging symbols 
found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libc.so.6
Reading symbols from /lib/x86_64-linux-gnu/libgpg-error.so.0...(no debugging 
symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libgpg-error.so.0
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib/x86_64-linux-gnu/libz.so.1...(no debugging symbols 
found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libz.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/libfreetype.so.6...(no debugging 
symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libfreetype.so.6
Reading symbols from /lib/x86_64-linux-gnu/libbz2.so.1.0...(no debugging 
symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libbz2.so.1.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libfontenc.so.1...(no debugging 
symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libfontenc.so.1
Reading symbols from /lib/x86_64-linux-gnu/libgcc_s.so.1...(no debugging 
symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libgcc_s.so.1
Reading symbols from /usr/lib/xorg/modules/extensions/libextmod.so...Reading 
symbols from /usr/lib/debug/usr/lib/xorg/modules/extensions/libextmod.so...done.
done.
Loaded symbols for /usr/lib/xorg/modules/extensions/libextmod.so
Reading symbols from /lib/x86_64-linux-gnu/libselinux.so.1...(no debugging 
symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libselinux.so.1
Reading symbols from /usr/lib/xorg/modules/extensions/libdbe.so...Reading 
symbols from /usr/lib/debug/usr/lib/xorg/modules/extensions/libdbe.so...done.
done.
Loaded symbols for /usr/lib/xorg/modules/extensions/libdbe.so
Reading symbols from /usr/lib/xorg/modules/extensions/libglx.so...Reading 
symbols from /usr/lib/debug/usr/lib/xorg/modules/extensions/libglx.so...done.
done.
Loaded symbols for /usr/lib/xorg/modules/extensions/libglx.so
Reading symbols from /usr/lib/xorg/modules/extensions/librecord.so...Reading 
symbols from /usr/lib/debug/usr/lib/xorg/modules/extensions/librecord.so...done.
done.
Loaded symbols for /usr/lib/xorg/modules/extensions/librecord.so
Reading symbols from /usr/lib/xorg/modules/extensions/libdri.so...Reading 
symbols from /usr/lib/debug/usr/lib/xorg/modules/extensions/libdri.so...done.
done.
Loaded 

Processed: bug 698197 is forwarded to https://bugs.freedesktop.org/show_bug.cgi?id=59436

2013-01-16 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 forwarded 698197 https://bugs.freedesktop.org/show_bug.cgi?id=59436
Bug #698197 [libdrm-intel1] libdrm-intel1: i845g - EIR stuck: 0x0010, 
masking
Set Bug forwarded-to-address to 
'https://bugs.freedesktop.org/show_bug.cgi?id=59436'.
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
698197: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=698197
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.135832819329658.transcr...@bugs.debian.org



Bug#683499: Segmentation fault in gen7_update_renderbuffer_surface()

2013-01-16 Thread Pigeon

Hi,

I have an Intel HD 4000 from the i7-3770 processor.

I'm still having this segfault for any GL programs (e.g.
glxgears).

I'm on Debian testing, libgl1-mesa-dri 8.0.5-3

I think the stack trace is pretty much the same.

Program received signal SIGSEGV, Segmentation fault.
gen7_update_renderbuffer_surface (brw=0x77fd8040, rb=0x61a0c0, unit=0)
at gen7_wm_surface_state.c:200
200 gen7_wm_surface_state.c: No such file or directory.
(gdb) bt
#0  gen7_update_renderbuffer_surface (brw=0x77fd8040, rb=0x61a0c0, unit=0)
at gen7_wm_surface_state.c:200
#1  0x7fffee26b750 in brw_update_renderbuffer_surfaces (brw=0x77fd8040)
at brw_wm_surface_state.c:1047
#2  0x7fffee255a90 in brw_upload_state (brw=brw@entry=0x77fd8040)
at brw_state_upload.c:503
#3  0x7fffee243527 in brw_try_draw_prims (max_index=optimized out, 
min_index=optimized out, ib=0x0, nr_prims=2, prim=0x80e680, 
arrays=0x699a70, ctx=0x77fd8040) at brw_draw.c:482
#4  brw_draw_prims (ctx=0x77fd8040, arrays=0x699a70, prim=0x80e680, 
nr_prims=2, ib=0x0, index_bounds_valid=optimized out, min_index=0, 
max_index=161, tfb_vertcount=0x0) at brw_draw.c:566
#5  0x7fffee370c2c in vbo_save_playback_vertex_list (ctx=0x77fd8040, 
data=0x80dee8) at vbo/vbo_save_draw.c:298
#6  0x7fffee2c2542 in ext_opcode_execute (node=0x80dee0, 
ctx=0x77fd8040) at main/dlist.c:602
#7  execute_list (ctx=0x77fd8040, list=optimized out)
at main/dlist.c:7505
#8  0x7fffee2c5f82 in _mesa_CallList (list=1) at main/dlist.c:8922
#9  0x004028a2 in ?? ()
#10 0x00401fd1 in ?? ()
#11 0x76b61ead in __libc_start_main (main=optimized out, 
argc=optimized out, ubp_av=optimized out, init=optimized out, 
fini=optimized out, rtld_fini=optimized out, stack_end=0x7fffe478)
at libc-start.c:228
#12 0x004025fd in ?? ()
#13 0x7fffe478 in ?? ()
#14 0x001c in ?? ()
#15 0x0001 in ?? ()
#16 0x7fffe76a in ?? ()
#17 0x in ?? ()


The line is:

struct intel_region *region = irb-mt-region;

But irb-mt is NULL.


I have tried a few different versions of kernels (3.2, 3.4,
3.7) but the crash is exactly the same.


Thanks.


Pigeon.


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130116211252.5b430...@gokuu.pigeond.net



Bug#683499: Segmentation fault in gen7_update_renderbuffer_surface()

2013-01-16 Thread Julien Cristau
On Wed, Jan 16, 2013 at 21:12:52 +1100, Pigeon wrote:

 
 Hi,
 
   I have an Intel HD 4000 from the i7-3770 processor.
 
   I'm still having this segfault for any GL programs (e.g.
 glxgears).
 
   I'm on Debian testing, libgl1-mesa-dri 8.0.5-3
 
   I think the stack trace is pretty much the same.
 
Please file your own separate bug, including dmesg and X log.

Cheers,
Julien


signature.asc
Description: Digital signature


libdrm: Changes to 'debian-experimental'

2013-01-16 Thread Maarten Lankhorst
 .gitignore   |4 
 ChangeLog|  174 +++
 Makefile.am  |2 
 configure.ac |   26 --
 debian/changelog |7 
 debian/libdrm-dev.install|3 
 debian/libdrm-nouveau2.symbols   |1 
 debian/patches/02_fix_build.diff |   12 +
 debian/patches/series|1 
 intel/intel_bufmgr_gem.c |   10 
 libkms/intel.c   |1 
 libkms/linux.c   |2 
 libkms/nouveau.c |1 
 man/Makefile.am  |   65 -
 man/drm-kms.xml  |  342 +++
 man/drm-memory.xml   |  430 +++
 man/drm.xml  |  137 
 man/drmAvailable.man |   25 --
 man/drmAvailable.xml |   75 ++
 man/drmHandleEvent.man   |   45 
 man/drmHandleEvent.xml   |  102 +
 man/drmModeGetResources.man  |   79 ---
 man/drmModeGetResources.xml  |  139 
 nouveau/abi16.c  |   28 ++
 nouveau/libdrm_nouveau.pc.in |2 
 nouveau/nouveau.c|3 
 nouveau/nouveau.h|   16 +
 nouveau/private.h|1 
 nouveau/pushbuf.c|8 
 radeon/r600_pci_ids.h|1 
 radeon/radeon_bo_gem.c   |   16 -
 31 files changed, 1559 insertions(+), 199 deletions(-)

New commits:
commit 9ab7a43c4e57e618854b3641101fcd707736dbf0
Author: Maarten Lankhorst maarten.lankho...@canonical.com
Date:   Wed Jan 16 14:04:59 2013 +0100

Add 02_fix_build.diff fix a build error.

diff --git a/debian/changelog b/debian/changelog
index c1edea0..9111d6c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ libdrm (2.4.41-1) UNRELEASED; urgency=low
 
   [ Maarten Lankhorst ]
   * New upstream release.
+  * Add 02_fix_build.diff fix a build error.
 
  -- Julien Cristau jcris...@debian.org  Tue, 25 Dec 2012 13:17:28 +0100
 
diff --git a/debian/patches/02_fix_build.diff b/debian/patches/02_fix_build.diff
new file mode 100644
index 000..234101b
--- /dev/null
+++ b/debian/patches/02_fix_build.diff
@@ -0,0 +1,12 @@
+diff --git a/configure.ac b/configure.ac
+index 10cc9a4..1776610 100644
+--- a/configure.ac
 b/configure.ac
+@@ -348,7 +348,6 @@ AC_CONFIG_FILES([
+   tests/vbltest/Makefile
+   include/Makefile
+   include/drm/Makefile
+-  man/Makefile
+   libdrm.pc])
+ AC_OUTPUT
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 2e425c0..e64f736 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 01_default_perms.diff
+02_fix_build.diff
 03_build_against_librt.diff

commit ed2ab427f7d40fcd52a16e8aa0360d440fbf3385
Author: Maarten Lankhorst maarten.lankho...@canonical.com
Date:   Wed Jan 16 13:41:45 2013 +0100

New upstream release.

Manpage building has temporarily been disabled upstream,
but when it's re-enabled we should require xsltproc.

diff --git a/ChangeLog b/ChangeLog
index 53b397c..e1df3ae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,177 @@
+commit 007bff7a034741dcf9d1716583f91fc4453d4112
+Author: Maarten Lankhorst maarten.lankho...@canonical.com
+Date:   Wed Jan 16 13:06:52 2013 +0100
+
+configure.ac: bump version to 2.4.41 for release
+
+commit c41b494c47f8e514e69cb8c2f2ace41d5fa17c94
+Author: Ben Skeggs bske...@redhat.com
+Date:   Fri Nov 23 12:40:30 2012 +1000
+
+nouveau: expose channel engine selection on kepler chipsets
+
+v2: Take Maarten Lankhorst's suggestion of nesting the struct to prevent
+sizeof() issues due to padding on older revisions.
+
+Signed-off-by: Ben Skeggs bske...@redhat.com
+Signed-off-by: Maarten Lankhorst maarten.lankho...@canonical.com
+
+commit 9e6f96a579fc2ed241e9a31a35a5995129ee8f7a
+Author: Marcin Slusarz marcin.slus...@gmail.com
+Date:   Sun Dec 16 19:28:24 2012 +0100
+
+libdrm_nouveau.pc: don't include I${includedir}/nouveau
+
+Nouveau headers are installed in I${includedir}/libdrm.
+
+commit fdda97007b1dbf95beb16a0e3510fd36c89e8c33
+Author: Chris Wilson ch...@chris-wilson.co.uk
+Date:   Fri Jan 11 00:55:12 2013 +
+
+intel: Remove the fence count contributions when clearing relocs
+
+As we clear the relocs from the bo, we also need to clear the
+contribution of the reloc_target_bo from the fence count. Otherwise they
+are leaked and prevent any further relocations being added to the bo.
+
+commit 1dbd873700f281d9773e64931ff0c1cf96e13793
+Author: Jesse Barnes jbar...@virtuousgeek.org
+Date:   Wed Jan 9 17:28:41 2013 -0800
+
+man: disable man page building until David saves us all
+
+I must have botched something in the push of the xml switchover, since I
+now get errors when building the pages and aliases.  Just disable for
+now.
+
+commit 

libdrm: Changes to 'upstream-experimental'

2013-01-16 Thread Maarten Lankhorst
 .gitignore   |4 
 Makefile.am  |2 
 configure.ac |   26 --
 intel/intel_bufmgr_gem.c |   10 -
 libkms/intel.c   |1 
 libkms/linux.c   |2 
 libkms/nouveau.c |1 
 man/Makefile.am  |   65 +-
 man/drm-kms.xml  |  342 ++
 man/drm-memory.xml   |  430 +++
 man/drm.xml  |  137 +
 man/drmAvailable.man |   25 --
 man/drmAvailable.xml |   75 +++
 man/drmHandleEvent.man   |   45 
 man/drmHandleEvent.xml   |  102 ++
 man/drmModeGetResources.man  |   79 ---
 man/drmModeGetResources.xml  |  139 +
 nouveau/abi16.c  |   28 ++
 nouveau/libdrm_nouveau.pc.in |2 
 nouveau/nouveau.c|3 
 nouveau/nouveau.h|   16 +
 nouveau/private.h|1 
 nouveau/pushbuf.c|8 
 radeon/r600_pci_ids.h|1 
 radeon/radeon_bo_gem.c   |   16 +
 25 files changed, 1363 insertions(+), 197 deletions(-)

New commits:
commit 007bff7a034741dcf9d1716583f91fc4453d4112
Author: Maarten Lankhorst maarten.lankho...@canonical.com
Date:   Wed Jan 16 13:06:52 2013 +0100

configure.ac: bump version to 2.4.41 for release

diff --git a/configure.ac b/configure.ac
index 0e6db86..10cc9a4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,7 +20,7 @@
 
 AC_PREREQ([2.63])
 AC_INIT([libdrm],
-[2.4.40],
+[2.4.41],
 [https://bugs.freedesktop.org/enter_bug.cgi?product=DRI],
 [libdrm])
 

commit c41b494c47f8e514e69cb8c2f2ace41d5fa17c94
Author: Ben Skeggs bske...@redhat.com
Date:   Fri Nov 23 12:40:30 2012 +1000

nouveau: expose channel engine selection on kepler chipsets

v2: Take Maarten Lankhorst's suggestion of nesting the struct to prevent
sizeof() issues due to padding on older revisions.

Signed-off-by: Ben Skeggs bske...@redhat.com
Signed-off-by: Maarten Lankhorst maarten.lankho...@canonical.com

diff --git a/nouveau/abi16.c b/nouveau/abi16.c
index a67fbc1..f34175e 100644
--- a/nouveau/abi16.c
+++ b/nouveau/abi16.c
@@ -24,9 +24,11 @@
 
 #include stdlib.h
 #include stdint.h
+#include stddef.h
 
 #include private.h
 
+
 int
 abi16_chan_nv04(struct nouveau_object *obj)
 {
@@ -70,6 +72,32 @@ abi16_chan_nvc0(struct nouveau_object *obj)
 }
 
 int
+abi16_chan_nve0(struct nouveau_object *obj)
+{
+   struct nouveau_device *dev = (struct nouveau_device *)obj-parent;
+   struct drm_nouveau_channel_alloc req = {};
+   struct nve0_fifo *nve0 = obj-data;
+   int ret;
+
+   if (obj-length  offsetof(struct nve0_fifo, engine)) {
+   req.fb_ctxdma_handle = 0x;
+   req.tt_ctxdma_handle = nve0-engine;
+   }
+
+   ret = drmCommandWriteRead(dev-fd, DRM_NOUVEAU_CHANNEL_ALLOC,
+ req, sizeof(req));
+   if (ret)
+   return ret;
+
+   nve0-base.channel = req.channel;
+   nve0-base.pushbuf = req.pushbuf_domains;
+   nve0-notify = req.notifier_handle;
+   nve0-base.object-handle = req.channel;
+   nve0-base.object-length = sizeof(*nve0);
+   return 0;
+}
+
+int
 abi16_engobj(struct nouveau_object *obj)
 {
struct drm_nouveau_grobj_alloc req = {
diff --git a/nouveau/nouveau.c b/nouveau/nouveau.c
index 940d933..9b32e31 100644
--- a/nouveau/nouveau.c
+++ b/nouveau/nouveau.c
@@ -247,7 +247,10 @@ nouveau_object_new(struct nouveau_object *parent, uint64_t 
handle,
if (dev-chipset  0xc0)
ret = abi16_chan_nv04(obj);
else
+   if (dev-chipset  0xe0)
ret = abi16_chan_nvc0(obj);
+   else
+   ret = abi16_chan_nve0(obj);
}
break;
default:
diff --git a/nouveau/nouveau.h b/nouveau/nouveau.h
index c42eea7..a55e2b0 100644
--- a/nouveau/nouveau.h
+++ b/nouveau/nouveau.h
@@ -41,6 +41,22 @@ struct nvc0_fifo {
uint32_t notify;
 };
 
+#define NVE0_FIFO_ENGINE_GR  0x0001
+#define NVE0_FIFO_ENGINE_VP  0x0002
+#define NVE0_FIFO_ENGINE_PPP 0x0004
+#define NVE0_FIFO_ENGINE_BSP 0x0008
+#define NVE0_FIFO_ENGINE_CE0 0x0010
+#define NVE0_FIFO_ENGINE_CE1 0x0020
+#define NVE0_FIFO_ENGINE_ENC 0x0040
+
+struct nve0_fifo {
+   struct {
+   struct nouveau_fifo base;
+   uint32_t notify;
+   };
+   uint32_t engine;
+};
+
 struct nv04_notify {
struct nouveau_object *object;
uint32_t offset;
diff --git a/nouveau/private.h b/nouveau/private.h
index b409cc8..8a5cb26 100644
--- a/nouveau/private.h
+++ b/nouveau/private.h
@@ -113,6 +113,7 @@ nouveau_device_open_existing(struct nouveau_device **, int, 
int, drm_context_t);
 /* abi16.c */
 int  

xserver-xorg-video-intel: Changes to 'debian-experimental'

2013-01-16 Thread Timo Aaltonen
 ChangeLog   |  963 
 NEWS|   27 +
 configure.ac|2 
 debian/changelog|2 
 src/intel.h |2 
 src/intel_batchbuffer.c |   41 +
 src/intel_display.c |1 
 src/intel_driver.c  |9 
 src/intel_options.c |2 
 src/intel_options.h |2 
 src/intel_uxa.c |2 
 src/sna/Makefile.am |2 
 src/sna/gen2_render.c   |  226 +++---
 src/sna/gen3_render.c   |  127 ++---
 src/sna/gen4_render.c   |  491 ++
 src/sna/gen4_source.c   |  179 
 src/sna/gen4_source.h   |   22 +
 src/sna/gen4_vertex.c   |  401 ++
 src/sna/gen4_vertex.h   |   27 -
 src/sna/gen5_render.c   |  328 --
 src/sna/gen5_render.h   |   63 +-
 src/sna/gen6_render.c   |  318 +++---
 src/sna/gen7_render.c   |  324 +++---
 src/sna/kgem.c  |  446 ++--
 src/sna/kgem.h  |   42 +
 src/sna/sna.h   |   26 -
 src/sna/sna_accel.c |  900 ++---
 src/sna/sna_blt.c   |   28 -
 src/sna/sna_damage.h|   28 -
 src/sna/sna_display.c   |   30 +
 src/sna/sna_dri.c   |  827 -
 src/sna/sna_driver.c|  173 +++
 src/sna/sna_glyphs.c|   53 +-
 src/sna/sna_gradient.c  |  100 +++-
 src/sna/sna_io.c|   33 +
 src/sna/sna_render.c|2 
 src/sna/sna_render.h|   18 
 src/sna/sna_render_inline.h |9 
 src/sna/sna_trapezoids.c|  146 ++
 src/sna/sna_video.c |5 
 40 files changed, 3647 insertions(+), 2780 deletions(-)

New commits:
commit e95ec737331fba9848b7a2359449779c2026ab52
Author: Timo Aaltonen tjaal...@ubuntu.com
Date:   Wed Jan 16 18:26:19 2013 +0200

update the changelogs

diff --git a/ChangeLog b/ChangeLog
index 4047d70..707dcfa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,966 @@
+commit dbf1cfec9cd4e9efe7650f2940c92b4e51214288
+Author: Chris Wilson ch...@chris-wilson.co.uk
+Date:   Wed Jan 16 12:20:48 2013 +
+
+2.20.18 release
+
+Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
+
+commit 47caffc50b5cdd288ad868fa9a697f0d4e2d28dc
+Author: Chris Wilson ch...@chris-wilson.co.uk
+Date:   Wed Jan 16 10:49:24 2013 +
+
+sna: Restrict upload buffers to reduce sampler TLB misses
+
+Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
+
+commit ab36300a2086b94857f356612106ffbeb480
+Author: Chris Wilson ch...@chris-wilson.co.uk
+Date:   Wed Jan 16 09:17:59 2013 +
+
+sna: Correct DBG to refer to the actual tiling mode forced
+
+Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
+
+commit a6ecb6d31d8c543f38fca0be6b0ec82e59dcd8d2
+Author: Chris Wilson ch...@chris-wilson.co.uk
+Date:   Wed Jan 16 09:14:40 2013 +
+
+sna: Discard the batch if we are discarding the only buffer in it
+
+Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
+
+commit 26db2438e34feb8f28444bf7418869b4ecd870da
+Author: Chris Wilson ch...@chris-wilson.co.uk
+Date:   Wed Jan 16 09:00:21 2013 +
+
+sna: Fix computation of large object sizes to prevent overflow
+
+Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
+
+commit 54c1d97d5ab325874e1c7b2639e58111d7a6b93f
+Author: Chris Wilson ch...@chris-wilson.co.uk
+Date:   Wed Jan 16 09:00:04 2013 +
+
+sna: Add DBG for when we add the inplace hint
+
+Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
+
+commit 588c5aa6bca441d7c9305fe2fcf268e89b6b617d
+Author: Chris Wilson ch...@chris-wilson.co.uk
+Date:   Tue Jan 15 22:21:56 2013 +
+
+sna: Revert use of a separate CAN_CREATE_SMALL flag
+
+Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
+
+commit af85ffdec7047efa452d6bab3a0ee3889dd4f046
+Author: Chris Wilson ch...@chris-wilson.co.uk
+Date:   Tue Jan 15 20:37:11 2013 +
+
+sna: Avoid serialising on an move-to-cpu for an async operation
+
+Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
+
+commit d70be85dc723168a481c1955444afd951c4817bf
+Author: Chris Wilson ch...@chris-wilson.co.uk
+Date:   Tue Jan 15 20:16:45 2013 +
+
+sna: Assert that we never try to mix INPLACE / ASYNC hints for move-to-cpu
+
+Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
+
+commit 1287c3a24c277cb42930d8af2943b9f7b016f31d
+Author: Chris Wilson ch...@chris-wilson.co.uk
+Date:   Tue Jan 15 18:59:15 2013 +
+
+sna: Specialise sna_get_image_blt for clears to avoid sync readback
+
+Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
+
+commit da4972eec57e662b98a7abced6338ceb8a533a48
+Author: Chris Wilson ch...@chris-wilson.co.uk
+Date:   Tue Jan 15 18:34:07 2013 +
+
+sna/trapezoids: Avoid the multiply for an opaque source
+
+Signed-off-by: Chris Wilson 

xserver-xorg-video-intel: Changes to 'ubuntu'

2013-01-16 Thread Timo Aaltonen
 ChangeLog   |  963 
 NEWS|   27 +
 configure.ac|2 
 debian/changelog|4 
 src/intel.h |2 
 src/intel_batchbuffer.c |   41 +
 src/intel_display.c |1 
 src/intel_driver.c  |9 
 src/intel_options.c |2 
 src/intel_options.h |2 
 src/intel_uxa.c |2 
 src/sna/Makefile.am |2 
 src/sna/gen2_render.c   |  226 +++---
 src/sna/gen3_render.c   |  127 ++---
 src/sna/gen4_render.c   |  491 ++
 src/sna/gen4_source.c   |  179 
 src/sna/gen4_source.h   |   22 +
 src/sna/gen4_vertex.c   |  401 ++
 src/sna/gen4_vertex.h   |   27 -
 src/sna/gen5_render.c   |  328 --
 src/sna/gen5_render.h   |   63 +-
 src/sna/gen6_render.c   |  318 +++---
 src/sna/gen7_render.c   |  324 +++---
 src/sna/kgem.c  |  446 ++--
 src/sna/kgem.h  |   42 +
 src/sna/sna.h   |   26 -
 src/sna/sna_accel.c |  900 ++---
 src/sna/sna_blt.c   |   28 -
 src/sna/sna_damage.h|   28 -
 src/sna/sna_display.c   |   30 +
 src/sna/sna_dri.c   |  827 -
 src/sna/sna_driver.c|  173 +++
 src/sna/sna_glyphs.c|   53 +-
 src/sna/sna_gradient.c  |  100 +++-
 src/sna/sna_io.c|   33 +
 src/sna/sna_render.c|2 
 src/sna/sna_render.h|   18 
 src/sna/sna_render_inline.h |9 
 src/sna/sna_trapezoids.c|  146 ++
 src/sna/sna_video.c |5 
 40 files changed, 3648 insertions(+), 2781 deletions(-)

New commits:
commit e95ec737331fba9848b7a2359449779c2026ab52
Author: Timo Aaltonen tjaal...@ubuntu.com
Date:   Wed Jan 16 18:26:19 2013 +0200

update the changelogs

diff --git a/ChangeLog b/ChangeLog
index 4047d70..707dcfa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,966 @@
+commit dbf1cfec9cd4e9efe7650f2940c92b4e51214288
+Author: Chris Wilson ch...@chris-wilson.co.uk
+Date:   Wed Jan 16 12:20:48 2013 +
+
+2.20.18 release
+
+Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
+
+commit 47caffc50b5cdd288ad868fa9a697f0d4e2d28dc
+Author: Chris Wilson ch...@chris-wilson.co.uk
+Date:   Wed Jan 16 10:49:24 2013 +
+
+sna: Restrict upload buffers to reduce sampler TLB misses
+
+Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
+
+commit ab36300a2086b94857f356612106ffbeb480
+Author: Chris Wilson ch...@chris-wilson.co.uk
+Date:   Wed Jan 16 09:17:59 2013 +
+
+sna: Correct DBG to refer to the actual tiling mode forced
+
+Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
+
+commit a6ecb6d31d8c543f38fca0be6b0ec82e59dcd8d2
+Author: Chris Wilson ch...@chris-wilson.co.uk
+Date:   Wed Jan 16 09:14:40 2013 +
+
+sna: Discard the batch if we are discarding the only buffer in it
+
+Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
+
+commit 26db2438e34feb8f28444bf7418869b4ecd870da
+Author: Chris Wilson ch...@chris-wilson.co.uk
+Date:   Wed Jan 16 09:00:21 2013 +
+
+sna: Fix computation of large object sizes to prevent overflow
+
+Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
+
+commit 54c1d97d5ab325874e1c7b2639e58111d7a6b93f
+Author: Chris Wilson ch...@chris-wilson.co.uk
+Date:   Wed Jan 16 09:00:04 2013 +
+
+sna: Add DBG for when we add the inplace hint
+
+Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
+
+commit 588c5aa6bca441d7c9305fe2fcf268e89b6b617d
+Author: Chris Wilson ch...@chris-wilson.co.uk
+Date:   Tue Jan 15 22:21:56 2013 +
+
+sna: Revert use of a separate CAN_CREATE_SMALL flag
+
+Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
+
+commit af85ffdec7047efa452d6bab3a0ee3889dd4f046
+Author: Chris Wilson ch...@chris-wilson.co.uk
+Date:   Tue Jan 15 20:37:11 2013 +
+
+sna: Avoid serialising on an move-to-cpu for an async operation
+
+Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
+
+commit d70be85dc723168a481c1955444afd951c4817bf
+Author: Chris Wilson ch...@chris-wilson.co.uk
+Date:   Tue Jan 15 20:16:45 2013 +
+
+sna: Assert that we never try to mix INPLACE / ASYNC hints for move-to-cpu
+
+Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
+
+commit 1287c3a24c277cb42930d8af2943b9f7b016f31d
+Author: Chris Wilson ch...@chris-wilson.co.uk
+Date:   Tue Jan 15 18:59:15 2013 +
+
+sna: Specialise sna_get_image_blt for clears to avoid sync readback
+
+Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
+
+commit da4972eec57e662b98a7abced6338ceb8a533a48
+Author: Chris Wilson ch...@chris-wilson.co.uk
+Date:   Tue Jan 15 18:34:07 2013 +
+
+sna/trapezoids: Avoid the multiply for an opaque source
+
+Signed-off-by: Chris Wilson 

xserver-xorg-video-intel: Changes to 'upstream-experimental'

2013-01-16 Thread Timo Aaltonen
 NEWS|   27 +
 configure.ac|2 
 src/intel.h |2 
 src/intel_batchbuffer.c |   41 +-
 src/intel_display.c |1 
 src/intel_driver.c  |9 
 src/intel_options.c |2 
 src/intel_options.h |2 
 src/intel_uxa.c |2 
 src/sna/Makefile.am |2 
 src/sna/gen2_render.c   |  226 +++
 src/sna/gen3_render.c   |  127 ++
 src/sna/gen4_render.c   |  491 ++--
 src/sna/gen4_source.c   |  179 
 src/sna/gen4_source.h   |   22 +
 src/sna/gen4_vertex.c   |  401 +++
 src/sna/gen4_vertex.h   |   27 -
 src/sna/gen5_render.c   |  328 
 src/sna/gen5_render.h   |   63 +--
 src/sna/gen6_render.c   |  318 +++
 src/sna/gen7_render.c   |  324 +++
 src/sna/kgem.c  |  446 +++--
 src/sna/kgem.h  |   42 +-
 src/sna/sna.h   |   26 -
 src/sna/sna_accel.c |  900 +++-
 src/sna/sna_blt.c   |   28 -
 src/sna/sna_damage.h|   28 -
 src/sna/sna_display.c   |   30 +
 src/sna/sna_dri.c   |  827 +---
 src/sna/sna_driver.c|  173 
 src/sna/sna_glyphs.c|   53 +-
 src/sna/sna_gradient.c  |  100 +++-
 src/sna/sna_io.c|   33 +
 src/sna/sna_render.c|2 
 src/sna/sna_render.h|   18 
 src/sna/sna_render_inline.h |9 
 src/sna/sna_trapezoids.c|  146 ++-
 src/sna/sna_video.c |5 
 38 files changed, 2683 insertions(+), 2779 deletions(-)

New commits:
commit dbf1cfec9cd4e9efe7650f2940c92b4e51214288
Author: Chris Wilson ch...@chris-wilson.co.uk
Date:   Wed Jan 16 12:20:48 2013 +

2.20.18 release

Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk

diff --git a/NEWS b/NEWS
index 2e0f021..e9dd6e4 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,30 @@
+Release 2.20.18 (2013-01-16)
+
+A bunch of miscellaneous fixes for assertion failures and various
+performance regressions when mixing new methods for offloads, along with
+a couple of improvements for rendering with gen4.
+
+ * Remove use of packed unnormalized texture coordinates on gen4/5 as
+   these GPUs do not support unnormalized coordinates in the sampler.
+
+ * Remove dependency upon x86 asm for cross-building to unsupported
+   architectures.
+   https://bugs.gentoo.org/show_bug.cgi?id=448570
+
+ * Apply damage around PRIME updates in the correct order.
+
+ * Correctly read the initial backlight level for when the user
+   overrides UXA's choice of backlight controller.
+
+ * Throttle UXA and prevent it queuing work much faster than the GPU can
+   complete it. This realised itself in impossible performance figures and
+   the entire display freezing for several seconds whlist the GPU caught
+   up. One side effect is that it also caused the DDX to consume more
+   memory than was required as it could not recycle buffers quick
+   enough, and in some cases this produces a marked improvement in
+   performance. Also note on gen2/3 this requires a new libdrm [2.4.41]
+   in order to prevent a bug causing the DDX to fallback to swrast.
+
 Release 2.20.17 (2012-12-26)
 
 A minor update to prepare for co-operating with the kernel over managing
diff --git a/configure.ac b/configure.ac
index afe79ab..b3cf50f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,7 +23,7 @@
 # Initialize Autoconf
 AC_PREREQ([2.60])
 AC_INIT([xf86-video-intel],
-[2.20.17],
+[2.20.18],
 [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
 [xf86-video-intel])
 AC_CONFIG_SRCDIR([Makefile.am])

commit 47caffc50b5cdd288ad868fa9a697f0d4e2d28dc
Author: Chris Wilson ch...@chris-wilson.co.uk
Date:   Wed Jan 16 10:49:24 2013 +

sna: Restrict upload buffers to reduce sampler TLB misses

Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk

diff --git a/src/sna/sna_io.c b/src/sna/sna_io.c
index 368d880..f672c3e 100644
--- a/src/sna/sna_io.c
+++ b/src/sna/sna_io.c
@@ -691,14 +691,18 @@ fallback:
 sna-render.max_3d_size, sna-render.max_3d_size));
if (must_tile(sna, tmp.drawable.width, tmp.drawable.height)) {
BoxRec tile, stack[64], *clipped, *c;
-   int step;
+   int cpp, step;
 
 tile:
-   step = MIN(sna-render.max_3d_size - 4096 / 
dst-drawable.bitsPerPixel,
-  8*(MAXSHORT~63) / 
dst-drawable.bitsPerPixel);
-   while (step * step * 4  sna-kgem.max_upload_tile_size)
+   cpp = dst-drawable.bitsPerPixel / 8;
+   step = MIN(sna-render.max_3d_size,
+  (MAXSHORT~63) / cpp);
+   

Bug#689748: More info: glx failed, new Xorg.0.log

2013-01-16 Thread The Eclectic One

Hello again,

As of January 15, 2013, with a totally up-to-date wheezy system,
tried to run openscad and it didn't work

Xlib:  extension GLX missing on display :0.
Xlib:  extension GLX missing on display :0.
Xlib:  extension GLX missing on display :0.
Xlib:  extension GLX missing on display :0.
CGAL error: assertion violation!
Expression : object_list_
File   : src/OGL_helper.h
Line   : 517
Explanation: 
Refer to the bug-reporting instructions at http://www.cgal.org/bug_report.html
Aborted

So I went looking into the Xorg.0.log and found this:

[82.236] (EE) Failed to initialize GLX extension (Compatible NVIDIA X 
driver not found)

GLX worked fine under lenny with the old binary NVIDIA driver.  This particular
nvidia chip and the nouveau driver don't get along yet...


The complete Xorg.0.log follows:

[79.604] 
X.Org X Server 1.12.4
Release Date: 2012-08-27
[79.604] X Protocol Version 11, Revision 0
[79.604] Build Operating System: Linux 2.6.32-5-amd64 i686 Debian
[79.604] Current Operating System: Linux tashi 3.2.0-4-486 #1 Debian 
3.2.35-2 i686
[79.604] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-4-486 
root=UUID=e158a6d2-a704-48e9-8bdb-2f38417d8b41 ro quiet
[79.604] Build Date: 29 November 2012  08:52:43PM
[79.604] xorg-server 2:1.12.4-4 (Julien Cristau jcris...@debian.org) 
[79.604] Current version of pixman: 0.26.0
[79.604]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[79.604] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[79.604] (==) Log file: /var/log/Xorg.0.log, Time: Tue Jan 15 19:22:33 
2013
[79.656] (==) Using config file: /etc/X11/xorg.conf
[79.656] (==) Using system config directory /usr/share/X11/xorg.conf.d
[79.715] (==) ServerLayout X.org Configured
[79.715] (**) |--Screen Screen0 (0)
[79.715] (**) |   |--Monitor Monitor0
[79.727] (**) |   |--Device Card0
[79.727] (**) |--Screen Screen1 (1)
[79.727] (**) |   |--Monitor Monitor1
[79.728] (==) No device specified for screen Screen1.
Using the first device section listed.
[79.728] (**) |   |--Device Card0
[79.728] (**) |--Input Device Mouse0
[79.728] (**) |--Input Device Keyboard0
[79.728] (==) Automatically adding devices
[79.728] (==) Automatically enabling devices
[79.728] (WW) The directory 
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType does not exist.
[79.728]Entry deleted from font path.
[79.728] (WW) The directory 
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType does not exist.
[79.728]Entry deleted from font path.
[79.728] (**) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/cyrillic,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins,
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/cyrillic,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[79.728] (**) ModulePath set to /usr/lib/xorg/modules
[79.728] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 
'vmmouse' will be disabled.
[79.728] (WW) Disabling Mouse0
[79.728] (WW) Disabling Keyboard0
[79.728] (II) Loader magic: 0xb779d5a0
[79.728] (II) Module ABI versions:
[79.728]X.Org ANSI C Emulation: 0.4
[79.728]X.Org Video Driver: 12.1
[79.728]X.Org XInput driver : 16.0
[79.728]X.Org Server Extension : 6.0
[79.729] (--) PCI:*(0:1:0:0) 10de:0286:1028:0179 rev 161, Mem @ 
0xfc00/16777216, 0xf000/67108864, BIOS @ 0x/131072
[79.729] (II) Open ACPI successful (/var/run/acpid.socket)
[79.729] (II) extmod will be loaded. This was enabled by default and also 
specified in the config file.
[79.729] (II) dbe will be loaded. This was enabled by default and also 
specified in the config file.
[79.729] (II) glx will be loaded. This was enabled by default and also 
specified in the config file.
[79.729] (II) record will be loaded. This was enabled by default and also 
specified in the config file.
[79.729] (II) dri will be loaded. This was enabled by default and also 
specified in the config file.
[79.729] (II) dri2 will be loaded. This was enabled by default and also 
specified in the config file.
[79.729] (II) LoadModule: record
[79.773] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[79.781] (II) Module record: vendor=X.Org Foundation
[79.781]compiled for 1.12.4, module version = 1.13.0
[

Bug#689748: More info: glx failed, new Xorg.0.log

2013-01-16 Thread Sven Joachim
On 2013-01-16 22:24 +0100, The Eclectic One wrote:

 As of January 15, 2013, with a totally up-to-date wheezy system,
 tried to run openscad and it didn't work

 Xlib:  extension GLX missing on display :0.
 Xlib:  extension GLX missing on display :0.
 Xlib:  extension GLX missing on display :0.
 Xlib:  extension GLX missing on display :0.
 CGAL error: assertion violation!
 Expression : object_list_
 File   : src/OGL_helper.h
 Line   : 517
 Explanation: 
 Refer to the bug-reporting instructions at http://www.cgal.org/bug_report.html
 Aborted

 So I went looking into the Xorg.0.log and found this:

 [82.236] (EE) Failed to initialize GLX extension (Compatible NVIDIA X 
 driver not found)

It is not possible to mix Nvidia's OpenGL library or GLX extension with
the Nouveau X driver, this is mentioned in README.Debian.

 GLX worked fine under lenny with the old binary NVIDIA driver.  This 
 particular
 nvidia chip and the nouveau driver don't get along yet...

Yes, I would recommend to switch to the blob on GeForce 6100/6150 IGPs,
nouveau does not really work well there.

Cheers,
   Sven


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87mww8erbj@turtle.gmx.de