Bug#874715: Re%3A Bug#874715 mesa Games like Counter-Strike Global Offensive dont%0A start after upgrading mesa to 17.2.0-2

2017-09-28 Thread Dominik Kupschke
Yes I am fine with changing the severity to important.

This issue affects all of my steam games (> 100), so the migration of the 
packet to testing could be bad for a lot of people.

Regards
Dominik

signature.asc
Description: This is a digitally signed message part.


Bug#836453: xserver-xorg-dev: please move xorg-server.pc to a multiarch path

2017-09-28 Thread Manuel A. Fernandez Montecelo

(Copying explicitly pochu since he's the most active uploader in the
last year)

Hi,

2016-09-03 13:10 Helmut Grohne:

[...]
Hi,

xserver-xorg-dev makes the aforementioned affected packages fail to
cross build from source, because pkg-config does not consider[1]
/usr/lib/pkgconfig/ during cross compilation. In contrast, it always
considers /usr/lib/${DEB_HOST_MULTIARCH}/pkgconfig, so moving
xorg-server.pc there will make both native and cross builds happy.

The requested change is implemented in the attached patch for your
convenience.


How do you feel about applying this patch to help with cross-compilation
and (re)bootstrapping?

If it helps, I can prepare a NMU for it.


Cheers.
--
Manuel A. Fernandez Montecelo 



Processing of xorg-docs_1.7.1-1.1_amd64.changes

2017-09-28 Thread Debian FTP Masters
xorg-docs_1.7.1-1.1_amd64.changes uploaded successfully to localhost
along with the files:
  xorg-docs_1.7.1-1.1.dsc
  xorg-docs_1.7.1-1.1.diff.gz
  xorg-docs-core_1.7.1-1.1_all.deb
  xorg-docs_1.7.1-1.1_all.deb
  xorg-docs_1.7.1-1.1_amd64.buildinfo

Greetings,

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



Bug#840813: mark xorg-docs-core Multi-Arch: foreign

2017-09-28 Thread Manuel A. Fernandez Montecelo

Control: tags -1 + pending
Control: tags 858469 + pending


Hi,

2016-10-15 09:49 Helmut Grohne:

Package: xorg-docs-core
Version: 1:1.7.1-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap
Control: affects -1 + src:xterm

xterm cannot be cross built from source, because its build dependency on
xorg-docs-core is unsatisfiable. In general, Architecture: all packages
that are not marked Multi-Arch: foreign cannot satisfy cross
Build-Depends at all. I propose marking it Multi-Arch: foreign, because
it is Architecture: all, has no maintainer scripts or depdendencies. The
same holds for xorg-docs. Please consider applying the attached patch.


I prepared an NMU with this fix, plus the fix for the broken symlink in
#858469, plus a change in the VCS from 2016 that has not been released
yet.

debdiff attached.

I uploaded to delayed/15, but if you want me to cancel or if it's OK to
change it to happen sooner, please let me know.


Cheers.
--
Manuel A. Fernandez Montecelo 

