-
polarian
alright I want to kick off a convo a while back which I never really finished, so jailing bhyve, within the handbook it is said to add security, but someone here at some point pointed out almost everything is inkernel, so jailing bhyve is nothing more than jailing the userspace utility and that bhyve being pwned would bypass the jail anyways (as its inkernel)
-
polarian
so question is, is jailing bhyve worth it?
-
polarian
I have both used it within a jail and outside of a jail, I find using a jail makes it easier though as I can inject the bhyve command into the startup of the jail, and then when the jail is stopped bhyve gracefully shutdowns
-
andrath
It would make sense if bhyve knows it's inside a jail and keeps to the constraints, but I really can't say about all the in-kernel stuff. It could even facilitate a jailbreak. Maybe ask on the mailinglists?
-
[tj]
polarian: jailing bhyve limits some of the risk area to the jail rather than the raw host. the kernel parts of bhyve are setting managing the vmm, but there is also a lot of userspace code to handle vmexits
-
[tj]
-
polarian
[tj]: interesting, so I am not doing it all for nothing then, I prefer using a jail anyways as it separates it from the host, just cleaner that way
-
polarian
and with zfs compression, its mostly cost free too
-
[tj]
you would hope that most security mitigations are never actually exercised, like airbags
-
polarian
true
-
polarian
andrath: might be worth asking anyways for 1. mailing list history, and 2. would likely get a more indepth answer (as mailing lists are better for that shit, instead of small sync IRC communications)
-
angry_vincent
is most recent iwlwifi ( that is in stable/15 branch ) works only in ac mode for Intel AX210 wireless? it seemed to me it had to be working in ax mode too
-
[tj]
we don't have ax support
-
angry_vincent
[tj]: ok, fair enough.
-
polarian
[tj]: too bad you cant just wrap LinuxKPI around that :p
-
polarian
the freebsd way of supporting lots of devices, wrap linuxKPI around Linux drivers and call it a day >:)
-
polarian
wasn't Adrian working on 802.11ax?
-
[tj]
we need ieee80211 stack support for ax, we have some?
-
polarian
[tj]: idk for some reason I have some memory of Adrian working on ieee80211 support for ax, or maybe he spoke about the idea or something
-
polarian
idfk
-
polarian
I cant remember
-
polarian
personally I use 802.11n and I dont need anything more...
-
polarian
802.11ac is a nice to have but I dont find it helps me in any way
-
GoSox
isn’t ’n’ the short distance one?
-
polarian
GoSox: depends, I actually use 802.11g a lot more (as its 5GHz which is less congested)
-
polarian
wait no 802.11n can do 5Ghz too iirc
-
polarian
sorry g is 2.4GHz
-
GoSox
my favorite thing to do when a customer is complaining about constanatly shitty wifi, is to log in to their router and change the channels of their wifi to the middle numbers nobody uses. And like magic, their wifi goes from spotty and unreliable to rock solid
-
ivy
GoSox: you might be thinking of 802.11ac, which was only defined for 5GHz (and falls back to .11n for 2.4GHz)?
-
GoSox
oh maybe i don’t know
-
polarian
but funny enough I am using 802.11g right now
-
polarian
because for some reason freebsd likes connecting with 802.11g, I have no fucking clue why
-
GoSox
wifi all works so good these days, I don’t even pay attention to whats what
-
polarian
it does do 802.11n sometimes
-
polarian
anyway GoSox 5GHz is shorter distance, but in cities it will travel further due to less congestion, 2.4GHz has only a few non-overlapping bands and thus is heavily congested.
-
GoSox
most people use the default channels, hardly anyone actually goes in to their router to change that
-
GoSox
i’m sure people in a freebsd chat room do, but “normies” do not
-
polarian
GoSox: its usually not worth it
-
ivy
the point is that 5GHz is less congested because you can't see the other traffic at all (as least not as much), regardless of what channels you use
-
polarian
your AP will switch channels to the least congested (or should)
-
polarian
if you hard set it, if more APs pop up, you will be hard coded onto a congested band
-
GoSox
when you’re in a multi-unit buildling or in a dense area where houses are very close together, it can be very worth it
-
polarian
s/band/channel/
-
polarian
GoSox: what you can do is narrow your channels that will help, but also affect performance (less bandwidth)
-
polarian
unfortunately most routers by default use the max channel width + max power... so its basically just a shouting match in the cities, who can have the biggest antenna :)
-
polarian
the benefit of 5GHz is it cant pass through thick walls, so for the most part your home is more shielded from it, downside is it struggles to cover a medium sized house, so you then need to mesh or run ethernet, meanwhile 2.4GHz can cover large spaces, but easily congested (2.4GHz better for countryside for example, or outdoor APPs)
-
polarian
s/APPs/APs/
-
polarian
also hi ivy IPv6 nexthop didn't work, turns out OpenBSD doesn't support it, thus it won't route OpenBSD side :(
-
polarian
the router gets the packet, doesn't know what the fuck to do with it, and drops it
-
ivy
polarian: i suggest writing a strongly worded letter
-
polarian
ivy: I just binat'd
-
polarian
pf ftw
-
polarian
its not worth any more months of my life
-
polarian
motivating myself to do something is hard enough, these setbacks just cause further issues
-
polarian
its being worked on, but its low priority
-
polarian
hopefully in a few releases (few years) it will be supported...
-
polarian
until then binat works fine (aka 1:1 NAT)
-
polarian
I wished I just binat'd in the first place, instead of fighting with IPv4-only on FreeBSD, and then IPv6 nexthop on OpenBSD *sigh*
-
ivy
i wonder if pf with route-to would work... although that's terrible and you should never use it
-
Reinhilde
wifi is just poor
-
GoSox
ISPs are always like “our router has the fastest wifi!” and I’m always like, who cares about wifi speed, if something is important it will be on ethernet
-
ivy
GoSox: not everyone can run Ethernet cables all over their house, and something may not be "important" but still benefit from increased download speeds
-
GoSox
i bought a 1000’ spool of cat6 for my house and wired up everything :)
-
ivy
good for you, as i said, not everyone can do that
-
ivy
polarian: according to an OpenBSD user, IPv4 routes with IPv6 nexthops are supported since at least 7.8:
x0r.be/@lw⊙bc/116317731957010927
-
polarian
ivy: I got told on the ML today its NOT supported
-
polarian
theres no way for route(8) to add a route for nexthop
-
polarian
hmm one says snapshot
-
polarian
one says 7.8
-
polarian
ML says none
-
polarian
fun!
-
polarian
ivy: unfortunately thats the only way to realistically have any reliable internet
-
polarian
I have knocked a few holes in walls (dont tell landlord) to run ethernet through
-
polarian
no mesh system, no enterprise wifi solution would work in a house with 20 APs surrounding i
-
polarian
it*
-
polarian
the house also has abnormally thick walls
-
ivy
it seems like that would depend on how large your house is
-
polarian
I would say its medium
-
polarian
in any case I just ran an external cable to my room, have a wifi AP there, and ethernet to my desk, and then I have a wifi AP along the trunk downstairs, and it gives me decent enough reliability, albeit not going to be the fastest
-
polarian
but if I need speed, I plug in, simples
-
polarian
in American-style/newbuilds wifi is better, but I am in a victorian home, and they are NOT designed for wifi xD
-
polarian
in any case I do want to move the fuck out anywqays :p
-
ivy
why does 'make CROSS_TOOLCHAIN=llvm19 WITHOUT_LLVM=yes buildworld' build libllvm? do i need another option to disable that?
-
ivy
ah, possibly WITHOUT_CROSS_COMPILER=yes
-
scottpedia
ivy: curious what you building llvm for
-
scottpedia
you into apple ecosystem stuff?
-
ivy
scottpedia: LLVM is shipped with FreeBSD, even time you build FreeBSD src, you build llvm
-
scottpedia
okay interesting
-
scottpedia
ivy: is it something depended by the freebsd in any way?
-
ivy
it's the C/C++ compiler, so yes
-
ivy
you can use an external toolchain, which means you use a compiler (llvm or gcc) which is not part of the system itself, e.g. from ports, but it seems like right now we still need to build some bits of llvm when doing that, perhaps for the ELF toolchain
-
scottpedia
ohh right freebsd doesn't use gcc/g++
-
ivy
i might actually switch to using gcc, since the gcc build often breaks and people don't notice or fix it
-
ivy
(on the downside, that means you have to fix the gcc build before getting around to the real work...)
-
cyric
isn't there a github integration that does gcc builds?
-
ivy
cyric: the Github pull request workflow runs a GCC build, if that's what you mean. but since it's always broken, no one cares if it fails
-
scottpedia
ivy: broken in what way? I thought the compiler are normally super reliable.
-
ivy
scottpedia: the compiler isn't broken, the build is broken, i.e. it doesn't build with gcc. this usually happens because gcc has some warning that llvm doesn't have, and we build most things with -Werror by default
-
scottpedia
sorry wdym the "build"? are you talking about the binary output?
-
ivy
scottpedia: the build of FreeBSD. building FreeBSD using GCC as the compiler.
-
scottpedia
okay so you mean you can't build freebsd with gcc?
-
scottpedia
can I say to "compile" freebsd with gcc? is there a difference when using either terms?
-
scottpedia
sorry i am not very familiar with the c/c++ ecosystem
-
kevans
ivy: #srcmgr's diverse enough that I think assigning to them for lack of better candidate is reasonable
-
kevans
i don't recall if they'd promised to re-route things that they can't do or not, but given current initiatives to try and fix stale review problems I'd imagine they will
-
crumpet
I've got a newb question about using pf tables that source files and i'm not sure where to ask it :3?
-
nimaje
then start with explaining what you want to do, then what you tried to do that and where you are stuck
-
crumpet
it's more of how they work. I was just wondering if I need to reload pf when the files the tables point to are changed
-
[tj]
yes
-
ivy
yes, you do, but there's a way to reload only tables with pfctl
-
ivy
(i can't remember what it is, though)
-
crumpet
I'll read the manpage for that thank you :3
-
scottpedia
people can somebody give me recommendations regarding the best option between UnionFS, aufs and OverlayFS?
-
rtprio
what are aufs and overlayfs?
-
scottpedia
rtprio: both are similar to unionfs with a copy-on-write feature
-
voy4g3r2
scottpedia: best option for what? what is the use case you are evaluating against?
-
scottpedia
voy4g3r2: i am planning on re-installing my OS with either one of these systems
-
scottpedia
filesystems*
-
scottpedia
i am looking for mainly the best compatibility
-
scottpedia
and reliability too, obviously
-
rtprio
not familar with eithre of those in freebsd
-
rtprio
also, zfs uses copy on write and that's what most folks use
-
scottpedia
yes. zfs seems to be the most professional choice
-
scottpedia
okay thx for the help rtprio
-
rtprio
but seriously, do the latter two even work on freebsd? i've never heard of them; not in ports, not in /sbin so not sure you're going to swing an install with that
-
voy4g3r2
yeah i came to same conclusion as rtpio
-
voy4g3r2
scottpedia: my recommendation would be to minimize variables.. zfs exists and it is tested.. going outside of that would introduce risk which is fine.. but may not be fine when "something" goes boom
-
nimaje
but you can't use unionfs or overlayfs as sole filesystem, they are for combining filesystems, so what is your use case here? (I assume that applies to aufs too, as you say that it is similar to unionfs)
-
mns
scottpedia: have a look at the BUGS section in mount_unionfs man page
-
mns
clearly states "IT DOESN'T WORK"
-
polarian
freebsd got pwned
-
polarian
fucks sake
-
polarian
-
polarian
they look like script kiddies too
-
polarian
the fact they put a Discord server there, they must not be any older than 18
-
Xinayder
is it known that the forums have been defaced?
-
polarian
what did freebsd do to get pwned
-
Xinayder
i couldnt find a proper communication channel to report it to, and the mailing list server seems to be taking a hit as well. it's super slow
-
polarian
as long as this is not a vuln in freebsd
-
polarian
and just a skill issue with sysadmins
-
polarian
I am happy
-
polarian
but if this is a potential RCE in the wild... I am fucking terrified
-
ivy
clusteradm is aware of the issue, the forum is not hosted on freebsd.org infrastructure
-
polarian
ivy: ahhhhh phew okay
-
polarian
can blame someone ele
-
polarian
else*
-
Xinayder
ivy is the mailing list also getting a hit or is it normally slow?
-
polarian
time to push freebsd foundation to run its own forums now!
-
polarian
Xinayder: mailing lists are always slow
-
ivy
Xinayder: hit by what?
-
ivy
i haven't noticed any issues with the lists today
-
Xinayder
it gives me a 503 backend error when I try to open the archives, plus it's taking so long to load here
-
polarian
Xinayder: slow meaning a few mins or a fe w hours
-
polarian
hmmm archives
-
Xinayder
slow meaning a few minutes
-
Xinayder
compared to about 20 minutes ago it's super slow
-
polarian
oh
-
polarian
502 to lists.freebsd.org
-
polarian
that is hosted by freebsd no?
-
Gedge
might be down - just as a precaution
-
polarian
maybe.
-
polarian
what do some Turkish script kiddies want anyways
-
Gedge
I hope. :)
-
Xinayder
well, the hackers mangaed to inject some code into xenforo, as it seems like every topic section in html is embedding the defacement web page, which is hosted on github
-
polarian
ah they are political
-
Xinayder
here I was shitting my pants thinking i ahd installed some malware by downloading sylve on my mini pc
-
polarian
right how are the pkg repos
-
jbo
this ^
-
polarian
I dont know what is hosted by who
-
polarian
and how its hosted
-
polarian
so whats the scope on this
-
polarian
from the sounds of it the forums are hosted separately
-
polarian
in which case everything else should be fine
-
mewt
well, that's creepy...
-
jbo
if this is creepy to you don't start thinking about what happens when somebody abuses their commit bit
-
mewt
well, of course
-
polarian
nah freebsd devs are nice
-
polarian
I only know one or two arseholes
-
polarian
they know who they are, they know full well how I feel about them :)
-
mewt
but is it even fully known what the scope of this is yet?
-
polarian
mewt: I dont think there is much to worry about
-
polarian
it seems like a bunch of political script kiddies
-
polarian
the limited info I can find on them is they hack people on political grounds
-
mewt
fair enough
-
lts
We should be worried about what enabled this though
-
polarian
well I dont have a forums account so I couldn't give a toss
-
jbo
think of the poor LLM trainers
-
lts
A part of the project's infrastructure has been breached and that is always serious
-
mewt
yeah idk, even if the impact is limited there, seems quite bad
-
mewt
to*
-
polarian
I wonder what the openbsd folks will think about it
-
polarian
they are probably munching on popcorn right now
-
» elarks munches popcorn
-
elarks
Jokes aside, I just discovered it
-
polarian
I do wonder how it got pwned though
-
ek
Likely a forum software vuln or something. Maybe social engineering.
-
polarian
I would prob go with social engineering
-
polarian
one of the admins prob got compromised
-
elarks
It's Kevin Mitnick
-
lts
From the grave
-
elarks
Just one last hack
-
ek
Crash Override
-
baz
90% of the time it’s safe to blame php
-
ek
Surely.
-
elarks
I remember way back there was a very easy way to gain admin access of a phpbb forum by changing a variable in a cookie
-
ek
I don't remember what forum software they're using.
-
ek
elarks: Sounds about right.
-
ek
Forum software is pretty notorious for being vulnerable to injections and stuff. I wouldn't be surprised at all if was something simple.
-
baz
I hope we get a nice postmortem
-
Xinayder
they use xenforo
-
elarks
There was a search string you could use on google to find forums with that specific version on phpbb
-
ek
Xinayder: Ah. Thanks.
-
polarian
discourse gets regular security disclosures too iirc
-
polarian
so yeah
-
lts
No recent CVEs from Xenforo. If it's a 0day, many others are interested about this
-
baz
Quick look at exploit-db nothing stands out
-
baz
Someone on the list just pointed out it’s only defaced is you have js enabled
-
polarian
baz: I disabled js
-
polarian
it still loads it
-
polarian
soooo
-
polarian
idk
-
lts
It loads the defacement from github, but the loader JS is in forums.freebsd.org
-
polarian
hmmm
-
polarian
lts: the hackers look like script kiddies, like they could find a 0day and exploit it
-
polarian
I will be shocked if they did
-
baz
True
-
lts
I'm rather hoping it's that, perhaps via some automated fuzzing or (brr) AI
-
polarian
lol
-
polarian
AI couldn't pwn a fucking open system
-
polarian
in any case I am interested how in the infra is handled
-
lts
It would be worse if the compromise happened due to bad processes
-
baz
Anyone join that discord? I don’t have that cancer installed or have an account
-
baz
I’m curious if they are relaying these chats over there
-
polarian
if xenforo is pwned, serves freebsd right for using proprietary shi
-
polarian
shit
-
lts
My bet would be the attackers are sitting on this channel too
-
polarian
baz: I dont have Discord
-
polarian
hey ivy you around, I know you have Discord :)
-
polarian
lts: nah doubt it
-
polarian
script kiddies cant figure out how to use IRC
-
polarian
freebsd forums is back!!!!!!!
-
mewt
down for me, that's potentially good
-
polarian
I wonder if its managed hosting by xenforo themselves
-
polarian
ivy said its not on freebsd infra
-
polarian
so I wonder if xenforo themself got pwned, and or socially engineered
-
polarian
in which case, time to drop them like a hot potato!
-
Xinayder
nah, if it was xenforo then the damage would be far worse
-
polarian
> Forum upgrade in progress.
-
Xinayder
theres probably a library or js file that was updated that allowed an entry point or something like that
-
polarian
uh oh
-
polarian
seems like it looks like a 0day
-
polarian
looking at the IP addresses within the freebsd infra
-
polarian
it seems the forums isnt part of it
-
polarian
soooooooo
-
polarian
I am going to guess its hosted by xenforo directly or something
-
polarian
and its a them issue :p
-
Xinayder
maybe related to this: > In addition to the usual bug fixes, XenForo 2.3.10 includes a critical security fix involving a potential stored XSS vector in structured text mentions (mostly legacy profile post content). We'd like to extend thanks to metho for responsibly disclosing the issue.
-
lts
I hope this wasn't a case of not installing security patches
-
Xinayder
tbh I just got started with freebsd today, at least it's not the 6th time they allow SSL certificates to expire like some certain arch-based distro
-
ivy
just to reiterate what i said above, the forum is not managed by the freebsd.org cluster admin team. (beyond i have no more information on it than anyone else here)
-
polarian
Xinayder: expired ssl certs is minor compared to being pwned
-
polarian
ivy: so its managed hosting by xenforo right?
-
polarian
thats what it looks like
-
ivy
i have no idea
-
lts
Seems to live in some NetActuate datacenter
-
baz
One would think they’ve got more important shit to do than admin a forum
-
polarian
lts: yeah I can whois an IP
-
polarian
but freebsd doesnt use netactuate
-
polarian
so thats how I figured out its not freebsd infra
-
polarian
so I can only assume its managed hosting...
-
polarian
ivy: how do you know about the freebsd cluster admin team? are you one of them?
-
ivy
i am not, but there was some internal communication about the issue
-
ivy
(which literally just said what i said above... i am sure there will be more information forthcoming later)
-
polarian
I would be very interested in learning more about freebsd infra
-
mewt
mk, thanks for the assurance
-
polarian
gotta bump into the right peopl eat a conf ig
-
ivy
it's actually managed by aliens, humans are not intelligent enough to comprehend the complexity of it
-
polarian
> XenForo Cloud systems are hardened against attack vectors to prevent data theft or leakage. Automated systems regularly snapshot and back up your data to off-site servers located in the EU for GDPR compliance purposes.
-
polarian
Would be funny if they got pwned now wouldnt it
-
polarian
on that note its nap time
-
ek
You get naps!? Where do I get those!?
-
lts
At $work we have dedicated nap rooms
-
Vect0r_X
lts: where do you work google?
-
ivy
or a sleep clinic?
-
lts
I don't think Google employees get to sleep
-
lts
At all
-
ek
I sure know I don't get to sleep!
-
ek
Must be nice.
-
Xinayder
since the forums are down, what is the correct way of changing freebsd to a rolling release, or the least, get the latest version of certain ports?
-
jbo
Xinayder, are you asking about the OS or the ports?
-
Xinayder
I suppose it's not a good idea to mix quarterly OS with latest ports?
-
jbo
for ports: a default installation tracks quarterly packages. you can change that to latest instead.
-
jbo
there is no such thing as a quarterly OS (unless I am missing something with regards to pkgbase in 15)
-
jbo
if I need/want something that is more recent than -RELEASE, I just go with stable. that however means that you're going to compile from source yourself on every update you want to make. I'd say that is the closest to "rolling release" you can get without actually running -CURRENT
-
Xinayder
-CURRENT is latest and -RELEASE is what?
-
ivy
assuming this is about ports, you shouldn't mix quarterly and latest packages. you can run quarterly and backport updates from main yourself, but that requires building your own ports and is a lot of work
-
lts
Sounds like you'll just want to edit /etc/pkg/FreeBSD.conf and change quarterly to latest
-
Xinayder
that's the idea, yes, but should I change the freebsd-base repo to point to base_latest, or just keep the major release?
-
jbo
-CURRENT is the main branch, typically not what you want to use unless you're a developer
-
jbo
ivy, does pkgbase have a stable repo?
-
lts
Xinayder: you probably want to touch only the FreeBSD-ports and -ports-kmods
-
ivy
Xinayder: FreeBSD-base is the OS itself, so unless you want to switch from (say) 14.4-RELEASE to 14-STABLE, you should *not* change that - that's completely unrelated to the version of ports you're using (latest/quarterly) - yes, it is a bit confusing that "latest" is used for both
-
ivy
jbo: yes, "base_latest" is stable
-
ivy
jbo: as opposed to say "base_release_0" which is X.0-RELEASE
-
jbo
I'm still scared of pkbase :p
-
jbo
"anything new is bad" - old man yelling at clouds
-
ivy
(except in 16, where base_latest is CURRENT, since there is no 16-STABLE yet, of course)
-
jbo
reasonable
-
Xinayder
ivy, lts: I see, thanks!
-
ivy
Xinayder: just to be clear (because this isn't always obvious to new users) - FreeBSD is split into two almost entirely unrelated parts, one is the base OS (usually called 'base' or 'src'), and the other is ports, which contains the majority of third-party software. if you aren't sure which is which, anything in /usr/local comes from ports, anything else comes from base
-
ivy
unlike most Linux distributions, you can use the same ports version on any supported freebsd release (13, 14, or 15)
-
rtprio
hello
-
Xinayder
is there a way I can change the repo url from pkg.freebsd.org to use any of the ftp mirrors? or the ftp mirrors don't host binary packages?
-
ivy
Xinayder: you can put any URL you want, if you know a particular mirror you want to use. although i don't know if anyone has ever tested pkg with an FTP mirror...
-
ivy
i would probably prefer HTTP just because it's more widely tested
-
Xinayder
the format of the url string changes if you switch to plain https, no?
-
Xinayder
that is, mine is currently set to pkg+https://pkg.FreeBSD.org/${ABI}/latest
-
ivy
hmm, i was looking at mirrorservice.org for an example but it seems like they don't carry packages anymore, although i'm sure they used to... maybe something to do with the fastly transition
-
oxbar
what happend to the forums ?
-
baier
/join #bash
-
polarian
any updates on the hack/
-
oxbar
baier: you should be able to space once then /join #bash
-
oxbar
you on thelounge ?
-
Xinayder
I'm trying to install jellyfin with freebsd-ports set to latest, but the pkg cannot be found. it exists in freebsd-ports 15.0, though.
-
nimaje
seems like it fails on extract or checksum, maybe the distfile got remade
portsfallout.com/fallout?port=multimedia%2Fjellyfin%24
-
ek
polarian: No updates that I've seen.
-
polarian
sad
-
ek
Xinayder: I have (what appears to be) the latest Jellyfin amd64 package available if you want it.
-
ek
Xinayder: Are you saying that "pkg install jellyfin" doesn't work with the package repo set to "latest" or are you actually trying to build from the port?
-
Xinayder
ek: the former
-
ek
Gotcha'. Well, like I said, I can provide you the package I have if you want it (and trust it).
-
ek
I won't be offended if not. Haha
-
Xinayder
it's fine, I can use the previous version from the quarterly release. it's not that outdated
-
ek
I remember having issues with one of the previous versions. There was something broken withe generation of thumbnails or something? Had to replace some file to get it working.
-
ek
Not sure what version that was fixed in.
-
Xinayder
ek, does hw acceleration work for you in jellyfin?
-
ek
Xinayder: To be honest, I don't know. I have running in a jail on a NAS without a GPU. I've never tested HWA. But, I do like that I can tell it to use whatever number of threads I want for thumbnailing and trickplay generation.
-
Xinayder
forums are back up, yay
-
voy4g3r2
Xinayder: i do not think jellyfin in ports is GPU enabled.. it uses the ffmpeg package from ports and does not use an optimized version, available at jellyfin.org
jellyfin.org/docs/general/post-inst…l/transcoding/hardware-acceleration
-
Xinayder
voy4g3r2, it worked after some setup. fwiw I'm running a jail under sylve, was a bit tricky to get it working. long story short, had to install drivers, mesa-gallium-va, on both host and jail
-
voy4g3r2
oh.. i have mine in a jail also, never got it to work.. but the amount of usage i get.. the cpu transcoding worked just fine.. plus my GPU is mainly for llama-cpp.. would you by chance have "notes"? it would be interesting
-
voy4g3r2
but hte whole getting a host GPU to work in a jail.. was always a epic fail for me
-
Xinayder
I used this
sylve.io/guides/deployments/jellyfin-jail there's a section about adding the devfs rules for the jail
-
voy4g3r2
oh mucho gracias.. i may have to look at this in more details. thank you
-
Xinayder
the important thing to keep in mind is, after you change transcoding settings, restart your jellyfin through the web panel... I was stuck on this part for about 30 minutes because the ffmpeg call wouldnt initialize the device
-
Xinayder
but it still doesn't work properly, I just got a movie and tried playing it, transcoding started and it's being killed before finishing the job
-
voy4g3r2
i use base jails.. i would just reboot the jellyfin jail.. but good to know.. never heard of this sylve tool
-
ek
Sylve is kinda cool. Been meaning to play with that and ClonOS when I get a chance.
-
mjp
i've had good results passing intel iGPU through to a an ubuntu bhyve vm
-
mjp
GPU acceleration works flawlessly out of the box
-
Xinayder
my freebsd machine is a mini pc, gmktec g10. has a Ryzen 5 3500U cpu with integrated radeon graphics
-
mjp
could work, you'll get a /dev/dri/renderD128 in linux
-
voy4g3r2
i personally got worried when llama-server is using it for vector models (not in a jail) then trying to share the card with a jail..
-
voy4g3r2
but this is good to see, that other people were more successful than me.. maybe worth another try
-
voy4g3r2
now if magically CUDA would work on freebsd.. it would make my life a lot easier.. vulkan works
-
Xinayder
mjp, it "works", I just need to find a way to tweak it. the transcode timer is killing the transcode job on jellyfin, dunno why
-
mjp
how did you confirm its using GPU and not CPU?
-
Xinayder
good question. I suppose /dev/dri/renderD128 refers to a GPU?
-
Xinayder
(you can configure which device to use)
-
mjp
on linux with intel gpu its very easy to confirm as there is a utility called intel_gpu_top which shows actual GPU usage