Bug 106090 - Compiling compute shader crashes RADV
Summary: Compiling compute shader crashes RADV
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Vulkan/radeon (show other bugs)
Version: 18.0
Hardware: Other All
: medium normal
Assignee: mesa-dev
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-16 19:00 UTC by maister
Modified: 2018-05-15 21:44 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Dump (112.18 KB, application/json)
2018-04-16 19:00 UTC, maister
Details

Description maister 2018-04-16 19:00:16 UTC
Created attachment 138871 [details]
Dump

To reproduce on RX470 (or something similar):

git clone git://github.com/Themaister/Fossilize
cd Fossilize
git submodule update --init
mkdir build
cd build
cmake ..
make -j8
./cli/fossilize-replay pipelines.json --enable-validation --filter-compute 2

...

WARNING: radv is not a conformant vulkan implementation, testing use only.
Fossilize INFO: Chose GPU:
Fossilize INFO:   name: AMD RADV POLARIS10 (LLVM 6.0.0)
Fossilize INFO:   apiVersion: 1.0.57
Fossilize INFO:   vendorID: 0x1002
Fossilize INFO:   deviceID: 0x67df
Fossilize INFO: Creating shader module #0
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating shader module #1
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating shader module #2
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating shader module #3
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating shader module #4
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating shader module #5
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating shader module #6
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating shader module #7
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating shader module #8
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating shader module #9
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating shader module #10
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating shader module #11
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating shader module #12
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating shader module #13
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating shader module #14
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating shader module #15
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating shader module #16
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating shader module #17
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating shader module #18
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating shader module #19
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating shader module #20
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating shader module #21
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating descriptor set layout #0
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating descriptor set layout #1
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating descriptor set layout #2
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating descriptor set layout #3
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating descriptor set layout #4
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating descriptor set layout #5
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating descriptor set layout #6
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating descriptor set layout #7
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating descriptor set layout #8
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating descriptor set layout #9
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating descriptor set layout #10
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating descriptor set layout #11
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating descriptor set layout #12
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating descriptor set layout #13
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating descriptor set layout #14
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating descriptor set layout #15
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating pipeline layout #0
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating pipeline layout #1
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating pipeline layout #2
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating pipeline layout #3
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating pipeline layout #4
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating pipeline layout #5
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating pipeline layout #6
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating pipeline layout #7
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating pipeline layout #8
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating pipeline layout #9
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating pipeline layout #10
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating pipeline layout #11
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating pipeline layout #12
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating pipeline layout #13
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating render pass #0
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating render pass #1
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating render pass #2
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating render pass #3
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating render pass #4
Fossilize INFO:  ... Succeeded!
Fossilize INFO: Creating compute pipeline #2
zsh: segmentation fault (core dumped)  ./cli/fossilize-replay ~/git/granite/cmake-build-debug/cache/pipelines.json  

It crashes in vulkan_radeon.so when compiling compute pipeline #2.
Works fine on AMDVLK and other drivers.
Comment 2 maister 2018-05-15 21:44:13 UTC
Yup, works fine now.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.