Bug#941161: libgl1-mesa-dri: SIGSEGV on starting X server with libgl1-mesa-dri >18.3.6-2, <=19.1.6-1

2019-09-25 Thread Timo Aaltonen
On 25.9.2019 22.01, Jim Joyce wrote:
> Package: libgl1-mesa-dri
> Version: 19.1.6-1
> Severity: important
> 
> Dear Maintainer,
> 
> (This is my first Debian bug report, so apologies if I make any mistakes)
> 
> Recently, I performed a "cautious upgrade" of my system using Muon package 
> manager. This affected a number of packages, including libgl1-mesa-dri.
> After this, I found that my system would freeze when booting into X and/or 
> SDDM, just displaying a white underscore on a black screen, 
> and not even permitting switching terminal with ctrl-alt-F*.
> 
> I remoted into my system, and downgraded the various packages affected, using 
> .deb files downloaded from snapshot.debian.org, in order
> to get my computer usable again. After doing this, X could boot again. I 
> experimented with upgrading and downgrading various packages in order 
> to reproduce the issue; it seems that the faulty package is libgl1-mesa-dri, 
> of which I have both :amd64 and :i386 installed, and they both depend
> on each other so I can't test them individually.
> 
> With these packages at version 19.1.6-1, the X server crashes with a SIGSEGV 
> every time; at 18.3.6-2, they work fine, so presumably the issue
> is in a version between these two, althoug these are the only ones I've 
> tried. The stacktrace from X should be attached below; I didn't see anything
> paticuarly interesting in dmesg, and I'm not sure if Mesa keeps it's own log 
> files anywhere so I've not been able to check them.
> 
> I'm happy to provide more information if required; I have basic knowledge 
> with debugging software, although I'd need a bit of guidance about where
> to start.
> 
> Thanks,
> Jim Joyce
This can't do any good on a system with a Radeon (installing nvidia):

Start-Date: 2019-09-25  19:28:47
Commandline: apt --fix-broken install
Requested-By: jimj316 (1000)
Install: libgles1:i386 (1.1.0-1+b1, automatic), libgles2:i386
(1.1.0-1+b1, automatic), glx-alternative-nvidia:amd64 (1.0.0,
automatic), nvidia-alternative:amd64 (430.50-1, automatic)
Upgrade: libnvidia-glvkspirv:amd64 (418.88-1, 430.50-1),
libnvidia-glvkspirv:i386 (418.88-1, 430.50-1), libgles-nvidia1:i386
(418.88-1, 430.50-1), libgles-nvidia2:i386 (418.88-1, 430.50-1),
nvidia-vulkan-icd:amd64 (418.88-1, 430.50-1), nvidia-vulkan-icd:i386
(418.88-1, 430.50-1), nvidia-egl-icd:i386 (418.88-1, 430.50-1),
libgl1-nvidia-glvnd-glx:i386 (418.88-1, 430.50-1), libglx-nvidia0:amd64
(418.88-1, 430.50-1), libglx-nvidia0:i386 (418.88-1, 430.50-1),
libegl-nvidia0:amd64 (418.88-1, 430.50-1), libegl-nvidia0:i386
(418.88-1, 430.50-1), nvidia-driver-libs:i386 (418.88-1, 430.50-1),
libnvidia-glcore:amd64 (418.88-1, 430.50-1), libnvidia-glcore:i386
(418.88-1, 430.50-1), libnvidia-eglcore:amd64 (418.88-1, 430.50-1),
libnvidia-eglcore:i386 (418.88-1, 430.50-1)
End-Date: 2019-09-25  19:29:56

though you had glx-diversions already installed before this meaning you
probably had amdgpu-pro installed, and we don't support that.


-- 
t



Bug#940626: uxterm: please lessen dependency on locales

2019-09-25 Thread Thorsten Glaser
On Tue, 17 Sep 2019, Thomas Dickey wrote:

> > Please apply the following patch (which is _not_ suitable for
> > upstream as the C.UTF-8 locale is my invention and not shipped
> 
> really?

Sure, introduced in eglibc 2.13-1, see #609306 for 240 lynx screen
pages of 113x34 for the discussions around that following my fea‐
ture request for such locale.

> (I forget exactly, but my first sighting of this was from the Cygwin crowd -
> there was a long thread on austin-review a few years later).

After reading your eMail I thought “huh, Cygwin doesn’t have locale
support *at all*” and checked and apparently, they added it in the
1.7 version, which is much more recent (and which I’ve never installed).

> > in all operating systems):
> 
> still, a bad idea regarding interoperability (in case one uses ssh,
> passing the locale settings from one machine to another).

I’ve had enough grief with en_US.{utf8,UTF-8} in mksh’s testsuite
to request a C.UTF-8 locale. Considering “most” remote systems are
Debian or comparable¹ nowadays, locales-all is not normally installed
and d-i does not generate the en_US.UTF-8 locale, a switch to C.UTF-8
would actually i̲m̲p̲r̲o̲v̲e̲ this situation.

① Added to Arch Linux in task 59737, Red Hat BZ#902094, Fedora too,
  and OpenSuSE also carries it… oh, PEP 538 even talks about the
  glibc developers (upstream) “are working towards making the C.UTF-8
  locale universally available”… seems my idea gained traction.

  And many systems just do a !stristr(setlocale(…), "UTF-8").

bye,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg



Bug#941161: libgl1-mesa-dri: SIGSEGV on starting X server with libgl1-mesa-dri >18.3.6-2, <=19.1.6-1

2019-09-25 Thread Michel Dänzer
On 2019-09-25 9:01 p.m., Jim Joyce wrote:
> 
> [47.836] (EE) Backtrace:
> [47.836] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x139) [0x55ffadbdc2c9]
> [47.837] (EE) 1: /lib/x86_64-linux-gnu/libpthread.so.0 (funlockfile+0x50) 
> [0x7f52f52db55f]
> [47.837] (EE) 2: /usr/lib/xorg/Xorg (xf86ScreenToScrn+0x4) 
> [0x55ffadac62c4]
> [47.838] (EE) unw_get_proc_name failed: no unwind info found [-10]
> [47.838] (EE) 3: /usr/lib/xorg/modules/drivers/amdgpu_drv.so (?+0x0) 
> [0x7f52f4bd6850]
> [47.839] (EE) unw_get_proc_name failed: no unwind info found [-10]
> [47.839] (EE) 4: /usr/lib/xorg/modules/drivers/amdgpu_drv.so (?+0x0) 
> [0x7f52f4bd9540]
> [47.839] (EE) 5: /usr/lib/xorg/Xorg (xorgGetVersion+0x267c) 
> [0x55ffadad135c]
> [47.839] (EE) 6: /usr/lib/xorg/Xorg (AbortDDX+0x82) [0x55ffadabcb62]
> [47.840] (EE) 7: /usr/lib/xorg/Xorg (LogSetParameter+0x92) 
> [0x55ffadbe4952]
> [47.840] (EE) 8: /usr/lib/xorg/Xorg (FatalError+0x119) [0x55ffadbe5769]
> [47.840] (EE) 9: /usr/lib/xorg/Xorg (OsLookupColor+0x181) [0x55ffadbdc311]
> [47.841] (EE) 10: /lib/x86_64-linux-gnu/libpthread.so.0 
> (funlockfile+0x50) [0x7f52f52db55f]
> [47.842] (EE) 11: /lib/x86_64-linux-gnu/libc.so.6 (gsignal+0x141) 
> [0x7f52f5142081]
> [47.843] (EE) 12: /lib/x86_64-linux-gnu/libc.so.6 (abort+0x121) 
> [0x7f52f512d535]
> [47.843] (EE) unw_get_proc_name failed: no unwind info found [-10]
> [47.843] (EE) 13: /lib/x86_64-linux-gnu/libc.so.6 (?+0x0) [0x7f52f512d400]
> [47.843] (EE) 14: /lib/x86_64-linux-gnu/libc.so.6 (__assert_fail+0x42) 
> [0x7f52f513ab92]
> [47.844] (EE) 15: /usr/local/lib/x86_64-linux-gnu/dri/radeonsi_dri.so 
> (u_pipe_screen_get_param_defaults+0x176) [0x7f52f39b46e6]

/usr/local/lib/x86_64-linux-gnu/dri/radeonsi_dri.so presumably isn't
from a Debian package, does moving that away help?


-- 
Earthling Michel Dänzer   |   https://redhat.com
Libre software enthusiast | Mesa and X developer



[Git][xorg-team/proto/xorgproto][debian-unstable] 27 commits: screensaver: Fix encoding of ScreenSaverSuspend 'suspend' element

2019-09-25 Thread Timo Aaltonen


Timo Aaltonen pushed to branch debian-unstable at X Strike Force / proto / 
xorgproto


Commits:
702d2eae by Keith Packard at 2018-03-14T17:19:19Z
screensaver: Fix encoding of ScreenSaverSuspend suspend element

