Bug#742307: xserver-xorg-video-radeon: Radeon HD 6570 ("Turks") - severe display corruption esp. after boot

2014-08-12 Thread Benjamin Moody
To follow up on this issue:

Another person who was having similar problems contacted me privately
(thank you!) and informed me that adding "radeon.dpm=1" to the kernel
command line seems to fix the problem.

I've done so, and it now seems to be working perfectly with kernel
3.13.10-1~bpo70+1.

However:

 - the stable kernel is still broken, as it doesn't support the
"radeon.dpm" option (and I have no idea how hard it would be to
backport);

 - the backports kernel is broken, too, since dpm is not enabled by
default for this card.

Benjamin


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/caak6p0vj474kw1fd1kakuttjyztgva8fr62y9l4vbg1u+jz...@mail.gmail.com



Bug#757982: xserver segmentation fault

2014-08-12 Thread Michel Dänzer
On 13.08.2014 09:37, repron wrote:
> 
> [  5884.303] (EE) Backtrace:
> [  5884.303] (EE) 0: /usr/bin/X (xorg_backtrace+0x49) [0x7fcf5241b3f9]
> [  5884.303] (EE) 1: /usr/bin/X (0x7fcf5227+0x1af469) [0x7fcf5241f469]
> [  5884.304] (EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (0x7fcf4ff78000+0x35480) 
> [0x7fcf4ffad480]
> [  5884.304] (EE) 3: /usr/bin/X (0x7fcf5227+0x12b70d) [0x7fcf5239b70d]
> [  5884.304] (EE) 4: /usr/bin/X (0x7fcf5227+0x55ee7) [0x7fcf522c5ee7]
> [  5884.304] (EE) 5: /usr/bin/X (0x7fcf5227+0x59f16) [0x7fcf522c9f16]
> [  5884.304] (EE) 6: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf5) 
> [0x7fcf4ff99b45]
> [  5884.304] (EE) 7: /usr/bin/X (0x7fcf5227+0x4549e) [0x7fcf522b549e]
> [  5884.304] (EE) 
> [  5884.304] (EE) Segmentation fault at address 0x0
> [  5884.304] (EE) 
> Fatal server error:
> [  5884.304] (EE) Caught signal 11 (Segmentation fault). Server aborting

It would be good to see a full backtrace from gdb, but this doesn't look
directly related to the driver.


-- 
Earthling Michel Dänzer|  http://www.amd.com
Libre software enthusiast  |Mesa and X developer


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/53eab9cd.7010...@daenzer.net



Bug#757982: xserver segmentation fault

2014-08-12 Thread maximilian attems
severity 757982 important
stop



On Wed, Aug 13, 2014 at 02:37:03AM +0200, repron wrote:
> Package: xserver-xorg-video-radeon
> Version: 1:7.4.0-2
> Severity: grave

and no a single failure is not grave.
 
> Dear Maintainer,
> 
> With installed packages:
>  xserver-xorg-video-radeon
>  xserver-xorg-video-ati 
>  firmware-linux-nonfree
> very often randomly X-server freezes with the error: segmentation fault.
> I use X-window system: xfce4. 
> This didn't happen when I had installed debian non-free driver: fglrx-driver
>  for my Radeon HD6670 graphic card.

thank your for your report, can you please test against 3.16 linux
from experimental (currently hold up due to upcoming Debian Installer
release) and see if you can reproduce after reboot?

-- 
maks


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140813004833.GA7735@gluino



Processed: Re: Bug#757982: xserver segmentation fault

2014-08-12 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> severity 757982 important
Bug #757982 [xserver-xorg-video-radeon] xserver segmentation fault
Severity set to 'important' from 'grave'
> stop
Stopping processing here.

Please contact me if you need assistance.
-- 
757982: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=757982
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: 
https://lists.debian.org/handler.s.c.140789092029096.transcr...@bugs.debian.org



Bug#757982: xserver segmentation fault

2014-08-12 Thread repron
Package: xserver-xorg-video-radeon
Version: 1:7.4.0-2
Severity: grave

Dear Maintainer,

With installed packages:
 xserver-xorg-video-radeon
 xserver-xorg-video-ati 
 firmware-linux-nonfree
very often randomly X-server freezes with the error: segmentation fault.
I use X-window system: xfce4. 
This didn't happen when I had installed debian non-free driver: fglrx-driver
 for my Radeon HD6670 graphic card.

Please, find the bug in the packages xserver-xorg-video-radeon, 
xserver-xorg-video-ati
or in modules: ati_drv.so, radeon_drv.so
to stop freezing the system. 
 
with regards
Richi

Xorg.0.log says:
---
[  4706.896] 
X.Org X Server 1.16.0
Release Date: 2014-07-16
[  4706.896] X Protocol Version 11, Revision 0
[  4706.896] Build Operating System: Linux 3.14-1-amd64 x86_64 Debian
[  4706.896] Current Operating System: Linux sypialnia 3.14-2-amd64 #1 SMP 
Debian 3.14.15-2 (2014-08-09) x86_64
[  4706.896] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.14-2-amd64 
root=UUID=e129d003-4dda-476d-bd58-b7b00c3e0abe ro initrd=/install/initrd.gz 
quiet
[  4706.896] Build Date: 17 July 2014  10:22:36PM
[  4706.896] xorg-server 2:1.16.0-1 (http://www.debian.org/support) 
[  4706.896] Current version of pixman: 0.32.6
[  4706.896]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[  4706.896] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  4706.897] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Aug 12 10:52:55 
2014
[  4706.897] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  4706.897] (==) No Layout section.  Using the first Screen section.
[  4706.897] (==) No screen section available. Using defaults.
[  4706.897] (**) |-->Screen "Default Screen Section" (0)
[  4706.897] (**) |   |-->Monitor ""
[  4706.897] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[  4706.897] (==) Automatically adding devices
[  4706.897] (==) Automatically enabling devices
[  4706.897] (==) Automatically adding GPU devices
[  4706.897] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  4706.897]Entry deleted from font path.
[  4706.897] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/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
[  4706.897] (==) ModulePath set to "/usr/lib/xorg/modules"
[  4706.897] (II) The server relies on udev to provide the list of input 
devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
[  4706.897] (II) Loader magic: 0x7fcf526a2d80
[  4706.897] (II) Module ABI versions:
[  4706.897]X.Org ANSI C Emulation: 0.4
[  4706.897]X.Org Video Driver: 18.0
[  4706.897]X.Org XInput driver : 21.0
[  4706.897]X.Org Server Extension : 8.0
[  4706.897] (II) xfree86: Adding drm device (/dev/dri/card0)
[  4706.899] (--) PCI:*(0:1:0:0) 1002:6758:1458:2545 rev 0, Mem @ 
0xd000/268435456, 0xfebe/131072, I/O @ 0xd000/256, BIOS @ 
0x/131072
[  4706.899] (II) LoadModule: "glx"
[  4706.899] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  4706.900] (II) Module glx: vendor="X.Org Foundation"
[  4706.900]compiled for 1.16.0, module version = 1.0.0
[  4706.900]ABI class: X.Org Server Extension, version 8.0
[  4706.900] (==) AIGLX enabled
[  4706.900] (==) Matched ati as autoconfigured driver 0
[  4706.900] (==) Matched ati as autoconfigured driver 1
[  4706.900] (==) Matched modesetting as autoconfigured driver 2
[  4706.900] (==) Matched fbdev as autoconfigured driver 3
[  4706.900] (==) Matched vesa as autoconfigured driver 4
[  4706.900] (==) Assigned the driver to the xf86ConfigLayout
[  4706.900] (II) LoadModule: "ati"
[  4706.900] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
[  4706.900] (II) Module ati: vendor="X.Org Foundation"
[  4706.900]compiled for 1.15.99.904, module version = 7.4.0
[  4706.900]Module class: X.Org Video Driver
[  4706.900]ABI class: X.Org Video Driver, version 18.0
[  4706.900] (II) LoadModule: "radeon"
[  4706.900] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
[  4706.900] (II) Module radeon: vendor="X.Org Foundation"
[  4706.900]compiled for 1.15.99.904, module version = 7.4.0
[  4706.900]Module class: X.Org Video Driver
[  4706.900]ABI class: X.Org Video Driver, version 18.0
[  4706.900] (II) LoadModule: "modesetting"
[  4706.900] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[  4706.900] (II) Module modesetting: vendor="X.Org Foundation"
[  4706.900]compiled for 1.15.99.904, module version = 0.9.0
[  4706.900]Module class: X.Org Video Drive

