From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97003] [d3dadapter+radeonsi] Dragon's Dogma: video memory leak with precompiled shaders Date: Wed, 20 Jul 2016 08:33:08 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0983572312==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id AB67C6E06D for ; Wed, 20 Jul 2016 08:33:08 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0983572312== Content-Type: multipart/alternative; boundary="14690035880.fD14.32307"; charset="UTF-8" --14690035880.fD14.32307 Date: Wed, 20 Jul 2016 08:33:08 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97003 Bug ID: 97003 Summary: [d3dadapter+radeonsi] Dragon's Dogma: video memory leak with precompiled shaders Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: kudahkukarek@gmail.com QA Contact: dri-devel@lists.freedesktop.org Steps to reproduce: 1. Launch the game 2. Find a new location entrance (e.g. Cassardis gate) 3. Go back and forth between locations a few times, the game will eventually crash with "ERR08 : Memory overrun." (http://i.imgur.com/oPfFvq9.png) Workaround: R600_DEBUG=3Dmono fixes this glxinfo: Extended renderer info (GLX_MESA_query_renderer): Vendor: X.Org (0x1002) Device: AMD PITCAIRN (DRM 2.43.0 / 4.4.0-28-lowlatency, LLVM 3.9.0) (0x6818) Version: 12.1.0 Accelerated: yes Video memory: 2048MB Unified memory: no Preferred profile: core (0x1) Max core profile version: 4.2 Max compat profile version: 3.0 Max GLES1 profile version: 1.1 Max GLES[23] profile version: 3.0 --=20 You are receiving this mail because: You are the assignee for the bug.= --14690035880.fD14.32307 Date: Wed, 20 Jul 2016 08:33:08 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 97003
Summary [d3dadapter+radeonsi] Dragon's Dogma: video memory leak with = precompiled shaders
Product Mesa
Version git
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/radeonsi
Assignee dri-devel@lists.freedesktop.org
Reporter kudahkukarek@gmail.com
QA Contact dri-devel@lists.freedesktop.org

Steps to reproduce:
1. Launch the game
2. Find a new location entrance (e.g. Cassardis gate)
3. Go back and forth between locations a few times, the game will eventually
crash with "ERR08 : Memory overrun." (http://i.imgur.com/oPfFvq9.png)

Workaround: R600_DEBUG=3Dmono fixes this

glxinfo:
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: X.Org (0x1002)
    Device: AMD PITCAIRN (DRM 2.43.0 / 4.4.0-28-lowlatency, LLVM 3.9.0)
(0x6818)
    Version: 12.1.0
    Accelerated: yes
    Video memory: 2048MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.2
    Max compat profile version: 3.0
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.0


You are receiving this mail because:
  • You are the assignee for the bug.
= --14690035880.fD14.32307-- --===============0983572312== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0983572312==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97003] [d3dadapter+radeonsi] Dragon's Dogma: video memory leak with precompiled shaders Date: Wed, 20 Jul 2016 08:38:10 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0381122914==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 15D586E78D for ; Wed, 20 Jul 2016 08:38:10 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0381122914== Content-Type: multipart/alternative; boundary="14690038900.e33c6.32024"; charset="UTF-8" --14690038900.e33c6.32024 Date: Wed, 20 Jul 2016 08:38:10 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97003 --- Comment #1 from Michel D=C3=A4nzer --- Can you run the game with valgrind --leak-check=3Dfull [game command line] and attach the corresponding valgrind output? Please make sure at least radeonsi_dri.so has debugging symbols available f= or this. --=20 You are receiving this mail because: You are the assignee for the bug.= --14690038900.e33c6.32024 Date: Wed, 20 Jul 2016 08:38:10 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 1 on bug 97003<= /a> from Michel D=C3=A4nzer
Can you run the game with

 valgrind --leak-check=3Dfull [game command line]

and attach the corresponding valgrind output?

Please make sure at least radeonsi_dri.so has debugging symbols available f=
or
this.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14690038900.e33c6.32024-- --===============0381122914== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0381122914==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97003] [d3dadapter+radeonsi] Dragon's Dogma: video memory leak with precompiled shaders Date: Wed, 20 Jul 2016 23:35:31 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0154504294==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 311086E948 for ; Wed, 20 Jul 2016 23:35:31 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0154504294== Content-Type: multipart/alternative; boundary="14690577310.1FEC.7603"; charset="UTF-8" --14690577310.1FEC.7603 Date: Wed, 20 Jul 2016 23:35:31 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97003 --- Comment #2 from kudahkukarek@gmail.com --- Created attachment 125187 --> https://bugs.freedesktop.org/attachment.cgi?id=3D125187&action=3Dedit valgrind --leak-check=3Dfull --trace-children=3Dyes --vex-iropt-register-updates=3Dallregs-at-mem-access --workaround-gcc296-bu= gs=3Dyes --smc-check=3Dall wine DDDA.exe (In reply to Michel D=C3=A4nzer from comment #1) > Can you run the game with >=20 > valgrind --leak-check=3Dfull [game command line] >=20 > and attach the corresponding valgrind output? >=20 > Please make sure at least radeonsi_dri.so has debugging symbols available > for this. It does not launch under valgrind for me, it dies from unknown instruction = in ntdll (log attached) vex x86->IR: unhandled instruction bytes: 0x36 0x89 0x50 0xC Also to clarify, "ERR08 : Memory overrun." refers to GPU's video memory run= ning out, the game does not cause system OOM. --=20 You are receiving this mail because: You are the assignee for the bug.= --14690577310.1FEC.7603 Date: Wed, 20 Jul 2016 23:35:31 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 2 on bug 97003<= /a> from kudahkukar= ek@gmail.com
Created attachment 125187 =
[details]
valgrind --leak-check=3Dfull --trace-children=3Dyes
--vex-iropt-register-updates=3Dallregs-at-mem-access --workaround-gcc296-bu=
gs=3Dyes
--smc-check=3Dall wine DDDA.exe

(In reply to Michel D=C3=A4nzer from comment #1)
> Can you run the game with
>=20
>  valgrind --leak-check=3Dfull [game command line]
>=20
> and attach the corresponding valgrind output?
>=20
> Please make sure at least radeonsi_dri.so has debugging symbols availa=
ble
> for this.

It does not launch under valgrind for me, it dies from unknown instruction =
in
ntdll (log attached)

vex x86->IR: unhandled instruction bytes: 0x36 0x89 0x50 0xC


Also to clarify, "ERR08 : Memory overrun." refers to GPU's video =
memory running
out, the game does not cause system OOM.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14690577310.1FEC.7603-- --===============0154504294== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0154504294==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97003] [d3dadapter+radeonsi] Dragon's Dogma: video memory leak with precompiled shaders Date: Thu, 21 Jul 2016 02:07:51 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1713555653==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id B4C736E13E for ; Thu, 21 Jul 2016 02:07:50 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1713555653== Content-Type: multipart/alternative; boundary="14690668700.d925AAc.18708"; charset="UTF-8" --14690668700.d925AAc.18708 Date: Thu, 21 Jul 2016 02:07:50 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97003 --- Comment #3 from Michel D=C3=A4nzer --- (In reply to kudahkukarek from comment #2) > It does not launch under valgrind for me, it dies from unknown instruction > in ntdll (log attached) >=20 > vex x86->IR: unhandled instruction bytes: 0x36 0x89 0x50 0xC valgrind doesn't understand some (not very) recent AMD specific instructions yet. I build everything with -march=3Damdfam10 -mtune=3Dnative to avoid thi= s. > Also to clarify, "ERR08 : Memory overrun." refers to GPU's video memory > running out, the game does not cause system OOM. Right, but video memory leaks are usually accompanied by corresponding syst= em memory leaks, which can be caught by valgrind. --=20 You are receiving this mail because: You are the assignee for the bug.= --14690668700.d925AAc.18708 Date: Thu, 21 Jul 2016 02:07:50 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 3 on bug 97003<= /a> from Michel D=C3=A4nzer
(In reply to kudahkukarek from comment #2)
> It does not launch under valgrind for me, it die=
s from unknown instruction
> in ntdll (log attached)
>=20
> vex x86->IR: unhandled instruction bytes: 0x36 0x89 0x50 0xC

valgrind doesn't understand some (not very) recent AMD specific instructions
yet. I build everything with -march=3Damdfam10 -mtune=3Dnative to avoid thi=
s.


> Also to clarify, "ERR08 : Memory overrun.&q=
uot; refers to GPU's video memory
> running out, the game does not cause system OOM.

Right, but video memory leaks are usually accompanied by corresponding syst=
em
memory leaks, which can be caught by valgrind.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14690668700.d925AAc.18708-- --===============1713555653== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1713555653==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97003] [d3dadapter+radeonsi] Dragon's Dogma: video memory leak with precompiled shaders Date: Thu, 21 Jul 2016 04:10:50 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1775486306==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 2A8AA6E974 for ; Thu, 21 Jul 2016 04:10:50 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1775486306== Content-Type: multipart/alternative; boundary="14690742500.9bBdF.30033"; charset="UTF-8" --14690742500.9bBdF.30033 Date: Thu, 21 Jul 2016 04:10:50 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97003 --- Comment #4 from kudahkukarek@gmail.com --- (In reply to Michel D=C3=A4nzer from comment #3) > valgrind doesn't understand some (not very) recent AMD specific instructi= ons > yet. I build everything with -march=3Damdfam10 -mtune=3Dnative to avoid t= his. Ok, I'll recompile wine and try again. > Right, but video memory leaks are usually accompanied by corresponding > system memory leaks, which can be caught by valgrind. True, the game does noticeably leak system memory (1.5+ GiB footprint with precompiled shaders vs 500 MB with mono) --=20 You are receiving this mail because: You are the assignee for the bug.= --14690742500.9bBdF.30033 Date: Thu, 21 Jul 2016 04:10:50 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 4 on bug 97003<= /a> from kudahkukar= ek@gmail.com
(In reply to Michel D=C3=A4nzer from comment #3)
> valgrind doesn't understand some (not very) rece=
nt AMD specific instructions
> yet. I build everything with -march=3Damdfam10 -mtune=3Dnative to avoi=
d this.

Ok, I'll recompile wine and try again.

> Right, but video memory leaks are usually accomp=
anied by corresponding
> system memory leaks, which can be caught by valgrind.

True, the game does noticeably leak system memory (1.5+ GiB footprint with
precompiled shaders vs 500 MB with mono)


You are receiving this mail because:
  • You are the assignee for the bug.
= --14690742500.9bBdF.30033-- --===============1775486306== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1775486306==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97003] [d3dadapter+radeonsi] Dragon's Dogma: video memory leak with precompiled shaders Date: Fri, 22 Jul 2016 09:08:56 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1726875166==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 92F656EAF9 for ; Fri, 22 Jul 2016 09:08:56 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1726875166== Content-Type: multipart/alternative; boundary="14691785360.F72F.4832"; charset="UTF-8" --14691785360.F72F.4832 Date: Fri, 22 Jul 2016 09:08:56 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97003 --- Comment #5 from kudahkukarek@gmail.com --- Created attachment 125253 --> https://bugs.freedesktop.org/attachment.cgi?id=3D125253&action=3Dedit valgrind_output_i686 I rebuilt wine with -march=3Damdfam10 and still get the same error (log attached), I also tried building with -march=3Di686 -mtune=3Dgeneric and ru= nning valgrind on wine-1.7.44-gallium-nine binary from playonlinux with the same outcome. I tried both valgrind-3.11 from xenial repo and valgrind-3.12-svn = from some random ppa. All other 3d wine games crash as well even if they use Ope= nGL, though tracing explorer.exe works. (In reply to Michel D=C3=A4nzer from comment #3) > valgrind doesn't understand some (not very) recent AMD specific instructi= ons > yet. I build everything with -march=3Damdfam10 -mtune=3Dnative to avoid t= his. AMD-specific or AMD64-specific? Either way, I use an Intel CPU and 32-bit w= ine. Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 Thread(s) per core: 2 Core(s) per socket: 4 Socket(s): 1 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 60 Model name: Intel(R) Core(TM) i7-4771 CPU @ 3.50GHz Stepping: 3 CPU MHz: 3900.039 CPU max MHz: 3900,0000 CPU min MHz: 800,0000 BogoMIPS: 6999.79 Virtualization: VT-x L1d cache: 32K L1i cache: 32K L2 cache: 256K L3 cache: 8192K NUMA node0 CPU(s): 0-7 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge= mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx= est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invp= cid rtm xsaveopt dtherm ida arat pln pts --=20 You are receiving this mail because: You are the assignee for the bug.= --14691785360.F72F.4832 Date: Fri, 22 Jul 2016 09:08:56 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 5 on bug 97003<= /a> from kudahkukar= ek@gmail.com
Created attachment 125253 [details]
valgrind_output_i686

I rebuilt wine with -march=3Damdfam10 and still get the same error (log
attached), I also tried building with -march=3Di686 -mtune=3Dgeneric and ru=
nning
valgrind on wine-1.7.44-gallium-nine binary from playonlinux with the same
outcome. I tried both valgrind-3.11 from xenial repo and valgrind-3.12-svn =
from
some random ppa. All other 3d wine games crash as well even if they use Ope=
nGL,
though tracing explorer.exe works.

(In reply to Michel D=C3=A4nzer from comment #3)
> valgrind doesn't understand some (not very) rece=
nt AMD specific instructions
> yet. I build everything with -march=3Damdfam10 -mtune=3Dnative to avoi=
d this.

AMD-specific or AMD64-specific? Either way, I use an Intel CPU and 32-bit w=
ine.

Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                8
On-line CPU(s) list:   0-7
Thread(s) per core:    2
Core(s) per socket:    4
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 60
Model name:            Intel(R) Core(TM) i7-4771 CPU @ 3.50GHz
Stepping:              3
CPU MHz:               3900.039
CPU max MHz:           3900,0000
CPU min MHz:           800,0000
BogoMIPS:              6999.79
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              8192K
NUMA node0 CPU(s):     0-7
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge=
 mca
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx
pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology
nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx=
 est
tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt
tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm tpr_shadow vnmi
flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invp=
cid
rtm xsaveopt dtherm ida arat pln pts


You are receiving this mail because:
  • You are the assignee for the bug.
= --14691785360.F72F.4832-- --===============1726875166== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1726875166==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97003] [d3dadapter+radeonsi] Dragon's Dogma: video memory leak with precompiled shaders Date: Fri, 22 Jul 2016 09:16:34 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1980290993==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 9265A6EB04 for ; Fri, 22 Jul 2016 09:16:34 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1980290993== Content-Type: multipart/alternative; boundary="14691789941.e0B1fbe.6355"; charset="UTF-8" --14691789941.e0B1fbe.6355 Date: Fri, 22 Jul 2016 09:16:34 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97003 --- Comment #6 from Michel D=C3=A4nzer --- (In reply to kudahkukarek from comment #5) > I rebuilt wine with -march=3Damdfam10 and still get the same error [...] The instruction valgrind doesn't know could be in Mesa or any other library used by Wine. > [...] I use an Intel CPU and 32-bit wine. It's probably an instruction from a recent Intel extension then. --=20 You are receiving this mail because: You are the assignee for the bug.= --14691789941.e0B1fbe.6355 Date: Fri, 22 Jul 2016 09:16:34 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 6 on bug 97003<= /a> from Michel D=C3=A4nzer
(In reply to kudahkukarek from comment #5)
> I rebuilt wine with -march=3Damdfam10 and still =
get the same error [...]

The instruction valgrind doesn't know could be in Mesa or any other library
used by Wine.


> [...] I use an Intel CPU and 32-bit wine.

It's probably an instruction from a recent Intel extension then.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14691789941.e0B1fbe.6355-- --===============1980290993== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1980290993==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97003] [d3dadapter+radeonsi] Dragon's Dogma: video memory leak with precompiled shaders Date: Sat, 23 Jul 2016 01:07:43 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0755910731==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 3518C6E0FA for ; Sat, 23 Jul 2016 01:07:43 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0755910731== Content-Type: multipart/alternative; boundary="14692360630.74D275be1.19207"; charset="UTF-8" --14692360630.74D275be1.19207 Date: Sat, 23 Jul 2016 01:07:43 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97003 --- Comment #7 from Roland Scheidegger --- 0x36 looks like a segment override (ss segment) prefix (0x89 would be a mov= ), so nothing new. This looks like a valgrind bug to me: https://bugs.kde.org/show_bug.cgi?id=3D344139 which seems old, in particula= r no updates since over a year (and specifically mentions wine is using such seg= ment override prefixes). --=20 You are receiving this mail because: You are the assignee for the bug.= --14692360630.74D275be1.19207 Date: Sat, 23 Jul 2016 01:07:43 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 7 on bug 97003<= /a> from Roland Scheidegger
0x36 looks like a segment override (ss segment) prefix (0x89 w=
ould be a mov),
so nothing new.
This looks like a valgrind bug to me:
https://bugs.kde.=
org/show_bug.cgi?id=3D344139 which seems old, in particular no
updates since over a year (and specifically mentions wine is using such seg=
ment
override prefixes).


You are receiving this mail because:
  • You are the assignee for the bug.
= --14692360630.74D275be1.19207-- --===============0755910731== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0755910731==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97003] [d3dadapter+radeonsi] Dragon's Dogma: video memory leak with precompiled shaders Date: Tue, 14 Feb 2017 02:53:10 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1496225539==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 61CD36E5E3 for ; Tue, 14 Feb 2017 02:53:10 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1496225539== Content-Type: multipart/alternative; boundary="14870407900.2e0AE.12067"; charset="UTF-8" --14870407900.2e0AE.12067 Date: Tue, 14 Feb 2017 02:53:10 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97003 --- Comment #8 from Timothy Arceri --- (In reply to Roland Scheidegger from comment #7) > 0x36 looks like a segment override (ss segment) prefix (0x89 would be a > mov), so nothing new. > This looks like a valgrind bug to me: > https://bugs.kde.org/show_bug.cgi?id=3D344139 which seems old, in particu= lar > no updates since over a year (and specifically mentions wine is using such > segment override prefixes). Looks like a fix has been merged into valgringd git. --=20 You are receiving this mail because: You are the assignee for the bug.= --14870407900.2e0AE.12067 Date: Tue, 14 Feb 2017 02:53:10 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comment= # 8 on bug 97003<= /a> from Timothy Arceri
(In reply to Roland Scheidegger from comment #7)
> 0x36 looks like a segment override (ss segment) =
prefix (0x89 would be a
> mov), so nothing new.
> This looks like a valgrind bug to me:
> https://bugs=
.kde.org/show_bug.cgi?id=3D344139 which seems old, in particular
> no updates since over a year (and specifically mentions wine is using =
such
> segment override prefixes).

Looks like a fix has been merged into valgringd git.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14870407900.2e0AE.12067-- --===============1496225539== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1496225539==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 97003] [d3dadapter+radeonsi] Dragon's Dogma: video memory leak with precompiled shaders Date: Fri, 31 Aug 2018 06:30:44 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1532337394==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 2DB296E7EB for ; Fri, 31 Aug 2018 06:30:45 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1532337394== Content-Type: multipart/alternative; boundary="15356970442.1ACd8.28074" Content-Transfer-Encoding: 7bit --15356970442.1ACd8.28074 Date: Fri, 31 Aug 2018 06:30:44 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D97003 Timothy Arceri changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop. |.org |org Assignee|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop. |.org |org Component|Drivers/Gallium/radeonsi |Gallium/StateTracker/galliu | |mnine --=20 You are receiving this mail because: You are the assignee for the bug.= --15356970442.1ACd8.28074 Date: Fri, 31 Aug 2018 06:30:44 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated Timothy Arceri changed bug 97003<= /a>
What Removed Added
QA Contact dri-devel@lists.freedesktop.org mesa-dev@lists.freedesktop.org
Assignee dri-devel@lists.freedesktop.org mesa-dev@lists.freedesktop.org
Component Drivers/Gallium/radeonsi Gallium/StateTracker/galliumnine


You are receiving this mail because:
  • You are the assignee for the bug.
= --15356970442.1ACd8.28074-- --===============1532337394== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1532337394==--