Was using Bool, which is not a defined X protocol encoding type and
has presumably been a 32-bit type. Switch to a CARD32 to be compatible
while at least being well defined.

Signed-off-by: Keith Packard kei...@keithp.com
Reviewed-by: Mihai Moldovan io...@ionic.de

- - - - -
30a20138 by Adam Jackson at 2018-03-19T19:25:13Z
randrproto: Fix missing #undef RRLease

clang did not like this, and its hard to blame it:

../randr/randrstr.h:66:13: warning: redefinition of typedef CARD32 is 
a C11 feature [-Wtypedef-redefinition]
typedef XID RRLease;
^
/opt/X11/include/X11/extensions/randrproto.h:53:17: note: expanded from macro 
RRLease
^
/opt/X11/include/X11/Xmd.h:111:23: note: previous definition is here
typedef unsigned long CARD32;

Signed-off-by: Adam Jackson a...@redhat.com

- - - - -
96dd1aef by Julien Cristau at 2018-03-27T20:59:42Z
PROXY_MANAGEMENT, DEC-XTRAP and XFree86-Misc are legacy

Signed-off-by: Julien Cristau jcris...@debian.org
Acked-By: Adam Jackson a...@redhat.com

- - - - -
d143e7e4 by Julien Cristau at 2018-03-27T21:19:25Z
Fix MAN_SUBSTS libdir replacements

__libdir__ doesnt seem to actually be used anywhere in the man page,
but...

Signed-off-by: Julien Cristau jcris...@debian.org
Reviewed-by: Adam Jackson a...@redhat.com

- - - - -
95570b06 by Julien Cristau at 2018-03-30T15:52:26Z
Remove more build files

These come from automake and dont belong in version control.

Signed-off-by: Julien Cristau jcris...@debian.org

- - - - -
91c1c8e1 by Jeremy Puhlman at 2018-06-13T15:40:13Z
Remove libdir from pc files.

Currently the pc files define libdir, however they are installed into
/usr/share, which means they should be architecture agnostic. In a
multilib system, xorg-proto built for each multilib abi, the value of
libdir is going to be different. These should either be installed in
libdir/pkgconfig or they shouldnt define libdir, espeically since
they dont actually use the definition. This specifically causes an
issue when trying to install both abis at the same time, since they are
not binary identical, something like rpm will complain that they
conflict.

Signed-off-by: Jeremy Puhlman jpuhl...@mvista.com
Reviewed-by: Keith Packard kei...@keithp.com

- - - - -
eb28f037 by Alan Coopersmith at 2018-06-16T16:16:52Z
Remove trailing whitespace from header files

Performed with:
find include -name *.h | xargs perl -i -p -e s{[ \t]+$}{}
git diff -w shows no changes from this changeset.

Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com

- - - - -
af9b5f43 by Roman Kapl at 2018-06-27T00:20:59Z
Improve the ButtonInfo description.

It failed to mention it is followed by a bit-mask and then the atoms.

Signed-off-by: Roman Kapl c...@rkapl.cz
Signed-off-by: Peter Hutterer peter.hutte...@who-t.net

- - - - -
641db343 by Alan Coopersmith at 2018-11-10T20:31:50Z
Remove the use of no-op B16  B32 bitfield macros in headers

These have always done nothing on all platforms except CRAY.
As https://bugs.freedesktop.org/show_bug.cgi?id=45202 points out
we dont even detect when theyve been wrong for decades.

Performed via:
find include -name *.h | grep -v md.h | xargs perl -i -p -e 
s{\s+B\d+}{}g
followed by manual whitespace fixups to preserve visual alignment.

The #defines for B16  B32 are left in place to preserve compatibility
in any code that used them outside the xorgproto repo.

Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com
Acked-by: Keith Packard kei...@keithp.com
Reviewed-by: Emil Velikov emil.veli...@collabora.com

- - - - -
a9b3ddf3 by Alan Coopersmith at 2018-11-10T20:32:13Z
Assorted typo fixes in headers

Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com

- - - - -
80c1e0d9 by Alan Coopersmith at 2018-11-20T07:23:27Z
Update README for gitlab migration

Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com

- - - - -
5fce6c0d by Alan Coopersmith at 2018-12-08T04:01:04Z
Update configure.ac bug URL for gitlab migration

Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com

- - - - -
4e9f4e61 by Jian-Hong Pan at 2019-01-21T18:48:26Z
XF86keysym: Add XF86XK_MonBrightnessCycle

