Created attachment 824243 [details] amdvlk emerge --info All vulkan applications crash on startup after installing amdvlk-2022.3.5: $ vulkaninfo vulkaninfo: /var/tmp/portage/media-libs/amdvlk-2022.3.5/work/llvm-project/llvm/include/llvm/Support/CommandLine.h:853: void llvm::cl::parser<DataType>::addLiteralOption(llvm::StringRef, const DT&, llvm::StringRef) [with DT = llvm::FunctionPass* (*)(); DataType = llvm::FunctionPass* (*)()]: Assertion `findOption(Name) == Values.size() && "Option already exists!"' failed. zsh: IOT instruction (core dumped) vulkaninfo Hardware: Ryzen 3800x, Radeon RX 6700xt (mesa 22.1.7)
Thank you for reporting. I'm not sure I can deal with it, I don't have amd gpu to test with in that moment. Maybe I'll get cheapest rx 560 2gb in future, but at this moment I'm unemployed.
It might be error in amdvlk installation algorhytm because I had to create crutches to fix it. I'll try to path it when I have time.
Ok, crash reproduced. It seems issue in ebuild algorhytm. I'll fix when I understand what happens.
It seems that amdvlk does not support LLVM shared libs.
Fixed, feel free to reopen.
Bug will be closed when new version will be in-tree.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e85efe01ecc0ae9988b92dd51eb741954cadeaa9 commit e85efe01ecc0ae9988b92dd51eb741954cadeaa9 Author: Denis Reva <denis7774@gmail.com> AuthorDate: 2022-10-27 09:24:40 +0000 Commit: Denis Reva <denis7774@gmail.com> CommitDate: 2022-10-27 09:24:40 +0000 media-libs/amdvlk: amdvlk is now used static build without separate llvm Changed installation prefix to default ones Removed buggy amdvlk version New version 2022.4.6 Closes: https://bugs.gentoo.org/877145 Signed-off-by: Denis Reva <denis7774@gmail.com> media-libs/amdvlk/Manifest | 10 ++--- ...k-2022.3.5-r1.ebuild => amdvlk-2022.4.1.ebuild} | 44 ++++++++++++---------- .../files/amdvlk-2022.4.1-proper-libdir.patch | 13 +++++++ 3 files changed, 43 insertions(+), 24 deletions(-)