-
Schamschula
I just checked Chromium on my Mac (I build it from the Git repo about once a week). There are two AI features currently: 1) History search and 2) Real-time suggestions (I've disabled both).
-
f451
yikes!
-
f451
theres some kind of bin file isnt there, the name of it escapes me
-
f451
-
amencoda
Yep
-
f451
89% 23h10m
-
Vect0r_X
f451: what is that a stat of?
-
f451
building qt6-webengine
-
djPoorly
how many hours left to go
-
f451
id guess 1-2 hrs
-
djPoorly
Godspeed
-
f451
;)
-
f451
it is huge
-
f451
cpu is E5-2690 x2 @3ghz ncpu=20
-
f451
E5-2690v2 *2
-
djPoorly
going to need a project to do on one of my systems, just not sure as to what...
-
djPoorly
They're just desktops, no need for server stuff
-
djPoorly
Although, I do plan on taking network+ in a bit, so I should probably set things up
-
lts
Sounds like you should repurpose them as servers and start selfhosting services
-
djPoorly
Thinking that might be the way to do things
-
f451
this is the way
-
djPoorly
been wanting to actually run a mock website to run python stuff
-
djPoorly
Guess that will be the week coming up
-
f451
my office servers are ex-datacentre gear
-
f451
all the pi1/2/3/4/5 are servers
-
f451
actually to get an accurate estimate of cost id need to subtract avg wattage over time 247 from avg wattage over time qt6-webengine
-
f451
for the latter its 296W 1hr avg
-
f451
think it idles at 110
-
lts
If you pay for heating, you can reduce the costs from there
-
f451
yeah heating is turned off even in winter
-
f451
in the office
-
f451
we have a bit of a spring heatwave rn. got to 30degC indoors, 31 outdoord. rh is a bit better today, 45%
-
f451
its 15degC rn
-
djPoorly
it's been fairly cool here, near freezing every morning about 5C
-
djPoorly
honestly haven't packed away the sweaters just yet
-
djPoorly
Thanks for the tips guys, the goal from network+ is to get into CCNA
-
djPoorly
best of luck with your build, take care
-
f451
ty
-
f451
after 1day 7 mins it failed. ah well
-
tm512
I'm trying to use ffmpeg's kmsgrab, which "Requires either DRM master or CAP_SYS_ADMIN to run". is there any way to manage this on FreeBSD without running ffmpeg as root?
-
tm512
FreeBSD doesn't seem to have setcap at all
-
tm512
my user is in the video group, which seems to have rw access on the /dev/drm nodes that /dev/dri points to
-
aphor
tm512 run it under ktrace and see what fails and why.
-
tm512
I've got ktrace.out, but now what? it seems to be a binary file
-
aphor
man kdump
-
aphor
ktrace makes a kernel trace, and kdump reads the dump details out for inspection
-
aphor
What you will see is a step by step list of the things ffmpeg asked the kernel for.
-
aphor
These will include return values and errors.
-
tm512
the only thing I'm seeing so far aside from logging output is an openat() call for /dev/dri/card0 which returns 8, and then a bunch of following ioctl calls that all return 0
-
aphor
I'd expect you will find ffmpeg tries to open() some device. If you find an open() with an error, EACCES (reference
github.com/freebsd/freebsd-src/blob/main/sys/sys/errno.h) that's probably the blocker.
-
aphor
returning zero is conventionally success for most functions, but open() style calls return a file handle number. You'll see that 8 used as arguments for read() or similar afterwards.... fyi.
-
aphor
If you don't see any errors that mean you don't have permission then its unlikely permission is preventing your frame grabbing and you'll need to look further.
-
aphor
sorry for the double-negative.
-
tm512
I don't get this error if I run ffmpeg as root, so it seemingly is permissions-related
-
aphor
I may have assumed from your question that you had already established permission errors as a fact.
-
aphor
Did kdump reveal any errors?
-
tm512
not that I see
-
aphor
If that's the case, the kernel never denied any syscall.
-
aphor
It's possible ffmpeg is giving bogus error messages.
-
aphor
another common thing that can fail which shows up in kdump output is missing libraries showing up as dlopen() errors.
-
tm512
again, it succeeds to get a handle for the framebuffer as root. the kernel might not be giving something that appears as an error
-
tm512
handles[0] in the struct returned by drmModeGetFB2 is NULL when run as my unprivileged user, that's what's causing ffmpeg to throw an error
-
aphor
That's one step closer. Maybe the DRM device has some silent security fencing.
-
tm512
it seems like I just have to live with it. to be a bit on the safer side maybe I could run a second, unprivileged, instance of ffmpeg that actually handles RTMP streaming, so I don't have ffmpeg as root connected to a remote server
-
tm512
or I wonder if ffmpeg could be made setuid, setting privileges only for grabbing the DRM handle and then dropping them
-
tm512
it'd be nice if I could just override the security stuff with a sysctl or something. I'm on X11, the full screen's contents are already available through x11grab
-
tykling
why is there a jail_parallel_start but not a parallel stop?
-
o0x1eef
Not sure but one jail can depend on another jail, and you usually don't want to stop them in parallel. If you have a httpd running in one jail, and database in another, normally you want to take httpd offline first, then the database, not both together or in a non-deterministic manner.
-
JurassCZ
Hi guys, why is free bsd not so popular as linux, when obviously there is better order in things (like documentation) than it is on linux distros?
-
JurassCZ
The more I read the better the FreeBSD sounds, but then I would expect to be more popular
-
o0x1eef
JurassCZ In life you'll learn that the most popular option is not the best option.
-
[tj]
JurassCZ: ibm
-
lts
JurassCZ: Unix Wars of the 80s/90s and fear for lawsuits for using a Unix based system
-
hernan604
is it possible to upgrade from 15.1-RC1 to 15.1-RELEASE ?
-
ivy
hernan604: it will be, yes. currently it isn't since 15.1-RELEASE isn't released yet
-
CrtxReavr
JurassCZ, Linus Torvald is actually on record for having said he never would have written his kernel had the BSD project(s) not been being sued by Bell Labs & Sun.
-
CrtxReavr
Everyone expected BSD to lose the suit. . . 'cause Bell Labs & Sun both had more money and lawyers than god.
-
CrtxReavr
But little old BSD prevailed with a pro bono lawyer.
-
ivy
we dodged a bullet there - imagine how freebsd would look if it had the sort of corporate control linux has
-
MelanieUrsidino
lolll
-
nimaje
ivy: thanks for the suggestion with cloned_interfaces and /etc/start_if.<interface> but sadly that doesn't work for me, as if_wg doesn't support domain names as endpoints, so the wg setconf has to resolve the domain name, which doesn't work before network is setup and all hacks I tried to delay that setconf didn't work (defining a function that first sleeps and calling that with & and sleep 5
-
nimaje
&& wg setconf … & )
-
nimaje
any suggestions how to setup a wg interface in rc.conf with only base when the endpoint is a domain name?
-
lts
Use rc.local? Use a cronjob which every minute tries to detect the connection and creates it if not found?
-
lts
(Try rc.local first)
-
CrtxReavr
rc.local is. . . pretty sloppy.
-
CrtxReavr
nimaje, you can't use the IP?
-
nimaje
no, the ip changes sometimes, that's why we have domain names
-
CrtxReavr
So. . . do a DNS lookup as part of your process?
-
ketas
that hack works
-
ketas
i mean you can do it elsewhere too, not just rc.local
-
nimaje
when I try to configure the interface via /etc/start_if.<interface> that dns lookup is to early and my hacky tries to delay it didn't work, as I wrote a bit up
-
ketas
so do it later?
-
ketas
when dns is up
-
ketas
retry until it resolves
-
ketas
one thing here runs
-
ketas
out of crontab @reboot
-
ketas
a
-
ketas
while true; do if host "`hostname`"; then service postfix start; break; fi; sleep 1; done
-
ketas
could do getent hosts xxx here
-
lts
Sometimes rc.local is what you need. Less elegant perhaps but it indeed works
-
lts
Arguably the fault is with other systems being sloppy about waiting for proper networking
-
ketas
lts: well it's hard to wait sometimes
-
nimaje
and what if proper networking never comes up?
-
ketas
locals now run via /etc/rc.d/local, you can make own script or use that
-
ketas
then you're crapped?
-
ketas
you wanted to make wg tunnel by ip from dns
-
ketas
so no dns no ip no wg
-
lts
nimaje: I guess then you get "Job systemd-networkd-wait-online.service/start running (1min 58s / no limit)" :-)
-
ketas
lol
-
lts
(Yeah I'm just happy using rc.local even if it's less elegant)
-
ketas
sleep "`jot -r 1 0 10`"
-
nimaje
but the system should still come up, even if the ethernet cable isn't connected (or whatever is missing for proper networking), so ideally nothing should wait for proper networking
-
ketas
yeah don't do that
-
ketas
run daemon -f boo.sh from rc.local pr so
-
ketas
or
-
nimaje
thanks, using daemon from /etc/start_if.<interface> helps, as well as not typoing the interface name in ifconfig_<interface> so that the ip address gets applied, no rc.local needed, wg setconf can just try to resolve the endpoint in the background until the network stack is setup and the dns server responds
-
ketas
hmm never tried wg
-
ketas
it loads config i see
-
ketas
setconf
-
ketas
and it resolves host there and then?
-
ketas
i would try to resolve it before but anyway
-
nimaje
yes, for some reason if_wg doesn't support the endpoint being a domain name, so the wg tool resolves it on setconf and if it doesn't resolves it waits a bit and tries again to resolve it in a loop (probably with growing delays, but not sure)
-
ketas
hmm
-
ketas
well how would it use host anyway
-
ketas
do dns in kernel?
-
ketas
man -P 'less -p "WG_ENDPOINT_RESOLUTION_RETRIES"' wg
-
ketas
hmm
-
nsoci
any mdo user?
-
seti_
building the stabilization week freebsd head right now, is the toolchain relatively "stable" compared to HEAD or can i expect to be rebuilding it often? (running buildworld now)
-
seti_
or is it even the toolchain? is it for the userland? Im used to building netbsd where you start with the toolchain