Add XF86XK_MonBrightnessCycle keysym, to be used as mapping for evdevs
KEY_BRIGHTNESS_CYCLE keycode which is generated from ACPI video modules
ACPI_VIDEO_NOTIFY_CYCLE_BRIGHTNESS on some Acer AIO desktop buttons.
The button changes the screens brightness on Windows.

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=108861
Signed-off-by: Jian-Hong Pan jian-h...@endlessm.com
Reviewed-by: Hans de Goede hdego...@redhat.com
Signed-off-by: Hans de Goede hdego...@redhat.com

- - - - -
000ebed5 by Hans de Goede at 2019-01-22T07:13:52Z
XF86keysym: Add XF86XK_RotationLockToggle

Add XF86XK_RotationLockToggle keysym, to be used as mapping for evdevs

[Git][xorg-team/proto/xorgproto][upstream-unstable] 25 commits: screensaver: Fix encoding of ScreenSaverSuspend 'suspend' element

2019-09-25 Thread Timo Aaltonen


Timo Aaltonen pushed to branch upstream-unstable at X Strike Force / proto / 
xorgproto


Commits:
702d2eae by Keith Packard at 2018-03-14T17:19:19Z
screensaver: Fix encoding of ScreenSaverSuspend suspend element

Was using Bool, which is not a defined X protocol encoding type and
has presumably been a 32-bit type. Switch to a CARD32 to be compatible
while at least being well defined.

Signed-off-by: Keith Packard kei...@keithp.com
Reviewed-by: Mihai Moldovan io...@ionic.de

- - - - -
30a20138 by Adam Jackson at 2018-03-19T19:25:13Z
randrproto: Fix missing #undef RRLease

clang did not like this, and its hard to blame it:

../randr/randrstr.h:66:13: warning: redefinition of typedef CARD32 is 
a C11 feature [-Wtypedef-redefinition]
typedef XID RRLease;
^
/opt/X11/include/X11/extensions/randrproto.h:53:17: note: expanded from macro 
RRLease
^
/opt/X11/include/X11/Xmd.h:111:23: note: previous definition is here
typedef unsigned long CARD32;

Signed-off-by: Adam Jackson a...@redhat.com

- - - - -
96dd1aef by Julien Cristau at 2018-03-27T20:59:42Z
PROXY_MANAGEMENT, DEC-XTRAP and XFree86-Misc are legacy

Signed-off-by: Julien Cristau jcris...@debian.org
Acked-By: Adam Jackson a...@redhat.com

- - - - -
d143e7e4 by Julien Cristau at 2018-03-27T21:19:25Z
Fix MAN_SUBSTS libdir replacements

__libdir__ doesnt seem to actually be used anywhere in the man page,
but...

Signed-off-by: Julien Cristau jcris...@debian.org
Reviewed-by: Adam Jackson a...@redhat.com

- - - - -
95570b06 by Julien Cristau at 2018-03-30T15:52:26Z
Remove more build files

These come from automake and dont belong in version control.

Signed-off-by: Julien Cristau jcris...@debian.org

- - - - -
91c1c8e1 by Jeremy Puhlman at 2018-06-13T15:40:13Z
Remove libdir from pc files.

Currently the pc files define libdir, however they are installed into
/usr/share, which means they should be architecture agnostic. In a
multilib system, xorg-proto built for each multilib abi, the value of
libdir is going to be different. These should either be installed in
libdir/pkgconfig or they shouldnt define libdir, espeically since
they dont actually use the definition. This specifically causes an
issue when trying to install both abis at the same time, since they are
not binary identical, something like rpm will complain that they
conflict.

Signed-off-by: Jeremy Puhlman jpuhl...@mvista.com
Reviewed-by: Keith Packard kei...@keithp.com

- - - - -
eb28f037 by Alan Coopersmith at 2018-06-16T16:16:52Z
Remove trailing whitespace from header files

Performed with:
find include -name *.h | xargs perl -i -p -e s{[ \t]+$}{}
git diff -w shows no changes from this changeset.

Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com

- - - - -
af9b5f43 by Roman Kapl at 2018-06-27T00:20:59Z
Improve the ButtonInfo description.

It failed to mention it is followed by a bit-mask and then the atoms.

Signed-off-by: Roman Kapl c...@rkapl.cz
Signed-off-by: Peter Hutterer peter.hutte...@who-t.net

- - - - -
641db343 by Alan Coopersmith at 2018-11-10T20:31:50Z
Remove the use of no-op B16  B32 bitfield macros in headers

These have always done nothing on all platforms except CRAY.
As https://bugs.freedesktop.org/show_bug.cgi?id=45202 points out
we dont even detect when theyve been wrong for decades.

