-
ixmpp
hey guys, talk to me about the linuxulator?
-
ixmpp
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?
-
nimaje
it translates some syscalls, so it shouldn't be really noticable
-
edenist
It isn't soft emulation, it translates the system calls which while does have a small performance impact it isn't that slow
-
ixmpp
oh okay
-
ixmpp
so negligible performance hit, but incomplete mapping?
-
edenist
In my experience it is quite complete but it mainly depends on how recent the dependencies are linked against
-
ixmpp
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?
-
ixmpp
i can't even remember what the missing calls were
-
edenist
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.
-
nimaje
that linux chroot is using the linuxulator
-
edenist
Also note my experience is with single Linux applications. Running a Linux userland in a chroot is still experimental
-
ixmpp
ah! okay.
-
ixmpp
so my expecting my gentoo chroot to work perfectly is pretty extraneous :D
-
edenist
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
-
thumbs
/22/93
-
ixmpp
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
-
ixmpp
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
-
nimaje1
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)
-
ixmpp
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
-
ixmpp
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
-
ixmpp
it does seem like linux has become an exercise in mitigating linux, even on gentoo
-
ixmpp
seems saner to do that from the external, at least
-
rtprio
thumbs: you're all thumbs
-
rtprio
i don't think dbus is that new
-
ixmpp
not terribly, but it's part of the trend of the osx-ification of linux
-
ixmpp
i dare not mention kdbus
-
ixmpp
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
-
ixmpp
at least, not when compared to freebsd
-
ixmpp
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
-
ixmpp
that's extraordinary
-
ixmpp
too used to static sparse images that only balloon and never shrink
-
sixpiece
hello
-
sixpiece
how are you?
-
sixpiece
I am having an issue
-
sixpiece
I installed freebsd as a dual partition I created the partition booted it from the usb key
-
sixpiece
and now I don't know how to add it to grub from ubuntu
-
sixpiece
anyone have any idea?
-
rwp
-
VimDiesel
Title: Add FreeBSD to GRUB2 boot menu - Unix & Linux Stack Exchange
-
sixpiece
getting there thank you rwp I followed the forums one I think
-
sixpiece
it's not quite done but it's somewhere
-
rwp
Personally I never like dual booting and so never do it myself. When I did do it I was always in the wrong OS!
-
rwp
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.
-
LxGHTNxNG
I have had HardenedBSD and Debian dual booted
-
sixpiece
For EFI hardware:
-
sixpiece
set root=(hdX,Y)
-
sixpiece
chainloader /boot/loader.efi
-
sixpiece
boot
-
sixpiece
this is the one that works
-
sixpiece
sorry for flooding but yes will put into the 40-custom
-
sixpiece
then I have a problem with the wifi, then I have to do the desktop and will hope the touchscreen works also
-
sixpiece
seem to have got it
-
sixpiece
for the boot loader
-
sixpiece
basically a space between set root=(hd0,gpt9) vs. set root =(hd0,gpt9) made all the difference...
-
sixpiece
kind of a beautiful operating system in a way
-
clockwork
hello, can anyone approve my post?
-
kodcode
clockwork: ?
-
meena
clockwork: on the forum? the wiki?
-
clockwork
meena: Thanks, looks like it's been confirmed. I wrote to the forum.
-
meena
clockwork: the forum folks don't really hang out on IRC, from what i remember
-
parv
meena, Thanks for answering my question that I was going to ask but did not
-
meena
parv: you're perfectly welcome
-
» meena has an account on the forums but only posted once
-
paulf
I do follow the dev forums
-
meena
-
VimDiesel
Title: rclone not working with W^X | The FreeBSD Forums
-
clockwork
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.
-
meena
clockwork: aye. what's your question?
-
clockwork
meena: Yes, little things. my wine7 does not start any game - Unknown error (127).
-
clockwork
I wrote to the maintainer and left a post on the winehq forum.
-
meena
actually, i should have updated that post with the resolution from the golang project:
github.com/golang/go/issues?q=is%3Aissue+author%3Aigalic+is%3Aclosed
-
VimDiesel
Title: Issues · golang/go · GitHub
-
meena
I feel like that would require some knowledge of both windows and Unix, and I have almost exactly zero windows knowledge
-
meena
(rounded down, relative to my Unix knowledge)
-
clockwork
meena: I also wrote two programs: for switching sound on FreeBSD and for quickly switching wi-fi. I am new to computers.
-
meena
cool
-
clockwork
-
meena
so, on linux 127 is usually commands not found, nor sure if on FreeBSD too
-
paulf
127 is more likely just -1
-
paulf
which most often is x not found
-
clockwork
don't know how to fix it?
-
paulf
never used wine
-
» debdrup mutters something about errno(2).
-
beastwick
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
-
beastwick
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?
-
beastwick
Also, this little box is *always* on, which is why it's important to me to have it idle as best as it can.
-
debdrup
I'm not sure the new hardware P-states in AMD chips is supported yet, since hwpstate_amd(4) doesn't exist.
-
beastwick
that would make sense, is it possibly in CURRENT?
-
debdrup
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
-
debdrup
Do you have cpufreq loaded?
-
beastwick
sadly I am not at my box atm, that is something that should be loaded even after a vanilla install?
-
debdrup
Looks like what you want is
reviews.freebsd.org/D9759
-
VimDiesel
Title: ⚙ D9759 amdtemp driver update
-
beastwick
wow that is sadly really old and I guess was never merged
-
debdrup
Technically speaking it's still in review, but you'll have to ask the author.
-
beastwick
so K10 is the gen right before Zen?
-
beastwick
Oh, wait they're hex codes I think lol, 17h is Zen / Zen+ / Zen 2
-
beastwick
so, 19h Zen 3 / Zen 3+ / Zen 4 is not supported, I wonder if it will ever be.
-
beastwick
or it is and the man page just wasn't updated
-
sixpiece
hello I am having trouble to get X loaded
-
meena
beastwick: generally, man pages tend to be held in sync with the drivers
-
sixpiece
-
beastwick
gpu?
-
sixpiece
maybe what needs to be done?
-
nimaje
I think the question was meant to be "what is your gpu?"
-
nimaje
seems like some intel gpu, is i915kms.ko loaded?
-
beastwick
yes sorry, which gpu? and yes, was going to ask if you made sure the appropriate driver was installed/added to rc.conf
-
beastwick
in the case of nvidia, I always need to run nvidia-xconfig, for amd you'll need amdgpu.
-
sixpiece
understood
-
sixpiece
I wonder how to do it for mine
-
meena
sixpiece: maybe, if you tell us which one it is, we can help. maybe.
-
sixpiece
I have something from my setup in ubuntu if that will help
-
sixpiece
also I believe it's intel I'll get the specs
-
sixpiece
-
VimDiesel
Title: Lenovo IdeaPad Yoga 2 11 - Notebookcheck.com Externe Tests
-
sixpiece
Intel HD Graphics (Bay Trail), Kerntakt: 854 MHz, Speichertakt: 666 MHz, 10.18.10.3366
-
PredatorONormies
Yoda
-
sixpiece
yes
-
meena
is there a thing like powertop for FreeBSD?
-
sixpiece
nein
-
beastwick
-
VimDiesel
Title: TuningPowerConsumption - FreeBSD Wiki
-
pertho
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
-
pertho
for power saving
-
sixpiece
I also read something about that
-
pertho
-
VimDiesel
Title: Tuning Power Consumption on FreeBSD Laptops and Intel Speed Shift (6th Gen and Later) - Neel Chauhan
-
pertho
it works well on my wife's 13.1 laptop
-
pertho
running Kaby Lake R
-
sixpiece
the krm driver is installed
-
sixpiece
it needs something in rc.conf ?
-
angry_vincent
Yes.
-
pertho
sixpiece: yes.. sysrc -f /etc/rc.conf kld_list+=i915kms
-
pertho
if your chipset's intel
-
pertho
that'll switch it to framebuffer for intel.. works great on my 6th gen intel
-
pertho
oh sorry it's 8th gen.. the Kaby Lake Refresh
-
sixpiece
was already there ironically
-
pertho
I keep mixing up the intel generation cpus :)
-
sixpiece
meena there's a powerd
-
pertho
you can also kldload coretemp to get stats on temperature
-
sixpiece
what about this 3 screen thing on x what do I do about it?
-
sixpiece
it's not loading correctly
-
sixpiece
:D
-
pertho
xrandr is your friend
-
sixpiece
thanks - (it says can't open display going to google this)
-
sixpiece
sorry that's from ssh
-
sixpiece
lol
-
sixpiece
same thing
-
pertho
you have to start up X and open a terminal and run it
-
pertho
as yourself (not root)
-
pertho
xrandr -q will show the current settings
-
sixpiece
yes that worked
-
sixpiece
termbin.com/x0ov I get the following
-
pertho
looks like just your laptop display is enabled
-
sixpiece
which is all I want?
-
sixpiece
you want me to take a picture to show you what I see?
-
pertho
xrandr --output eDP-1 --primary --auto
-
sixpiece
ok
-
pertho
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
-
sixpiece
it's from 2016
-
Ltning
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.
-
pertho
from xrandr's output.. 1366x768 is the highest you can go for your laptop
-
sixpiece
correct
-
sixpiece
but what's my next step?
-
pertho
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)
-
sixpiece
neat there is no hdmi cable anyways though
-
sixpiece
yes there is
-
sixpiece
oh cool thanks
-
sixpiece
mini hdmi
-
pertho
if you run xrandr -q again you'll see HDMI-1 is 'connected'
-
sixpiece
the problem is this
-
sixpiece
hold on I will try to upload it
-
pertho
(I think VGA-1 is old 9 pin VGA cable, and DP-1 is the old white connector.. forgot the name)
-
pertho
ah yes DVI
-
pertho
my monitor's so old.. it not only has HDMI, but DVI and VGA as well :D
-
sixpiece
-
pertho
I should look into a new external monitor.. wonder if the wattage draw is lower these days
-
sixpiece
pertho check the link I sent it's a picture of what I am seeing
-
sixpiece
lol
-
sixpiece
it can do better than this
-
sixpiece
seriously
-
pertho
sixpiece: what's your kld_list line in /etc/rc.conf?
-
pertho
and have you rebooted since?
-
sixpiece
no I don't think it will make a difference but doesn't hurt to try
-
sixpiece
termbin.com/vvo3 that's my rc.conf
-
pertho
can you pastebin your /var/log/Xorg.0.log ?
-
sixpiece
-
sixpiece
let me know if I should reboot
-
sixpiece
I'm rebooting now just to see
-
Kalten
sixpiece: memory mapped I/O adresses can lead to strange things in conjunction to graphics cards (the adress might not be free after booting)
-
sixpiece
ok so what should I do?
-
Kalten
just reboot
-
Kalten
:-)
-
pertho
looks like you're using the Xorg intel driver.. there.. it might be conflicting with the framebuffer driver
-
sixpiece
interesting
-
sixpiece
there must be a solution
-
pertho
uninstall the xorg intel driver and reboot
-
pertho
pkg delete xf86-video-intel
-
pertho
that might sort it
-
sixpiece
nope still problem lol
-
sixpiece
here it shows a list of video drivers scfb modesetting and vesa
-
sixpiece
maybe that's the issue more than xf86-video-intel
-
pertho
my wife's laptop which runs intel kernel mode fb has scfb and vesa installed but it doesn't use those
-
pertho
I had to pkg delete xf86-video-intel to get it to work
-
sixpiece
I tried that didn't work
-
gh00p
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.
-
Kalten
in the file `/etc/pkg/FreeBSD.conf` is the end of `url:` set to `release` or `quaterly` than you should set it to `latest`
-
gh00p
quarterly..
-
gh00p
I'll try that.
-
otis
ah, net-p2p, not net-php
-
otis
it'll be py39-deluge (or whatever your python version is)
-
gh00p
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.
-
otis
ah no, sorry, without prefix.
-
otis
pkg search -x deluge
-
gh00p
otis, alas, still no luck.
-
gh00p
ah yes, net-php was an irc-only typo.:) My fingers think they know what they're doing.
-
gh00p
So YOU see a result when you `pkg search deluge`?
-
otis
i use my own repo
-
otis
but on one box no, i don't see.
-
gh00p
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.
-
gh00p
Huh.
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?)
-
VimDiesel
Title: FreshPorts -- net-p2p/deluge: Bittorrent client using Python, GTK3, and libtorrent-rasterbar
-
rtprio
gh00p: i like rtorrent
-
gh00p
With 100% of the votes for rtorrent so far, perhaps that is what I should pick.
-
nimaje
I use transmission
-
nimaje
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
-
gh00p
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.
-
nacelle
was going to suggest deluge, but thats the thing you're having issues building/getting... doh.
-
» meena uses deluge on osmc…
-
meena
gh00p: that's one heck of a table
-
CCFL_Man
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?
-
rtprio
CCFL_Man: great question
-
rtprio
for i in `ls /data/events/16721375*.vt` ; do vtsgram -p100 -b300 -s '-z60 -Z-30' $i ${i//vt/png}; done
-
otis
or find | while ...
-
rtprio
otis: how do you get the stdin into the varible to replace?
-
V_PauAmma_V
read shell builtin.
-
otis
find /data/events -name '16721375*.vt' -print | while read i; do ...; done
-
rtprio
otis: yeah, but that doesn't make the right iflename for the output
-
rtprio
oh, i see you'd still do the ${i// }
-
dch
is there some trick to allow java (graylog in this case) to listen on both ipv6 & ipv4 addresses?
-
dch
used to work, now doesn't
-
otis
dch: yes, there is.
-
otis
dch: -Djava.net.preferIPv4Stack=false
-
otis
to JAVA_OPTS
-
dch
otis: ta, let me see what I ansibled here
-
nimaje
rtprio: just for i in /data/events/16721375*.vt works fine and isn't broken like parsing ls output
-
rtprio
oh, right thre is an assumption that " " isn't in the filename; good catch
-
otis
`ls -1 ...` and "${i}" "${i//vt/png}" might do as well
-
dch
otis: rofl, the maintainer of graylog port has this listed already
-
dch
and the maintainer is .... me
-
nimaje
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?
-
nimaje
or if the ls implementation tries to be helpful to the human user and escapes control characters and multibyte characters?
-
rtprio
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
-
dch
well thats not enough anymore, time to do some digging
-
rtprio
| while read i seems to handle spaces ok
-
rtprio
cool
-
nimaje
or use globs and let the shell handle that stuff for you
-
otis
rtprio: yes, -print0 and | xargs -0 would be the best
-
nimaje
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 <n>
-
rtprio
suffix rules?
-
nimaje
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
-
rtprio
oh, as in from a makefile
-
rwp
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.
-
otis
true.
-
rwp
Stephane Chazelas gives a good tutorial on that particular construct answer a question here
unix.stackexchange.com/questions/209123/understanding-ifs-read-r-line
-
VimDiesel
Title: bash - Understanding "IFS= read -r line" - Unix & Linux Stack Exchange
-
nimaje
so just use globs there as there seems to be no need for find or similar
-
rwp
Agreed. The shell can expand globs on its own just fine. FTW! :-)
-
rwp
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.
-
rtprio
but would you need to I="{} +"; ${I//vt/png} somehow?
-
rwp
Literally you can do anything with find plus utilities. But often it is more clearly understood to write them out in long form otherwise.
-
rwp
I had to review your problem statement. I would for loop it as the group decided.
-
rwp
Perhaps??: for f in /data/events/16721375*.vt; vtsgram -p100 -b300 -s '-z60 -Z-30' "$f" > "${f//vt/png}"; done
-
rwp
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
-
rwp
Oops! Messed up the number of dots there. But I'll leave fixing that as an exercise for the reader. :-)
-
rtprio
rwp: looks like sh only has prefix/suffix manipulation? bash has substitution and sevral others?
-
meena
-
VimDiesel
Title: bash:globs [Wiki]
-
rtprio
for i in `ls /*` vs for i in /* ? yes, i admit i was sloppy there; also decade old bad habits
-
rwp
rtprio, Right. In the "man sh" page review the Parameter Expansion section for portable substring processing.
-
dch
otis: i needed to bump to jdk17 to fix it. curious.