xserver-xorg-video-freedreno_1.2.0-1_armhf.changes is NEW

2014-08-12 Thread Debian FTP Masters
binary:xserver-xorg-video-freedreno is NEW.
binary:xserver-xorg-video-freedreno-dbg is NEW.
source:xserver-xorg-video-freedreno is NEW.

Your package has been put into the NEW queue, which requires manual action
from the ftpteam to process. The upload was otherwise valid (it had a good
OpenPGP signature and file hashes are valid), so please be patient.

Packages are routinely processed through to the archive, and do feel
free to browse the NEW queue[1].

If there is an issue with the upload, you will recieve an email from a
member of the ftpteam.

If you have any questions, you may reply to this email.

[1]: https://ftp-master.debian.org/new.html


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/e1xhe8y-0005ay...@franck.debian.org



Processing of xserver-xorg-video-freedreno_1.2.0-1_armhf.changes

2014-08-12 Thread Debian FTP Masters
xserver-xorg-video-freedreno_1.2.0-1_armhf.changes uploaded successfully to 
ftp-master.debian.org
along with the files:
  xserver-xorg-video-freedreno_1.2.0-1_armhf.deb
  xserver-xorg-video-freedreno-dbg_1.2.0-1_armhf.deb
  xserver-xorg-video-freedreno_1.2.0-1.dsc
  xserver-xorg-video-freedreno_1.2.0.orig.tar.gz
  xserver-xorg-video-freedreno_1.2.0-1.diff.gz

Greetings,

Your Debian queue daemon (running on host coccia.debian.org)


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/e1xhdq4-kh...@coccia.debian.org



Processing of xserver-xorg-video-freedreno_1.2.0-1_armhf.changes

2014-08-12 Thread Debian FTP Masters
/xserver-xorg-video-freedreno_1.2.0-1_armhf.changes is already present on 
target host:
xserver-xorg-video-freedreno_1.2.0-1.diff.gz
Either you already uploaded it, or someone else came first.
Job xserver-xorg-video-freedreno_1.2.0-1_armhf.changes removed.

Greetings,

Your Debian queue daemon (running on host franck.debian.org)


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/e1xhduc-0002hc...@franck.debian.org



xserver-xorg-video-freedreno: Changes to 'debian-unstable'

2014-08-12 Thread Maarten Bernardus Lankhorst
 debian/changelog|4 +--
 debian/compat   |2 -
 debian/control  |2 -
 debian/copyright|   33 
 debian/xserver-xorg-video-freedreno.install |2 -
 5 files changed, 38 insertions(+), 5 deletions(-)

New commits:
commit 952691dd3dfae5d298a1c0c9938f4261e79d8adc
Author: Maarten Lankhorst 
Date:   Tue Aug 12 16:48:49 2014 +0200

the conf file only gets installed with xorg-server 1.16 it seems

diff --git a/debian/xserver-xorg-video-freedreno.install 
b/debian/xserver-xorg-video-freedreno.install
index 3f6dd8f..20c2d67 100644
--- a/debian/xserver-xorg-video-freedreno.install
+++ b/debian/xserver-xorg-video-freedreno.install
@@ -1,3 +1,3 @@
 usr/lib/xorg/modules/drivers/*.so
 usr/share/man
-conf/42-freedreno.conf /usr/share/X11/xorg.conf.d/
+usr/share/X11/xorg.conf.d/

commit ea025022f7ba262bdef64e2c1806325f78995b4e
Author: Maarten Lankhorst 
Date:   Tue Aug 12 16:48:32 2014 +0200

rollback to debhelper 8, multiarched libdir is not a good idea

diff --git a/debian/compat b/debian/compat
index ec63514..45a4fb7 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-9
+8
diff --git a/debian/control b/debian/control
index ff97189..7a1d92c 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Debian X Strike Force 
 Uploaders: Maarten Lankhorst 
 Build-Depends:
- debhelper (>= 9),
+ debhelper (>= 8),
  dh-autoreconf,
  pkg-config,
  xserver-xorg-dev (>= 2:1.15.99),

commit 0749a46181935f4ebf79d0bb40910f869a98ca38
Author: Maarten Lankhorst 
Date:   Tue Aug 12 16:29:29 2014 +0200

first upload to unstable

diff --git a/debian/changelog b/debian/changelog
index a2554ee..33fe5f7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
-xserver-xorg-video-freedreno (1.2.0-1) UNRELEASED; urgency=medium
+xserver-xorg-video-freedreno (1.2.0-1) unstable; urgency=medium
 
   * Initial release. (Closes: #756021)
 
- -- Maarten Lankhorst   Thu, 26 Jun 2014 
10:51:37 +0200
+ -- Maarten Lankhorst   Tue, 12 Aug 2014 
16:15:36 +0200

commit 08df13ee53deb46917620c1b32f0e96ec18d09bc
Author: Maarten Lankhorst 
Date:   Wed Aug 6 13:11:53 2014 +0200

add a basic copyright file

diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 000..7de4e68
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,33 @@
+Format: http://dep.debian.net/deps/dep5
+Upstream-Name: xserver-xorg-video-freedreno
+Source: 
+
+Files: *
+Copyright: Copyright (c) 2009-2010, Code Aurora Forum. All rights reserved.
+   Copyright © 2008 Maarten Maathuis.
+   Copyright © 2007, 2012, 2013 Red Hat, Inc.
+   Copyright © 2012-2014 Rob Clark 
+License:
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ * Redistributions of source code must retain the above copyright
+   notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+   notice, this list of conditions and the following disclaimer in the
+   documentation and/or other materials provided with the distribution.
+ * Neither the name of Code Aurora nor
+   the names of its contributors may be used to endorse or promote
+   products derived from this software without specific prior written
+   permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NON-INFRINGEMENT ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+ OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+ OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/e1xhdjc-0005qv...@moszumanska.debian.org



Processing of xserver-xorg-video-freedreno_1.2.0-1_armhf.changes

2014-08-12 Thread Debian FTP Masters
xserver-xorg-video-freedreno_1.2.0-1_armhf.changes uploaded successfully to 
localhost
along with the files:
  xserver-xorg-video-freedreno_1.2.0-1_armhf.deb
  xserver-xorg-video-freedreno-dbg_1.2.0-1_armhf.deb
  xserver-xorg-video-freedreno_1.2.0-1.dsc
  xserver-xorg-video-freedreno_1.2.0.orig.tar.gz
  xserver-xorg-video-freedreno_1.2.0-1.diff.gz

Greetings,

Your Debian queue daemon (running on host franck.debian.org)


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/e1xhdfe-dl...@franck.debian.org



Bug#749728: (no subject)

2014-08-12 Thread Breno Leitao
Hi,

Sorry to bother you again, but I am wondering if you have chance to look at 
this bug.

Thank you,
Breno


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/53ea27f3.8060...@br.ibm.com



mesa: Changes to 'ubuntu'

2014-08-12 Thread Maarten Bernardus Lankhorst
 debian/changelog  |8 
 debian/patches/101_ubuntu_hidden_glname.patch |   10 --
 debian/patches/series |1 -
 3 files changed, 8 insertions(+), 11 deletions(-)

New commits:
commit bed40eeb540d129a317253c58abe39d4bbcf3ea1
Author: Maarten Lankhorst 
Date:   Tue Aug 12 14:45:13 2014 +0200

Drop 101_ubuntu_hidden_glname.patch.

8 years old patch supposedly to fix glx-tls, but if it was
important nowadays I would have expected it in upstream by now.

diff --git a/debian/changelog b/debian/changelog
index 78c8738..b70c0a1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+mesa (10.2.5-1ubuntu2) UNRELEASED; urgency=low
+
+  * Drop 101_ubuntu_hidden_glname.patch.
+- 8 years old patch supposedly to fix glx-tls, but if it was
+  important nowadays I would have expected it in upstream by now.
+
+ -- Maarten Lankhorst   Tue, 12 Aug 2014 
15:00:21 +0200
+
 mesa (10.2.5-1ubuntu1) utopic; urgency=low
 
   * Rebuild with llvm 3.5.
diff --git a/debian/patches/101_ubuntu_hidden_glname.patch 
b/debian/patches/101_ubuntu_hidden_glname.patch
deleted file mode 100644
index c1523f1..000
--- a/debian/patches/101_ubuntu_hidden_glname.patch
+++ /dev/null
@@ -1,10 +0,0 @@
 a/src/mapi/glapi/gen/gl_x86_asm.py
-+++ b/src/mapi/glapi/gen/gl_x86_asm.py
-@@ -176,7 +176,6 @@ class PrintGenericStubs(gl_XML.gl_print_
- print ''
- print '\t\tALIGNTEXT16'
- print '\t\tGLOBL GLNAME(gl_dispatch_functions_start)'
--print '\t\tHIDDEN(GLNAME(gl_dispatch_functions_start))'
- print 'GLNAME(gl_dispatch_functions_start):'
- print ''
- return
diff --git a/debian/patches/series b/debian/patches/series
index 8e13066..a35a1c2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,7 +2,6 @@
 x32-updates.diff
 
 # Ubuntu patches.
-101_ubuntu_hidden_glname.patch
 117-static-gallium.patch
 #118-dricore-gallium.patch
 120-hide-x86sse.patch


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/e1xhbgs-nh...@moszumanska.debian.org



mesa: Changes to 'debian-experimental'

2014-08-12 Thread Maarten Bernardus Lankhorst
 debian/mesa-vdpau-drivers.install.in |1 -
 debian/rules |8 ++--
 2 files changed, 6 insertions(+), 3 deletions(-)

New commits:
commit 17f74c680c54c85b9b95c8943fd2b9e32bc0f696
Author: Maarten Lankhorst 
Date:   Tue Aug 12 13:47:38 2014 +0200

Create a megablob for vdpau correctly too.

diff --git a/debian/mesa-vdpau-drivers.install.in 
b/debian/mesa-vdpau-drivers.install.in
deleted file mode 100644
index 50c703c..000
--- a/debian/mesa-vdpau-drivers.install.in
+++ /dev/null
@@ -1 +0,0 @@
-dri/usr/lib/${DEB_HOST_MULTIARCH}/vdpau/*.so* 
usr/lib/${DEB_HOST_MULTIARCH}/vdpau/
diff --git a/debian/rules b/debian/rules
index 01c56d1..74568e2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -272,8 +272,6 @@ binary-arch: install
set -e; for file in $(NOT_INSTALLED); do rm debian/tmp/$$file; done
# Files only in git, not in tarballs, OK to use rm -f here:
set -e; for file in $(NOT_INSTALLED_EITHER); do rm -f 
debian/tmp/$$file; done
-   # No need for these .so, they're just convenience libraries:
-   rm debian/tmp/dri/usr/lib/${DEB_HOST_MULTIARCH}/libglapi.so
# purge .la files
find debian/tmp/ -name '*.la' -exec rm '{}' ';'
 
@@ -281,6 +279,12 @@ binary-arch: install
install -m755 -d 
debian/libgl1-mesa-dri/usr/lib/${DEB_HOST_MULTIARCH}/dri/
mv debian/tmp/dri/usr/lib/${DEB_HOST_MULTIARCH}/dri/*_dri.so \
   debian/libgl1-mesa-dri/usr/lib/${DEB_HOST_MULTIARCH}/dri/
+
+   # Copy the hardlinked vdpau drivers correctly.
+   install -m755 -d 
debian/mesa-vdpau-drivers/usr/lib/${DEB_HOST_MULTIARCH}/vdpau/
+   mv debian/tmp/dri/usr/lib/${DEB_HOST_MULTIARCH}/vdpau/libvdpau*.so* \
+  debian/mesa-vdpau-drivers/usr/lib/${DEB_HOST_MULTIARCH}/vdpau/
+
dh_install -s --fail-missing
dh_installman -s
dh_lintian -s


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/e1xhazu-0007ys...@moszumanska.debian.org



Bug#754392: weston: segfault on exit when cms-colord.so is loaded

2014-08-12 Thread Laurent Bigonville
Package: weston
Followup-For: Bug #754392

Hi,

I ran weston using valgrind and the logs can be found at:

https://people.debian.org/~bigon/weston_vg.log (warning ~40M)

I'm seeing the following thing (in addition to the mesa leaks):

==13455== Syscall param sendmsg(msg.msg_iov[0]) points to uninitialised byte(s)
==13455==at 0x5B160CD: ??? (syscall-template.S:81)
==13455==by 0x4E3BFE8: wl_connection_flush.part.4 (in 
/usr/lib/x86_64-linux-gnu/libwayland-server.so.0.1.0)
==13455==by 0x4E3A1FF: wl_display_flush_clients (in 
/usr/lib/x86_64-linux-gnu/libwayland-server.so.0.1.0)
==13455==by 0x4E3A257: wl_display_run (in 
/usr/lib/x86_64-linux-gnu/libwayland-server.so.0.1.0)
==13455==by 0x411610: main (compositor.c:4316) 
==13455==  Address 0x64c1dd3 is 4,131 bytes inside a block of size 16,424 
alloc'd
==13455==at 0x4C284C0: malloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==13455==by 0x4E3C111: wl_connection_create (in 
/usr/lib/x86_64-linux-gnu/libwayland-server.so.0.1.0)
==13455==by 0x4E3A822: wl_client_create (in 
/usr/lib/x86_64-linux-gnu/libwayland-server.so.0.1.0)
==13455==by 0x40811E: weston_client_launch (compositor.c:306)
==13455==by 0x41CCF2: launch_input_method (text-backend.c:898)
==13455==by 0x41CE20: handle_seat_created (text-backend.c:935)
==13455==by 0x411774: wl_signal_emit (wayland-server.h:260)
==13455==by 0x416837: weston_seat_init (input.c:2221)
==13455==by 0x680B3BF: x11_input_create (compositor-x11.c:315)
==13455==by 0x680E2A5: x11_compositor_create (compositor-x11.c:1539)
==13455==by 0x680E84F: backend_init (compositor-x11.c:1646)
==13455==by 0x4112BB: main (compositor.c:4240)
==13455== 

When the plugin is NOT loaded
(https://people.debian.org/~bigon/weston_vg2.log) less mesa leaks and in
this case I actually see invalid writes.

Cheers,

Laurent Bigonville


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20140812122920.13653.17857.report...@soldur.bigon.be



mesa: Changes to 'ubuntu'

2014-08-12 Thread Maarten Bernardus Lankhorst
 debian/patches/fix-kwin.diff |   14 --
 debian/patches/series|1 -
 2 files changed, 15 deletions(-)

New commits:
commit 36f33a5834420064b1ec43c9f63b630d2a2f51cd
Author: Maarten Lankhorst 
Date:   Tue Aug 12 14:01:16 2014 +0200

drop now unneeded patch

diff --git a/debian/patches/fix-kwin.diff b/debian/patches/fix-kwin.diff
deleted file mode 100644
index c8ea49a..000
--- a/debian/patches/fix-kwin.diff
+++ /dev/null
@@ -1,14 +0,0 @@
-diff --git a/src/mesa/drivers/dri/i965/brw_context.c 
b/src/mesa/drivers/dri/i965/brw_context.c
-index e113654..5790680 100644
 a/src/mesa/drivers/dri/i965/brw_context.c
-+++ b/src/mesa/drivers/dri/i965/brw_context.c
-@@ -645,7 +645,7 @@ brwCreateContext(gl_api api,
- 
-brw_init_driver_functions(brw, &functions);
- 
--   if (notify_reset)
-+   if (notify_reset && brw->gen >= 6)
-   functions.GetGraphicsResetStatus = brw_get_graphics_reset_status;
- 
-struct gl_context *ctx = &brw->ctx;
-
diff --git a/debian/patches/series b/debian/patches/series
index af7bbd6..8e13066 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -8,5 +8,4 @@ x32-updates.diff
 120-hide-x86sse.patch
 egl-platform-mir.patch
 i915-dont-default-to-2.1.patch
-fix-kwin.diff
 llvm-3.5.diff


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/e1xhazu-0007zv...@moszumanska.debian.org



mesa: Changes to 'upstream-experimental'

2014-08-12 Thread Maarten Bernardus Lankhorst
Rebased ref, commits from common ancestor:
commit 3b48f6a4c06db57a7203d247994b05e55c9418c1
Author: Chris Forbes 
Date:   Sun Aug 3 19:55:55 2014 +1200

mesa: Add a new function for getting the nonconst sampler array index

If the array index is not a constant expression, the existing support
will assume a zero offset (giving us the sampler index of the base of
the array).

For dynamically uniform indexing of sampler arrays, we need both that
and the indexing expression.

Signed-off-by: Chris Forbes 
Reviewed-by: Matt Turner 
Reviewed-by: Ilia Mirkin 

diff --git a/src/mesa/program/sampler.cpp b/src/mesa/program/sampler.cpp
index e6532be..29a5408 100644
--- a/src/mesa/program/sampler.cpp
+++ b/src/mesa/program/sampler.cpp
@@ -134,3 +134,14 @@ _mesa_get_sampler_uniform_value(class ir_dereference 
*sampler,
return shader_program->UniformStorage[location].sampler[shader].index +
   getname.offset;
 }
+
+
+extern "C" class ir_rvalue *
+_mesa_get_sampler_array_nonconst_index(class ir_dereference *sampler)
+{
+   ir_dereference_array *deref_arr = sampler->as_dereference_array();
+   if (!deref_arr || deref_arr->array_index->as_constant())
+  return NULL;
+
+   return deref_arr->array_index;
+}
diff --git a/src/mesa/program/sampler.h b/src/mesa/program/sampler.h
index 22467e9..8b7c3b6 100644
--- a/src/mesa/program/sampler.h
+++ b/src/mesa/program/sampler.h
@@ -27,3 +27,6 @@ int
 _mesa_get_sampler_uniform_value(class ir_dereference *sampler,
struct gl_shader_program *shader_program,
const struct gl_program *prog);
+
+class ir_rvalue *
+_mesa_get_sampler_array_nonconst_index(class ir_dereference *sampler);

commit 1b4761bc27a50208dba2bc028c9835fed572e696
Author: Chris Forbes 
Date:   Sun Aug 3 17:57:05 2014 +1200

glsl: Allow dynamically uniform sampler array indexing with 4.0/gs5

V2: Expand comment to explain what dynamically uniform expressions are
about.

Signed-off-by: Chris Forbes 
Reviewed-by: Matt Turner 
Reviewed-by: Ilia Mirkin 

diff --git a/src/glsl/ast_array_index.cpp b/src/glsl/ast_array_index.cpp
index 50f9987..5ca85f6 100644
--- a/src/glsl/ast_array_index.cpp
+++ b/src/glsl/ast_array_index.cpp
@@ -213,6 +213,13 @@ _mesa_ast_array_index_to_hir(void *mem_ctx,
* as using a loop counter as the index to an array of samplers.  If the
* loop in unrolled, the code should compile correctly.  Instead, emit a
* warning.
+   *
+   * In GLSL 4.00 / ARB_gpu_shader5, this requirement is relaxed again to 
allow
+   * indexing with dynamically uniform expressions. Note that these are not
+   * required to be uniforms or expressions based on them, but merely that 
the
+   * values must not diverge between shader invocations run together. If 
the
+   * values *do* diverge, then the behavior of the operation requiring a
+   * dynamically uniform expression is undefined.
*/
   if (array->type->element_type()->is_sampler()) {
 if (!state->is_version(130, 100)) {
@@ -227,7 +234,7 @@ _mesa_ast_array_index_to_hir(void *mem_ctx,
  "expressions will be forbidden in GLSL 1.30 "
  "and later");
}
-} else {
+} else if (!state->is_version(400, 0) && 
!state->ARB_gpu_shader5_enable) {
_mesa_glsl_error(&loc, state,
 "sampler arrays indexed with non-constant "
 "expressions is forbidden in GLSL 1.30 and "

commit f525bd01d1430a5e33f57805f50fe4e89aa86ae8
Author: Ilia Mirkin 
Date:   Wed Aug 6 23:45:05 2014 -0400

nvc0/ir: describe the tex arguments for fermi/kepler

Signed-off-by: Ilia Mirkin 

diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp 
b/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp
index ade315d..7da9b0b 100644
--- a/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp
@@ -567,6 +567,31 @@ NVC0LoweringPass::handleTEX(TexInstruction *i)
const int lyr = arg - (i->tex.target.isMS() ? 2 : 1);
const int chipset = prog->getTarget()->getChipset();
 
+   // Arguments to the TEX instruction are a little insane. Even though the
+   // encoding is identical between SM20 and SM30, the arguments mean
+   // different things between Fermi and Kepler+. A lot of arguments are
+   // optional based on flags passed to the instruction. This summarizes the
+   // order of things.
+   //
+   // Fermi:
+   //  array/indirect
+   //  coords
+   //  sample
+   //  lod bias
+   //  depth compare
+   //  offsets:
+   //- tg4: 8 bits each, either 2 (1 offset reg) or 8 (2 offset reg)
+   //- other: 4 bits each, single reg
+   //
+   // Kepler+:
+   //  indirect handle
+   //  array (+ offsets for txd in upper 16 bits)
+   //