Performed via:
find include -name *.h | grep -v md.h | xargs perl -i -p -e 
s{\s+B\d+}{}g
followed by manual whitespace fixups to preserve visual alignment.

The #defines for B16  B32 are left in place to preserve compatibility
in any code that used them outside the xorgproto repo.

Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com
Acked-by: Keith Packard kei...@keithp.com
Reviewed-by: Emil Velikov emil.veli...@collabora.com

- - - - -
a9b3ddf3 by Alan Coopersmith at 2018-11-10T20:32:13Z
Assorted typo fixes in headers

Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com

- - - - -
80c1e0d9 by Alan Coopersmith at 2018-11-20T07:23:27Z
Update README for gitlab migration

Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com

- - - - -
5fce6c0d by Alan Coopersmith at 2018-12-08T04:01:04Z
Update configure.ac bug URL for gitlab migration

Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com

- - - - -
4e9f4e61 by Jian-Hong Pan at 2019-01-21T18:48:26Z
XF86keysym: Add XF86XK_MonBrightnessCycle

Add XF86XK_MonBrightnessCycle keysym, to be used as mapping for evdevs
KEY_BRIGHTNESS_CYCLE keycode which is generated from ACPI video modules
ACPI_VIDEO_NOTIFY_CYCLE_BRIGHTNESS on some Acer AIO desktop buttons.
The button changes the screens brightness on Windows.

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=108861
Signed-off-by: Jian-Hong Pan jian-h...@endlessm.com
Reviewed-by: Hans de Goede hdego...@redhat.com
Signed-off-by: Hans de Goede hdego...@redhat.com

- - - - -
000ebed5 by Hans de Goede at 2019-01-22T07:13:52Z
XF86keysym: Add XF86XK_RotationLockToggle

Add XF86XK_RotationLockToggle keysym, to be used as mapping for evdevs

Bug#941136: Enabling panfrost

2019-09-25 Thread Alyssa Rosenzweig
Panfrost dev here as well - I'm ok with this change :)


signature.asc
Description: PGP signature


[Git][xorg-team/lib/mesa][debian-experimental] rules: Enable panfrost again, should be good now. (Closes: #941136)

2019-09-25 Thread Timo Aaltonen


Timo Aaltonen pushed to branch debian-experimental at X Strike Force / lib / 
mesa


Commits:
f27027b9 by Timo Aaltonen at 2019-09-25T13:44:45Z
rules: Enable panfrost again, should be good now. (Closes: #941136)

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=
debian/changelog
=
@@ -1,3 +1,9 @@
+mesa (19.2.0~rc4-2) UNRELEASED; urgency=medium
+
+  * rules: Enable panfrost again, should be good now. (Closes: #941136)
+
+ -- Timo Aaltonen   Wed, 25 Sep 2019 16:44:37 +0300
+
 mesa (19.2.0~rc4-1) experimental; urgency=medium
 
   * New upstream release candidate.


=
debian/rules
=
@@ -57,7 +57,7 @@ else
 
# etnaviv, kmsro, tegra, vc4 and v3d kernel support are only available 
on armhf and arm64
ifneq (,$(filter $(DEB_HOST_ARCH), armhf arm64))
-   GALLIUM_DRIVERS += etnaviv, kmsro, lima, tegra, vc4, v3d,
+   GALLIUM_DRIVERS += etnaviv, kmsro, lima, panfrost, tegra, vc4, 
v3d,
endif
 
ifneq (,$(filter $(DEB_HOST_ARCH), amd64 i386 x32))



View it on GitLab: 
https://salsa.debian.org/xorg-team/lib/mesa/commit/f27027b9e6a9ad068ecc252f9187bd34357548bd

-- 
View it on GitLab: 
https://salsa.debian.org/xorg-team/lib/mesa/commit/f27027b9e6a9ad068ecc252f9187bd34357548bd
You're receiving this email because of your account on salsa.debian.org.




Bug#941136: src:mesa: Enabling panfrost with mesa 19.2

2019-09-25 Thread Rohan Garg
Package: src:mesa
Severity: wishlist

Dear Maintainer,
Panfrost reaches maturity with mesa 19.2, it'd be great if you could
enable it in the next upload of mesa.

-- System Information:
Debian Release: buster/sid
  APT prefers bionic-updates
  APT policy: (500, 'bionic-updates'), (500, 'bionic-security'), (500, 
'bionic-proposed'), (500, 'bionic'), (100, 'bionic-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.0.0-30-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE= 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled