Processed: Re: mesa: [regression] with Mesa 18.2.5-2 the charackter model in Tomb Raider is no longer rendered.

2018-11-21 Thread Debian Bug Tracking System
Processing control commands:

> reassign -1 src:mesa 18.2.5-2
Bug #914267 [mesa] mesa: [regression] with Mesa 18.2.5-2 the charackter model 
in Tomb Raider is no longer rendered.
Bug reassigned from package 'mesa' to 'src:mesa'.
No longer marked as found in versions 18.2.5-2.
Ignoring request to alter fixed versions of bug #914267 to the same values 
previously set
Bug #914267 [src:mesa] mesa: [regression] with Mesa 18.2.5-2 the charackter 
model in Tomb Raider is no longer rendered.
Marked as found in versions mesa/18.2.5-2.
> severity -1 important
Bug #914267 [src:mesa] mesa: [regression] with Mesa 18.2.5-2 the charackter 
model in Tomb Raider is no longer rendered.
Severity set to 'important' from 'normal'
> clone -1 -2
Bug #914267 [src:mesa] mesa: [regression] with Mesa 18.2.5-2 the charackter 
model in Tomb Raider is no longer rendered.
Bug 914267 cloned as bug 914316
> reassign -2 gcc-8 8.2.0-9
Bug #914316 [src:mesa] mesa: [regression] with Mesa 18.2.5-2 the charackter 
model in Tomb Raider is no longer rendered.
Bug reassigned from package 'src:mesa' to 'gcc-8'.
No longer marked as found in versions mesa/18.2.5-2.
Ignoring request to alter fixed versions of bug #914316 to the same values 
previously set
Bug #914316 [gcc-8] mesa: [regression] with Mesa 18.2.5-2 the charackter model 
in Tomb Raider is no longer rendered.
Marked as found in versions gcc-8/8.2.0-9.
> retitle -2 gcc-8 miscompiles mesa
Bug #914316 [gcc-8] mesa: [regression] with Mesa 18.2.5-2 the charackter model 
in Tomb Raider is no longer rendered.
Changed Bug title to 'gcc-8 miscompiles mesa' from 'mesa: [regression] with 
Mesa 18.2.5-2 the charackter model in Tomb Raider is no longer rendered.'.
> forwarded -2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87859
Bug #914316 [gcc-8] gcc-8 miscompiles mesa
Set Bug forwarded-to-address to 
'https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87859'.
> tags -2 + patch
Bug #914316 [gcc-8] gcc-8 miscompiles mesa
Added tag(s) patch.
> affects -2 src:mesa
Bug #914316 [gcc-8] gcc-8 miscompiles mesa
Added indication that 914316 affects src:mesa

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



Re: mesa: [regression] with Mesa 18.2.5-2 the charackter model in Tomb Raider is no longer rendered.

2018-11-21 Thread Michael Biebl
Control: reassign -1 src:mesa 18.2.5-2
Control: severity -1 important
Control: clone -1 -2
Control: reassign -2 gcc-8 8.2.0-9
Control: retitle -2 gcc-8 miscompiles mesa
Control: forwarded -2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87859
Control: tags -2 + patch
Control: affects -2 src:mesa

On Thu, 22 Nov 2018 02:32:35 +0100 GSR 
wrote:> Package: mesa
> Version: 18.2.5-2
> Followup-For: Bug #914267
>
> That looks like missing shaders. I hit a similar thing with mpv (just
> blue window, sound but no video) after upgrading 18.2.5-1 => 18.2.5-2,
> luckly showing some output that later helped with searches.
>
> ---8<---
> [vo/gpu/opengl] fragment shader compile log (status=0):
> [vo/gpu/opengl] 0:36(27): error: invalid input layout qualifier used
> [vo/gpu/opengl]
> [vo/gpu/opengl] shader link log (status=0): error: linking with
uncompiled/unspecialized shader
> --->8---
>
> Bug 914303 could be the same too, garbled or single color output could
> mean shaders not working because they failed to compile. Looking up
> the error text, I found the culprit could be gcc, creating faulty
> mesa binaries. https://bugs.freedesktop.org/show_bug.cgi?id=108646
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87859

I ran into a similar issue.
I use vmware and hosts using 3D acceleration no longer start
successfully. On stdout I get the error message

 NOT_IMPLEMENTED bora/mks/renderers/gl/GLShader.c:1887

I can confirm the findings of GSR that this appears to be a gcc-8
regression. Rebuilding src:mesa with gcc-7 fixed those issues for me.

Might be a good idea to (temporarily) switch to gcc-7 depending on how
long it takes until this fix is applied in gcc-8.
The attached patch worked for me.

Regards,
Michael




