01:18:58 yes! everything about this page inspires absolute confidence! https://www.freedesktop.org/wiki/Software/xlibs/ 01:18:59 Title: xlibs 03:16:47 dammit, I hate it when I forget to mount large data drives with nosuid 03:17:10 (or noexec) 03:17:35 I wish there were a persistent attribute for that 03:29:31 is it possible to setup the following: partition a drive in 2: 1 part for OS , second part as special device 03:29:45 oh, in zfs, and it has to be mirrored 03:30:11 special device? 03:30:53 yeah, you can use it to store the metadata 03:31:14 aka: data on spinning hdd, metadata on ssd. gives huge speed boost 03:31:49 Do not see the point of partitioning the same disk to separately store the metadata 03:32:27 there is a point. the os and metadata are on ssd, data is on hdds 03:32:47 *metadata for the hdd pool 03:33:43 So the partitions are on a SSD with OS & metadata for the data on a separate disk? 03:34:19 last1, I see you had already mentioned that. Ok then 03:40:14 how many hdds are involved? 03:40:25 RhodiumToad: I just alias mnt to mount -o noatime,nosuid 03:40:59 44 03:41:33 wow 03:42:22 the only part I'm not sure about is how mirroring of the special device would be handled 03:42:44 my question was more like: can I partition ada0 in 250GB for the OS, rest for metadata and then install FreeBSD on ada0p1 with ZFS 03:43:11 I would do the same with ada1 so the OS would be zfs mirrored on ada0p1 / ada1p1 , and the special vdev would also be a mirror on ada0p2/ada1p2 03:43:12 in terms of partitioning, you can do almost anything, because zfs is basically ignorant of the underlying geom layout, it just consumes whatever providers you give it 03:43:41 my problem is that in the installer I can't choose ada0p1 , just ada0 in the Auto-ZFS installer 03:43:52 you have two separate ssds to use for the OS/special bits? 03:44:02 no, just one 03:44:15 anything non-standard and you have to do manual partitioning, obviously 03:44:19 last1, you would need to do that manually 03:44:53 ugh, a manual zfs zroot install, I wanted to avoid that :) 03:45:34 last1: I think you'd have to do manual partitioning from the shell. which is a PITA with ZFS if you want the default dataset layout that the installer creates (and you should because they're good) because you have to create them by hand. 03:45:54 you should be able to do the partitioning in the installer 03:45:57 yeah, that's what I had started on, I created the partitions with gpart 03:46:07 but then I wanted to jump back in the installer 03:46:10 I would install just the OS partition manually, and set the rest up later 03:46:12 and have it use ada0p1 03:46:46 but then I haven't used the installer in anger for a while 03:47:09 last1, You could parition via the installer. Then choose the partition to install ZFS (there will be no separate datasets, https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262461 ) Later make the mirror after the installtion. 03:47:12 Title: 262461 – bsdinstall: After manual partitioning the disk, installer installs "ZFS on root" directly on the pool not under separate ZFS datasets 03:47:54 ugly business, I might just get 2 dedicated mirrored OS drives 03:48:15 but I wanted to save on 2 SSD slots and do it all on those 2 drives 03:48:43 what's ugly about it? 03:50:24 ok, let me try this one more time. 03:50:48 * parv had installed ZFS on a single partition, on 2-SSD mirror, but not on a mirrior on 2 partitions 03:51:19 so in the Installer, I go manual route, create just one 250Gb partition as freebsd-zfs and try to install on that 03:51:27 and after, I add the second drive as mirror 03:54:57 yup 03:56:46 https://imgur.com/a/9rbKLi1 03:56:47 Title: Imgur: The magic of the Internet 03:56:56 if I try to set mountpoint as / , the installer crashes and restarts 03:57:09 parv: how did you manage to do auto-zfs on just part of the disk ? 03:59:08 unfortunately I don't have a VM spare to test it in right now 04:11:10 any way to know when this page dates from and if it's still to be used ? https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot 04:11:12 Title: RootOnZFS/GPTZFSBoot - FreeBSD Wiki 04:11:29 ah, it says at the bottom: last edited 2022-06-12 04:12:45 so fairly recent, but this line in the beginning: newfs_msdos -F 32 -c 1 /dev/ada0p1 gives me an error: 1542 clusters too few clusters for FAT32, need 65525 04:17:17 is that for an ESP? 04:17:57 apparently it's for the UEFI boot partition 04:18:00 I'm doing it by hand 04:18:19 yes, that's what an ESP is 04:20:40 1542 clusters of 1 sector looks very small 04:22:32 eh, I'll just do legacy boot instead 04:22:34 are you trying to make it just big enough for loader.efi? that's a very bad move 04:22:50 well, I was just following that document: https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot 04:22:51 except on install media, you should make it at least 64 megs 04:22:51 Title: RootOnZFS/GPTZFSBoot - FreeBSD Wiki 04:23:08 it's apparently wrong 04:25:35 you can make the partition larger, or use fat16, or both 04:27:34 try -c 8. I *think* it's better to stick to FAT32 for the ESP... 04:28:03 -c 8 will make it worse 04:29:02 that'll push the minimum size up to ~256MB 04:29:53 RhodiumToad: maybe I remember wrong but I think it's what I did not long ago. it gave me 4K clusters which seems fine. the error message is very confusing. 04:30:20 I've never had any issues with fat16 for ESP 04:30:40 oh alright 04:31:01 4k clusters is fine in itself, it's just that newfs_msdos wants the device to be large enough for 65525 clusters to use fat32 04:31:07 why is iocage making me update every single file in /etc/ by hand for every single jail just to upgrade from 13.1 to 13.2? 04:31:18 so the larger the clusters, the larger the minimum device size 04:31:20 i didn't change weird things like ssh moduli 04:31:29 surely something has gone wrong? 04:31:38 The following file could not be merged automatically: /etc/mtree/BSD.debug.dist 04:31:38 Press Enter to edit this file in /usr/bin/vi and resolve the conflicts 04:31:38 manually... 04:32:42 huh, that shouldn't need a manual update, it should just be replacing it 04:33:03 yeah 04:33:07 but I have no idea why it would do that 04:33:11 but there's no option to replace it 04:33:33 what are the conflicts? 04:34:25 almost everything in /etc/ 04:34:30 from where debug files 04:34:32 weird 04:34:38 to sshd_moduli 04:34:45 no, I mean if you edit the file, does it show any conflicts and if so, what 04:34:50 oh 04:34:51 yes 04:35:03 basiclly all the stuff you'd normally expect from the new release 04:35:08 version identifier changes 04:35:15 small additions to hostapd's init script 04:35:31 most of the merges are things that should be totally doable automaticlly 04:35:39 like inserting lines where these was none before 04:35:51 is it invoking etcupdate to do the work, or using its own code? 04:36:28 i don't know i'm just running iocage upgrade -r 13.2-RELEASE ALL 04:36:32 IIRC etcupdate on recent enough 13-STABLE (& 14-CURRENT) had handlled those files 04:36:55 you could look at the process list and see if etcupdate is running 04:39:31 alright i'm restarting to upgrade on the jail to check if it's using etcupdate 04:39:37 but if it is what would that change? 04:40:02 just whether it's an iocage bug or an etcupdate bug 04:41:07 one second 04:41:39 /bin/sh /tmp/tmp_onnvkjc -b /zroot/iocage/jails/mumble/root -d /zroot/iocage/jails/mumble/root/var/db/freebsd-update/ -f /zroot/iocage/jails/mumble/root/etc/fr 04:41:42 sweet, I've done it: https://imgur.com/a/LNBVH4v 04:41:44 Title: Imgur: The magic of the Internet 04:41:54 eebsd-update.conf --not-running-from-cron --currently-running 13.1-RELEASE -r 13.2-RELEASE upgrade 04:42:10 i don't know 04:42:28 i can't find etcupdate 04:42:30 so now zfs is on ada0p3, and I would just add a mirror to ada1p3 to have it redundant ? don't I also need to mirror ada0p1 and ada0p2 ? 04:42:36 The following file could not be merged automatically: /etc/mtree/BSD.debug.dist 04:42:36 Press Enter to edit this file in /usr/bin/vi and resolve the conflicts 04:42:36 manually... 04:43:31 last1: there's no sane way to mirror the ESP, but you can make a copy of it on the other drive as a backup (nothing on it should change in normal use) 04:43:47 what's ada0p2 ? swap? 04:44:18 RhodiumToad, is there some other way to tell? 04:44:34 if you want to avoid crashing if ada0 dies, you can use gmirror to mirror the swap partition 04:44:37 yes, swap, that I can ignore I guess 04:45:00 oh, good idea 04:45:09 and set the swap to the mirror 04:46:00 you'd probably want to set it to 'prefer' and give the ssd the higher priority 04:49:00 well shit, i'm just going to roll it back 04:49:13 thank goodness for zfs snapshots <3 04:54:08 I left some unpartitioned space on a nvme to install Windows later on. I assume that this just works (and that it'll use the existing ESP without issue) but if this wrecks my freebsd install I'm going to be a little bit annoyed... 04:56:36 it may overwrite the bootx64.efi, you may want to keep an extra copy handy 04:57:16 if you have multiple OSes you probably want some form of EFI boot manager anyway 04:57:45 RhodiumToad: ah right. well if it's only that it's something that can be fixed from a USB key. 04:58:37 RhodiumToad: can setting up some EFI "boot menu labels" (or however that's called) be enough to dual boot them? 05:00:38 heh I haven't bothered trying to dual boot in forever. small SSDs are so cheap. but with nvme it makes sense to try to share them again. 05:02:22 I've not tried dual booting from EFI 05:02:36 but I know in theory how it works 05:03:35 alright. well, I'm just gonna hope that messing with efibootmgr(8) can make it just work. 05:03:50 i.e. in theory it's just a matter of having all the various OS boot loaders on the ESP and either telling the firmware which one to boot via an EFI environment var, or having a menu program on the ESP to handle that part 05:04:47 efibootmgr works by setting those EFI env vars 05:05:22 if you want a boot menu, there's things like rEFInd 05:06:31 RhodiumToad: that's an intermediate boot loader right? you boot into it and then it chain loads some other ESP boot program? 05:06:40 yup 05:07:27 I'm hoping that I won't need anything like that. If I have to press the "boot menu" key while booting to pick from the EFI's built-in boot meny that's fine. if that works... 05:31:47 hm, my buildworld looks nearly done 05:31:56 after 130 minutes 05:40:41 hm, not as nearly done as I thought 07:14:24 hi. is there a package that reports pcie 10gb nic temperatures? 07:19:48 it looks like at least some high-speed NIC drivers report chip temperatures via sysctl? 07:24:29 <_xor> I'd look at IPMI/SMBus as well. 07:25:25 ok, I'm checking things right now 07:30:38 can pcie cards be on smbus? 07:36:14 tried sysctl dev | grep ix | grep -i temp but nothing relating to the temperature 07:39:27 ixgbe driver? 07:39:51 yes, i think so.. Intel(R) X520 92599ES 07:43:36 looks like ixgbe adds sysctls for temp only on certain device IDs, specifically IXGBE_DEV_ID_X550EM_X_10G_T 07:46:37 sorry, i mis-typed. its a 82599es 07:52:17 <_xor> RhodiumToad: Not sure, I thought I remember seeing one of my servers show me NIC info via the embedded management interface, and I thought it was getting it via SMBus, but not sure. Couldn't hurt to take a quick look though, should be easy to eliminate if it doesn't. 07:54:01 FETCH_DEPENDS+= ${GO_CMD}:${GO_PORT} \ 07:54:05 fucking hell. 07:54:59 how am I supposed to fetch all my distfiles in advance if any go port needs to build go just to fetch itself? 08:29:08 sfox: iocage hasn't seen updates in quite some time 08:29:24 why is that? 08:29:30 it's not abandoned is it? 08:29:48 hopefully this is just a matter of rolling back and waiting for a proper fix upstream? 08:47:43 sfox: https://github.com/iocage/iocage/issues/1289 08:47:45 Title: Last Accepted Pull Reqest was Oct 2021 · Issue #1289 · iocage/iocage · GitHub 08:47:45 1289 – errno breaks in thread-safe c++ compiles https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=1289 08:52:26 ugh 08:52:31 i just migrated from ezjail too 08:54:36 am I really supposed to just go use linux? 08:54:58 i switched to FreeBSD cause I couldn't stand Linuxisms any longer 08:55:18 now this new update even implements /etc/machine-id 09:09:39 sfox: Linux is now the new standard without a standards body 09:11:01 if we don't follow some of directions or sets you won't be able to run any applications, because people who pretend they program for the POSIX platform don't test on anything than their macOS they developed on, and the Linux ci 09:11:28 anyway. ezjail hasn't seen updates even longer than iocage. 09:12:15 if you want a thing that's actively developed, please do the research or ask for recommendations 09:12:25 So OpenBSD (sans ZFS)? 09:19:09 https://wiki.freebsd.org/Containers and there's also https://github.com/illuria/jailer 09:19:10 Title: Containers - FreeBSD Wiki 09:19:41 parv: oh, yeah, OpenBSD will definitely stay what it is. I think 09:22:37 cue OpenBSD integrating a kernel bus 09:22:59 tho, honestly, i'd love to see that, because i think they'd do a fantastic job 09:28:10 btw, jailer might be a bit volatile https://weblog.antranigv.am/tags/jailer/ but the work coming out of jailer (lol) and landing in base is there to stay 09:28:12 Title: Jailer | Freedom Be With All 09:37:30 it's almost orwell 09:45:17 sfox: anyway, to summarise: the real reason to join a BSD community isn't the technology, so much, although we have some cool tech, it's the process behind how that tech comes together, and the kind of communities that make that possible 09:45:53 I like the tech. 09:49:29 the fact that i can get a one line patch into the base system, without having twenty decades of kernel hacker credentials tells you something about our process: https://github.com/freebsd/freebsd-src/pulls?q=is%3Apr+author%3Aigalic+is%3Aclosed 09:49:30 Title: Pull requests · freebsd/freebsd-src · GitHub 09:50:03 GitHub doesn't tell you that only one of those wasn't merged 10:38:29 I love that morse(6) is a game (section six) but it also implements an ITU standard: https://freshbsd.org/freebsd/src/commit/82a036d86acaac75b1ff6d4f8b767bbb117694f1 10:38:30 Title: FreeBSD / src / 82a036d86acaac75b1ff6d4f8b767bbb117694f1 - FreshBSD 10:38:54 Nice. 10:39:13 Freaky: what'd you think of displaying the subject line in the title when linking commits? 10:40:08 the commit hash isn't as useful to the casual observer as the commit subject line, imo 10:55:01 seems like games is also meant for stuff that was made for fun and not for some serious need, like caesar too, totaly usable and implements frequency based guessing of the right rotation, ah wait that has a serious need, how else would you solve #ircpuzzles if caesar wasn't in base? 12:08:30 no rc.d script for if_wg in 13.2? 12:08:49 does this mean that wireguard-tools should still be used? 12:18:48 Hello again. Looks like there was an power outage during package installation. Now pkg complains about malformed local package database image. Is there any way to recover it without re-bootstraping pkg? 12:22:26 <_xor> Do you have a list of packages that were installed? (I do wonder how it got corrupted though, is there a *.wal file in /var/db/pkg somewhere?) 12:22:54 <_xor> ...also, anyone know if there's a setting in Firefox to get it to release /dev/dsp when audio isn't actively playing? 12:23:49 mage: I think it's in ports 12:24:13 * _xor had USB audio stop working randomly several times in the past few days until he finally noticed that the end of of his USB-C cable was frayed and was causing power issues 12:25:02 <_xor> Replaced the cable and hasn't happened since, but would still like to avoid the sound device being locked and unable to release/re-create without reboot. 12:25:34 <_xor> (...or at least, that was the only way I found to fix it, though I found a couple of blog posts that seemed to confirm that's the case) 12:26:39 _xor: Unfortunately, neither. There is only some shell history, but would it be really enough? 12:27:37 <_xor> No idea. You mainly need to know which packages you explicitly installed were, the rest of it can be installed as automatic dependencies. 12:28:52 <_xor> I know it's "normal", but seeing a bunch of "pid 12345 (conftest), jid 321, uid 0: exited on signal 11 (core dumped)" messages in my logs still feels...odd. 15:13:26 meena: that's a surprisingly invasive change 15:17:36 Freaky: hmmmm… I figured it might be 15:24:02 https://freshbsd.org/freebsd/ports/commit/23612e19c7ea25fc1a94c70aa3da2905df7da6af 15:24:03 Title: FreeBSD / ports / 23612e19c7ea25fc1a94c70aa3da2905df7da6af / www/onlyoffice-documentserver: Fix path in documentserver-jwt-status.sh - FreshBSD 15:24:36 maybe not *that* invasive :) 15:29:51 shortened the ids too 15:34:19 https://freshbsd.org/freebsd/src/commit/77f0e198d9134b6ca2650d3a84d7db2d786ec0c0 15:34:20 Title: FreeBSD / src / 77f0e19 / procctl: add state flags to PROC_REAP_GETPIDS reports - FreshBSD 15:34:28 Nice! 15:35:03 now my only complaint is that some diffs are too hard to read on mobile 15:37:49 the line numbers take up way to much space https://im.eena.me/uploads/8b910d392321b60c/Screenshot_2023-04-16-16-37-13-23.jpg 15:38:21 turn phone landscape? 15:49:59 _xor: I reported the reason for that conftest segfault years ago, it could have been fixed but has not been 15:55:10 Freaky: why does it show older commits to main as being on e.g. releng/13.0, related to git switch? 15:55:31 <_xor> RhodiumToad: What's the actual fix for it? 15:55:39 <_xor> (brb, picking up lunch) 15:55:48 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236165 15:55:50 Title: 236165 – crash in malloc with ld.lld and -Wl,--export-dynamic -static 15:56:27 yuripv: branch names in git are a clusterfuck 15:57:20 that answer works :D 15:57:20 with svn you just extract from the filenames in the commit, with git you.. shrug 15:58:08 branches are just names for tips on the commit graph 15:59:20 "older commits to main"? you mean ones from before releng/13.0 was branched? 15:59:49 I use git name-rev and it tries to pick one vaguely sensible branch name for the given commit, which is far less than ideal 16:01:31 git just has no concept of what branch a commit was made to, you can only vaguely infer it from walking the commit history from the tip of a branch and going back through history until it seems to merge with main or another branch 16:05:36 RhodiumToad, _xor: https://reviews.llvm.org/D42748 16:05:37 Title: ⚙ D42748 [ELF] Don't create a .dynamic section when linking with -Bstatic 16:11:28 hey there; for an 8 x 22tb disks NAS storing movies, would I be better off doing a zpool of 2 x RAIDz1 VDEVs (containing 4 disks each) or 1 x RAIDz2 VDEV (8 disks)? 16:12:24 I've consistently read that the more VDEVs the better performance wise, but wouldn't using 2 RAIDz1 VDEVs reduce redundancy by only allow a single drive failure per VDEV? 16:12:55 also, I'll be using 10gb NICs soon enough, hence my worrying about having better IOPS 16:16:23 * _xor clicks link while opening his lunch from Chipotle(TM) 16:16:34 <_xor> I really should try Nandos sometime. I've heard good things. 16:21:16 if you have Moe's Southwest Grill, it's like Chipotle but a slightly better. I like both, _xor 16:22:00 Yeah. Fast food chains are, oddly enough, one of the things I miss most since moving to a small village in South America where those options don't exist. 16:23:09 meena: tried removing line numbers for small displays but Chrome told me to die in a ditch 16:23:38 Freaky: that's okay, i don't use chrome 16:29:10 <_xor> omg, it's a stupid global nodejs dependency that's causing this 16:29:48 * _xor noticed his system getting sluggish and CPU utilization rising...then noticed a ton of bash processes being spawned 16:30:09 <_xor> Looked like some stupid race condition or possibly intentional DDoS (sadly, not uncommon with nodejs ecosystem). 16:34:41 Freaky: a quick look at GitHub, gitlab, and codeberg tells me they all do that. it's just your site that i mostly look at: https://codeberg.org/FreeBSD/freebsd-src/commit/b1a00c2b136841b84b8ffdc703a1afeee5d0e268 / https://github.com/freebsd/freebsd-src/commit/b1a00c2b13 / 16:34:41 https://gitlab.com/FreeBSD/freebsd-src/-/commit/b1a00c2b136841b84b8ffdc703a1afeee5d0e268 16:34:43 Title: Quiet compiler warnings for fget_noref and fdget_noref · b1a00c2b13 - freebsd-src - Codeberg.org 16:34:44 Title: Quiet compiler warnings for fget_noref and fdget_noref (b1a00c2b) · Commits · FreeBSD / FreeBSD src · GitLab 16:37:06 meena: I'll sort something out, one way or another 16:45:44 and then the others will follow suit I'm sure ;) 16:55:58 veg, Both of your proposals allow for two failing devices but the first one only if the second failure is from the other VDEV while the second allows any two. 16:56:25 Both are good configurations. It depends upon your own judgement as to which is better for you. 16:56:55 If you expect to be able to react to the first device fail by replacing the redundancy of the failure before a second one in the set of four fails then it is fine. 16:57:31 That would be typical in a corporate enterprise datacenter situation with spares handy and someone on call to make the replacement every day. 16:58:31 The raidz2 configuration allows any two devices to fail. Allows a little more slack in your schedule if one fails and you don't get to it before a second one fails then things are still okay if you then replace the failed devices and restore redundancy. 16:58:59 At the cost of somewhat less performance than the striped VDEV configuration of the first proposal. 16:59:32 In my home setup I decided I might be away on vacation for a couple of weeks and I did not need that performance. YMMV. 17:00:22 Also remember that if one has an identical collection of storage devices and they are all running identical hours in identical environments then systematic type failures are more likely to cluster together. 17:01:31 Twice in my career I have had two sibling spinning disks die within a few days of each other. One I caught okay. 17:01:36 The other failed before the client decided to replace the redundancy and I had to do a full restore from backup. 17:16:44 rwp: oooooooooof 17:20:18 oooooooooof? 17:23:46 that just sounds like no fun. 17:26:40 For the one that I caught I copied the data to a different NAS and switched over to it. But left the original running since it was remote. 17:26:45 And then two days later the second drive in the mirror failed causing the loss of the entire array. But the data had already been moved. So all okay. 17:27:36 For the one that needed full recovery from backup the entire tale was just snafu because that client needed to be convinced to do something about it causing time to drag on. Could have saved it. But not after the second drive failed too. 17:28:13 Experiences like those are why I am a huge fan of raidz2/raid6 which gives a little more safety. Sometimes just enough more. :-) 17:31:44 I wonder how drives from different vendors that have same specs… fail 17:32:34 .epi 17:32:40 Failures modes from different vendors should be completely decoupled. Which is what you want. 17:34:48 For my own stuff I often split lots of drives. I mean I have two drives that are identical and been running mirrored for a year. 17:34:52 I buy two more identical drives. I then split those lots up so that each system has one new drive and one experienced drive. 17:34:57 Hoping that being a year apart that any failures will not be coupled failures. 17:38:28 Corporations though often have SLAs with service vendors and those vendors will often require arrays to have identical drives and identical firmware. Because they don't want the client to be complaining about weird issues that might be due to drive firmware or behavior. 17:38:35 But they might have a 4-hour service agreement to replace any failures very quickly. Which makes up for the potential problems. 17:47:32 Since veg mentioned 22TB disks I will mention in passing that I sure hope they are not SMR Shingled Magnetic Recording. Because those are completely unsuitable for purpose in a RAID. 17:48:54 If I were _given_ that much SMR storage I would probably still use the drives. But not in any raid. I would use them only as singles. 18:01:59 * RhodiumToad grumbles about make's spurious "read-only file system" warning 18:21:22 hello I was trying to make the sound work in a user account and then I followed some instructions from the BSD chapter on multimedia now for some reason the sound seems like it works on the user as well as root 18:21:33 but xorg stopped working in the user account but it still works in root 18:21:42 any ideas what to do to make it work? 18:22:29 Xwrapper. 18:22:42 https://termbin.com/mpqo 18:23:42 not sure why it stopped working but that was working before 18:23:55 Ok no Xwrapper then 18:24:38 sixpiece: what error do you get from X when starting as non-root 18:25:23 not* 18:26:08 I just get the 3 screens 18:28:25 it's like 3 terminal screens that are small 18:28:32 I've had it on these issues 18:28:35 how are you starting X? 18:28:38 startx 18:28:51 it's supposed to automatically start however and it works as root 18:29:17 and what is in your .xinitrc, and did you change that file recently? 18:29:32 you have it enabled in /etc/ttys? or where? 18:29:36 no but I might have made a command that screwed it up 18:30:01 https://docs.freebsd.org/en/books/handbook/multimedia/ 18:30:02 Title: Chapter 8. Multimedia | FreeBSD Documentation Portal 18:30:05 I did commands in there 18:30:20 sysctl hw.snd.default_unit=4 an extra one or two of these 18:32:03 # kldload snd_driver 18:32:03 -=- and this command as well that could have interfered the other thing that I did was I added the user to several groups not only pulse but pulse-access and _sndio I then pw groupmod pulse-access -d kiwichap to try and repair the situation 18:32:26 ah, did you take the user _out_ of the video group by mistake, perhaps? 18:33:09 try the 'id' command to see 18:33:28 I added the user to video group but it shouldn't matter when it goes to sddm since it could be any user of the system I think 18:33:45 I mean they don't know specifically that I am that user until I login is what I mean to say 18:34:20 you're using sddb started from where? rc.conf, or ttys? 18:34:26 *sddm 18:34:33 rc.conf 18:34:51 and sddm starts ok and prompts for the user? 18:34:56 https://termbin.com/cihg for the id command 18:35:04 no it does not start ok 18:35:11 what happens? 18:35:29 good observation I will try 18:36:05 cannot mix incompatible Qt library (5.15.5) with this library (5.15.8) 18:36:26 i had the same issue recently 18:36:38 i did `pkg update -f; pkg upgrade -f` and it got resolved 18:37:15 somehow you have 2 qt libraries core versions or something 18:37:31 > if you want a thing that's actively developed, please do the research or ask for recommendations 18:37:31 yes, i'm looking for a reccomendation of iocage development 18:37:54 i mean yes i'm looking for a reccomendation for a replacement of iocage since it's no longer developed 18:39:13 right I installed chromium browser 18:39:52 rwp: thanks a lot for the thorough reply! My disks are 22tb WD Gold, AFAIK they do not use SMR technology 18:39:55 doing the upgrade now , although it doesn't explain why the root still works 18:40:33 * gzar shrugs 18:40:45 i had the same issue with screengrab 18:40:55 found the solution on the freebsd forums 18:41:20 after forcing and update and upgrade it worked for most people 18:41:55 its like your binary is compiled against an older version of QT then your current library 18:42:26 it says notice: this port is deprecated you may wish to reconsider installing it uses python 2.7 which is EOLed upstream 18:42:29 it must have gotten updated and left the other packages that still relied on the older one unupdated 18:42:52 you have some python2.7 installed, pkg upgrade -f upgrades all your packages 18:43:05 chromiumm is still stuck on python 2.7 18:44:07 ok sounds good 18:44:17 stupid chromium 18:44:21 thank you 18:44:27 no problem 18:44:43 or was when I last looked, anyway - not sure if it's fixed 18:47:12 hm, no, that should have been fixed apparently 18:47:29 so I could go up to 6 18:47:46 ? 18:48:39 qt6 18:49:07 * RhodiumToad doesn't know 18:51:48 does anyone know how to do the secure boot is it really not possible or very difficult? 18:52:08 it is not that bad 18:52:14 if your bios will let you enroll your own key 18:52:25 then it is just some commands to sign the loader.efi etc 18:52:41 helped a customer with in last month 18:52:52 it has a key already it's like a trio boot of windows, linux and freebsd 18:53:27 signing the freebsd loader with microsoft's key would require having microsoft's private key 18:53:37 I'm not an expert on this to say it has a key already 18:53:39 vs, you can add a 2nd trusted key, and sign the freebsd loader with that 18:53:58 correct it worked for ubuntu so it must be able to make a 3rd key 18:54:13 ubuntu has a shim loader signed with microsoft's key 18:54:23 so it doesn't require loading your own key 18:54:33 but yes, it is doable 18:54:38 ok 18:55:02 sounds very interesting 18:55:45 these instructions are rough, and a bit old, but, they talk about the process if you are interested: https://freebsdfoundation.org/freebsd-uefi-secure-boot/ 18:55:47 Title: FreeBSD UEFI Secure Boot | FreeBSD Foundation 19:01:18 thanks I believe I tried something like this and got stuck or something maybe that one is updated 19:01:49 I'm just upgrading the laptop to 13.2 19:24:23 Allan: one day, when PkgBase hits, we can just add WITH_BEARSSL as a standard, imagine that 19:25:08 when is "one day"? 19:26:00 yuripv: my reading is that it's planned to go beta in 14.0 19:26:41 yay 19:27:29 https://hackmd.io/JczFDHtiQYSeEyeK9182jw?view needs more work tho 19:27:30 Title: FreeBSD 14.0 Planning - HackMD 19:27:41 any way to query pkg info for only packages that are not dependencies (i.e ones that were installed with pkg install)? 19:27:55 yes 19:29:24 pkg alias --list has something, which i cannot remember 19:29:30 i got it i think 19:29:33 I think it's leaves? 19:30:15 i have no aliases 19:30:53 nvm i need to copy the sample pkg.conf 19:31:14 noauto 19:31:34 sweet, thanks! meena 19:34:03 btw i made a forum post about my uaudio problem 19:34:11 no one cared to comment yet 19:34:29 i'm about to stay up all night and dig into the kernel driver and start hacking it up 19:35:02 ah, to be young again… 19:35:10 i'm old 19:41:17 yes, but, is anyone actively leeching the marrow from your bones, every waking hour of the day, and sometimes at night, too? 19:41:59 yeah kinda 19:42:42 i don't know what kind of child eats bone marrow though 19:42:56 unless i'm missing the poetic reference 19:44:17 it just feels like it 19:44:27 it's poetic, alright. except, in utero: if a foetus doesn't get enough calcium, it does leech it from the mother's bones 19:45:33 congrats on the news 19:45:48 it gets worse 19:47:06 anyway, our kiddo is four, and, yes, i know 19:47:14 oh nevermind then 19:47:27 thought you had a marrow-eater in the oven 19:56:05 I've just updated the base for several jails. all went well except for one jail which is no longer able to update packages from a remote repository due to: 'Certificate verification failed'. All other jails are happily pulling from the same repo. I am not sure how to resolve this. I tried to workaround by bootstrapping from pkg-static but that didn't work either. 19:56:12 where does one usually go from here? 19:56:50 why is it failing, exactly? 19:57:15 not sure. it seems that the jail is lacking ca_root_certs tho. 19:57:25 can't install it easily tho as that would happen via pkg :p 19:57:40 huh? 19:57:50 is this FreeBSD's repos, or your own? 19:58:16 my own. but shouldn't matter. all other hosts & jails are happily working with that repo. 19:58:39 yes, 19:59:09 it's just that FreeBSD's base system supplies the key for the FreeBSD repo 19:59:41 yeah I have my own cert installed. same as on all other hosts & jails 19:59:51 i would use a downloaded/ cached ca_root_certs from one of the other jails and manually install it into the jail, and try again 19:59:58 Certificate verification failed for /C=US/O=Internet Security Research Group/CN=ISRG Root X1 19:59:58 34378686464:error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1921: 20:00:26 can curl/wget/fetch verify it? 20:01:05 sure, I just successfully fetched the HTML of the poudriere dashboard form that jail 20:01:25 actually, it's ca_root_nss and that is installed (brainfart with ca_root_certs) 20:05:34 wtf, I am getting the same error when doing a 'pkg install' on a .pkg 20:07:10 pkg-install -U did the trick. just updated pkg from 1.19.0 to 1.19.1 on the jail but still getting the same error :( 20:10:54 pkg add would skip some things that install does 20:11:14 but that doesn't explain why you're getting those errors 20:11:21 I've manually installed ca_root_nss from the jail's host in the jail and now things are back to working :s 20:11:48 weird 20:12:56 not sure what happened there 20:14:37 meena, also thanks for the pkg-add note 20:22:23 jbo: does the log tell you anything? 20:27:41 Having fun updating python before moving on to FreeBSD 13.2. I used Poudriere to pre-build the new packages. However, pkg won't admit that Poudriere had built nextcloud-php81. Now manually (re-)building. 20:41:17 Schamschula: what does poudriere testport tell you? 20:48:06 hi all, how can I use lock(1) [lock -npv] with zzz(8)? 20:50:22 write a wrapper script? 20:52:36 im going to switch from debian to freebsd soon 20:52:44 lockzzz() { lock -npv & && zzz } 20:53:06 concussious: something like that ⬆️ ? 20:53:37 puddinghead: cool 20:54:06 any advantages of freebsd over linux? aside from the whole approach to freebsd as well as the so-called customizabilty 20:54:27 from what ive noticed everything i run on linux should also be running on freebsd, even the emulators 20:54:49 but im still a bit worried about running freebsd alone as opposed to dual booting for non-emulated games and photoshop 20:55:03 (not like i havent used photoshop in a looong time) 20:56:11 @meena thank you so much 20:56:24 puddinghead: my favourite part is that i know where to find the source, https://cgit.freebsd.org/src/log/ (and how that makes contributing back to it very easy) 20:56:29 Title: src - FreeBSD source tree 20:56:56 concussious: thank me when it works. that's untested, written on my phone 20:57:16 @meena, ok I'll go test now 20:57:42 @meena nice 20:58:14 im also a bit worried when it concerns hardware compatibility 20:58:20 mostly because i have an nvidia card but still 20:58:30 does the 3070ti work on freebsd? 20:59:35 i mostly use FreeBSD on servers, and virtual machines. I had one Lenovo laptop that i used for FreeBSD development which I bricked (well, not really bricked, just upgraded into a non-working state) 21:00:01 either way, I'm not allowed to touch real hardware, so you'll have to ask someone else 21:00:08 i see 21:00:20 id also like to move my vps from debian to freebsd tbh 21:00:32 kind of tired of how debian forces me into dependency hell and whatnot 21:01:00 There is no escape from dependency hell 21:02:06 for real 21:03:24 we also just cook with water 21:03:49 based 21:03:52 i hate oil 21:03:57 (ELF, but we have slightly more symbol versioning in base) 21:04:43 puddinghead: yes, there's binary nvidia driver for FreeBSD 21:04:51 nice 21:04:56 how good is it? 21:05:00 (not as much as Solaris or Windows, but definitely more than a standard Linux distro) 21:05:13 it's lacking cuda support, otherwise should be the same as in linux 21:05:15 poudriere testport seems to indicate everything is in order. I installed lots of other packages w/o any issues. Everything is back up using manual builds. 21:06:12 puddinghead: the nvidia driver is provided and maintained by nvidia, as far as I know the only long-standing defect is lack of CUDA, and I saw that there may have been progress on that 21:06:18 meena, sorry, was busy doing laundry. 21:06:24 speaking of ports, I need to upgrade the GoToSocial port 21:06:27 i see 21:06:30 meena, haven't checked logs. it's a burner jail so also didn't care too much. 21:06:45 i think that my biggest issue with switching from linux to freebsd is the whole ai thing 21:07:03 i sometimes work with ai on my gpu as a hobbyu 21:07:07 not too often, though 21:08:20 you could dual boot 21:08:33 (or more :-) ) 21:08:35 afaik bhyve recently gained the ability to pass-through GPUs 21:08:45 kinda sucks if you only have one GPU tho :p 21:09:05 or have a vm and pass-thru the gpu, oh 21:09:37 it's worth checking on whether progress has been made with nvidia in that respect 21:10:03 I'm just glad that now I can finally have a VM with more than 16 vCPUs. that was a real bummer. 21:10:45 yeah, i only have one gpu 21:12:08 What web/gui/tui/cli do u use for manage bhyve's VMs? 21:13:06 jbo 21:14:32 Tried ClonOS - missing many must-have features 21:38:42 VVD, I use cbsd (the guy that also works on clonos) 21:38:49 from the guy* (I'm not that guy) 21:39:13 I spend months testing different CLI tools to manage jails/VMs and eventually settled with cbsd - been happy ever since. 21:39:45 VVD, if your user info is to be believed the cbsd author is one of your commrades 21:43:22 jbo, do you know how to connect iso from different place to vm? 21:45:35 without any repositories and etc 21:46:40 and create VM without any templates - just create vm 21:47:23 I know about author and planned to contact him 21:56:13 sure, you can just dump ISOs wherever you want on your host and register that location as a local repository in CBSD. you can also mount them from an NFS share or whatever if you feel fancy 21:57:06 jbo, ye, I have NFS share with a lot of iso files - use for VirtualBox and VMware 21:57:30 > register that location as a local repository in CBSD 21:57:53 every file or just root of place? 21:58:00 once i switch from linux to freebsd, what should i use for my backup? 21:58:31 i generally use btrfs for linux backups, but i think that for freebsd i might as well use zfs as the backup format for my external hdd 21:58:37 VVD, I think you can do both. I remember having spawned some VMs with weird images I didn't want in my library so I just attached that ISO directly to the VM upon creation. 21:58:56 puddinghead, have a look at zfs-send and zfs-receive. that allows you to do a lot of stuff. 21:59:12 VVD, have a look at the 'media' subcommand of cbsd 21:59:17 puddinghead, I'm using zfs snapshots send/receive via network for backups 5 years 21:59:18 VVD, cbsd media --help 21:59:52 that sounds nice 22:00:18 my pc is pretty decent (16gb ram + 1tb nvme) so i should be fine just using zfs right 22:00:55 definitely. been running ZFS regularly on 8gb RAM machines and afaik 4gb works too (as general rule of thumb) 22:01:10 thanks a lot 22:01:31 just go zfs - don't even look at UFS for a desktop system if you're new to freebsd 22:01:38 zfs is epic 22:01:54 i guess thats yet another reason to switch to freebsd in addition to my grievances with linux and being able to keep a stable base AND installing the (almost) bleeding edge versions of programs at the same time 22:01:55 for servers better 22:02:05 :-D 22:02:10 yeah freebsd for my media server was what i was originally planning to do with it 22:02:22 puddinghead, we've all been there :p I too switched from linux to freebsd about 12 years ago. first only for servers. now also desktop. 22:02:31 yay! 22:02:45 once I saw how much nicer the freebsd experience is on my servers I decided to also go freebsd desktop and I have not looked back a single time. 22:02:57 using FreeBSD for servers from 4.x 22:03:03 for desktop from 7.x 22:03:10 I think I was still wearing dipers in 4.x times :s 22:03:15 * RhodiumToad has been using it for desktop for 26 years now 22:03:17 my first freebsd was 10 22:03:25 that's a loooong time 22:03:40 my first freebsd will be either 13 or 14 depending on how late i end up switching 22:03:52 2.1.x installed from floppies :-) 22:03:56 first need to get rid of that pesky bios password 22:03:57 nice 22:03:59 puddinghead, a word of warning tho: hardware support is not as nice as it is in linux world. not a problem for servers, generally also not for desktops but if you plan to go freebsd on a laptop choose carefully. 22:04:17 jbo: thats what puts me off, tbh 22:04:17 yeah thats why im planning to get an old thinkpad if i do get a laptop 22:04:23 im on desktop rn 22:04:34 main issue for me are the peripherals tbh 22:04:35 ixmpp, I was initially concerned too - but haven't looked back :) 22:04:43 i cant even have it on my laptop because elan touchpad 22:04:50 i use everything wired but im stil worried if my mouse/kb/speakers dont work 22:04:50 just don't use crappy peripherals you don't need but marketing makes you think you doo :p 22:05:00 yeah 22:05:19 guess i'll rip out my touchpad :p 22:06:14 rip touchpad 22:06:32 who uses a touchpad anyway o.O 22:06:35 xD 22:06:48 anyway, my touchpad works just fine (synaptics). 22:07:27 puddinghead, what CPU are you running? Intel 12th & 13th gen support is pretty so-so. My last laptop upgrade was intentionally an 11th gen 22:07:34 ryzen 7 5800x 22:07:46 i am not buying recent intel processorws 22:07:49 not running any myself but from what I remember from forums/mailing-lists that should work fine. 22:08:06 yeah I think my intel times are also over... :s 22:08:08 yeah amd has no issues iirc 22:08:52 amd has had plenty of issues 22:09:10 yeah that seemed like a pretty non-solid statement 22:09:37 true 22:09:43 was mostly referring to cpu though 22:09:52 don't worry - we're used to it from folks switching over from linux :p 22:10:00 yes, amd cpus have had plenty of issues 22:10:16 RhodiumToad, care to enlight us/me a little? I am considering going AMD soon. 22:10:28 yeah 22:11:01 jbo: used to what? 22:12:04 one of the most glaring ones from a few years back is that some amd cpus would break if you used the top page of memory 22:14:15 😂 22:14:29 lmao what 22:14:38 RhodiumToad, that sounds like the AMD I used to know :D 22:16:44 anyway, not running shitty software usually goes a long way in avoiding hardware upgrades 22:17:05 if your text editor requires a web server you don't deserve to have a good experience IMHO :p 22:17:25 that i can agree on 22:18:34 all the things i want from a desktop experience are already on freebsd, happily, because i keep things trimmed down 22:18:48 but then hardware fails me 22:19:14 heck, I am not even running dbus :d 22:19:22 amazing 22:19:22 i think i'd have been running it on that laptop for ages if not for that driver issue 22:19:43 ixmpp, no luck with porting the linux driver(s) via KPI? 22:19:53 that's what is currently going on with iwlwifi too 22:19:57 heh. tried for so long to avoid dbus, but its just not reasonable to, on linux, anymore 22:20:23 huh, i dunno actually, i never dug far 22:20:25 yeah, once your init system requires a DNS implementation any argument falls short I guess :p 22:20:52 oh at least that is still avoidable 22:20:58 for now 22:21:39 I was amazed the other day when working on the hardware design for an embedded linux project that systemd won't do with 128MB total system RAM out-of-the-box 22:22:49 NICE 22:23:14 ive actually used linux without systemd more than with systemd on my desktop 22:23:25 rn im on devuan for desktop and i actually started with artix 22:23:51 i think i only put up with systemd briefly 22:24:01 seems about right 22:24:13 i like the convenience on my server but on my desktop? not as much tbh 22:24:20 systemd on the desktop is kind of bloat tbh 22:24:58 so what you want is just a good service manager? or, what draws you to it on a server? 22:26:10 ease of use, really 22:26:38 as well as good service management, something that gets stuff out of the way 22:26:51 Super hard to avoid dbus in my experience. Most login managers depend on it. Chrome depends on it (afaik). 22:26:52 systemd uses more ram than id like to but its the price to pay on my server 22:27:16 on desktop doesnt matter as much since i dont prioritize memory management as much as on my servers 22:28:13 ox1eef_: if you use a light login manager, you avoid that first one, and obviously yeah don't use chrome. my problem was every small app under the sun these days assumes dbus, even if for dumb small things like libnotify 22:28:31 its whackamole 22:28:57 i dont even use a login manager these days tbh 22:29:05 it seemed smarter to cave and have one controlled dbus broker, than every app starting one 22:29:42 Yeah, I wanted to avoid it as well but I eventually gave up. I was using Slim at one point. Now I just use startx. 22:31:01 same, except i actually stopped when i got lightdm replaced with slim 22:31:04 then i tried tbsm a bit 22:31:18 but uninstalled because i noticed i just had xfce and therefore had no need for anything more than startx 22:31:54 i think there's some pam-based stuff that ends up easier with a login manager - console sessions don't create a runtime dir, graphical ones do. though, on freebsd i just loaded pam_xdg so maybe that doesnt apply there 22:32:01 On OpenBSD I use xenodm. It would be nice if that was ported to FreeBSD. I'd most likely use it instead. 22:32:23 i see 22:32:42 i reccomend greetd, or Ly 22:32:46 both are lovely 22:32:51 yeah ive been considering greetd 22:33:00 text-based login manager, every time 22:33:08 yeah 22:33:23 Ly is nice indeed. I used that at one point too. 22:33:31 unfortunately, i use pam_yubico, and Ly doesnt support that 22:33:40 so yet another pain 22:33:57 (greetd isnt ported to freebsd) 22:33:57 i tried ly 22:34:02 prefer tbsm tbh 22:34:10 but idk if its ported to freebsd 22:35:19 doesnt seem so 22:35:48 All of it is candy anyway. startx is all you need. 22:35:57 yeah lol 22:36:15 xdm ftw 22:36:41 * RhodiumToad is very old-school about X stuff (still uses twm) 22:36:44 * meena tries to remember how to startx kde 22:36:58 * jbo is just happy with x11-wm/bspwm 22:37:25 * puddinghead has used xfce since she first switched to linux 22:37:25 i am pretty set on wayland. i do think it was a good move 22:37:40 if i wasnt on novideo id prob be using wayland tbh 22:37:41 though i take it thats unpopular here 22:37:49 puddinghead, the way to do that is by using /me followed by whatever message 22:37:53 i see 22:37:55 so itd be like this 22:38:12 hah, found the amd last-page thing 22:38:22 * puddinghead has been using xfce since first getting into linux 22:38:28 "Lower the amd64 shared page, which contains the signal trampoline, from the top of user memory to one page lower on machines with the Ryzen (AMD Family 17h) CPU." 22:38:33 ixmpp, wayland is just one of those linux things that tries to solve a problem that doesn't really exist and hasn't solved it yet. plus terrible support from nvidia's side. 22:39:35 jbo: luckily, Val is very interested in it, so it might become more usable in time for us 22:39:57 granted, i don't use nvidia, but i still appreciate it 22:40:15 and frankly, nothing wrong with competing standards, right? 22:40:25 we'll see. I am not opposed to new things in general. but until they actually work better than what has been there for decades I see no reason to switch. leave the hype to linux users :) 22:40:32 meena: it's already pretty usable, from what i've tested 22:40:48 ixmpp, let me guess: you just installed a desktop and used it normally? 22:41:06 yes? 22:41:13 hardly what matters to the industry 22:41:19 all I've seen, be it Linux or FreeBSD, was pretty poor 22:41:26 that ^ 22:41:53 wayland already is and has been used by the industry some time to be fair 22:42:02 it's like a second system effect in reverse 22:42:11 phones, car screens, netbooks 22:42:54 ixmpp, same story as with systemd, pulseaudio and all the other "crap" (excuse my language). a lot of things are being used because the workarounds have become more painful than just accepting the degrataion of quality. 22:42:57 (and actually from what i understand, in those situations it was used because it actually was better) 22:43:06 something that FreeBSD luckily handles very differently. 22:43:37 heck, I remember when debian had to gave in and switch to systemd... they didn't do it because they perceived systemd as the better system. 22:43:46 how does freebsd handle X differently? 22:44:15 it doesn't. the "handle it differently" was in regards of not jumping on every new hype emerging from the linux world. 22:44:50 linux changes fundamental system components more frequently than the average european changes cars. 22:44:57 or the brits their PM :D 22:44:57 i get it 22:45:04 ha, ouch 22:45:12 do europeans even use their cars? 22:45:12 too close to home 22:45:15 the ones in the cities at least 22:45:43 puddinghead, we try to avoid it when possible. I live in a remote mountenous area so live without a car is pretty difficult 22:45:45 i appreciate that it is a pretty loud linuxism, but of all the ones of late, its the only one i'm actually sold on 22:45:55 but my car usually doesn't see action for more than once or twice a month 22:46:16 i see 22:46:23 ixmpp, I can see how wayland is definetly one of the least affected - indeed. 22:47:11 again: I am not agains change. I am against changing things constantly just because some community needed another hype to fuel their self perceived value rather than actually improving things. 22:48:42 it seems to have become a trend to replace prooven things rather than extending and improving them and then eventually figuring out that it's way too much work after replacing stuff that has been working well for decades - and then moving on to the next thing doing the same again :D 22:49:03 Yup. That's my biggest issue with Linux generally. They want to replace everything that came before with complex, and complicated alternatives that are so far from simple that it is almost sad. 22:49:59 for real 22:50:12 linux stop switching audio systems every 5 years challenge (difficulty: impossible) 22:50:27 yeah that one hurts 22:50:32 sometimes you do need to replace something, but you need to make sure the replacement is actually both better and simpler 22:50:40 jup 22:50:47 look at geom. still going strong :D 22:50:58 and pretty much anything else in base 22:51:19 and then we didn't even start talking containerization technologies... 22:51:24 meanwhile, jails still rule. 22:51:36 * RhodiumToad mutters about the geom bug he has outstanding 22:52:07 RhodiumToad, would you happen to know whether there is any progress on root-on-zfs with boot-from-encrypted-dataset? 22:52:22 progress from where? 22:52:30 I thought that was a spanner in the working 22:53:09 afaik there was some plan of adding dataset decryption support to the boot loader to encrypt zroot 22:53:09 oh, with zfs native encryption? 22:53:11 yeah 22:53:24 dunno. haven't been looking. 22:53:29 I ditched GELI one zfs native encryption became a thing but can't boot from those. 22:53:47 * jbo remembers the awkward GELI but from a few months (?) ago :D 22:54:06 bug* 22:54:29 anyway, jbo do you have resources for attempting to port a driver with linuxkpi? maybe i ought to try 22:54:47 at least on that laptop, thats the only thing holding me back 22:55:24 ixmpp, have a look at drm-kmod and iwlwifi. they do this successfully (with lots of KPI work happening every week) 22:56:52 ixmpp, just don't get confused by the linuxulator thing. there's a difference between linuxulator and LinuxKPI. the later is targetted for interfacing linux kernel drivers 22:57:02 i see 22:57:15 yup, already aware 22:57:33 great :) 22:58:25 im now wondering if sound will work too, because even linux struggled with audio drivers for that laptop until i ripped the firmware out of chromeos 22:59:09 what abomination of a laptop do you have?! :D 23:00:59 acer chromebook flip C433 (shyvana) :p 23:01:11 alright :D 23:01:13 chromebooks are great for value for money 23:01:22 audio card is MAX98927 23:02:24 ixmpp, grep on source shows results in the device tree. no idea whether it actually works tho 23:02:36 heh 23:03:29 the device-tree text file lists it as "compatible: should be one of the following [...] MAX98927" 23:04:25 ixmpp, you can always boot from a usb drive and test everything that way 23:04:51 yeah, i was thinking that, i have a usb mouse 23:05:04 well, shouldnt need one i guess 23:05:20 surely RhodiumToad is still using a PS/2 mouse 23:05:43 actually I am 23:06:06 knew it <3 23:06:17 gee i havent seen one of those in over a decade 23:06:23 but I do currently have a usb keyboard (not entirely by choice) 23:07:11 there's a ps/2 keyboard plugged in as well (I think the ps/2 mouse port doesn't work without it) but I'm not using it 23:07:49 did you require n-key roll over for more efficient blogging? :p 23:07:54 no 23:09:19 that was an unnecessarily snarky question - sorry. I'd be geniuenly interested in learning why you switched to a USB keyboard involuntarely. 23:09:44 mostly due to having to switch keyboards around without rebooting the machine 23:10:08 I wish I would have been able to experience the glory days of computing. 23:10:24 plugging in a usb keyboard was less disruptive than trying to get at the ps2 ports (which are not exactly hot-plug-friendly) 23:10:57 reasonable 23:11:37 * RhodiumToad remembers the days of AT keyboards, with DIN plugs 23:11:39 ps2 peripherals sound so nice 23:11:59 kinda want to switch from usb to ps2 mouse noww that i think about it 23:12:19 mostly because i want a mouse without rgb lightning but whatever 23:12:23 the best mouse-related thing I did in my life was switching to a trackball 23:12:27 I believe the latency is still lower on ps/2 ports 23:12:32 i c 23:12:33 this, im intrigued about. i love my fancy keyboard and mouse 23:12:53 puddinghead, just buy peripherals without rgb o.O 23:12:56 having 12 extra buttons on a mouse is something i wouldn't go back from 23:12:57 keyboard is just fancy enough to have a backlight, its a very cheap reddragon otherwise 23:13:09 and im fine with it rn, gonna switch to a more expensive keeb if it ever dies on me 23:13:39 just seems like ludditism to go back like that 23:13:43 when it comes to peripherals, I just use my general strategy of "buy once - but buy well". 23:14:04 i can live without the rgb part, but the buttons no 23:15:09 i mean, what is your rationale for preferring ps/2, it seems we already detailed one reason it's a pain? 23:15:55 fwiw I can't find evidence of support for the MAX98927 on freebsd 23:16:20 damn. 23:16:44 RhodiumToad, it's only mentioned in some text file in /sys/contrib/device-tree/Bindings/sound/max9892x.txt 23:16:46 it seems to be an i2c device 23:17:03 would make sense, touchpad is also i2c 23:17:06 RhodiumToad, most audio codecs & amps have an i2c sideband interface to control stuff like volume etc. 23:17:36 and then usually SAI for the actual sound interface (or USB or whatever) 23:19:18 (also, trackballs break so often, do you really think that's worth it) 23:19:44 lord i don't wanna go back to the ps/2 trackball era 23:19:44 what breaks about them so often? just buy a decent one. same as with a mouse. 23:20:03 I'm using a USB trackball - just use whatever you like. 23:20:18 moving parts 23:20:28 the disappearance of mouse balls is something I very much appreciate (not all innovation is bad :-) 23:20:29 its inevitable, eventually 23:20:36 the only moving part on mine is the trackball itself which is a solid sphere. everything else is static. 23:20:52 oh, it uses cameras or something? 23:20:55 yes. 23:21:03 interesting 23:21:31 it's literally like any modern optical mouse but then just tracking the movement of a ball rather than its movement relative to the surface you use it on. 23:21:32 * puddinghead is curiously watching the conversation unfold 23:21:50 now that i think about it 23:21:53 that i understand, then 23:21:59 does any virtual drive software exist for freebsd? 23:22:09 puddinghead, define "virtual drive" 23:22:27 some program that allows you to mount iso files 23:22:30 sure 23:22:35 mdconfig 23:22:36 fuse exists, so 23:22:39 i see 23:22:50 ofc 23:22:58 is mdconfig the default mount anything program or is it just for images 23:23:18 md = "memory disk" (but it actually does files as well) 23:23:24 it's a memory disk - anything you want. 23:24:04 mdconfig creates disk devices which are backed by wired memory, swappable memory or files on any filesystem 23:24:29 bonus points for doing a memory device over rclone 23:24:30 the created device works like a disk for all purposes 23:25:53 just found this in some of my code: 23:25:54 y -= 7.0; // No idea why but it's 3am in the morning and fuck this shit. 23:26:10 not good. 23:29:24 i see 23:29:44 also, do appimages work on freebsd or are they linux only? 23:30:09 pretty sure its the latter but i still wanna check to make sure since a thing or two might be appimage only unless i try to compile 'em from source 23:30:29 appimages are a linux thing 23:30:40 and pretty much anti-unix in every perceivable aspect 23:31:41 seems about right with all the alternate packaging methods currently trending on the linux world 23:32:03 snapd and its suckstemd dependence, flatpak's lack of quality control, etc 23:32:05 the way to install 3rdparty software on freebsd is via ports. anything that has an existing port can be installed via pkg install foo 23:32:15 yeah i am indeed considering ports 23:32:30 you don't get a choice. FreeBSD tends to be concise 23:32:39 i like being concise 23:32:43 I mean sure, you can build everything locally and install it that way but that is pretty much what the ports framework does for you. 23:32:52 yeah, thats what i like about ports 23:33:09 well, some ports do not have packages, but those are a minority 23:33:11 pkg install installs from binary though, doesnt it? 23:33:19 generally due to licensing issues 23:33:26 or does it install the port with the exception of some big packages 23:33:28 and makes sense 23:33:38 pkg install installes a package. 23:33:53 the ports tree defines how to build a package from the original source. 23:34:24 i see 23:34:30 puddinghead, by default, pkg installs binary packages built on the official builders. however, you can also build your own repositories (where you compile everything yourself). I one wrote a high-level beginners tutorial for that 23:34:42 nice, where can i read it? 23:34:53 a port is basically just a recipie from which the port will be compiled 23:35:00 a bunch of machines at freebsd.org spend all their time building ports and putting the packages into repositories 23:35:12 puddinghead, https://blog.insane.engineer/post/freebsd_poudriere_guide/ 23:35:14 Title: Poudriere: A complete guide 23:35:34 puddinghead: ftr, appimages are just packaged binaries and libs, you can extract them if youre desperate, or just build it? 23:36:34 ixmpp, and end up with a bunch of executables that make system calls that aren't available? 23:36:40 i think the only thing i still use appimage for is ledger live, because it's proprietary and there's bugger all to be done about that 23:36:48 * RhodiumToad running a poudriere build right now, as it happens - 829 queued, 213 built, 1 failed so far 23:36:56 jbo: i meant on linux 23:37:03 or, linuxulator 23:37:55 RhodiumToad, I changed my poudriere config the other day. I was a bit done with waiting for some ports to compile on single-core while all other builders are idling 23:38:46 now I am looking at load averages of 20 23:38:54 @ixmpp only think i really need appimages for is pcsx2 i think 23:39:10 pcsx2 is open source, isn't it? 23:39:42 yeah 23:40:02 retroarch is on ports, dolphin if i ever need to use it is on ports, rpcs3 has official freebsd releases 23:40:17 mame is on freebsd too and i think ill need that soon 23:40:36 jbo: on that topic, am i losing out on much by using portmaster and not poudriere, i've yet to comprehend what poudriere offers entirely, but it seems more complex to set up 23:40:52 poudriere is the bee's knees 23:41:01 and I say that as a long-time portmaster user 23:41:04 bee's knees? 23:41:15 +1 for poudriere 23:41:18 its a british idiom :p 23:41:35 fair enough, will try, on my server at least 23:41:45 I never used portmaster so I can't tell but everybody I know that used portmaster switched to poudriere eventually 23:42:15 ixmpp: poudriere's big win is better parallelism and clean builds 23:42:29 jup, poudriere does all the building in jails 23:42:47 neat 23:42:54 very neat. 23:42:56 also better handling of dependencies, portmaster notoriously keeps recursing through the same things repeatedly 23:43:08 whereas poudriere sorts out the dependency list once at the start 23:43:17 while im at it, is there a way to globally enable debug symbols, with e.g. poudriere config? 23:43:20 I think poudriere is one of those cases where something newer actually solved problems :p 23:43:29 ixmpp, yeah, you can have a global make.conf 23:43:30 WITH_DEBUG in make.conf 23:43:30 nice 23:43:38 gotcha 23:43:41 i've wanted to work with jails since forevers 23:43:50 seems like a better docker (especially given the recent controversies) 23:43:50 just do it. 23:44:05 note that poudriere has its own make.conf files, since they may need to be different from the host ones 23:44:12 I'd argue that jails are a core concept/feature of FreeBSD. 23:44:30 certainly much cleaner than lxc 23:44:34 really? that sounds cool 23:44:42 also, poudriere can do cross-building nicely 23:45:04 nice 23:45:21 RhodiumToad, although dealing with qemu-static is apparenlty at times painful :D (if you want to do aarch64 builds) 23:45:29 oh, I know 23:45:30 currently reading the tutorial and they say that pudriere should be ran in a separate server... i dont have any 23:45:36 just my desktop 23:45:43 it doesn't need to be separate. 23:45:51 really? 23:45:53 puddinghead, my tutorial? that should just be a recommendation. you can do it well on your local machine and still get all the benefits for free. 23:46:04 thanks 23:46:05 I know plenty of people running poudriere on their desktop because they don't have a dedicated server 23:46:14 however, if you don't disable or restrict poudriere's use of tmpfs, it'll use a shitton of memory 23:46:30 how much should it be compared to actual memory 23:46:32 yeah, that's why my poudriere server runs 128GB RAM. but that is certainly not a requirement at all. 23:46:34 (it's an option in poudriere.conf) 23:46:37 like, if i have 16gb of ddr4 ram 23:46:44 what hould the limit be? 23:46:50 the limit would be 16gb 23:47:00 really? 23:47:03 i expected like half that 23:47:09 if you only have 16gb then the limit is 16gb, yes :p 23:47:15 I mean the base OS uses like what? 300MB? 23:47:39 my first poudriere server was running happily with 16gb 23:47:42 if you let poudriere use tmpfs for workdirs, which is the fastest way, it can use a lot more than 16GB 23:47:55 yeah, mine is currently consuming 103 GB :x 23:48:07 but I set tmpfs to 'all' 23:48:34 puddinghead, the takeaway here is: you are not restricted. poudriere will run just fine on your desktop. just go with the default config when you start out. 23:48:41 definitely DO use ZFS tho. 23:49:00 er, I'd say turn off tmpfs use rather than using the default. 23:49:02 yeah im 100% gonna use zfs, been wanting to try it out and might as well try on desktop before i get my media/datahoarding server 23:49:08 puddinghead, you can also put your poudriere server in a VM (eg. when you run your desktop on freebsd just spawn a native bhyve VM). that way you can easily limit memory usage. 23:49:34 i see 23:49:40 so i could limit it to like, 8 gigs if i wanted? 23:49:49 sure 23:49:57 I'm currently running it in a 4.5GB vm 23:50:07 and then how would i transfer my poudriere builds to the actual pc 23:50:32 puddinghead, my tutorial shows all of that. 23:50:33 my issue with vms is disk storage just as much as ram, ive been starting to hoard data so its become an increasing worry (and im planning to get a second drive soon) 23:50:36 cool! 23:51:10 the normal way is to setup an nginx webserver on your poudriere server (which very well may be a VM). then just setup your client (your host) to consume that repo via HTTP(S) and you're done (also shown in that tutorial). 23:51:24 i see 23:51:36 do i need to do any fancy stuff like open up router ports or nah?> 23:51:37 I'd recommend you just to get started. things will make sense soon. 23:51:52 is `ln -s /etc/make.conf /usr/local/etc/poudriere.d/make.conf` a bad idea? 23:51:54 unless you want it to be accessible from outside your host no. 23:52:00 ixmpp, I'd say so :D 23:52:07 damn :p 23:52:07 host is the hostname right? 23:52:16 as in the local network? 23:52:17 ixmpp: it's not quite what I do 23:52:36 ixmpp, you'd most likely want a different make.conf for your ports than for your host. 23:53:37 ixmpp: what I do is this: /etc/make.conf has only .include lines for make-common.conf, make-default.conf and make-${MACHINE_ARCH}.conf 23:54:05 that's the pro setup. generally I'd just recommend to get started. you can always tweak & improve later. 23:54:10 ixmpp: then in poudriere.d, default-make.conf -> /etc/make-default.conf, etc. 23:54:23 ah, cool, clever 23:55:10 that way I can have poudriere.d/amd64-make.conf -> /etc/make-amd64.conf, and likewise for i386 and armv7 23:55:41 i c 23:55:53 ixmpp, puddinghead you might also want to consider using the poudriere-devel port as the development version has a setting which allows to fetch packages from the official binary repos IF they match what poudriere would build otherwise. this can safe a lot of time & energy if you just run a small setup on a desktop. 23:56:05 oh, really? 23:56:19 i just have to pkg install poudriere-devel instead of the regular one then, right? 23:56:30 yeah, the real annoyance with poudriere builds is having to build things like rust and llvm, which take ages 23:56:32 all my desktops that run poudriere locally (for ports development) use that feature. only my build server doesn't (because I just want to build everything myself) 23:57:03 @RhodiumToad can relate. compiling firefox is like hell. 23:57:04 jep. and changes are that you just want to use rust, llvm and so on the way they are in the official binary repos anyway. in that case poudriere will fetch those instead of going through 16 hours of building them. 23:57:38 honestly all of this makes me want to just upgrade ram before storage 23:57:45 just gonna go from 16gb to 64gb 23:58:33 worst thing is that you often end up having to build multiple llvms 23:58:52 oh yeah, my poudriere is currently building llvm12, llvm13, llvm14, llvm15, llvm16 and llvm17-devel. 23:59:14 so you'd want to fetch those from the official binary repos instead in your average beginner case :) 23:59:43 looks like this build I'm doing will include llvm10, llvm12, llvm13 and llvm15 23:59:55 and I have no idea why llvm13 is in there