From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 104374] Cemu 1.11.1 via Wine using Mesa Mild exposes LLVM AMDGPU bugs on RX Vega.. Date: Sat, 23 Dec 2017 08:11:57 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0775638732==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 04B126E03E for ; Sat, 23 Dec 2017 08:11:58 +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 --===============0775638732== Content-Type: multipart/alternative; boundary="15140167170.daF5cDeE1.5302"; charset="UTF-8" --15140167170.daF5cDeE1.5302 Date: Sat, 23 Dec 2017 08:11:57 +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=3D104374 Bug ID: 104374 Summary: Cemu 1.11.1 via Wine using Mesa Mild exposes LLVM AMDGPU bugs on RX Vega.. 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: rtfss1@gmail.com QA Contact: dri-devel@lists.freedesktop.org Hi, two weeks ago tested Cemu 1.11.1 using Wine latest build (say 2.22 or 3.0rc= 1) and using Mesa Mild (https://github.com/mikakev1/mesa_mild_compatibility) because Cemu needs some OpenGL compat profile which mesa mild massages to g= et it working vs Mesa unpatched.. I tested Cemu with The Legend of Zelda=E2=84=A2: Breath of the Wild 1.3.1 v= ersion.. I built Mesa Mild with LLVM 5.0.0 final and also LLVM 6.0dev at the time and all trigger the same bug..=20 note Mesa mild updates with Mesa master branch quite frequently so should be equivalent to 17.4.0dev.. doing it on Intel iGPU HD530 works correctly.. using a RX Vega GPU Cemu launches game correctly but at first graphical sce= ne breaks compiling a shader.. LLVM ERROR: Cannot select: 0x7f71a053e0e8: f16 =3D bitcast 0x7f71a054fb58 0x7f71a054fb58: i32 =3D srl 0x7f71a054faf0, Constant:i32<16> 0x7f71a054faf0: i32 =3D bswap 0x7f71a054abd8 0x7f71a054abd8: i32 =3D and 0x7f71a053dcd8, Constant:i32<65535> 0x7f71a053dcd8: i32 =3D extract_vector_elt 0x7f71a053dc70, Constant:i32<0> 0x7f71a053dc70: v4i32 =3D bitcast 0x7f71a053b568 0x7f71a053b568: v4f32,ch =3D BUFFER_LOAD_FORMAT 0x7f71a04d63c8, 0x7f71a053b6a0, 0x7f71a05391b8, Constant:i32<0>, Constant:i1<0>, Constant:i1<0> 0x7f71a053b6a0: v4i32,ch =3D load 0x7f71a04d63c8, 0x7f71a053b638, undef:i64 0x7f71a053b638: i64 =3D add 0x7f71a05388c8, Constant:i64<32> 0x7f71a05388c8: i64,ch =3D CopyFromReg 0x7f71a04d63c8, Register:i64 %vreg4 0x7f71a053b5d0: i64 =3D Constant<32> 0x7f71a0539358: i64 =3D undef 0x7f71a05391b8: i32,ch =3D CopyFromReg 0x7f71a04d63c8, Regist= er:i32 %vreg15 0x7f71a0539150: i32 =3D Register %vreg15 0x7f71a0539490: i32 =3D Constant<0> 0x7f71a053b360: i1 =3D Constant<0> 0x7f71a053b360: i1 =3D Constant<0> 0x7f71a0539490: i32 =3D Constant<0> 0x7f71a0538658: i32 =3D Constant<65535> 0x7f71a053fb00: i32 =3D Constant<16> In function: main there is a bug opened on mesa mild "https://github.com/mikakev1/mesa_mild_compatibility/issues/1" hope some help from AMDGPU devs.. thanks.. --=20 You are receiving this mail because: You are the assignee for the bug.= --15140167170.daF5cDeE1.5302 Date: Sat, 23 Dec 2017 08:11:57 +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 104374
Summary Cemu 1.11.1 via Wine using Mesa Mild exposes LLVM AMDGPU bugs= on RX Vega..
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 rtfss1@gmail.com
QA Contact dri-devel@lists.freedesktop.org

Hi,
two weeks ago tested Cemu 1.11.1 using Wine latest build (say 2.22 or 3.0rc=
1)
and using Mesa Mild (https://github.com/mikakev1/mesa_mild_compatibility)
because Cemu needs some OpenGL compat profile which mesa mild massages to g=
et
it working vs Mesa unpatched..
I tested Cemu with The Legend of Zelda=E2=84=A2: Breath of the Wild 1.3.1 v=
ersion..
I built Mesa Mild with LLVM 5.0.0 final and also LLVM 6.0dev at the time and
all trigger the same bug..=20
note Mesa mild updates with Mesa master branch quite frequently so should be
equivalent to 17.4.0dev..
doing it on Intel iGPU HD530 works correctly..
using a RX Vega GPU Cemu launches game correctly but at first graphical sce=
ne
breaks compiling a shader..

LLVM ERROR: Cannot select: 0x7f71a053e0e8: f16 =3D bitcast 0x7f71a054fb58
  0x7f71a054fb58: i32 =3D srl 0x7f71a054faf0, Constant:i32<16>
    0x7f71a054faf0: i32 =3D bswap 0x7f71a054abd8
      0x7f71a054abd8: i32 =3D and 0x7f71a053dcd8, Constant:i32<65535>
        0x7f71a053dcd8: i32 =3D extract_vector_elt 0x7f71a053dc70,
Constant:i32<0>
          0x7f71a053dc70: v4i32 =3D bitcast 0x7f71a053b568
            0x7f71a053b568: v4f32,ch =3D BUFFER_LOAD_FORMAT<LD16[TargetC=
ustom7]>
0x7f71a04d63c8, 0x7f71a053b6a0, 0x7f71a05391b8, Constant:i32<0>,
Constant:i1<0>, Constant:i1<0>
              0x7f71a053b6a0: v4i32,ch =3D
load<LD16[%23(addrspace=3D2)](dereferenceable)(invariant)> 0x7f71a04d=
63c8,
0x7f71a053b638, undef:i64
                0x7f71a053b638: i64 =3D add 0x7f71a05388c8, Constant:i64<=
;32>
                  0x7f71a05388c8: i64,ch =3D CopyFromReg 0x7f71a04d63c8,
Register:i64 %vreg4
                  0x7f71a053b5d0: i64 =3D Constant<32>
                0x7f71a0539358: i64 =3D undef
              0x7f71a05391b8: i32,ch =3D CopyFromReg 0x7f71a04d63c8, Regist=
er:i32
%vreg15
                0x7f71a0539150: i32 =3D Register %vreg15
              0x7f71a0539490: i32 =3D Constant<0>
              0x7f71a053b360: i1 =3D Constant<0>
              0x7f71a053b360: i1 =3D Constant<0>
          0x7f71a0539490: i32 =3D Constant<0>
        0x7f71a0538658: i32 =3D Constant<65535>
    0x7f71a053fb00: i32 =3D Constant<16>
In function: main


there is a bug opened on mesa mild
"https://github.com/mikakev1/mesa_mild_compatibility/issues/1"

hope some help from AMDGPU devs..
thanks..


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