-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
diff -u mesa-18.2.5/debian/changelog mesa-18.2.5/debian/changelog
--- mesa-18.2.5/debian/changelog
+++ mesa-18.2.5/debian/changelog
@@ -1,3 +1,11 @@
+mesa (18.2.5-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Force compilation against gcc-7, gcc-8 miscompiles mesa
+See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87859
+
+ -- Michael Biebl   Thu, 22 Nov 2018 03:32:38 +0100
+
 mesa (18.2.5-2) unstable; urgency=medium
 
   * Move KHR/khrplatform.h from libegl1-mesa-dev to mesa-common-dev
diff -u mesa-18.2.5/debian/control mesa-18.2.5/debian/control
--- mesa-18.2.5/debian/control
+++ mesa-18.2.5/debian/control
@@ -6,6 +6,9 @@
 Standards-Version: 4.1.4
 Build-Depends:
  debhelper (>= 11),
+ gcc-7,
+ g++-7,
+ cpp-7,
  quilt (>= 0.63-8.2~),
  pkg-config,
  libdrm-dev (>= 2.4.92) [!hurd-any],
diff -u mesa-18.2.5/debian/rules mesa-18.2.5/debian/rules
--- mesa-18.2.5/debian/rules
+++ mesa-18.2.5/debian/rules
@@ -10,6 +10,9 @@
 DEB_HOST_ARCH_OS   ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
 DEB_HOST_ARCH_CPU  ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
 
+export CC = gcc-7
+export CXX = g++-7
+
 ifeq (,$(filter $(DEB_HOST_ARCH), armhf sh3 sh4))
 buildflags = \
$(shell DEB_CFLAGS_MAINT_APPEND=-Wall DEB_CXXFLAGS_MAINT_APPEND=-Wall 
dpkg-buildflags --export=configure)


signature.asc
Description: OpenPGP digital signature


Bug#914267: mesa: [regression] with Mesa 18.2.5-2 the charackter model in Tomb Raider is no longer rendered.

2018-11-21 Thread GSR
Package: mesa
Version: 18.2.5-2
Followup-For: Bug #914267

That looks like missing shaders. I hit a similar thing with mpv (just
blue window, sound but no video) after upgrading 18.2.5-1 => 18.2.5-2,
luckly showing some output that later helped with searches.

---8<---
[vo/gpu/opengl] fragment shader compile log (status=0):
[vo/gpu/opengl] 0:36(27): error: invalid input layout qualifier used
[vo/gpu/opengl] 
[vo/gpu/opengl] shader link log (status=0): error: linking with 
uncompiled/unspecialized shader
--->8---

Bug 914303 could be the same too, garbled or single color output could
mean shaders not working because they failed to compile. Looking up
the error text, I found the culprit could be gcc, creating faulty
mesa binaries. https://bugs.freedesktop.org/show_bug.cgi?id=108646
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87859

Cheers,
GSR
 



Bug#913237: xterm: exec-formatted yields a tilde character in zsh and emacs

2018-11-21 Thread Thomas Dickey
On Thu, Nov 08, 2018 at 04:51:28PM +0100, Vincent Lefevre wrote:
> Package: xterm
> Version: 337-1
> Severity: normal
> 
> In my XTerm configuration, I have:
> 
> *VT100*translations:#override \n\
> Meta: exec-formatted("browser %s", PRIMARY)
> 
> The problem is that when exec-formatted is invoked from zsh or emacs
> (when run in xterm, e.g. with "emacs -nw"), a ~ character appears.
> 
> Other shells such as dash, bash and ksh are not affected. Curses
> applications such as mutt and tack are not affected either.

I don't see how this could happen unless you combined the action with
some pasting (such as bracketed-paste).  xterm's formatting of the
string is shell-agnostic, and the exec'd "browser" command would only
depend on what the formatted URL looked like.

In either case, steps-to-reproduce seem obscure.

-- 
Thomas E. Dickey 
https://invisible-island.net
ftp://ftp.invisible-island.net


signature.asc
Description: Digital signature


Bug#914303: mesa: [regression] Mesa 18.2.5 breaks Stellaris and Civilization VI for Radeon R9 380

2018-11-21 Thread Jose Antonio Insua
Package: mesa
Version: 18.2.5-2
Severity: important

Dear Maintainer,

Mesa 18.1.9 worked perfectly in my system to play Stellaris and
Civilization VI.

With the recent upgrade to 18.2.5-1 and 18.2.5-2, both games have very big 
issues:
- Stellaris completely garbled start screen.
- Civilization VI only shows a white window.

My hardware is a Radeon R9 380.

82:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tonga 
PRO [Radeon R9 285/380] (rev f1)

This bug may be related to #914267, but I open a different issue since
the hardware mentioned is different.

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

Kernel: Linux 4.18.0-2-amd64 (SMP w/12 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to pt_BR.UTF-8), LANGUAGE=pt_BR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set 
to pt_BR.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



Bug#914267: mesa: [regression] with Mesa 18.2.5-2 the charackter model in Tomb Raider is no longer rendered.

2018-11-21 Thread Bogdan Vatra
I can confirm this issue, on a Radeon RX 580.

BogDan.



Bug#914267: mesa: [regression] with Mesa 18.2.5-2 the charackter model in Tomb Raider is no longer rendered.

2018-11-21 Thread Axel R.
Package: mesa
Version: 18.2.5-2
Severity: normal

Dear Maintainer,

I upgraded Mesa to 18.2.5 but in Tomb Raider the main charackter model is no 
longer rendered. After downgrading bakc to Mesa 18.1.9 everything is working 
again and the model is rendered. 
Here are some screens of the bug:
Multiplayer with 18.2.5: https://i.imgur.com/WYBg7mq.jpg
Benchmark with 18.2.5: https://i.imgur.com/L4acazz.jpg
Benchmark after Downgrading back to 18.1.9: https://i.imgur.com/BiR4avk.jpg



-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-1-amd64 (SMP w/12 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), 
LANGUAGE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled