jaeger changed the topic of #crux-devel to: CRUX (https://crux.nu/) development channel | Logs: https://libera.irclog.whitequark.org/crux-devel/
<jaeger> Admittedly I don't check the wayland stuff since nvidia and wayland hate each other
<Romster> farkuhar, their is a stance of not creating feature creep to the point it's impossible to maintain and test all features.
<Romster> wayland and nvidia support is about to get a lot better.
<Romster> i even observed a so.1 symlink for nvidia-settings aftger i've ran that but i didn't bother to add symlinkes to all the so files to so.1
<farkuhar> ivandi: actually no, 'depinst' and 'depends' still only find the minimal set of ports needed to build the targets specified on the command line, regardless of whether --softdeps is passed or not. The new flag is meant to ensure that update/sysup operations are carried out in the right order, but first-time installation of a port (and selection of its optional dependencies) is still under the user's control.
<jaeger> interesting... I wonder how that isinst check worked in my local tests
<jaeger> It shouldn't... but it did
<Romster> yeah it works if you don't subshell it with if test....
<Romster> as [ is a test bash built in command
<Romster> bash match is done in [[ ]]
<jaeger> Yeah, what I'm saying is that it worked as it is
<jaeger> But I don't know how
<Romster> but i couldn't get it to work with prt-get isinst ... as it's more than one word even with quotation marks around it so i went with keeping the subshell and echo the error code out at the end.
<jaeger> Where does the /usr/share/vulkan/icd.d thing come from? That's in direct conflict to nvidia's documentation
<Romster> also the logic of ne 0 not equal to zero is the reverse of is installed to install them files if wayland is found.
<jaeger> Is that configured via vulkan and nvidia is just behind the times or something else?
<Romster> i found it in archlinux
<jaeger> looks like mesa uses it, too
<jaeger> but nothing about it in the vulkan footprints
<Romster> it gets found and used correctly from that path and mesa uses that path too.
<Romster> vulkan does read it from that path
<Romster> and it saves rejemrge run
<ivandi> farkuhar: thanks for the clarification, i'll still need my install.lst file.
<jaeger> Which app specifically uses those files?
<Romster> granted one could exclude /etc/vilkan stuff from pkgadd.conf
<farkuhar> ivandi: although if you give both the port and its desired optional dependencies as arguments to the 'depinst' command, then the --softdeps flag will affect the ordering, so in that sense it can still prove useful.
<jaeger> Fighting with some proxmox bullshit right now but I'll test it when I can
<Romster> vulkaninfo for one
<jaeger> ok
<Romster> i haven't hit any issues from months of testing in my use case.
<Romster> it could use more testers
<Romster> i know i've been idle for months
<Romster> then i come up with this.
<Romster> even had beer-man go off at me for having crux core member in my github profile so i removed that to make him happy.
<jaeger> All good, I appreciate the input, just always want to verify it myself, too
<Romster> i know, i've spent time reasoning every change. in that.
<Romster> been gaming more since it's the only thing that calms my adhd down from work, and not as much mental capacity to deal with much else.
<Romster> that's why i've been quiet for so long.
<jaeger> Mental health is important, of course, do what you need to
<Romster> currently working on dmarc reports for work stuff.
<farkuhar> Romster: glad to see you back and working on crux again! As dlcusa so memorably put it, "maintainers are owed, not owing."
<jaeger> The firmware I skipped because I wasn't installing NGX at all, for what that's worth
<Romster> farkuhar, also on the note of feature creep, i had the intention of extending prt-get or some other tool to use the optional: line to give the option to display and select extra optional deps for a depinst.
<Romster> farkuhar, i also changed all the "# Nice to have:" lines to "# Optional:" but then i seen at some point a "# Nice to have:" line added again recently.
<Romster> farkuhar, things like harfbuzz-icu we had in the past which is now only built in harfbuzz itself breaks depinst when some port needs harfbuzz with icu but depinst ordering makes icu install after harfbuzz. so i had the idea of a port that lists icu would check and find that harfbuzz has a optional icu, then it would either get icu installed before harfbuzz or warn the user that harfbuzz needs a rebuild to support icu.
<Romster> i didn't get that far.
<Romster> jaeger, i wondered why i wasn't using my gpu very heavily then i found in my dmesg that firmware wasn't found, did a search and ah...
<jaeger> Out of curiosity, what are you using NGX for?
<Romster> jaeger, little suprising since you got wine-staging and you got nvidia, but perhaps you don't use your gpu that heavily.
<farkuhar> Romster: with my latest commits to the forked repo, both headers ('Optional' and 'Nice to have') are recognized as synonymous. But anyway, I think it's more in keeping with jw's vision to have prt-get remain noninteractive, so a *menu* for selecting optional dependencies is not how I would proceed.
<jaeger> The GPU works fine for me in wine-staging, but I don't use any AI features
<Romster> jaeger, i was playing with cuda a bit, not done anything serious with it but i noticed it was missing stuff to work
<jaeger> ah
<Romster> so for completeness i thought i'd install those.
<Romster> i'm also using https://github.com/GloriousEggroll/proton-ge-custom instead of steams proton for some games.
<Romster> i got cuda cores on my rtx3070 i got curious what i can use it for.
<jaeger> Maybe some stable diffusion or neural network training, etc.
<Romster> also opencl uses it too that i was messing with
<jaeger> A couple years back I benchmarked my laptop's crappy MX150 GPU against the Threadripper 2950X CPU for some neural network training and the MX150 absolutely smoked the CPU
<jaeger> Kinda crazy how big the gap is
<Romster> that's amazing
<Romster> i have had ideas of using cuda cores for audio DSP
<Romster> farkuhar, yeah prt-get needs to be non-interactive, i hate that it now breaks on wine libreoffice and stuff that depends on harfbuzz built with icu. where the old way of building harfbuzz-icu and extracting the icu libs worked flawlessly.
<jaeger> A minor feature I have on my list for pkgutils/prt-get replacements is a quiet option for isinst for checking in scriptys
<jaeger> scripts
<Romster> there's been a couple of installs over the years that i forgot to pass the pre/post scripts, and it broke a build. it might be an idea for prt-get to warn that a possible port may not work correctly if a pre-install is found in the deptree
<Romster> but this is crux for experienced users so i just enable it or go manually and run what i missed.
<Romster> it's difficult how user friendly you make crux vs "well you f&^ked up, easy to resolve and move on"
<farkuhar> Romster: I've noticed some variety in how the pre/post scripts create new entries in /etc/passwd or /etc/group. Some maintainers delay the useradd and chown commands until post-install (leaving everything in .footprint as root/root), while other maintainers prefer to set up the new accounts in pre-install, and do the chown command inside build(). The Wiki page on pre/post scripts offers no firm guidance one way or the other.
<Romster> anything that needs files owned as a set user needs to be done pre. if all files are owned as root and only run later as some other user then most would do post
<Romster> i did in the past when i was forking pkgutils think of adding a user/group feature to pkgmk and Pkgfile
<Romster> seems most pre installs just need a user and/or a group added.
<Romster> i've seen gentoo added group/user packages/files for each of those so they can depend on what each ebuild needs.
<Romster> far more complicated how gentoo does it but it does make sense.
<jaeger> Hrmm... I don't see any change in vulkaninfo with the icd file move... any idea what else to use to verify it?
<Romster> jaeger, that's the thing it still reads it just fine at the /usr/share... path
<jaeger> It seems to work fine in both
<jaeger> At least as far as vulkaninfo is concerned
<Romster> if you keep the icd at etc and in share you'll see two entries in vulkaninfo iirc
<jaeger> So is there any point in moving it, other than to deduplicate and use the same path as mesa does?
<Romster> to deduplicate and use the same path as mesa does, and not having to run rejmerge on that file due to the version of vulkan used changing over different nvidia versions
<Romster> that's about all.
<jaeger> ok
<Romster> for that small part
<Romster> i did it for consistency with mesa
<Romster> even though the nvidia readme ways etc
<Romster> says*
<Romster> not like you ever edit that file anyways
<jaeger> Guess I did install the ngx lib after all, oops. I'd forgotten that.
groovy2shoes has quit [Remote host closed the connection]
<jaeger> Interesting... I DO see the glib-32 issue with includes on another system even though I didn't in the clean container
<jaeger> For some reason it wants to use /usr/local/include
groovy2shoes has joined #crux-devel
mbarbar has quit [*.net *.split]
mbarbar has joined #crux-devel
jue has quit [*.net *.split]
XXX1232 has quit [*.net *.split]
chrcav has quit [*.net *.split]
pitill0 has quit [*.net *.split]
mnkydeth has quit [*.net *.split]
darfo has quit [*.net *.split]
genpaku has quit [*.net *.split]
jubalh has quit [*.net *.split]
mbarbar has quit [*.net *.split]
pitillo has quit [*.net *.split]
jaeger has quit [*.net *.split]
farkuhar has quit [*.net *.split]
beerman has quit [*.net *.split]
XXX1232 has joined #crux-devel
jue has joined #crux-devel
chrcav has joined #crux-devel
mbarbar has joined #crux-devel
mnkydeth has joined #crux-devel
darfo has joined #crux-devel
genpaku has joined #crux-devel
jubalh has joined #crux-devel
beerman has joined #crux-devel
jaeger has joined #crux-devel
pitillo has joined #crux-devel
farkuhar has joined #crux-devel
pitill0 has joined #crux-devel
beerman has quit [Ping timeout: 246 seconds]
farkuhar has quit [*.net *.split]
farkuhar has joined #crux-devel
jaeger has quit [*.net *.split]
pitillo has quit [*.net *.split]
jubalh has quit [*.net *.split]
pitillo has joined #crux-devel
jaeger has joined #crux-devel
XXX1232 has quit [*.net *.split]
chrcav has quit [*.net *.split]
darfo has quit [*.net *.split]
pitill0 has quit [*.net *.split]
mnkydeth has quit [*.net *.split]
jubalh has joined #crux-devel
jue has quit [*.net *.split]
jue has joined #crux-devel
pitill0 has joined #crux-devel
darfo has joined #crux-devel
mnkydeth has joined #crux-devel
XXX1232 has joined #crux-devel
chrcav has joined #crux-devel
genpaku has quit [*.net *.split]
genpaku has joined #crux-devel
XXX1232 has quit [*.net *.split]
chrcav has quit [*.net *.split]
darfo has quit [*.net *.split]
pitill0 has quit [*.net *.split]
mnkydeth has quit [*.net *.split]
XXX1232 has joined #crux-devel
chrcav has joined #crux-devel
pitill0 has joined #crux-devel
darfo has joined #crux-devel
mnkydeth has joined #crux-devel
beerman has joined #crux-devel
Romster has quit [Quit: Leaving]
SiFuh has quit [Remote host closed the connection]
SiFuh has joined #crux-devel
Romster has joined #crux-devel
Romster has quit [Quit: Leaving]
Romster has joined #crux-devel
Romster has quit [Ping timeout: 265 seconds]
Romster has joined #crux-devel
Romster has quit [Ping timeout: 256 seconds]
Romster has joined #crux-devel
Romster has quit [Ping timeout: 246 seconds]
Romster has joined #crux-devel
<beerman> color me surprised..
<beerman> jaeger yeah same error i got on my desktop then.. pretty weird
jubalh has quit [*.net *.split]
jubalh has joined #crux-devel
groovy2shoes has quit [Read error: Connection reset by peer]
groovy2shoes has joined #crux-devel
<jaeger> It looks like /usr/lib/libnvidia-egl-wayland.so* could conflict between egl-wayland and nvidia - I'm guessing probably the one packaged by nvidia is the "correct" one but not sure. Currently there's a version difference, 1.1.10 vs 1.1.11, and the nvidia port doesn't create the .so.1 and .so symlinks yet...
<jaeger> Maybe egl-wayland isn't required anymore if the nvidia port is updated to install those?
<jaeger> Ah, I see egl-wayland gets its source from the nvidia github repo so I guess they're both "correct"