LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-28-2023, 12:35 AM   #1
SunnyJim
Member
 
Registered: Jan 2016
Location: Canada
Distribution: slackware and linux mint
Posts: 110

Rep: Reputation: Disabled
Red face lutris vulkan and diablo ii Resurrected


I am trying to run Diablo II resurrected using lutris (which was installed from sbopkg) and have had
some success but have run into a problem with vulkan. Now slackware 15 64 bit multilib has vulkan-1.2.176.1 along with it's 32 bit compatibility package but i have only managed to build slackware
current's vulkan-sdk-1.3.204-x86_64-1.txz and not it's 32 bit compatibility package. Now my question
is how would i do that in this case. And yes the current 1.3.204 does get diablo II res. to work but
i would like to see if the compatibility package would help in this case and also for other games as
well. It seems only recently that the lutris logs started mentioning the need for a more recent
version of vulkan (1.3) and it seems to be effective in this case, granted said game tends
to break compatibility with lutris sometimes (possibly because it is patched frequently) but there
you have it.
 
Old 05-28-2023, 05:07 AM   #2
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,754

Rep: Reputation: Disabled
Not sure how exactly would 32bit "compatibility package" help you run 64bit exclusive software, on 64bit wine, hosted on 64bit system.
And how is this Slackware problem anyway?

Edit:
To be precise, the game having frequent patches and breaking ABI is not something anyone here can fix.
And this game, lutris, nvidia, or multilib, are not part of Slackware install.

If this is a request to bump vulkan version in -current, then you should note something like that in the title.
If something does not compile, attach the compiler output.

Last edited by elcore; 05-28-2023 at 05:36 AM.
 
Old 05-28-2023, 06:39 AM   #3
giomat
Member
 
Registered: Jul 2017
Posts: 339

Rep: Reputation: 239Reputation: 239Reputation: 239
my suggestion for you is to use a rolling-release container to keep up with the speed of changes in lutris/wine/vulkan/diablo.
Take a look at this https://github.com/Kron4ek/Conty
This is an arch-linux container packed with wine, steam, lutris and a whole lot of other stuff to game and develop. you can add other stuff easily and rebuild it from time to time with a command (or download updates from the creator).
You just need to download the file conty.sh, make it executable and run in terminal something like "./conty.sh wine Diablo2.exe" or "./conty.sh lutris"
 
2 members found this post helpful.
Old 05-28-2023, 08:40 AM   #4
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,580

Rep: Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913
Quote:
Originally Posted by elcore View Post
Not sure how exactly would 32bit "compatibility package" help you run 64bit exclusive software, on 64bit wine, hosted on 64bit system.
And how is this Slackware problem anyway?
Lot of times "64-bit" windows programs still require some 32-bit support.
 
Old 05-28-2023, 09:39 AM   #5
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,580

Rep: Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913
And if you're using multilib (generally recommended, unless you're using the conty solution recommended by giomat), Alien Bob has a great description of how to build and install 32-bit packages: http://www.slackware.com/~alien/multilib/ (See "compiling 32-bit programs.)
 
Old 05-28-2023, 05:39 PM   #6
SunnyJim
Member
 
Registered: Jan 2016
Location: Canada
Distribution: slackware and linux mint
Posts: 110

Original Poster
Rep: Reputation: Disabled
Post vulkan woes

yeah i know about alien bob's multilib howto and have run into an error which is not unheard of when you are trying to compile a current package on slackware15 multilib. See the attached file. I wouldn't know why the 32 bit version doesn't compile. I have the complete output but the file is too big to upload.
Attached Files
File Type: txt vulkan-error.txt (2.1 KB, 9 views)
 
Old 05-28-2023, 10:21 PM   #7
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,754

Rep: Reputation: Disabled
Quote:
Originally Posted by garpu View Post
Lot of times "64-bit" windows programs still require some 32-bit support.
This one's pure 64, a friend of mine has bought it so I've seen it.
I don't have windows or a sufficient GPU to run it.

Regarding building the compat32 vulkan lib on multilib, 99% you're missing some compat32 component.
Make sure also there's no nvidia driver in the way, when you compile it.
 
Old 05-28-2023, 10:43 PM   #8
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,463
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
Quote:
Originally Posted by SunnyJim View Post
yeah i know about alien bob's multilib howto and have run into an error which is not unheard of when you are trying to compile a current package on slackware15 multilib.
As advised above, you can avoid all of the mess by using Conty.sh: https://github.com/Kron4ek/Conty

It's a container (just a fancy word for large, static binary) with everything you need built in, including multi-lib. There is nothing else you need... just download and run. It works on a straight 64 bit system.
Quote:
Originally Posted by SunnyJim View Post
I wouldn't know why the 32 bit version doesn't compile.
There are extra preliminary steps to take before compiling things when you have multi-lib. Installing multi-lib is not something I'd recommend to someone who doesn't understand compiler messages.
 
Old 05-29-2023, 12:13 AM   #9
SunnyJim
Member
 
Registered: Jan 2016
Location: Canada
Distribution: slackware and linux mint
Posts: 110

Original Poster
Rep: Reputation: Disabled
hmm never tried conty.sh, some day maybe i will. In any case i managed to install slackware current for testing and it seems to work fine with lutris and i also
managed to get dlss to work on it (which solved most if not all graphics issues for the d2 res.) as for problems compiling in multilib i have been doing it for years and usually i don't have many
problems i can not solve by searching it out on the internet or inquiring here. Honestly most distros do update vulkan pretty regularly so i don't see what the problem is as i did
get vulkan 1.3 to compile as 64bit. @ elcore so what you are recommending is i uninstall nvidia and then try to compile 32 bit vulkan and if so will that work after i uninstall nvidia or are you advocating a system that has never had nvidia on it?
Also doesn't the nvidia driver come with its own vulkan 1.3 api as well so vulkan 1.3 software IS indeed needed to make full use of the nvidia drivers. Another fact i
did not include is that i am using 530.41.03 which is pretty much the latest for now but i have tried the so called stable drivers with the same result.

Last edited by SunnyJim; 05-29-2023 at 12:42 AM. Reason: more info available
 
Old 05-29-2023, 04:47 AM   #10
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,754

Rep: Reputation: Disabled
Quote:
Originally Posted by SunnyJim View Post
@ elcore so what you are recommending is i uninstall nvidia and then try to compile 32 bit vulkan and if so will that work after i uninstall nvidia or are you advocating a system that has never had nvidia on it?
Also doesn't the nvidia driver come with its own vulkan 1.3 api as well so vulkan 1.3 software IS indeed needed to make full use of the nvidia drivers. Another fact i
did not include is that i am using 530.41.03 which is pretty much the latest for now but i have tried the so called stable drivers with the same result.
No, what I'm saying is, nvidia casually replaced system libs many times in the past, and compiling packages on such a system has not been tested by the distributor.
And because nobody can fix the errors you may or may not encounter with these replacement libs, neglecting to mention you are hosting the nvidia blob on your build system just wastes everyone's time.
Maybe you could build packages in a VM, then install built packages on bare metal, and only then install the blob on top of that, if needed.
BTW, the latest blob for 32bit systems was 390.157 last time I checked. If 530.41.03 contains any newer 32bit compatibility bits, I'd be surprised.
 
Old 05-29-2023, 07:50 AM   #11
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,580

Rep: Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913Reputation: 913
Quote:
Originally Posted by elcore View Post
No, what I'm saying is, nvidia casually replaced system libs many times in the past, and compiling packages on such a system has not been tested by the distributor.
I thought that behavior changed around the time of the pre-Slackware 15 development cycle, about 2019?
 
Old 05-29-2023, 03:24 PM   #12
SunnyJim
Member
 
Registered: Jan 2016
Location: Canada
Distribution: slackware and linux mint
Posts: 110

Original Poster
Rep: Reputation: Disabled
@ elcore it's funny that vulkan 1.3 would compile in 64 bit on slackware15 but not in 32 bit though. i suppose i could try an nvidia free root if not to see if this works and also to get the
32 bit package although i suspect it will still not work. Perhaps it has something to do with the bash version mismatch between version 15 and current. I have had to use the current slackbuild
and packages to get this to work as well as it has.
 
Old 05-29-2023, 05:02 PM   #13
mickski56
Member
 
Registered: Mar 2018
Distribution: Slackware
Posts: 74

Rep: Reputation: Disabled
I have built vulkan-1.3.231 from a modified current vulkan-sdk slackbuild

I think I've added
-DROBIN_HOOD_HASHING_INSTALL_DIR="$TMP/robin-hood-hashing-$ROBIN_HOOD_VERSION/build/install/usr" \
to the cmake invocation in Vulkan-ValidationLayers-sdk

Last edited by mickski56; 05-29-2023 at 05:06 PM. Reason: spelling
 
Old 05-29-2023, 06:41 PM   #14
SunnyJim
Member
 
Registered: Jan 2016
Location: Canada
Distribution: slackware and linux mint
Posts: 110

Original Poster
Rep: Reputation: Disabled
@ mickski56 are you sure that is all you did, i just looked and it is the same as my current slackbuild ?
I also um commented line 359:
# zcat $CWD/VulkanTools-sdk.gcc12.diff.gz | patch -p1 --verbose || exit 1
or did you keep it ?
 
Old 05-29-2023, 06:50 PM   #15
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,463
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
Quote:
Originally Posted by SunnyJim View Post
hmm never tried conty.sh, some day maybe i will.
I must be the odd one out! There seem to be more people who would rather spend weekends getting it working rather than actually playing the games.
 
  


Reply

Tags
vulkan



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Vulkan 1.2.140 spec out and NVIDIA has a new Vulkan Beta Driver up with new extension support LXer Syndicated Linux News 0 05-06-2020 06:11 AM
LXer: Vulkan API specification 1.2 released, new NVIDIA Vulkan Beta driver up LXer Syndicated Linux News 0 01-18-2020 06:50 AM
LXer: Vulkan at GDC videos now up, with Valve talking about porting Source 2 to Vulkan LXer Syndicated Linux News 0 03-19-2016 11:53 AM
LXer: Vulkan 1.0 and Vulkan SDK Announced for Linux and Windows LXer Syndicated Linux News 0 02-17-2016 02:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration