[2021-08-13T02:02:31Z] how do I check what kernel modules I need to enable to sound (i.e. how do I tell what sound card I have without the driver) [2021-08-13T02:15:44Z] is it onboard audio? [2021-08-13T02:17:29Z] yes [2021-08-13T02:18:15Z] you need the intel hda drivers almost certainly, then [2021-08-13T02:18:44Z] unless you're some weirdo who uses ac'97 [2021-08-13T02:19:20Z] hi! do you guys know where the value for "$1" is defined in kiss? [2021-08-13T02:19:33Z] $1 is a special form in posix shell [2021-08-13T02:19:52Z] it's a dynamic variable that represents the first argument passed to the script [2021-08-13T02:20:00Z] I know [2021-08-13T02:20:12Z] ...then why did you ask? [2021-08-13T02:20:13Z] but as all varibles they must be set somewhere [2021-08-13T02:20:24Z] uh, it's set at invocation [2021-08-13T02:20:28Z] I need to know what sets this line in kiss DESTDIR="$pkg_dir/$1" [2021-08-13T02:20:33Z] it's not set explicitly [2021-08-13T02:20:38Z] $1 that is. [2021-08-13T02:21:02Z] so if kiss is invoked as kiss build sdl2, [2021-08-13T02:21:06Z] $1 is sdl2 [2021-08-13T02:21:58Z] ok 1 sec [2021-08-13T02:24:19Z] okay so that's not what I want then ... [2021-08-13T02:24:34Z] how does kiss know to install packages to /usr ? [2021-08-13T02:24:43Z] what kernel option is intel hda [2021-08-13T02:24:52Z] look it up duplex [2021-08-13T02:25:07Z] kyxor, kiss doesn't [2021-08-13T02:25:17Z] it's determined by the configuration of packages [2021-08-13T02:25:50Z] I did and I couldn't find it [2021-08-13T02:25:55Z] I'll look at kerenl src [2021-08-13T02:27:24Z] so if you run ./configuration --prefix=/usr, kiss installs the package to $XDG_HOMEDIR/kiss/bin/$pkg.tar.gz [2021-08-13T02:27:29Z] or something to that effect [2021-08-13T02:27:50Z] and then afaik it's just unpacked to the root dir [2021-08-13T02:28:03Z] but I haven't looked at that particular bit in-deptch [2021-08-13T02:28:05Z] depth* [2021-08-13T02:29:08Z] ok it's enabled [2021-08-13T02:29:22Z] however the card does not show up in the OS [2021-08-13T02:29:30Z] it's weird, somehow DESTDIR determines where package gets installed, but how does something like "/root/.cache/kiss/proc/6103/pkg/package" tell the build script that it needs to use /usr [2021-08-13T02:30:01Z] DESTDIR is passed to a makefile. kiss has nothing to do with it [2021-08-13T02:30:16Z] and the build script, when it invokes configure, or uses install, will dump things under /usr [2021-08-13T02:30:25Z] duplex have you checked lspci [2021-08-13T02:30:55Z] no [2021-08-13T02:31:19Z] then you don't know if the kernel doesn't detect the card. you should always use lspci to check if hardware is detected [2021-08-13T02:31:41Z] or lsusb if you're a savage that uses an external audio interface [2021-08-13T02:32:09Z] running lspci provides me with no useful info [2021-08-13T02:32:21Z] ah -l [2021-08-13T02:32:27Z] it shows up [2021-08-13T02:32:53Z] can you manipulate it with alsamixer? [2021-08-13T02:33:16Z] ok cool this has moved to why does alsa not detect my card [2021-08-13T02:33:17Z] no [2021-08-13T02:33:25Z] that's easy [2021-08-13T02:33:37Z] i bet you have an hdmi interface, right? [2021-08-13T02:33:41Z] I am trying to figure out what the hek dylan did with DESTDIR [2021-08-13T02:33:43Z] no, $1 is not the name of the package in build strips [2021-08-13T02:33:45Z] scripts [2021-08-13T02:33:54Z] it's the directory to treat as root [2021-08-13T02:33:57Z] so you install stuff to $1 [2021-08-13T02:34:03Z] midfavila-laptop: wdym [2021-08-13T02:34:12Z] ...do you have hdmi on your machine. [2021-08-13T02:34:14Z] yes [2021-08-13T02:34:25Z] then alsa is probably treating it as the default sound device [2021-08-13T02:34:36Z] oh uh [2021-08-13T02:34:39Z] try checking if you can change to your regular sound card with f6 [2021-08-13T02:34:59Z] should be labelled as a PCH [2021-08-13T02:35:58Z] f6 like the key? [2021-08-13T02:36:02Z] yes. [2021-08-13T02:36:08Z] from within alsamixer. [2021-08-13T02:36:26Z] oh alsamixer doesn't start let me get a log [2021-08-13T02:36:36Z] odd [2021-08-13T02:36:51Z] what does aplay -l tell you? [2021-08-13T02:37:42Z] noocsharp: I am super confuzed right now [2021-08-13T02:37:54Z] about what specifically kyxor? [2021-08-13T02:38:20Z] how this who DESTDIR shit works [2021-08-13T02:38:25Z] whole* [2021-08-13T02:39:01Z] DESTDIR sets the directory which will be treated as root [2021-08-13T02:39:26Z] https://termbin.com/3kki8 [2021-08-13T02:39:28Z] alsamixer log [2021-08-13T02:39:30Z] inside a kiss build script, you want to use $1 as DESTDIR [2021-08-13T02:39:41Z] if I do echo "$DESTDIR" in build script it prints "/root/.cache/kiss/proc/6836/pkg/glslang" that makes no sense I am not installing it to "/root/.cache/kiss/proc/6836/pkg/glslang" [2021-08-13T02:40:07Z] https://termbin.com/fnj0 [2021-08-13T02:40:12Z] aplay -l ^ [2021-08-13T02:40:31Z] huh... is your user in the audio group? [2021-08-13T02:40:33Z] yes, kiss uses a temporary directory to install things to, and makes a tarball out of this temporary directory [2021-08-13T02:40:45Z] or echo "$1" prints the same things [2021-08-13T02:40:48Z] then with kiss install, it installs this tarball to the root directory [2021-08-13T02:41:04Z] this way it can keep track of which files belong to a package [2021-08-13T02:41:06Z] ok it uses a temporary directory, but how does it know about /usr ? [2021-08-13T02:41:19Z] it doesn't, unless you specify prefix [2021-08-13T02:41:22Z] I'm doing this from root but I can try it from a user in audio ground [2021-08-13T02:41:25Z] *group [2021-08-13T02:41:26Z] /usr/bin is linked to /bin [2021-08-13T02:41:35Z] or vice versa actually [2021-08-13T02:41:54Z] same output [2021-08-13T02:41:55Z] no, root would have the same effect [2021-08-13T02:42:01Z] check if /dev/snd exists [2021-08-13T02:42:07Z] so what would I do if I want to install the package to say /tmp instead of /usr ? [2021-08-13T02:42:29Z] it does [2021-08-13T02:42:37Z] then if your package has a prefix option, you set prefix to /tmp [2021-08-13T02:42:47Z] and what device nodes are within it? what are the set bits? [2021-08-13T02:42:56Z] how does it move from "/root/.cache/kiss/proc/6836/pkg/glslang" to /usr [2021-08-13T02:43:10Z] it doesn't move to /usr, it moves to / [2021-08-13T02:43:13Z] how do I check that [2021-08-13T02:43:23Z] the makefile probably installs to /usr by default, but this is package spicific [2021-08-13T02:43:24Z] ls -lh [2021-08-13T02:43:39Z] for reference you can use man to check how to use commands [2021-08-13T02:43:48Z] kiss install takes the tarball generated by kiss build (all the files to install to the system), and copies them to / [2021-08-13T02:43:59Z] to be clear, you've followed the install guide, right duplex? [2021-08-13T02:44:12Z] s/all of the files installed to the system/all of the files installed by the package/ [2021-08-13T02:44:12Z] kiss install takes the tarball generated by kiss build (all the files to install to the system), and copies them to / [2021-08-13T02:44:43Z] https://termbin.com/18ou [2021-08-13T02:45:03Z] okay, I'll have to experiment a bit, thanks for help noocsharp. [2021-08-13T02:45:14Z] what are you trying to package? [2021-08-13T02:45:17Z] 404 duplex [2021-08-13T02:45:25Z] i might be able to look at it and give you some pointers [2021-08-13T02:45:46Z] https://termbin.com/l8ou [2021-08-13T02:45:57Z] hrm [2021-08-13T02:45:57Z] oops it was a l not a 1 [2021-08-13T02:46:10Z] noocsharp: nothing, I was just curious how it works, cause I know I don't fully understand it. A lot of implicit stuff is happening that I need to know [2021-08-13T02:46:11Z] looks like it's not creating the device nodes [2021-08-13T02:46:32Z] but yet it's still being detected by lspci... [2021-08-13T02:46:34Z] strange\ [2021-08-13T02:46:39Z] the source code is only a thousand lines [2021-08-13T02:47:00Z] are you using a device manager duplex? like mdev or eudev? [2021-08-13T02:47:07Z] nope [2021-08-13T02:47:16Z] this is pretty much a plain kiss install [2021-08-13T02:47:29Z] plain kiss uses mdev from bbox afaik [2021-08-13T02:47:32Z] I can send kiss list if you want [2021-08-13T02:47:39Z] nah, that's fine [2021-08-13T02:47:45Z] uhhh it uses libudev-zero [2021-08-13T02:47:56Z] ...oh, right, that changed recently [2021-08-13T02:48:01Z] 2k lines more precise, but again it's not about kiss it's about what kiss->configure?(cmake)->make does the whole system [2021-08-13T02:48:06Z] i don't use upstream kiss, i maintain my own base [2021-08-13T02:48:27Z] if you're not using a device manager you might have to manually populate devfs. not sure. [2021-08-13T02:48:42Z] idk if libudev-zero counts as one [2021-08-13T02:48:46Z] it doesn't [2021-08-13T02:48:50Z] ah [2021-08-13T02:49:05Z] it only provides udev-compatible libraries for programs like lspci and lsusb [2021-08-13T02:49:22Z] ah [2021-08-13T02:50:50Z] oh hi mid [2021-08-13T02:55:03Z] hey gn [2021-08-13T02:55:10Z] i saw your sdf was verified [2021-08-13T02:55:17Z] how are you settling in? [2021-08-13T02:55:28Z] does anyone have a path they can send me down to fix my audio issue? [2021-08-13T02:55:53Z] it's great [2021-08-13T02:56:02Z] you need to find a way to create device nodes, duplex [2021-08-13T02:56:07Z] trying to set up the email to work on the neomutt from my computer [2021-08-13T02:56:18Z] alright research time [2021-08-13T02:56:20Z] they only allow known hosts for smtp [2021-08-13T02:56:59Z] what do you mean, "known hosts"? [2021-08-13T02:57:17Z] afaik you only need an account that's verified [2021-08-13T03:22:11Z] midfavila-laptop: I tried setting it up and imap worked fine (i was able to access the emails) but I wasn't able to send any email [2021-08-13T03:22:33Z] asked around in com and apparently it only allows known hosts [2021-08-13T03:22:43Z] I am pretty unclear on that though [2021-08-13T03:23:21Z] hmm [2021-08-13T03:23:35Z] well, I just log in to sdf when I wanna check my mail [2021-08-13T03:24:11Z] needing internet to read emails? big cringe [2021-08-13T03:24:53Z] yes [2021-08-13T03:24:58Z] imagine using a web browser [2021-08-13T03:29:42Z] thats even worse [2021-08-13T03:29:51Z] im chiding him for using ssh [2021-08-13T03:30:01Z] or, knowing midfavila-laptop, likely telnet [2021-08-13T03:30:26Z] telnet is only on dialup [2021-08-13T03:30:43Z] oh? [2021-08-13T03:33:54Z] uses a little less bandwidth [2021-08-13T03:33:59Z] so it's more usable [2021-08-13T03:36:02Z] oh you mean you only use it on telnet? [2021-08-13T03:36:12Z] I thought you were saying generally [2021-08-13T03:36:19Z] correct [2021-08-13T03:36:24Z] i use ssh when I can [2021-08-13T03:36:29Z] telnet otherwise [2021-08-13T03:37:19Z] telnet is password-only right? [2021-08-13T03:37:25Z] yes. [2021-08-13T03:37:36Z] hmm yeah I wouldn't want to expose that on my servers [2021-08-13T03:37:56Z] * midfavila-laptop shrugs [2021-08-13T03:38:00Z] it has its uses [2021-08-13T03:48:54Z] Hi [2021-08-13T03:49:18Z] hi [2021-08-13T03:49:52Z] hi [2021-08-13T03:50:09Z] hi [2021-08-13T03:52:43Z] midfavila-laptop: I figured it out. I needed to enable the realtek codec in addition to intel HDA [2021-08-13T04:09:46Z] one more question that's been bugging me, how come I get files in .cache/kiss/proc when I am not using KISS_DEBUG, and those are just empty directories I think [2021-08-13T04:10:33Z] like like is not cleaning up after itself for some reason [2021-08-13T04:11:16Z] hmm weird so you are left with dirs like ~/.cache/kiss/proc/93886 [2021-08-13T04:11:34Z] thats odd [2021-08-13T04:11:35Z] kiss version? [2021-08-13T04:12:27Z] 5.5.25 [2021-08-13T04:12:49Z] same thing is happening to me for some reason [2021-08-13T04:12:56Z] it must be a bug in kiss [2021-08-13T04:12:59Z] someone make an issue [2021-08-13T04:13:00Z] yeah [2021-08-13T04:13:01Z] Me too [2021-08-13T04:13:03Z] In /tmp [2021-08-13T04:13:08Z] but i don't get it often enougj [2021-08-13T04:13:16Z] time to do some git bisect-ing [2021-08-13T04:14:23Z] a little script with "git bisect run" that runs kiss 10 times and then checks for left behind dirs in a custom KISS_ROOT should find it quick [2021-08-13T04:14:33Z] and would only be a few lines of shell to implement [2021-08-13T04:18:32Z] hmm i just got it to reproduce the bug once on some package, but now after trying again it stopped [2021-08-13T04:22:48Z] so far I think it's random [2021-08-13T04:30:25Z] Hi illiliti [2021-08-13T04:43:45Z] https://github.com/kisslinux/kiss/issues/259 [2021-08-13T04:44:00Z] still trying to see if I can reliably reproduce [2021-08-13T10:38:49Z] hiiiiii! [2021-08-13T10:39:19Z] hi [2021-08-13T10:52:02Z] wait are we sure heredocs arent bashism [2021-08-13T10:52:15Z] I'm looking at the open group base specification and I can't find anything regarding them [2021-08-13T10:52:34Z] they're not bruh [2021-08-13T10:52:44Z] used in a ton of places [2021-08-13T10:52:47Z] oh nvm I found them [2021-08-13T10:52:51Z] well even bashisms are but shellcheck doesnt complain [2021-08-13T10:55:12Z] oh now I get how those can make some functions neater [2021-08-13T10:55:20Z] really cool stuff [2021-08-13T10:58:42Z] oh <<- only accounts for tab indentation [2021-08-13T10:58:52Z] based tab indentation rules once again [2021-08-13T10:59:07Z] wdym [2021-08-13T10:59:15Z] it strips tabs [2021-08-13T10:59:19Z] from the input [2021-08-13T10:59:24Z] isnt that bad [2021-08-13T10:59:29Z] not for json [2021-08-13T10:59:42Z] << or <<- only [2021-08-13T10:59:51Z] <<- only [2021-08-13T11:00:03Z] hmm [2021-08-13T11:06:12Z] mksh also knows some kind of heredocs [2021-08-13T11:06:28Z] ok heredocs are pretty nice but how do I pipe a command with an heredoc to another one [2021-08-13T11:07:41Z] oh I think I got it [2021-08-13T11:08:56Z] cmd << EOF | cmd [2021-08-13T11:09:35Z] yep that seems to work [2021-08-13T11:09:38Z] thanks [2021-08-13T11:10:07Z] np [2021-08-13T11:35:49Z] acheam you're on openbsd right now right [2021-08-13T11:48:10Z] acheam hasn't been here in many minutes [2021-08-13T11:49:19Z] yup, 6 hours ago [2021-08-13T12:37:05Z] gtg, cya later! [2021-08-13T13:52:41Z] interesting https://packaging-con.org/ [2021-08-13T14:27:49Z] testuser[m]: yes [2021-08-13T14:31:44Z] acheam can you see if typing in a bunch of wide characters and then deleting them works fine ? [2021-08-13T14:31:47Z] Emojis and stuff [2021-08-13T14:33:32Z] most of openbsd doesnt support Unicode [2021-08-13T14:34:08Z] I tried oksh and it miscalculated the width which led to segfaults, but it's an old port so dunno if the issue is there in real ksh [2021-08-13T14:34:12Z] Why doesn't it ? [2021-08-13T14:34:47Z] idk it just doesnt [2021-08-13T14:34:57Z] not a priority [2021-08-13T14:35:20Z] gtk and stuff have it ofc [2021-08-13T14:35:26Z] just not the base system [2021-08-13T14:36:17Z] i do not want emojis of any kind and sort in any program [2021-08-13T14:37:11Z] netbsd doesn't support unicode, either [2021-08-13T14:44:24Z] hi guys [2021-08-13T14:44:32Z] anyone solved firefox vaapi? [2021-08-13T14:45:07Z] Did you read the wiki page for ff [2021-08-13T14:45:25Z] yeah [2021-08-13T14:46:00Z] but i did it a weeks [2021-08-13T14:46:16Z] And GalaxyNova did not works for he too [2021-08-13T14:46:34Z] Make a shithub issue [2021-08-13T14:46:40Z] on kisslinux/repo [2021-08-13T14:46:43Z] Okay [2021-08-13T14:46:51Z] ff is beyond repair [2021-08-13T14:48:40Z] I don't think ive seen schillingklaus say anything positive ever [2021-08-13T14:49:22Z] akira01: do you know how to verifiy that vaapi works in the first place? [2021-08-13T14:50:09Z] What browser do you use schillingklaus [2021-08-13T14:51:00Z] reword: have you verified that vaapi works in the first place? [2021-08-13T14:51:53Z] Someone tell me to use a mozillas test to verify webgl [2021-08-13T14:51:57Z] testuser: luakit [2021-08-13T14:52:43Z] one of the few browsers with js support that can be operated with out mouse, if the sites's js is not too crappy [2021-08-13T14:53:25Z] akira01: I would start small and check vaapi with e.g mpv first. [2021-08-13T14:53:57Z] Have a read here which vaapi stuff you need for your hardware. https://wiki.archlinux.org/title/Vaapi [2021-08-13T14:54:05Z] Okay [2021-08-13T14:54:06Z] unfortunately, like most gtk3 based stuff, it uses that creep called dbus... [2021-08-13T14:55:40Z] There is a startup option for firefox, which enables verbose terminal logging, but I cant find it right now. It would tell you very clearly there if vaapi is in use or if theres a problem. [2021-08-13T15:22:50Z] I come bearing new issues. alsa recognizes my sound card (there is only one) however there is no sound (i've made sure my volume is up in alsamixer) [2021-08-13T15:22:56Z] I'm testing with speaker-test [2021-08-13T15:28:06Z] duplex: The master channel could be muted, dislayed with "MM" in alsamixer. Press 'm' to toggle mute status. [2021-08-13T15:28:46Z] istg [2021-08-13T15:28:48Z] that was it [2021-08-13T15:28:53Z] I feel stupid now [2021-08-13T15:28:58Z] thanks [2021-08-13T15:30:51Z] No problem. :) [2021-08-13T15:38:31Z] its a confusing graphic [2021-08-13T16:45:27Z] duplex: don't feel stupid, everything set to muted is ALSA's default [2021-08-13T16:56:32Z] has anyone gotten foot to have correct spacing with ttf-croscore? [2021-08-13T17:40:02Z] schillingklaus types are the problem: they complain about everything and attempt to solve nothing [2021-08-13T17:57:33Z] ^ [2021-08-13T19:22:54Z] anyone gotten foot to have correct spacing with ttf-croscore? [2021-08-13T19:45:29Z] can't seem to build qemu https://0x0.st/-JGH.txt [2021-08-13T19:46:33Z] oh, jedav aint here [2021-08-13T19:51:38Z] duplex: Try setting Cousine-Regular as the font in foot.ini. [2021-08-13T19:52:15Z] It's one of the fonts in the ttf-croscore package, seems to work. [2021-08-13T20:02:21Z] phoebos: did you take down your irc logs? [2021-08-13T20:03:38Z] i hope not :| [2021-08-13T20:04:01Z] yep, they're still there [2021-08-13T20:04:42Z] although im in the (slow) process of migrating onto bvnf.space [2021-08-13T20:18:03Z] uh link? [2021-08-13T20:18:10Z] nice