[Mesa-dev] [Bug 106756] Wine 3.9 crashes with DXVK on Just Cause 3 and Quantum Break on VEGA but works ON POLARIS

2018-06-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106756

Samuel Pitoiset  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|NEEDINFO|RESOLVED

--- Comment #16 from Samuel Pitoiset  ---
Fixed.
https://cgit.freedesktop.org/mesa/mesa/commit/?id=5917761e3dddc968d5ccac9b282b7cb8d3da866f

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 106756] Wine 3.9 crashes with DXVK on Just Cause 3 and Quantum Break on VEGA but works ON POLARIS

2018-06-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106756

--- Comment #15 from Giovanni ongaro  ---
it also fixes NFS Payback

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 106756] Wine 3.9 crashes with DXVK on Just Cause 3 and Quantum Break on VEGA but works ON POLARIS

2018-06-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106756

--- Comment #14 from Giovanni ongaro  ---
thank you for the quick response
i can confirm that all 3 games now work on vega 64 under dxvk
with this patch applied
you did a very good job

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 106756] Wine 3.9 crashes with DXVK on Just Cause 3 and Quantum Break on VEGA but works ON POLARIS

2018-06-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106756

--- Comment #13 from Samuel Pitoiset  ---
This should be fixed with https://patchwork.freedesktop.org/patch/229508/

Can you confirm? Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 106756] Wine 3.9 crashes with DXVK on Just Cause 3 and Quantum Break on VEGA but works ON POLARIS

2018-06-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106756

--- Comment #12 from Giovanni ongaro  ---
I build it with dylib still crashes


Inviato da smartphone Samsung Galaxy.
 Messaggio originale Da: bugzilla-dae...@freedesktop.org Data:
14/06/18  14:41  (GMT+01:00) A: giovanni.nic...@ticino.com Oggetto: [Bug
106756] Wine 3.9 crashes with DXVK on Just Cause 3 and Quantum Break on VEGA
but works ON POLARIS 



Comment # 11
  on bug 106756
  from  Samuel Pitoiset

I can reproduce the issue with
https://patchwork.freedesktop.org/patch/229503/.
Not sure why it doesn't crash for me... I will fix it.

Anyway, I highly recommend you to not use BUILD_SHARED_LIBS.





  You are receiving this mail because:


  You reported the bug.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 106756] Wine 3.9 crashes with DXVK on Just Cause 3 and Quantum Break on VEGA but works ON POLARIS

2018-06-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106756

--- Comment #11 from Samuel Pitoiset  ---
I can reproduce the issue with https://patchwork.freedesktop.org/patch/229503/.
Not sure why it doesn't crash for me... I will fix it.

Anyway, I highly recommend you to not use BUILD_SHARED_LIBS.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 106756] Wine 3.9 crashes with DXVK on Just Cause 3 and Quantum Break on VEGA but works ON POLARIS

2018-06-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106756

--- Comment #10 from Pavel Ondračka  ---
BTW regarding the debug information from winedbg. It might help to specifically
build mesa (and maybe llvm) with CFLAGS="-g -gdwarf-2", since some distros
(like Fedora) default to newer dwarf version which winedbg doesn't support.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 106756] Wine 3.9 crashes with DXVK on Just Cause 3 and Quantum Break on VEGA but works ON POLARIS

2018-06-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106756

--- Comment #9 from Samuel Pitoiset  ---
Well, the LLVM documentation [1] says:

"BUILD_SHARED_LIBS is only recommended for use by LLVM developers. If you want
to build LLVM as a shared library, you should use the LLVM_BUILD_LLVM_DYLIB
option."

Please, don't use that and re-build your LLVM with:

-DLLVM_BUILD_LLVM_DYLIB=ON
-DLLVM_LINK_LLVM_DYLIB=ON

(and remove BUILD_SHARED_LIBS, of course).

Let me know if it still crashes with these new flags.

[1] https://llvm.org/docs/CMake.html

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 106756] Wine 3.9 crashes with DXVK on Just Cause 3 and Quantum Break on VEGA but works ON POLARIS

2018-06-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106756

--- Comment #8 from Giovanni ongaro  ---
i did build mesa with debug mode but how do i activate it also i submitted the
same bug to DXVK devs and they said that all the shaders are validated and is
not an DXVK bug probably 
now i do not know if it is a mesa or llvm bug
→ did use wine 3.10 DXVK git mesa git llvm git from 12 juni
my system is a ryzen2700x with vega64 and FC27 and 16 GB of ram
till now i found 3 games crashing with the same bug
the long journey home
quantum break
just cause 3
i have a setup with a rx480 on my secondary pcie and tested it with the rx480
on the same system setup and all 3 games work

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 106756] Wine 3.9 crashes with DXVK on Just Cause 3 and Quantum Break on VEGA but works ON POLARIS

2018-06-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106756

Samuel Pitoiset  changed:

   What|Removed |Added

 Status|NEW |NEEDINFO

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 106756] Wine 3.9 crashes with DXVK on Just Cause 3 and Quantum Break on VEGA but works ON POLARIS

2018-06-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106756

--- Comment #7 from Samuel Pitoiset  ---
Did you build mesa in debug mode (ie. --enable-debug)?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 106756] Wine 3.9 crashes with DXVK on Just Cause 3 and Quantum Break on VEGA but works ON POLARIS

2018-06-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106756

--- Comment #6 from Giovanni ongaro  ---
I did build with BUILD_SHARED_LIBS=on and 64 bits is required


Inviato da smartphone Samsung Galaxy.
 Messaggio originale Da: bugzilla-dae...@freedesktop.org Data:
01/06/18  15:37  (GMT+01:00) A: giovanni.nic...@ticino.com Oggetto: [Bug
106756] Wine 3.9 crashes with DXVK on Just Cause 3 and Quantum Break on VEGA
but works ON POLARIS 



Comment # 5
  on bug 106756
  from  Bas Nieuwenhuizen

To confirm, did you build your LLVM (32-bit is needed looks like?)
with:

BUILD_SHARED_LIBS=OFF
LLVM_BUILD_LLVM_DYLIB=ON
LLVM_LINK_LLVM_DYLIB=ON

?





  You are receiving this mail because:


  You reported the bug.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 106756] Wine 3.9 crashes with DXVK on Just Cause 3 and Quantum Break on VEGA but works ON POLARIS

2018-06-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106756

--- Comment #5 from Bas Nieuwenhuizen  ---
To confirm, did you build your LLVM (32-bit is needed looks like?) with:

BUILD_SHARED_LIBS=OFF
LLVM_BUILD_LLVM_DYLIB=ON
LLVM_LINK_LLVM_DYLIB=ON

?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 106756] Wine 3.9 crashes with DXVK on Just Cause 3 and Quantum Break on VEGA but works ON POLARIS

2018-06-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106756

--- Comment #4 from Giovanni ongaro  ---
How to Reproduce Crash 
Start Quantum break trough steam after the intro video the screen turns black
for a while and then crashes before going ingame this on VEGA64 FC27 RYZEN
2700x if i start it with the RX480 it goes ingame without problems

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 106756] Wine 3.9 crashes with DXVK on Just Cause 3 and Quantum Break on VEGA but works ON POLARIS

2018-06-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106756

--- Comment #3 from Samuel Pitoiset  ---
Can you explain how to reproduce the crash ingame?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 106756] Wine 3.9 crashes with DXVK on Just Cause 3 and Quantum Break on VEGA but works ON POLARIS

2018-05-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106756

--- Comment #2 from Giovanni ongaro  ---
Created attachment 139890
  --> https://bugs.freedesktop.org/attachment.cgi?id=139890=edit
log of shader

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 106756] Wine 3.9 crashes with DXVK on Just Cause 3 and Quantum Break on VEGA but works ON POLARIS

2018-05-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106756

--- Comment #1 from Bas Nieuwenhuizen  ---
Could you try getting the shader it fails on with RADV_DEBUG=shaders?

On Thu, May 31, 2018 at 3:40 PM,  wrote:

> Bug ID 106756 
> Summary Wine 3.9 crashes with DXVK on Just Cause 3 and Quantum Break on
> VEGA but works ON POLARIS
> Product Mesa
> Version git
> Hardware Other
> OS All
> Status NEW
> Severity normal
> Priority medium
> Component Drivers/Vulkan/radeon
> Assignee mesa-dev@lists.freedesktop.org
> Reporter giovanni.nic...@ticino.com
> QA Contact mesa-dev@lists.freedesktop.org
>
> Hi hope this info is enough but both games crash on VEGA and Wine 3.9 DXVK ith
> following backtrace maybe a mesa bug or LLVM bug ? used mesa git from today 
> and
> llvm7 from today git
> BUT THEY WORK ON POLARIS
>
>
>
> =>0 0x7fbdbcb35d43
>
>
> _ZN4llvm10SelectInst18areInvalidOperandsEPNS_5ValueES2_S2_+0x3() in
> libllvmcore.so.7 (0x7fbdac5cbd38)
>   1 0x7fbdbcab8cda LLVMBuildSelect+0xb9() in libllvmcore.so.7
> (0x7fbdac5cbd38)
>   2 0x7fbdcd924b07 ac_translate_nir_to_llvm+0x1586() in 
> libvulkan_radeon.so
> (0x7fbdac4884d0)
>   3 0x7fbdcd926135 radv_compile_nir_shader+0x34() in libvulkan_radeon.so
> (0x3461e3c0)
>   4 0x7fbdcd92f075 shader_variant_create+0x334() in libvulkan_radeon.so
> (0x)
>   5 0x7fbdcd92f44a radv_shader_variant_create+0x119() in
> libvulkan_radeon.so (0x3461e534)
>   6 0x7fbdcd928232 radv_create_shaders+0xd31() in libvulkan_radeon.so
> (0x7fbdc0116220)
>   7 0x7fbdcd92af35 radv_pipeline_init.isra+0xb44() in libvulkan_radeon.so
> (0x3461f380)
>   8 0x7fbdcd92cd80 radv_graphics_pipeline_create+0x8f() in
> libvulkan_radeon.so (0x7fbdc0116220)
>   9 0x7fbdcd92ce3e radv_CreateGraphicsPipelines+0x4d() in
> libvulkan_radeon.so (0x7fbdc0116220)
>   10 0x7fbdcdf824f4 wine_vkCreateGraphicsPipelines+0xe3() in winevulkan
> (0x3461f170)
>   11 0x6a415606 in d3d11 (+0xd5605) (0x3461f1b0)
>   12 0x6a385bf7 in d3d11 (+0x45bf6) (0x3461f240)
>   13 0x6a384caf in d3d11 (+0x44cae) (0x3461fa40)
>
> --
> You are receiving this mail because:
>
>- You are the assignee for the bug.
>- You are the QA Contact for the bug.
>
>
> ___
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
>

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 106756] Wine 3.9 crashes with DXVK on Just Cause 3 and Quantum Break on VEGA but works ON POLARIS

2018-05-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106756

Bug ID: 106756
   Summary: Wine 3.9 crashes with DXVK on Just Cause 3 and Quantum
Break on VEGA but works ON POLARIS
   Product: Mesa
   Version: git
  Hardware: Other
OS: All
Status: NEW
  Severity: normal
  Priority: medium
 Component: Drivers/Vulkan/radeon
  Assignee: mesa-dev@lists.freedesktop.org
  Reporter: giovanni.nic...@ticino.com
QA Contact: mesa-dev@lists.freedesktop.org

Hi hope this info is enough but both games crash on VEGA and Wine 3.9 DXVK ith
following backtrace maybe a mesa bug or LLVM bug ? used mesa git from today and
llvm7 from today git
BUT THEY WORK ON POLARIS



=>0 0x7fbdbcb35d43 


_ZN4llvm10SelectInst18areInvalidOperandsEPNS_5ValueES2_S2_+0x3() in
libllvmcore.so.7 (0x7fbdac5cbd38)
  1 0x7fbdbcab8cda LLVMBuildSelect+0xb9() in libllvmcore.so.7
(0x7fbdac5cbd38)
  2 0x7fbdcd924b07 ac_translate_nir_to_llvm+0x1586() in libvulkan_radeon.so
(0x7fbdac4884d0)
  3 0x7fbdcd926135 radv_compile_nir_shader+0x34() in libvulkan_radeon.so
(0x3461e3c0)
  4 0x7fbdcd92f075 shader_variant_create+0x334() in libvulkan_radeon.so
(0x)
  5 0x7fbdcd92f44a radv_shader_variant_create+0x119() in
libvulkan_radeon.so (0x3461e534)
  6 0x7fbdcd928232 radv_create_shaders+0xd31() in libvulkan_radeon.so
(0x7fbdc0116220)
  7 0x7fbdcd92af35 radv_pipeline_init.isra+0xb44() in libvulkan_radeon.so
(0x3461f380)
  8 0x7fbdcd92cd80 radv_graphics_pipeline_create+0x8f() in
libvulkan_radeon.so (0x7fbdc0116220)
  9 0x7fbdcd92ce3e radv_CreateGraphicsPipelines+0x4d() in
libvulkan_radeon.so (0x7fbdc0116220)
  10 0x7fbdcdf824f4 wine_vkCreateGraphicsPipelines+0xe3() in winevulkan
(0x3461f170)
  11 0x6a415606 in d3d11 (+0xd5605) (0x3461f1b0)
  12 0x6a385bf7 in d3d11 (+0x45bf6) (0x3461f240)
  13 0x6a384caf in d3d11 (+0x44cae) (0x3461fa40)

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev