03:05:55 hey guys, talk to me about the linuxulator? 03:06:33 just how functional is it? - i recall experience with it that it does not fully implement all system calls, so it's not entirely reliable, and it's also software emu so naturally very slow? 03:11:19 it translates some syscalls, so it shouldn't be really noticable 03:11:45 It isn't soft emulation, it translates the system calls which while does have a small performance impact it isn't that slow 03:12:56 oh okay 03:13:16 so negligible performance hit, but incomplete mapping? 03:13:25 In my experience it is quite complete but it mainly depends on how recent the dependencies are linked against 03:14:06 maybe the problem i'm seeing is due to my using a native linux system in a chroot, rather than one built within the linuxulator? 03:14:23 i can't even remember what the missing calls were 03:16:38 It's possible yes. I haven't used it that recently, but at the time there was a certain snapshot of CentOS 7 which libraries were taken from, which was only updated periodically. 03:18:13 that linux chroot is using the linuxulator 03:18:18 Also note my experience is with single Linux applications. Running a Linux userland in a chroot is still experimental 03:19:03 ah! okay. 03:19:19 so my expecting my gentoo chroot to work perfectly is pretty extraneous :D 03:21:06 You know, building a Gentoo userland from scratch within the chroot would possibly give the best possible experience haha.... But I'd still expect some things to not be quite right 03:21:32 /22/93 03:28:23 i'm curious see, because I would like to give freebsd fulltime a try (on my desktop, not just as a server), but obviously there will be things that aren't portable or just don't work, and for that the linuxulator makes that transparently not-a-problem, if it supported that 03:29:51 I read through some forum posts about dbus and was amazed, it never occured to me that not having it was an option :D I eventually just caved in and used it, but if freebsd's user base agrees that it shouldn't be a thing, i think i want to be in the freebsd camp 03:34:54 you can have dbus on freebsd if you want or not, but then stuff needing it won't work, same as on linux (not sure about that autostart dbus stuff, I will worry about that when it works correctly on my system and I have dbus running which I don't want) 03:37:04 i understand, my thinking is just that if freebsd as a community doesn't support dbus and other such new-linuxisms, i think I'm better suited such 03:37:41 for a long time i didn't have dbus on my gentoo system, i'd still rather not, but i'm also not going to spend time rewriting all the programs that use it 03:38:10 it does seem like linux has become an exercise in mitigating linux, even on gentoo 03:38:26 seems saner to do that from the external, at least 03:47:44 thumbs: you're all thumbs 03:48:18 i don't think dbus is that new 03:49:49 not terribly, but it's part of the trend of the osx-ification of linux 03:49:53 i dare not mention kdbus 03:51:46 the state of affairs has it that i'm already boxed into a metaphorical corner using linux by not wanting to use systemd, and then even there i'm subject to the effects of systemd, as well as whatever other strange direction the linux community chooses, and that does not seem like a good time long-term, anymore 03:51:56 at least, not when compared to freebsd 04:23:08 oh wow, i've only just understood that on zfs, if you have a zvol filesystem mounted supporting TRIM, then it literally only uses as much space as it needs and balloons and shrinks with usage 04:23:12 that's extraordinary 04:23:47 too used to static sparse images that only balloon and never shrink 04:55:22 hello 04:55:26 how are you? 04:55:37 I am having an issue 04:56:01 I installed freebsd as a dual partition I created the partition booted it from the usb key 04:56:15 and now I don't know how to add it to grub from ubuntu 04:56:26 anyone have any idea? 05:08:03 I am not. But I see https://unix.stackexchange.com/questions/109272/add-freebsd-to-grub2-boot-menu and https://forums.freebsd.org/threads/how-do-I-configure-grub2-to-boot-freebsd-11-1.65992/ about it. 05:08:04 Title: Add FreeBSD to GRUB2 boot menu - Unix & Linux Stack Exchange 05:22:27 getting there thank you rwp I followed the forums one I think 05:22:39 it's not quite done but it's somewhere 05:27:09 Personally I never like dual booting and so never do it myself. When I did do it I was always in the wrong OS! 05:27:53 I find it easier just to set up a different machine. But all of my gear is quite aged and often salvaged from the scrap bin. 05:30:15 I have had HardenedBSD and Debian dual booted 06:04:42 For EFI hardware: 06:04:42 set root=(hdX,Y) 06:04:42 chainloader /boot/loader.efi 06:04:42 boot 06:04:42 this is the one that works 06:04:57 sorry for flooding but yes will put into the 40-custom 06:06:13 then I have a problem with the wifi, then I have to do the desktop and will hope the touchscreen works also 06:30:24 seem to have got it 06:30:32 for the boot loader 06:37:25 basically a space between set root=(hd0,gpt9) vs. set root =(hd0,gpt9) made all the difference... 06:41:20 kind of a beautiful operating system in a way 10:58:36 hello, can anyone approve my post? 11:05:26 clockwork: ? 11:05:40 clockwork: on the forum? the wiki? 11:06:31 meena: Thanks, looks like it's been confirmed. I wrote to the forum. 11:15:42 clockwork: the forum folks don't really hang out on IRC, from what i remember 11:16:36 meena, Thanks for answering my question that I was going to ask but did not 11:17:20 parv: you're perfectly welcome 11:17:50 * meena has an account on the forums but only posted once 11:18:10 I do follow the dev forums 11:19:17 https://forums.freebsd.org/threads/rclone-not-working-with-w-x.80279/#post-529930 11:19:18 Title: rclone not working with W^X | The FreeBSD Forums 11:19:24 meena: I rarely talk on irc either. But I am very interested in Freebsd, in order to achieve my goal I have to pester freebsd users in different places. 11:19:51 clockwork: aye. what's your question? 11:21:42 meena: Yes, little things. my wine7 does not start any game - Unknown error (127). 11:22:45 I wrote to the maintainer and left a post on the winehq forum. 11:23:06 actually, i should have updated that post with the resolution from the golang project: https://github.com/golang/go/issues?q=is%3Aissue+author%3Aigalic+is%3Aclosed 11:23:07 Title: Issues · golang/go · GitHub 11:24:20 I feel like that would require some knowledge of both windows and Unix, and I have almost exactly zero windows knowledge 11:24:33 (rounded down, relative to my Unix knowledge) 11:25:30 meena: I also wrote two programs: for switching sound on FreeBSD and for quickly switching wi-fi. I am new to computers. 11:26:06 cool 11:28:42 you can try to test -> https://libera.ems.host/_matrix/media/v3/download/matrix.org/rsjqKqYWuPiGmCuLmtWyqiac/wafelka-0.0.0.pkg 11:29:14 so, on linux 127 is usually commands not found, nor sure if on FreeBSD too 11:34:55 127 is more likely just -1 11:36:05 which most often is x not found 11:38:11 don't know how to fix it? 11:39:55 never used wine 14:00:08 * debdrup mutters something about errno(2). 15:03:22 I have a small asrock mini pc with a ryzen 4800u. No matter what I do, I can't seem to get its temps to drop when idle. With very low usage it hits around 45C and then will extremely slowly drop temps to very inconsistently ~35C. I have tried both powerd and powerdxx forcing adaptive settings even on AC. The temps aren't *bad*, but on a current 15:03:22 Linux kernel I can get it to idle around 30C and I guess that matters to me. My assumption is that power draw is ultimately also higher. I know we're all practical here and you could just say use the thing that's working better for me, but I really like FreeBSD, anything thoughts? Is power draw/usage just not as optimized here? 15:04:57 Also, this little box is *always* on, which is why it's important to me to have it idle as best as it can. 15:24:31 I'm not sure the new hardware P-states in AMD chips is supported yet, since hwpstate_amd(4) doesn't exist. 15:25:01 that would make sense, is it possibly in CURRENT? 15:26:17 hwpstate(4) doesn't exist but according to cpufreq(4) it's supposed to - though according to the same manual page, it only supports K10 through F17h 15:27:49 Do you have cpufreq loaded? 15:29:13 sadly I am not at my box atm, that is something that should be loaded even after a vanilla install? 15:30:20 Looks like what you want is https://reviews.freebsd.org/D9759 15:30:21 Title: ⚙ D9759 amdtemp driver update 15:31:47 wow that is sadly really old and I guess was never merged 15:33:38 Technically speaking it's still in review, but you'll have to ask the author. 15:42:09 so K10 is the gen right before Zen? 15:49:47 Oh, wait they're hex codes I think lol, 17h is Zen / Zen+ / Zen 2 15:50:10 so, 19h Zen 3 / Zen 3+ / Zen 4 is not supported, I wonder if it will ever be. 15:50:45 or it is and the man page just wasn't updated 16:11:54 hello I am having trouble to get X loaded 16:11:58 beastwick: generally, man pages tend to be held in sync with the drivers 16:13:57 http://termbin.com/fj74 16:15:35 gpu? 16:19:10 maybe what needs to be done? 16:20:14 I think the question was meant to be "what is your gpu?" 16:20:52 seems like some intel gpu, is i915kms.ko loaded? 16:22:47 yes sorry, which gpu? and yes, was going to ask if you made sure the appropriate driver was installed/added to rc.conf 16:23:17 in the case of nvidia, I always need to run nvidia-xconfig, for amd you'll need amdgpu. 16:24:54 understood 16:26:36 I wonder how to do it for mine 16:32:07 sixpiece: maybe, if you tell us which one it is, we can help. maybe. 16:32:33 I have something from my setup in ubuntu if that will help 16:32:42 also I believe it's intel I'll get the specs 16:33:04 https://www.notebookcheck.com/Lenovo-IdeaPad-Yoga-2-11.124925.0.html 16:33:05 Title: Lenovo IdeaPad Yoga 2 11 - Notebookcheck.com Externe Tests 16:33:37 Intel HD Graphics (Bay Trail), Kerntakt: 854 MHz, Speichertakt: 666 MHz, 10.18.10.3366 16:33:55 Yoda 16:34:02 yes 16:47:54 is there a thing like powertop for FreeBSD? 16:48:16 nein 16:48:58 acpiconf -i0 maybe can help, https://wiki.freebsd.org/TuningPowerConsumption 16:49:00 Title: TuningPowerConsumption - FreeBSD Wiki 16:50:19 I've had good luck adding 'dev.hwpstate_intel.x.epp=100' to /etc/sysctl.conf where 'x' is the cpu number starting with 0 up to.. I think 4 was the cores listed 16:50:25 for power saving 16:50:48 I also read something about that 16:51:54 https://www.neelc.org/posts/freebsd-speed-shift-laptop/ 16:51:55 Title: Tuning Power Consumption on FreeBSD Laptops and Intel Speed Shift (6th Gen and Later) - Neel Chauhan 16:52:07 it works well on my wife's 13.1 laptop 16:52:19 running Kaby Lake R 16:54:39 the krm driver is installed 16:54:48 it needs something in rc.conf ? 16:56:22 Yes. 16:56:27 sixpiece: yes.. sysrc -f /etc/rc.conf kld_list+=i915kms 16:56:37 if your chipset's intel 16:56:55 that'll switch it to framebuffer for intel.. works great on my 6th gen intel 16:57:27 oh sorry it's 8th gen.. the Kaby Lake Refresh 16:57:33 was already there ironically 16:57:36 I keep mixing up the intel generation cpus :) 16:57:56 meena there's a powerd 16:58:37 you can also kldload coretemp to get stats on temperature 16:59:37 what about this 3 screen thing on x what do I do about it? 16:59:45 it's not loading correctly 16:59:47 :D 16:59:58 xrandr is your friend 17:00:36 thanks - (it says can't open display going to google this) 17:00:44 sorry that's from ssh 17:00:45 lol 17:00:52 same thing 17:00:54 you have to start up X and open a terminal and run it 17:01:03 as yourself (not root) 17:01:19 xrandr -q will show the current settings 17:01:48 yes that worked 17:02:53 http://termbin.com/x0ov I get the following 17:03:22 looks like just your laptop display is enabled 17:03:32 which is all I want? 17:03:46 you want me to take a picture to show you what I see? 17:03:57 xrandr --output eDP-1 --primary --auto 17:04:26 ok 17:04:27 says it's 1366 x 768.. that might be the max resolution. I have an old laptop from 2012 that's like that.. 1366 x 768 17:04:41 it's from 2016 17:05:07 On FreeBSD 4.11 .. I need to use the wd driver, not ata. Is there a way to disable the ata/ad driver without recompiling? The 486 it's on is going to scream if I tell it to compile...anything. 17:05:09 from xrandr's output.. 1366x768 is the highest you can go for your laptop 17:05:22 correct 17:05:51 but what's my next step? 17:05:53 if you plug in hdmi on your monitor.. you can run something like: xrandr --output HDMI-1 --right-of eDP-1 (if the external monitor is to the right of your laptop) 17:06:28 neat there is no hdmi cable anyways though 17:06:46 yes there is 17:06:49 oh cool thanks 17:06:52 mini hdmi 17:07:07 if you run xrandr -q again you'll see HDMI-1 is 'connected' 17:07:17 the problem is this 17:07:22 hold on I will try to upload it 17:07:37 (I think VGA-1 is old 9 pin VGA cable, and DP-1 is the old white connector.. forgot the name) 17:07:56 ah yes DVI 17:11:43 my monitor's so old.. it not only has HDMI, but DVI and VGA as well :D 17:12:07 https://videotron.eu/freebsd/IMG_1502.jpeg pertho 17:12:18 I should look into a new external monitor.. wonder if the wattage draw is lower these days 17:12:20 pertho check the link I sent it's a picture of what I am seeing 17:12:21 lol 17:12:24 it can do better than this 17:12:26 seriously 17:13:32 sixpiece: what's your kld_list line in /etc/rc.conf? 17:13:45 and have you rebooted since? 17:14:18 no I don't think it will make a difference but doesn't hurt to try 17:15:49 https://termbin.com/vvo3 that's my rc.conf 17:15:53 can you pastebin your /var/log/Xorg.0.log ? 17:16:27 https://termbin.com/5gyf 17:16:40 let me know if I should reboot 17:16:58 I'm rebooting now just to see 17:17:07 sixpiece: memory mapped I/O adresses can lead to strange things in conjunction to graphics cards (the adress might not be free after booting) 17:17:41 ok so what should I do? 17:17:50 just reboot 17:18:03 :-) 17:18:17 looks like you're using the Xorg intel driver.. there.. it might be conflicting with the framebuffer driver 17:19:27 interesting 17:20:33 there must be a solution 17:22:45 uninstall the xorg intel driver and reboot 17:23:08 pkg delete xf86-video-intel 17:23:57 that might sort it 17:25:25 nope still problem lol 17:27:51 here it shows a list of video drivers scfb modesetting and vesa 17:28:01 maybe that's the issue more than xf86-video-intel 17:28:27 my wife's laptop which runs intel kernel mode fb has scfb and vesa installed but it doesn't use those 17:28:38 I had to pkg delete xf86-video-intel to get it to work 17:28:51 I tried that didn't work 17:54:50 Quick question I hope. Why would net-php/deluge not be available to install with pkg? I can `pkg search` for other things in the same category, but not that. This is a 12.3 system. 17:57:55 in the file `/etc/pkg/FreeBSD.conf` is the end of `url:` set to `release` or `quaterly` than you should set it to `latest` 17:58:22 quarterly.. 17:58:29 I'll try that. 18:00:29 ah, net-p2p, not net-php 18:00:55 it'll be py39-deluge (or whatever your python version is) 18:01:21 I did a `pkg update` to refresh the index, but 'deluge' still doesn't show up. 32343 other packages do though, as opposed to 32354 from quarterly. 18:01:22 ah no, sorry, without prefix. 18:01:27 pkg search -x deluge 18:02:48 otis, alas, still no luck. 18:03:13 ah yes, net-php was an irc-only typo.:)  My fingers think they know what they're doing. 18:05:24 So YOU see a result when you `pkg search deluge`? 18:07:49 i use my own repo 18:08:08 but on one box no, i don't see. 18:11:37 Weird. I don't see anything in the Makefile that would prevent a package from being built. I guess I'll just give this jail a ports tree and see if I can build it. 18:45:54 Huh. https://www.freshports.org/net-p2p/deluge/ has a list I don't understand in the "Packages" section. Does this mean that no package for Deluge has been built for FreeBSD 12 amd64? Should I just give up on this and install some other bittorrent package? (Any suggestions?) 18:45:55 Title: FreshPorts -- net-p2p/deluge: Bittorrent client using Python, GTK3, and libtorrent-rasterbar 18:53:56 gh00p: i like rtorrent 18:55:28 With 100% of the votes for rtorrent so far, perhaps that is what I should pick. 19:01:32 I use transmission 19:08:07 that tabel in freshports means there is no package build for that config (as far as freshports knows), but there is no reason why not, looking at the builders it seems because py-libtorrent-rasterbar is broken 19:24:19 nimaje, I use transmission on my mac, and I like it, but I've been reading that is slower, than other tools. I used ctorrent with ctcs for years, and they were great, but they aren't compatible with many modern torrents. 19:55:04 was going to suggest deluge, but thats the thing you're having issues building/getting... doh. 20:00:16 * meena uses deluge on osmc… 20:01:29 gh00p: that's one heck of a table 20:51:51 how can i make an automated bash command work: vtsgram -p100 -b300 -s '-z60 -Z-30' /data/events/16721375*.vt > 1672137*.png <--how do i make the input file name the output when i have many files? 20:52:15 CCFL_Man: great question 20:53:28 for i in `ls /data/events/16721375*.vt` ; do vtsgram -p100 -b300 -s '-z60 -Z-30' $i ${i//vt/png}; done 20:54:07 or find | while ... 20:54:45 otis: how do you get the stdin into the varible to replace? 20:55:08 read shell builtin. 20:56:08 find /data/events -name '16721375*.vt' -print | while read i; do ...; done 20:56:24 otis: yeah, but that doesn't make the right iflename for the output 20:56:46 oh, i see you'd still do the ${i// } 20:58:03 is there some trick to allow java (graylog in this case) to listen on both ipv6 & ipv4 addresses? 20:58:08 used to work, now doesn't 20:58:20 dch: yes, there is. 21:00:50 dch: -Djava.net.preferIPv4Stack=false 21:00:55 to JAVA_OPTS 21:01:11 otis: ta, let me see what I ansibled here 21:02:06 rtprio: just for i in /data/events/16721375*.vt works fine and isn't broken like parsing ls output 21:02:56 oh, right thre is an assumption that " " isn't in the filename; good catch 21:03:30 `ls -1 ...` and "${i}" "${i//vt/png}" might do as well 21:03:48 otis: rofl, the maintainer of graylog port has this listed already 21:03:55 and the maintainer is .... me 21:06:53 otis: that isn't the problem with the ls there (-1 is default behaviour in that case), what if filenames contain spaces? and even if you fix that correctly, what if filenames contain newlines? 21:08:23 or if the ls implementation tries to be helpful to the human user and escapes control characters and multibyte characters? 21:09:42 i guss that's where find -print0 |xargs -0 but in the other hand if you're dealing with files with newlines you've got what's coming to you 21:10:26 well thats not enough anymore, time to do some digging 21:10:42 | while read i seems to handle spaces ok 21:10:45 cool 21:11:01 or use globs and let the shell handle that stuff for you 21:11:02 rtprio: yes, -print0 and | xargs -0 would be the best 21:14:20 or use make with suffix rules, but not sure how well that handles spaces and newlines in filenames, but it would give you parallelism by just adding -j 21:19:36 suffix rules? 21:25:24 in your case it would be .SUFFIXES: .vt .png and then .vt.png:\n\tvtsgram -p100 -b300 -s '-z60 -Z-30' "${.IMPSRC}" > "${.TARGET}" I think 21:25:51 oh, as in from a makefile 21:26:40 rtprio, If one is piping to while read var please use the idiom | while IFS= read -r var; do ... which is good for embedded spaces, assumes newlines terminate entries. 21:27:12 true. 21:28:41 Stephane Chazelas gives a good tutorial on that particular construct answer a question here https://unix.stackexchange.com/questions/209123/understanding-ifs-read-r-line 21:28:42 Title: bash - Understanding "IFS= read -r line" - Unix & Linux Stack Exchange 21:29:12 so just use globs there as there seems to be no need for find or similar 21:29:37 Agreed. The shell can expand globs on its own just fine. FTW! :-) 21:31:16 Also the find -print0 | xargs -r0 thing has mostly been replaced by find -exec ... {} + with the "{} +" syntax now. The character pipeline is no longer needed. 21:35:14 but would you need to I="{} +"; ${I//vt/png} somehow? 21:37:15 Literally you can do anything with find plus utilities. But often it is more clearly understood to write them out in long form otherwise. 21:40:00 I had to review your problem statement. I would for loop it as the group decided. 21:41:31 Perhaps??: for f in /data/events/16721375*.vt; vtsgram -p100 -b300 -s '-z60 -Z-30' "$f" > "${f//vt/png}"; done 21:44:05 More portably without the //vt/png bash'ism. for f in /data/events/16721375*.vt; vtsgram -p100 -b300 -s '-z60 -Z-30' "$f" > "${f%%vt}.png"; done 21:44:37 Oops! Messed up the number of dots there. But I'll leave fixing that as an exercise for the reader. :-) 21:45:31 rwp: looks like sh only has prefix/suffix manipulation? bash has substitution and sevral others? 21:45:59 rtprio: *never* use ls for this kind of thing. https://wiki.sharewiz.net/doku.php?id=bash:globs#expansion_of_glob_-_filename_with_whitespace 21:46:04 Title: bash:globs [Wiki] 21:46:55 for i in `ls /*` vs for i in /* ? yes, i admit i was sloppy there; also decade old bad habits 21:46:56 rtprio, Right. In the "man sh" page review the Parameter Expansion section for portable substring processing. 21:55:08 otis: i needed to bump to jdk17 to fix it. curious.