diff -u xorg-docs-1.7.1/debian/changelog xorg-docs-1.7.1/debian/changelog
--- xorg-docs-1.7.1/debian/changelog
+++ xorg-docs-1.7.1/debian/changelog
@@ -1,3 +1,21 @@
+xorg-docs (1:1.7.1-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+
+  [ Manuel A. Fernandez Montecelo ]
+  * Remove d/xorg-docs.links (Closes: #858469)
+- /usr/share/X11/doc was broken for years (the file was last modified
+  in 2010) without anybody complaining, so rather than fixing the
+  destination it's probably better to just remove this legacy bit
+
+  [ Julien Cristau ]
+  * Switch xorg.freedesktop.org URLs in packaging to https.
+
+  [ Helmut Grohne ]
+  * Mark all packages Multi-Arch: foreign. (Closes: #840813)
+
+ -- Manuel A. Fernandez Montecelo   Fri, 29 Sep 2017 00:05:13 
+0200
+
 xorg-docs (1:1.7.1-1) unstable; urgency=medium
 
   * Team upload.
diff -u xorg-docs-1.7.1/debian/control xorg-docs-1.7.1/debian/control
--- xorg-docs-1.7.1/debian/control
+++ xorg-docs-1.7.1/debian/control
@@ -24,6 +24,7 @@
 Depends: ${misc:Depends}
 Suggests: xorg-docs
 Replaces: xorg-docs ( << 1:1.4-5 )
+Multi-Arch: foreign
 Description: Core documentation for the X.org X Window System
  This package contains core documentation for the X.org X Window
  System. This currently includes only a set of manpages which are
@@ -34,6 +35,7 @@
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Conflicts: xprt-xprintorg (<= 1:0.1.0.alpha1-10)
 Replaces: xspecs (<= 1:1.2+git20061105-2), xprt-xprintorg (<= 
1:0.1.0.alpha1-10)
+Multi-Arch: foreign
 Description: Miscellaneous documentation for the X.org X Window System
  This package contains various documents on the X.org X Window System
  including the release notes for the current version and instructions on
diff -u xorg-docs-1.7.1/debian/copyright xorg-docs-1.7.1/debian/copyright
--- xorg-docs-1.7.1/debian/copyright
+++ xorg-docs-1.7.1/debian/copyright
@@ -1,5 +1,5 @@
 This package was downloaded from
-http://xorg.freedesktop.org/releases/individual/doc/.
+https://xorg.freedesktop.org/releases/individual/doc/.
 
 Packager's note: Taken from the generated general/License.txt
 
diff -u xorg-docs-1.7.1/debian/watch xorg-docs-1.7.1/debian/watch
--- xorg-docs-1.7.1/debian/watch
+++ xorg-docs-1.7.1/debian/watch
@@ -4 +4 @@
-http://xorg.freedesktop.org/releases/individual/doc/ xorg-docs-(.*)\.tar\.gz
+https://xorg.freedesktop.orgreleases/individual/doc/ xorg-docs-(.*)\.tar\.gz
reverted:
--- xorg-docs-1.7.1/debian/xorg-docs.links
+++ xorg-docs-1.7.1.orig/debian/xorg-docs.links
@@ -1 +0,0 @@
-usr/share/doc/xorg-docs/docs usr/share/X11/doc


Processed: Re: mark xorg-docs-core Multi-Arch: foreign

2017-09-28 Thread Debian Bug Tracking System
Processing control commands:

> tags -1 + pending
Bug #840813 [xorg-docs-core] mark xorg-docs-core Multi-Arch: foreign
Added tag(s) pending.
> tags 858469 + pending
Bug #858469 [xorg-docs] xorg-docs: broken symlink: /usr/share/X11/doc -> 
../doc/xorg-docs/docs
Added tag(s) pending.

-- 
840813: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840813
858469: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=858469
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



xserver-xorg-video-amdgpu_1.4.0-1_source.changes ACCEPTED into unstable

2017-09-28 Thread Debian FTP Masters


Accepted:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Fri, 29 Sep 2017 00:17:42 +0300
Source: xserver-xorg-video-amdgpu
Binary: xserver-xorg-video-amdgpu xserver-xorg-video-amdgpu-dbg
Architecture: source
Version: 1.4.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian X Strike Force 
Changed-By: Timo Aaltonen 
Description:
 xserver-xorg-video-amdgpu - X.Org X server -- AMDGPU display driver
 xserver-xorg-video-amdgpu-dbg - X.Org X server -- AMDGPU display driver 
(debugging symbols)
Changes:
 xserver-xorg-video-amdgpu (1.4.0-1) unstable; urgency=medium
 .
   * New upstream release.
   * control: Bump libdrm-dev build-dep to 2.4.78 to match configure.ac.
Checksums-Sha1:
 5a84420cbb0df37d92a7792a07f8ceb704bf9ab7 2479 
xserver-xorg-video-amdgpu_1.4.0-1.dsc
 9f46658719194f82fc48c6e9f666f793322e1563 509756 
xserver-xorg-video-amdgpu_1.4.0.orig.tar.gz
 a152f1b36cb47453c869074bf4ed6fe4c6d61d61 5852 
xserver-xorg-video-amdgpu_1.4.0-1.diff.gz
Checksums-Sha256:
 be5418dccc2441830784a62d80e84fa6306105b35fd1bc530c8de4a89d1288d5 2479 
xserver-xorg-video-amdgpu_1.4.0-1.dsc
 61458988659f662e7973c8ce6a9158bbd2c9edd82c92eae8fa068245d9ddc482 509756 
xserver-xorg-video-amdgpu_1.4.0.orig.tar.gz
 3767b61a8ada1cd62037e33e8c57bb54aba527eae44c37d9e93203e100813071 5852 
xserver-xorg-video-amdgpu_1.4.0-1.diff.gz
Files:
 eca26ef8a626c1b2fb96b326469ea864 2479 x11 optional 
xserver-xorg-video-amdgpu_1.4.0-1.dsc
 121c3cc7555898e26d0e96306dd01544 509756 x11 optional 
xserver-xorg-video-amdgpu_1.4.0.orig.tar.gz
 dcedb73aff6f4b7fe24df9f77663776e 5852 x11 optional 
xserver-xorg-video-amdgpu_1.4.0-1.diff.gz

-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBCAAGBQJZzWcDAAoJEMtwMWWoiYTc5xEP/0MvMeYDGdNx/kOE1S8eRgkW
AUjJCCVHBzVHYCmOc5so7y0EkXiIVS2QwJQNDgFniF0fY5N7XEbx3G5FNMtnXcvo
YuxtgAhyZyvad5ReZnPmc1KjipZ7ASYKJQc12gBlVRsSGpLdI2M+DCnPOeDkDxlE
gPEDN3WFctPsaEsXzh3JhkfGzVUnmUSL/B/4PMRaCokwiUnmFFQUC0MG7q4esWDx
UdwuDtJV9lTzKK4PWi8zHp0XldcqYOuu4pEwl7ZrJW9s/bY8yJNv77yLEQBxpUfJ
K019UofhV4AuyoK/m3S416TtH6Y1d/LvU39KLiRvIH69OJiV/jvjk6tEIDyleORK
BgaaQAOsJWmrUpG8JEMR5dHJ/b+adgSJ/U3LBN/2SeII+swnlVI67fpbjEOytVyR
LqilH2k2d2Mc6h6KUOUigFyTWY3KWDx/pz0mxL1qt99NdHxEKH5iCOhKWTTNgZmb
r3q75zW0Nb8KKXMhbNYbpDh467U3ixTx0tUNtvuyPaUknB7nnXS1HqfAR0VTODg+
Rl7OlK9nn+KT2R5L4IGG3W29X8oTP4++qugz1OiaLOBHz4xKu5gVtOsOt1TNk/Rh
Hjbi2fjMJ16ByPMsjhitR477Z/u3IWZf2cjZuJ0wqCJ2Ck/vSVGayC09LLOUy6nN
BzRWNUkCZY9KWRkN6+W2
=HeRf
-END PGP SIGNATURE-


Thank you for your contribution to Debian.



Processing of xserver-xorg-video-amdgpu_1.4.0-1_source.changes

2017-09-28 Thread Debian FTP Masters
xserver-xorg-video-amdgpu_1.4.0-1_source.changes uploaded successfully to 
localhost
along with the files:
  xserver-xorg-video-amdgpu_1.4.0-1.dsc
  xserver-xorg-video-amdgpu_1.4.0.orig.tar.gz
  xserver-xorg-video-amdgpu_1.4.0-1.diff.gz

Greetings,

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



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

2017-09-28 Thread Timo Aaltonen
 ChangeLog|  644 +
 Makefile.am  |2 
 README   |   14 
 autogen.sh   |2 
 configure.ac |   15 
 debian/changelog |7 
 debian/control   |2 
 man/amdgpu.man   |   12 
 src/Makefile.am  |1 
 src/amdgpu_bo_helper.c   |   32 +
 src/amdgpu_bo_helper.h   |2 
 src/amdgpu_dri2.c|  183 ++
 src/amdgpu_drm_queue.c   |5 
 src/amdgpu_drv.h |   50 ++
 src/amdgpu_glamor.c  |   16 
 src/amdgpu_glamor.h  |4 
 src/amdgpu_glamor_wrappers.c |4 
 src/amdgpu_kms.c |  448 --
 src/amdgpu_list.h|   40 --
 src/amdgpu_pixmap.h  |   66 +++
 src/amdgpu_present.c |  119 ---
 src/amdgpu_probe.h   |   14 
 src/amdgpu_video.c   |2 
 src/compat-api.h |   70 
 src/drmmode_display.c|  729 +++
 src/drmmode_display.h|   99 -
 26 files changed, 1703 insertions(+), 879 deletions(-)

New commits:
commit 70e5fbf7ad23f7a600dd1a3139674c86348ec603
Author: Timo Aaltonen 
Date:   Fri Sep 29 00:17:51 2017 +0300

release to sid

diff --git a/debian/changelog b/debian/changelog
index 3e31667..4989ca8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,9 @@
-xserver-xorg-video-amdgpu (1.4.0-1) UNRELEASED; urgency=medium
+xserver-xorg-video-amdgpu (1.4.0-1) unstable; urgency=medium
 
   * New upstream release.
   * control: Bump libdrm-dev build-dep to 2.4.78 to match configure.ac.
 
- -- Timo Aaltonen   Thu, 28 Sep 2017 17:17:55 +0300
+ -- Timo Aaltonen   Fri, 29 Sep 2017 00:17:42 +0300
 
 xserver-xorg-video-amdgpu (1.3.0-1) unstable; urgency=medium
 

commit 12ff37303e7231e1e1fdf9a6e464f0a4510314d8
Author: Timo Aaltonen 
Date:   Fri Sep 29 00:17:02 2017 +0300

control: Bump libdrm-dev build-dep to 2.4.78 to match configure.ac.

diff --git a/debian/changelog b/debian/changelog
index 531a8ea..3e31667 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 xserver-xorg-video-amdgpu (1.4.0-1) UNRELEASED; urgency=medium
 
   * New upstream release.
+  * control: Bump libdrm-dev build-dep to 2.4.78 to match configure.ac.
 
  -- Timo Aaltonen   Thu, 28 Sep 2017 17:17:55 +0300
 
diff --git a/debian/control b/debian/control
index 8cd2499..f1204ac 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Build-Depends:
  debhelper (>= 9),
  dh-autoreconf,
  quilt,
- libdrm-dev (>= 2.4.72) [!hurd-i386],
+ libdrm-dev (>= 2.4.78) [!hurd-i386],
  libgl1-mesa-dev | libgl-dev,
  libgbm-dev,
  libudev-dev [linux-any],

commit 251726afe8362ad63a1743baab72aed1c8968dc0
Author: Timo Aaltonen 
Date:   Thu Sep 28 17:18:47 2017 +0300

update the changelogs

diff --git a/ChangeLog b/ChangeLog
index b01bdde..39d63c4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,647 @@
+commit cf1767a9a58a3ec95622a7b8ca661113e2148da9
+Author: Michel Dänzer 
+Date:   Fri Sep 8 16:19:48 2017 +0900
+
+Bump version for 1.4.0 release
+
+commit 114de91e3548cd30b709b19f1447f597e71175e0
+Author: Michel Dänzer 
+Date:   Thu Aug 31 17:59:08 2017 +0900
+
+Require xserver >= 1.13
+
+xserver 1.13.0 was released on September 6th, 2012, almost 5 years ago.
+
+This allows cleaning up a bunch of backwards compatibility code.
+
+(Ported from radeon commit 5cdd334b3402c2431deb3a87a8d04ef590da53ee)
+Reviewed-by: Alex Deucher 
+
+commit 456e5841233a8a79c23ad13649bbdaf8428b50f3
+Author: Michel Dänzer 
+Date:   Wed Aug 30 17:17:49 2017 +0900
+
+Use a timer for unreferencing the all-black FB
+
+The timer fires 1 second after LeaveVT. This gives the next DRM master
+enough time to set up scanout of its own buffers.
+
+Fixes prolonged intermittent black screen when switching from Xorg to
+e.g. the GDM Wayland mode login VT.
+
+Fixes: c16ff42f927d ("Make all active CRTCs scan out an all-black
+  framebuffer in LeaveVT")
+(Ported from radeon commit 9d9c565c84601f4c6c73ad769f86491088683f7a)
+Reviewed-by: Alex Deucher 
+
+commit 639076efb06cdf13a211a8df1acb00c3908992b9
+Author: Michel Dänzer 
+Date:   Tue Aug 29 17:24:18 2017 +0900
+
+Remove drmmode_scanout_free
+
+Not used anymore.
+
+(Cherry picked from radeon commit e4a3df19d588a4310fcb889ef34e205d0e92e4d7)
+Reviewed-by: Alex Deucher 
+
+commit c16ff42f927df805619a5255bc383841474daff8
+Author: Michel Dänzer 
+Date:   Tue Aug 29 17:06:58 2017 +0900
+
+

xserver-xorg-video-amdgpu: Changes to 'upstream-unstable'

2017-09-28 Thread Timo Aaltonen
 Makefile.am  |2 
 README   |   14 
 autogen.sh   |2 
 configure.ac |   15 
 man/amdgpu.man   |   12 
 src/Makefile.am  |1 
 src/amdgpu_bo_helper.c   |   32 +
 src/amdgpu_bo_helper.h   |2 
 src/amdgpu_dri2.c|  183 ++
 src/amdgpu_drm_queue.c   |5 
 src/amdgpu_drv.h |   50 ++
 src/amdgpu_glamor.c  |   16 
 src/amdgpu_glamor.h  |4 
 src/amdgpu_glamor_wrappers.c |4 
 src/amdgpu_kms.c |  448 --
 src/amdgpu_list.h|   40 --
 src/amdgpu_pixmap.h  |   66 +++
 src/amdgpu_present.c |  119 ---
 src/amdgpu_probe.h   |   14 
 src/amdgpu_video.c   |2 
 src/compat-api.h |   70 
 src/drmmode_display.c|  729 +++
 src/drmmode_display.h|   99 -
 23 files changed, 1051 insertions(+), 878 deletions(-)

New commits:
commit cf1767a9a58a3ec95622a7b8ca661113e2148da9
Author: Michel Dänzer 
Date:   Fri Sep 8 16:19:48 2017 +0900

Bump version for 1.4.0 release

diff --git a/configure.ac b/configure.ac
index 506c372..0896fb0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,7 +23,7 @@
 # Initialize Autoconf
 AC_PREREQ([2.60])
 AC_INIT([xf86-video-amdgpu],
-[1.3.99],
+[1.4.0],
 
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg=Driver/AMDgpu],
 [xf86-video-amdgpu])
 

commit 114de91e3548cd30b709b19f1447f597e71175e0
Author: Michel Dänzer 
Date:   Thu Aug 31 17:59:08 2017 +0900

Require xserver >= 1.13

xserver 1.13.0 was released on September 6th, 2012, almost 5 years ago.

This allows cleaning up a bunch of backwards compatibility code.

(Ported from radeon commit 5cdd334b3402c2431deb3a87a8d04ef590da53ee)
Reviewed-by: Alex Deucher 

diff --git a/configure.ac b/configure.ac
index 6d7cee4..506c372 100644
--- a/configure.ac
+++ b/configure.ac
@@ -75,7 +75,7 @@ PKG_CHECK_MODULES(LIBDRM_AMDGPU, [libdrm_amdgpu >= 2.4.72])
 PKG_CHECK_MODULES(GBM, [gbm])
 
 # Obtain compiler/linker options for the driver dependencies
-PKG_CHECK_MODULES(XORG, [xorg-server >= 1.10 xproto fontsproto xf86driproto 
$REQUIRED_MODULES])
+PKG_CHECK_MODULES(XORG, [xorg-server >= 1.13 xproto fontsproto xf86driproto 
$REQUIRED_MODULES])
 PKG_CHECK_MODULES(XEXT, [xextproto >= 7.0.99.1],
   HAVE_XEXTPROTO_71="yes"; AC_DEFINE(HAVE_XEXTPROTO_71, 1, 
[xextproto 7.1 available]),
   HAVE_XEXTPROTO_71="no")
@@ -180,12 +180,6 @@ AC_CHECK_DECL(xf86CursorResetCursor,
  [#include 
   #include ])
 
-AC_CHECK_DECL(xorg_list_init,
- [AC_DEFINE(HAVE_XORG_LIST, 1, [Have xorg_list API])], [],
- [#include 
- #include "xorg-server.h"
- #include "list.h"])
-
 AC_CHECK_DECL(GBM_BO_USE_LINEAR,
  [AC_DEFINE(HAVE_GBM_BO_USE_LINEAR, 1, [Have GBM_BO_USE_LINEAR])], 
[],
  [#include 
diff --git a/src/Makefile.am b/src/Makefile.am
index 7468bba..c23c87d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -62,7 +62,6 @@ EXTRA_DIST = \
amdgpu_drm_queue.h \
amdgpu_glamor.h \
amdgpu_drv.h \
-   amdgpu_list.h \
amdgpu_pixmap.h \
amdgpu_probe.h \
amdgpu_version.h \
diff --git a/src/amdgpu_bo_helper.c b/src/amdgpu_bo_helper.c
index ee52e0c..ba22122 100644
--- a/src/amdgpu_bo_helper.c
+++ b/src/amdgpu_bo_helper.c
@@ -79,13 +79,8 @@ struct amdgpu_buffer *amdgpu_alloc_pixmap_bo(ScrnInfoPtr 
pScrn, int width,
bo_use |= GBM_BO_USE_SCANOUT;
 
 #ifdef HAVE_GBM_BO_USE_LINEAR
-#ifdef CREATE_PIXMAP_USAGE_SHARED
-   if (usage_hint == CREATE_PIXMAP_USAGE_SHARED) {
-   bo_use |= GBM_BO_USE_LINEAR;
-   }
-#endif
-
-   if (usage_hint & AMDGPU_CREATE_PIXMAP_LINEAR) {
+   if (usage_hint == CREATE_PIXMAP_USAGE_SHARED ||
+   (usage_hint & AMDGPU_CREATE_PIXMAP_LINEAR)) {
bo_use |= GBM_BO_USE_LINEAR;
}
 #endif
@@ -394,7 +389,6 @@ struct amdgpu_buffer 
*amdgpu_gem_bo_open_prime(amdgpu_device_handle pDev,
return bo;
 }
 
-#ifdef AMDGPU_PIXMAP_SHARING
 
 Bool amdgpu_set_shared_pixmap_backing(PixmapPtr ppix, void *fd_handle)
 {
@@ -467,5 +461,3 @@ Bool amdgpu_set_shared_pixmap_backing(PixmapPtr ppix, void 
*fd_handle)
 
return ret;
 }
-
-#endif /* AMDGPU_PIXMAP_SHARING */
diff --git a/src/amdgpu_dri2.c b/src/amdgpu_dri2.c
index ccf5477..a8ccd22 100644
--- a/src/amdgpu_dri2.c
+++ b/src/amdgpu_dri2.c
@@ -48,15 +48,10 @@
 #include "amdgpu_bo_helper.h"
 #include "amdgpu_version.h"
 
-#include "amdgpu_list.h"
-
+#include 
 #include 
 #include 
 
-#if DRI2INFOREC_VERSION >= 9
-#define USE_DRI2_PRIME
-#endif
-
 

xserver-xorg-video-amdgpu: Changes to 'refs/tags/xserver-xorg-video-amdgpu-1.4.0-1'

2017-09-28 Thread Timo Aaltonen
Tag 'xserver-xorg-video-amdgpu-1.4.0-1' created by Timo Aaltonen 
 at 2017-09-28 21:26 +

Tagging upload of xserver-xorg-video-amdgpu 1.4.0-1 to unstable.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAABCAAGBQJZzWjxAAoJEMtwMWWoiYTcvDMP/iQPdG6JuEYtiME9BVY/DfJJ
pQPre7OUD97h2XsiXn+/xj8IZA/Hs58xiSuuVLNqlQOcllipgPnOfqeaOTnXQ/mx
ArzofibF12vG83hfFuNdVnirFWcKjI80I8IPHvcXo+gyt76B7tQJWqSJazxp+MLb
nMNQkl14u9TXNOyGbgQ/am06YKO2c4+9xeVuz4ngZE4dlJKkV+1H8QVGTezPOLdo
qJo4XLuMbI1Y5+BB1qO6J/Mjfh+9QBvWb4vhwyK9+uQrxfOy3YQ0l5YMRHx2w//T
kajBcRtpEc5LY9rYnKAysZ6mYEP76GN+kuLp6l99BnIDELAeqJiDgFIIHbL4WutJ
ml12fFQPv1P2jLBZb0yeiG/yLa9pMcuzTrU08uGLpjueubup2j8SXIjXZS2mFeG2
lIrgiJC8Ow1nCejesuICd1tNlJzILJE+Pt6jicS5mZs76XdTrD6uE2LnUJKFbYk+
mv5Tll/CWf6LSKwfGBo3SWRwXvvkHxkpiFclhDYuosPLWj5u6BDJkgtnhF36+tSg
rBMyEE1e2+teRZvGJHwUzOWTLpHtQmkYCEFjLgRfUPmiQAwVWPUi4TgE+n2yMmLd
SN5FakJ0Av/jmwJknBFDswDncztv/5sYX/WVDLYpfGRtLPaWmzCUC+4AwWozBq3O
CxuJX4fVO/NsV71lpc+i
=fhIS
-END PGP SIGNATURE-

Changes since xserver-xorg-video-amdgpu-1.3.0-1:
Adam Jackson (1):
  modesetting: Validate the atom for enum properties

Daniel Stone (1):
  Set correct DRM event context version

Eric Anholt (1):
  Use plain glamor_egl_create_textured_screen().

Martin Peres (1):
  modesetting: re-set the crtc's mode when link-status goes BAD

Michel Dänzer (45):
  Post-release version bump
  manpage: Don't put "'" at the beginning of a line
  Don't set modes before AMDGPUWindowExposures_oneshot is called
  Apply gamma correction to HW cursor
  Remove unused struct members from drmmode_display.h
  Don't enable DRI3 without glamor
  Simplify tracking of PRIME scanout pixmap
  Update URLs
  Use reference counting for tracking KMS framebuffer lifetimes
  Improve AMDGPUPreInitAccel_KMS log messages
  Increase reference count of FB assigned to drmmode_crtc->flip_pending
  Improve drmmode_fb_reference debugging code
  Only call drmmode_scanout_free for non-GPU screens in LeaveVT
  Use drmmode_crtc->scanout_id instead of 0 to check for scanout buffer
  If a TearFree flip fails, fall back to non-TearFree operation
  Add AC_CONFIG_MACRO_DIRS([m4]) to configure.ac
  Makefile.am: Set ACLOCAL_AMFLAGS = -I m4
  autogen.sh: Pass -f to autoreconf
  Only handle reflection in the driver with Xorg < 1.16
  Use root window (pixmap) instead of screen pixmap for scanout updates
  Add drmmode_crtc_can_flip helper
  Allow DRI page flipping when some CRTCs use separate scanout buffers
  Adapt to PixmapDirtyUpdateRec::src being a DrawablePtr
  Remove drmmode_crtc->scanout_destroy[] array
  Pass reference CRTC to amdgpu_do_pageflip directly
  Create drmmode_wait_vblank helper
  Create drmmode_crtc_wait_pending_event helper macro
  Wait for pending flips synchronously before turning off a CRTC
  Handle multiple "pending" Present flips
  Add source drawable parameter to amdgpu_scanout_do_update
  Pass extents to amdgpu_scanout_do_update
  Always allow Present page flipping with TearFree
  Always allow DRI2 page flipping with TearFree
  Consolidate amdgpu_scanout_flip_abort/handler helpers
  Use xorg_list_append for the DRM event list
  Make amdgpu_scanout_do_update take a PixmapPtr instead of a DrawablePtr
  Create amdgpu_pixmap_clear helper
  Create drmmode_set_mode helper
  Create amdgpu_pixmap_get_fb_ptr helper
  Create amdgpu_master_screen helper
  Make all active CRTCs scan out an all-black framebuffer in LeaveVT
  Remove drmmode_scanout_free
  Use a timer for unreferencing the all-black FB
  Require xserver >= 1.13
  Bump version for 1.4.0 release

Nicholas Molloy (1):
  Fix a misspelling of 'acceleration' in amdgpu_kms.c

Timo Aaltonen (4):
  Merge branch 'upstream-unstable' into debian-unstable
  update the changelogs
  control: Bump libdrm-dev build-dep to 2.4.78 to match configure.ac.
  release to sid

---
 ChangeLog|  644 +
 Makefile.am  |2 
 README   |   14 
 autogen.sh   |2 
 configure.ac |   15 
 debian/changelog |7 
 debian/control   |2 
 man/amdgpu.man   |   12 
 src/Makefile.am  |1 
 src/amdgpu_bo_helper.c   |   32 +
 src/amdgpu_bo_helper.h   |2 
 src/amdgpu_dri2.c|  183 ++
 src/amdgpu_drm_queue.c   |5 
 src/amdgpu_drv.h |   50 ++
 src/amdgpu_glamor.c  |   16 
 src/amdgpu_glamor.h  |4 
 src/amdgpu_glamor_wrappers.c |4 
 src/amdgpu_kms.c |  448 --
 src/amdgpu_list.h|   40 --
 src/amdgpu_pixmap.h  |   66 +++
 src/amdgpu_present.c |  119 ---
 src/amdgpu_probe.h   |   14 
 src/amdgpu_video.c   |

libglvnd_0.2.999+git20170802-5_source.changes ACCEPTED into unstable

2017-09-28 Thread Debian FTP Masters


Accepted:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Format: 1.8
Date: Thu, 28 Sep 2017 23:04:06 +0300
Source: libglvnd
Binary: libglvnd-dev libglvnd-core-dev libglvnd0 libegl1 libgles2 libgl1 
libglx0 libopengl0
Architecture: source
Version: 0.2.999+git20170802-5
Distribution: unstable
Urgency: medium
Maintainer: Debian X Strike Force 
Changed-By: Timo Aaltonen 
Description:
 libegl1- Vendor neutral GL dispatch library -- EGL support
 libgl1 - Vendor neutral GL dispatch library -- legacy GL support
 libgles2   - Vendor neutral GL dispatch library -- GLES support
 libglvnd-core-dev - Vendor neutral GL dispatch library -- core development 
files
 libglvnd-dev - Vendor neutral GL dispatch library -- development files
 libglvnd0  - Vendor neutral GL dispatch library
 libglx0- Vendor neutral GL dispatch library -- GLX support
 libopengl0 - Vendor neutral GL dispatch library -- OpenGL support
Changes:
 libglvnd (0.2.999+git20170802-5) unstable; urgency=medium
 .
   * control: Mark libglvnd-dev and -core-dev as M-A: same.
Checksums-Sha1:
 1f0b54fa1174b1ea17493f38ffea53f1cdb74c19 2386 
libglvnd_0.2.999+git20170802-5.dsc
 a66b691ed2fff8174ef4a9dd80c41e2f2cd85526 22653 
libglvnd_0.2.999+git20170802-5.diff.gz
Checksums-Sha256:
 f970f32555c240ec3b2f5e891eea8e6d80ebd435642d0afcd8384d97ff913f38 2386 
libglvnd_0.2.999+git20170802-5.dsc
 33fb20aa47f7e215435fb1833dd2a93ee3185e14bdbe7e159c1b43ff5f555f3d 22653 
libglvnd_0.2.999+git20170802-5.diff.gz
Files:
 69d5337e9cc9ea3e9e6a96ba311d32c1 2386 libs extra 
libglvnd_0.2.999+git20170802-5.dsc
 4cf38c5e69581a5b15f77e0460201bec 22653 libs extra 
libglvnd_0.2.999+git20170802-5.diff.gz

-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBCAAGBQJZzVXWAAoJEMtwMWWoiYTck3wP/1BPUXoZ8b8uh7T3oiXrD1Fy
Zl1uEUkJFB0UZSyIiXrxU+ufDDPO7d+8oZqEhaYCGPjUTVGUaVq2jzicKdt3P3hu
uDOOANJszbB+DaYZcq8uOglXXlQnlAoKgF2iJluCrbydSszOheLPsFl4w7zId+ti
xe71c2UNTHLxCsaWGUSLNblKyv9ZhIvx11iRLTMkFMmJKVAMd5le+FB/r9+tkzt4
RnOeKzmvQC51Z0m5jTLqB5CyXzE8JFJwka3VknFvcAV+8fQaSnOhMa+VFy177bKL
VamTnzL1yb/YYHkOKq7GmUnNJqfoDNnkiIBZOQpuhNQYCM4oGgWjB4a0ZLq7SbOP
GoQrRxXHS098395Z1/o6VXQpe4NyDr743slWCA8VUzo8f7lZnkaDuUBmQiSjvBau
QUCJkWSMmZLbNRGxq9RQ0Ab34Adr2xPGTHTa52aa0s+OOqgtKgOFHX8ohtobSk/5
K/02O95rdXCmqNuAm6i4+3UM2jUTzJs5rKW4Fl3+vnc+lMC61OOmoEFgDzkwiE/q
sJlSG4p9SeOY2Y8I3w+TFyof0V30miHH8FNy8E+18/8mfwknTVqBZL6R8SpGjuXK
NZqErSpkE2kLD0p1IjXyIVt2Ue8hXH2pjH2gLZGnPrVvFZw1+jvGncdoXBRlUdhQ
3Q8zs7jW12AlsDRFsOEP
=b4VK
-END PGP SIGNATURE-


Thank you for your contribution to Debian.



Bug#874656: libegl1-mesa: Makes team fortress 2 crash the entire machine

2017-09-28 Thread Salvo Tomaselli
I had downgraded my mesa. I wanted to try again but I can't upgrade it
because of some llvm breakage at the moment.

# aptitude dist-upgrade
I seguenti pacchetti NUOVI (NEW) saranno installati:
 libllvm5.0:i386{ab}
I seguenti pacchetti saranno RIMOSSI:
 libllvm3.9:i386{u}
I seguenti pacchetti saranno aggiornati:
 libgl1-mesa-dri libgl1-mesa-dri:i386 libllvm3.9 libopus0 login passwd
I seguenti pacchetti sono RACCOMANDATI ma NON verranno installati:
 libtxc-dxtn-s2tc
6 pacchetti aggiornati, 1 installati, 1 da rimuovere e 0 non aggiornati.
È necessario prelevare 42,7 MB di archivi. Dopo l'estrazione, verranno
occupati 51,9 MB.
I seguenti pacchetti hanno dipendenze non soddisfatte:
libllvm5.0 : Rompe: libllvm5.0:i386 (!= 1:5.0-2) but 1:5.0-1 is to be installed
libllvm5.0:i386 : Rompe: libllvm5.0 (!= 1:5.0-1) but 1:5.0-2 is installed
Le seguenti azioni permetteranno di soddisfare queste dipendenze:

Mantenere i seguenti pacchetti alla versione attuale:
1) libgl1-mesa-dri [13.0.6-1+b2 (now, testing)]
2) libgl1-mesa-dri:i386 [13.0.6-1+b2 (now, testing)]
3) libllvm3.9 [1:3.9.1-13 (now)]
4) libllvm3.9:i386 [1:3.9.1-13 (now, unstable)]
5) libllvm5.0:i386 [Non installato]

2017-09-28 19:46 GMT+02:00 Andreas Boll :
> On Sat, Sep 09, 2017 at 11:16:54PM +0300, Timo Aaltonen wrote:
>> On 09.09.2017 02:31, Salvo Tomaselli wrote:
>> > Well I had to downgrade to testing since it was making my machine crash.
>>
>> Doesn't crash my KBL now that I tested it. Try an older kernel maybe.
>
> Can you reproduce this issue with an older kernel (from snapshot.debian.org) 
> or a newer kernel (from experimental)?
>
> Thanks,
> Andreas



-- 
Salvo Tomaselli

"Io non mi sento obbligato a credere che lo stesso Dio che ci ha dotato di
senso, ragione ed intelletto intendesse che noi ne facessimo a meno."
-- Galileo Galilei

http://ltworf.github.io/ltworf/



Bug#873898: marked as done (trying to overwrite '/usr/lib/i386-linux-gnu/libEGL.so.1.0.0', which is also in package libegl1-mesa:i386 17.2.0~rc3-1)

2017-09-28 Thread Debian Bug Tracking System
Your message dated Thu, 28 Sep 2017 23:29:31 +0300
with message-id <82efc32e-678c-958a-e879-53ad5502f...@debian.org>
and subject line Re: Bug#873898: trying to overwrite 
'/usr/lib/i386-linux-gnu/libEGL.so.1.0.0', which is also in package 
libegl1-mesa:i386 17.2.0~rc3-1
has caused the Debian Bug report #873898,
regarding trying to overwrite '/usr/lib/i386-linux-gnu/libEGL.so.1.0.0', which 
is also in package libegl1-mesa:i386 17.2.0~rc3-1
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
873898: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=873898
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libegl1
Version: 0.2.999+git20170802-2

Unpacking libegl1:i386 (0.2.999+git20170802-2) ...
dpkg: error processing archive 
/tmp/apt-dpkg-install-m6F0gu/23-libegl1_0.2.999+git20170802-2_i386.deb 
(--unpack):
 trying to overwrite '/usr/lib/i386-linux-gnu/libEGL.so.1.0.0', which is also 
in package libegl1-mesa:i386 17.2.0~rc3-1
--- End Message ---
--- Begin Message ---
fixed 873898 0.2.999+git20170802-3
thanks

On 01.09.2017 06:45, 積丹尼 Dan Jacobson wrote:
> Package: libegl1
> Version: 0.2.999+git20170802-2
> 
> Unpacking libegl1:i386 (0.2.999+git20170802-2) ...
> dpkg: error processing archive 
> /tmp/apt-dpkg-install-m6F0gu/23-libegl1_0.2.999+git20170802-2_i386.deb 
> (--unpack):
>  trying to overwrite '/usr/lib/i386-linux-gnu/libEGL.so.1.0.0', which is also 
> in package libegl1-mesa:i386 17.2.0~rc3-1

should be fixed by 0.2.999+git20170802-3


-- 
t--- End Message ---


Processing of libglvnd_0.2.999+git20170802-5_source.changes

2017-09-28 Thread Debian FTP Masters
libglvnd_0.2.999+git20170802-5_source.changes uploaded successfully to localhost
along with the files:
  libglvnd_0.2.999+git20170802-5.dsc
  libglvnd_0.2.999+git20170802-5.diff.gz

Greetings,

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



libglvnd: Changes to 'debian-unstable'

2017-09-28 Thread Timo Aaltonen
 debian/changelog |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 58dd329c23f00da3bc2c45a77598f8664d745939
Author: Timo Aaltonen 
Date:   Thu Sep 28 23:04:29 2017 +0300

release to sid

diff --git a/debian/changelog b/debian/changelog
index 582df18..94c38b8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,8 @@
-libglvnd (0.2.999+git20170802-5) UNRELEASED; urgency=medium
+libglvnd (0.2.999+git20170802-5) unstable; urgency=medium
 
   * control: Mark libglvnd-dev and -core-dev as M-A: same.
 
- -- Timo Aaltonen   Thu, 28 Sep 2017 17:17:10 +0300
+ -- Timo Aaltonen   Thu, 28 Sep 2017 23:04:06 +0300
 
 libglvnd (0.2.999+git20170802-4) unstable; urgency=medium
 



libglvnd: Changes to 'refs/tags/libglvnd-0.2.999+git20170802-5'

2017-09-28 Thread Timo Aaltonen
Tag 'libglvnd-0.2.999+git20170802-5' created by Timo Aaltonen 
 at 2017-09-28 20:04 +

Tagging upload of libglvnd 0.2.999+git20170802-5 to unstable.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAABCAAGBQJZzVXSAAoJEMtwMWWoiYTcmugP/3vvYG/N0m93Gpxk0/0K1tH5
U7tHoP6Xn1zHH4Sg7ZOqarbeBv6LqsdXuBRBrNRw6PnmMNgsjQEnXJykUVxxwTY0
5ZZiJEbxoJ+k28pxXVWaHt9iy7FB6w6YGuoti6zC4KPwu7PFC1Rzqe7kvwwVVO4w
fNUzhP6RlAwiNjDp3nLw8CcPaArxGNspq95GPa8osySiKOgHKyWktETv3WC+Q7kl
gzDN1k+3MHjNSX4AjY9fmPsLq3/8t4njPgfeot1Hjwl0JB4e9wIJPj3UZTl1/BRk
WddcQMRxMt5iahqoCL2yPHOTRkz5jfW3BirJe51WCE0xWDAZRb3FILoQ4PGMIGLx
hPU0qDG6ClkfLV197f/NjeOidWXvqrATazIdErgxgmse0eDm/qG9GxT9HjRIzvyV
dwjm5tiR/QFe5oj7CB53Xof1IS2v0MpyqhCZAAm9PmJFD7piWHCQjfi6aX50dkXW
Pswc9T4cuA300IZCvdpRaUyNel42TuJ49i7f459T2gidSpFWBBuQP+2MIJyirV0Q
+6YapkXKtlgzQoGyDCfhkjIYuqD1TUA0sEWwT4YZ6e8KZFcUnSjWE+6DN66PEGPS
DFkBogD+mBiq4mLpGr/GR1fW8WPNUfafUnFMr6UMUYUJzWTsFcPe5UduwtzHBzx3
/iZGjRa2cCj/lQzz2aQ8
=j6ep
-END PGP SIGNATURE-

Changes since libglvnd-0.2.999+git20170802-4:
Timo Aaltonen (2):
  control: Mark libglvnd-dev and -core-dev as M-A: same.
  release to sid

---
 debian/changelog |6 ++
 debian/control   |2 ++
 2 files changed, 8 insertions(+)
---



Bug#876084: [libglvnd-dev] Can't upgrade libglvnd-dev anymore

2017-09-28 Thread Timo Aaltonen
On 18.09.2017 12:55, Bogdan Vatra wrote:
> Package: libglvnd-dev
> Severity: normal
> 
> --- Please enter the report below this line. ---
> When I'm trying to upgrade that package (which is needed by libgl1-mesa-dev)
> apt says that it depends on "libopengl0 (= 0.2.999+git20170802-4)" which it's 
> not available.

Sure is, but do you have libgl1-mesa-dev:i386 installed?



-- 
t



Bug#876220: marked as done (libglvnd0:amd64: KDE will not start due to undefined symbol)

2017-09-28 Thread Debian Bug Tracking System
Your message dated Thu, 28 Sep 2017 23:08:07 +0300
with message-id 
and subject line Re: Bug#876220: libglvnd0:amd64: KDE will not start due to 
undefined symbol
has caused the Debian Bug report #876220,
regarding libglvnd0:amd64: KDE will not start due to undefined symbol
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
876220: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=876220
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libglvnd0
Version: 0.2.999+git20170802-4
Severity: normal

Dear Maintainer,

An upgrade of libgl1:amd64 broken XServer and it cannot start.

[32.012] (EE) Failed to load /usr/lib/xorg/modules/extensions/libglx.so: /
usr/lib/x86_64-linux-gnu/libGL.so.1: undefined symbol: _glapi_tls_Current
[32.012] (EE) Failed to load module "glx" (loader failed, 7)

root@fusion:/home/matt# ldd -r /usr/lib/x86_64-linux-gnu/libGL.so.1
linux-vdso.so.1 (0x7ffdc5b64000)
libGLX.so.0 => /usr/lib/x86_64-linux-gnu/libGLX.so.0 
(0x7f810f231000)
libGLdispatch.so.0 => /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0 
(0x7f810ef63000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x7f810ed5f000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 
(0x7f810eb42000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7f810e7a5000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 
(0x7f810e465000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 
(0x7f810e253000)
/lib64/ld-linux-x86-64.so.2 (0x7f810f6ee000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 
(0x7f810e02b000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 
(0x7f810de27000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 
(0x7f810dc21000)
libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x7f810da0c000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x7f810d804000)
undefined symbol: _glapi_tls_Current(/usr/lib/x86_64-linux-gnu/libGL.so.1)

-- System Information:
Debian Release: buster/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), 
(500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.12.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libglvnd0:amd64 depends on:
ii  libc6  2.24-17

libglvnd0:amd64 recommends no packages.

libglvnd0:amd64 suggests no packages.

-- no debconf information
--- End Message ---
--- Begin Message ---
X-CrossAssassin-Score: 82018--- End Message ---


Bug#873523: libinput-bin: After resuming touchpad is enabled although in settings is disabled

2017-09-28 Thread Iain Lane
Control: tags -1 + patch confirmed upstream

On Mon, Aug 28, 2017 at 07:00:58PM +0100, Benny Arana wrote:
>* What led up to the situation?
>   After switching to wayland (since last release in testing), the 
> suspend-resume cycle re-enables the touchpad.
>   I disabled the touchpad in 'mouse & touchpad' settings but after 
> resuming from suspending the touchpad is enabled although in settings it 
> remains disabled.
> 
>   Just to test if all settings are being ignored or just the touchpad 
> enable/disable config, I changed the default values to see if the config was 
> going back to them but this is not the case. Just the touchpad enable/disable 
> config is being ignored. 

[...]

I just tracked this down for Ubuntu - it's fixed upstream. Here's a
patch for the libinput maintainers to apply if they'd like.

Cheers,

-- 
Iain Lane  [ i...@orangesquash.org.uk ]
Debian Developer   [ la...@debian.org ]
Ubuntu Developer   [ la...@ubuntu.com ]
From 03f13ce6e854b3ff5d4b8971405a97afd66eef8e Mon Sep 17 00:00:00 2001
From: Peter Hutterer 
Date: Tue, 5 Sep 2017 14:38:53 +1000
Subject: [PATCH libinput] touchpad: don't resume a disabled touchpad

Signed-off-by: Peter Hutterer 
---
 src/evdev-mt-touchpad.c | 44 ++--
 test/test-lid.c | 78 +
 2 files changed, 107 insertions(+), 15 deletions(-)

diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c
index 5b8fb1ec..c0a78255 100644
--- a/src/evdev-mt-touchpad.c
+++ b/src/evdev-mt-touchpad.c
@@ -1426,6 +1426,31 @@ tp_resume(struct tp_dispatch *tp, struct evdev_device *device)
 	}
 }
 
+#define NO_EXCLUDED_DEVICE NULL
+static void
+tp_resume_conditional(struct tp_dispatch *tp,
+		  struct evdev_device *device,
+		  struct evdev_device *excluded_device)
+{
+	if (tp->sendevents.current_mode == LIBINPUT_CONFIG_SEND_EVENTS_DISABLED)
+		return;
+
+	if (tp->sendevents.current_mode ==
+		LIBINPUT_CONFIG_SEND_EVENTS_DISABLED_ON_EXTERNAL_MOUSE) {
+		struct libinput_device *dev;
+
+		list_for_each(dev, >base.seat->devices_list, link) {
+			struct evdev_device *d = evdev_device(dev);
+			if (d != excluded_device &&
+			(d->tags & EVDEV_TAG_EXTERNAL_MOUSE)) {
+return;
+			}
+		}
+	}
+
+	tp_resume(tp, device);
+}
+
 static void
 tp_trackpoint_timeout(uint64_t now, void *data)
 {
@@ -1667,7 +1692,7 @@ tp_lid_switch_event(uint64_t time, struct libinput_event *event, void *data)
 	swev = libinput_event_get_switch_event(event);
 	switch (libinput_event_switch_get_switch_state(swev)) {
 	case LIBINPUT_SWITCH_STATE_OFF:
-		tp_resume(tp, tp->device);
+		tp_resume_conditional(tp, tp->device, NO_EXCLUDED_DEVICE);
 		evdev_log_debug(tp->device, "lid: resume touchpad\n");
 		break;
 	case LIBINPUT_SWITCH_STATE_ON:
@@ -1722,7 +1747,6 @@ tp_interface_device_removed(struct evdev_device *device,
 			struct evdev_device *removed_device)
 {
 	struct tp_dispatch *tp = (struct tp_dispatch*)device->dispatch;
-	struct libinput_device *dev;
 
 	if (removed_device == tp->buttons.trackpoint) {
 		/* Clear any pending releases for the trackpoint */
@@ -1749,19 +1773,9 @@ tp_interface_device_removed(struct evdev_device *device,
 		tp->lid_switch.lid_switch = NULL;
 	}
 
-	if (tp->sendevents.current_mode !=
-	LIBINPUT_CONFIG_SEND_EVENTS_DISABLED_ON_EXTERNAL_MOUSE)
-		return;
-
-	list_for_each(dev, >base.seat->devices_list, link) {
-		struct evdev_device *d = evdev_device(dev);
-		if (d != removed_device &&
-		(d->tags & EVDEV_TAG_EXTERNAL_MOUSE)) {
-			return;
-		}
-	}
-
-	tp_resume(tp, device);
+	/* removed_device is still in the device list at this point, so we
+	 * need to exclude it from the tp_resume_conditional */
+	tp_resume_conditional(tp, device, removed_device);
 }
 
 static inline void
diff --git a/test/test-lid.c b/test/test-lid.c
index 4bf4c059..7e42f53d 100644
--- a/test/test-lid.c
+++ b/test/test-lid.c
@@ -342,6 +342,81 @@ START_TEST(lid_disable_touchpad_already_open)
 }
 END_TEST
 
+START_TEST(lid_dont_resume_disabled_touchpad)
+{
+	struct litest_device *sw = litest_current_device();
+	struct litest_device *touchpad;
+	struct libinput *li = sw->libinput;
+
+	touchpad = lid_init_paired_touchpad(li);
+	litest_disable_tap(touchpad->libinput_device);
+	libinput_device_config_send_events_set_mode(touchpad->libinput_device,
+		LIBINPUT_CONFIG_SEND_EVENTS_DISABLED);
+	litest_drain_events(li);
+
+	/* switch is on - no events */
+	litest_lid_action(sw, LIBINPUT_SWITCH_STATE_ON);
+	litest_assert_only_typed_events(li, LIBINPUT_EVENT_SWITCH_TOGGLE);
+
+	litest_touch_down(touchpad, 0, 50, 50);
+	litest_touch_move_to(touchpad, 0, 50, 50, 70, 50, 10, 1);
+	litest_touch_up(touchpad, 0);
+	litest_assert_empty_queue(li);
+
+	/* switch is off - motion events */
+	litest_lid_action(sw, LIBINPUT_SWITCH_STATE_OFF);
+	

Processed: Re: Bug#873523: libinput-bin: After resuming touchpad is enabled although in settings is disabled

2017-09-28 Thread Debian Bug Tracking System
Processing control commands:

> tags -1 + patch confirmed upstream
Bug #873523 [libinput-bin] libinput-bin: After resuming touchpad is enabled 
although in settings is disabled
Added tag(s) upstream, patch, and confirmed.

-- 
873523: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=873523
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#874656: libegl1-mesa: Makes team fortress 2 crash the entire machine

2017-09-28 Thread Andreas Boll
On Sat, Sep 09, 2017 at 11:16:54PM +0300, Timo Aaltonen wrote:
> On 09.09.2017 02:31, Salvo Tomaselli wrote:
> > Well I had to downgrade to testing since it was making my machine crash.
> 
> Doesn't crash my KBL now that I tested it. Try an older kernel maybe.

Can you reproduce this issue with an older kernel (from snapshot.debian.org) or 
a newer kernel (from experimental)?

Thanks,
Andreas


signature.asc
Description: PGP signature


Bug#874715: mesa: Games like Counter-Strike Global Offensive dont start after upgrading mesa to 17.2.0-2

2017-09-28 Thread Andreas Boll
(Adding original bug reporter)

Is this still an issue with mesa 17.2.1?
Could the following be related to your issue?

On Fri, Sep 15, 2017 at 08:01:54AM +0200, Gert Wollny wrote:
> Since you are using radeonsi you may have a conflict between the system
>  libstdc++ and the one shipped with the steam runtime (Although this
> usually meant Steam doesn't start at all). 
> 
> cf: https://github.com/ValveSoftware/steam-for-linux/issues/3273


Could you please attach the output from LIBGL_DEBUG=verbose glxinfo
and if possible replace mesa-utils:amd64 with mesa-utils:i386 and run
glxinfo again and attach its output too.

Thanks,
Andreas


signature.asc
Description: PGP signature


Bug#869746: runs under strace fine

2017-09-28 Thread 積丹尼 Dan Jacobson
> "TA" == Timo Aaltonen  writes:
TA> No you were not, there was nothing that would have pulled it in. First
TA> mesa upload to do so was 17.2.0~rc3-2 which was uploaded Aug 10th and
TA> was accepted there on the 28th...

OK good.
I wish I knew what package to assign this bug to.



libglvnd: Changes to 'debian-unstable'

2017-09-28 Thread Timo Aaltonen
 debian/changelog |6 ++
 debian/control   |2 ++
 2 files changed, 8 insertions(+)

New commits:
commit 11afcf6d6a417e25699e772db07beec1a7cc5ba7
Author: Timo Aaltonen 
Date:   Thu Sep 28 17:17:36 2017 +0300

control: Mark libglvnd-dev and -core-dev as M-A: same.

diff --git a/debian/changelog b/debian/changelog
index 87253af..582df18 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libglvnd (0.2.999+git20170802-5) UNRELEASED; urgency=medium
+
+  * control: Mark libglvnd-dev and -core-dev as M-A: same.
+
+ -- Timo Aaltonen   Thu, 28 Sep 2017 17:17:10 +0300
+
 libglvnd (0.2.999+git20170802-4) unstable; urgency=medium
 
   * control: libglvnd-dev Breaks/Replaces old libegl1-mesa-dev/libgl1-
diff --git a/debian/control b/debian/control
index 4ce8714..c508f76 100644
--- a/debian/control
+++ b/debian/control
@@ -36,6 +36,7 @@ Replaces:
  libegl1-mesa-dev (<< 17.2.0~rc4-1),
  libgl1-mesa-dev (<< 17.2.0~rc4-1),
  libgles2-mesa-dev (<< 17.2.0~rc4-1),
+Multi-Arch: same
 Description: Vendor neutral GL dispatch library -- development files
  This is an implementation of the vendor-neutral dispatch layer for
  arbitrating OpenGL API calls between multiple vendors on a per-screen basis.
@@ -49,6 +50,7 @@ Depends:
  ${misc:Depends},
 Breaks: libglvnd-dev (<< 0.2.999+git20170201-1)
 Replaces: libglvnd-dev (<< 0.2.999+git20170201-1)
+Multi-Arch: same
 Description: Vendor neutral GL dispatch library -- core development files
  This is an implementation of the vendor-neutral dispatch layer for
  arbitrating OpenGL API calls between multiple vendors on a per-screen basis.



Bug#869746: runs under strace fine

2017-09-28 Thread Timo Aaltonen
On 28.09.2017 17:01, 積丹尼 Dan Jacobson wrote:
>> "TA" == Timo Aaltonen  writes:
> 
> TA> You filed the bug before libglvnd was in sid, so it has nothing to do
> TA> with the issue.
> 
> I probably have been using it since it was in experimental.

No you were not, there was nothing that would have pulled it in. First
mesa upload to do so was 17.2.0~rc3-2 which was uploaded Aug 10th and
was accepted there on the 28th...



-- 
t



Bug#869746: runs under strace fine

2017-09-28 Thread 積丹尼 Dan Jacobson
> "TA" == Timo Aaltonen  writes:

TA> You filed the bug before libglvnd was in sid, so it has nothing to do
TA> with the issue.

I probably have been using it since it was in experimental.



Bug#869746: runs under strace fine

2017-09-28 Thread Timo Aaltonen
On 27.09.2017 17:05, 積丹尼 Dan Jacobson wrote:
> Oh... and indeed the bug also happens when epiphany is not already
> running too! Sorry I didn't notice it until now.

You filed the bug before libglvnd was in sid, so it has nothing to do
with the issue.


-- 
t