Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 877145 - media-libs/amdvlk-2022.3.5 crash on startup
Summary: media-libs/amdvlk-2022.3.5 crash on startup
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: GURU project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-14 17:40 UTC by darkstalker
Modified: 2022-10-29 05:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
amdvlk emerge --info (amdvlk_emerge_info.txt,7.26 KB, text/plain)
2022-10-14 17:40 UTC, darkstalker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description darkstalker 2022-10-14 17:40:54 UTC
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)
Comment 1 Reva Denis 2022-10-19 07:00:33 UTC
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.
Comment 2 Reva Denis 2022-10-19 07:02:44 UTC
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.
Comment 3 Reva Denis 2022-10-27 05:44:31 UTC
Ok, crash reproduced. It seems issue in ebuild algorhytm.
I'll fix when I understand what happens.
Comment 4 Reva Denis 2022-10-27 08:30:19 UTC
It seems that amdvlk does not support LLVM shared libs.
Comment 5 Reva Denis 2022-10-27 09:25:38 UTC
Fixed, feel free to reopen.
Comment 6 Reva Denis 2022-10-27 09:26:15 UTC
Bug will be closed when new version will be in-tree.
Comment 7 Larry the Git Cow gentoo-dev 2022-10-29 05:54:33 UTC
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(-)