-
cracauer
It's /dev/dsp. But it only appears after you use it.
-
phryk
cracauer: i assume it's going to be something like a symlink to /dev/dsp0.0 or some other more specific device file?
-
cracauer
Sadly, no.
-
phryk
Ah, I can just cat /dev/dsp – is this always the thing that's set as recording source?
-
cracauer
Should be. Bitrate and friends are on sysctls.
-
phryk
under dev.pcm?
-
cracauer
I forgot.
-
phryk
seems to be. and /dev/sndstat tells me what's what. thanks for the pointers. :)
-
cracauer
yw
-
phryk
s16le <- does the s in here stand for "signed"?
-
phryk
i.e. all in all: "signed 16-bit integers in little endian"
-
cracauer
yes
-
phryk
good. also kinda related, but i can only ever record from one mic at a time, right?
-
cracauer
No, mostly likely you have stereo in.
-
cracauer
But probably only one mic preamp.
-
phryk
haven't actually bought the hardware yet. planning on getting this thing:
thomann.de/gb/monacor_mx_2io.htm
-
VimDiesel
Title: IMG Stageline MX-2IO – Thomann UK
-
cracauer
I don't know that brand, but I see nothing wrong with it.
-
cracauer
I would start using jackd right away instead of tinkering with cat,
-
phryk
i assume that since it's for stage stuff, two mics in parallel might work – just not sure if i'd actually get them as separate signals or, like, pre-mixed as one signal.
-
cracauer
2 channels in USB audio.
-
cracauer
1 device.
-
phryk
cracauer: no thanks (re jack). this is just a hacky workaround because mic support in godot doesn't currently seem to work on freebsd. i need something quick and dirty that can be told over the network to make a recording and send it back for analysis.
-
cracauer
Then you could use ffmpeg.
-
phryk
huh? ffmpeg does audio recording?
-
cracauer
Yeah. I just don't know offhand how much sound card control for OSS is turned on in the FreeBSD port.
-
cracauer
-
VimDiesel
Title: ffmpeg Documentation
-
cracauer
jackd is better. There is a program jack.record which reads from the daemon and writes proper wav files.
-
phryk
that ffmpeg example wouldn't write a proper wav file? then what's the difference between it and just doing 'cat /dev/dsp > foo'?
-
cracauer
No, ffmpeg would write wav or flac or whatever you want. But the OSS module seems to lack essential controls, for example word size.
-
phryk
is that why i'm seeing "non-monotonous DTS" warnings?^^
-
cracauer
Warning from which software?
-
phryk
ffmpeg
-
cracauer
Might be. Let's say you have 24 bit audio from the soundcard but ffmpeg seems to be hardcoded to s16le.
-
phryk
the ffmpeg thing seems good enough for further prototyping. in the long run this feature will hopefully get fixed in godot and i can get rid of it in favor of something more integrated.
-
uskerine
where is Xt.h in FreeBSD?
-
rennj
-
VimDiesel
Title: X Toolkit Intrinsics - Wikipedia
-
rennj
why openwindows isnt ported to 64bit..cause xt lib still 32bit...
-
rennj
hmm xview
-
rennj
-
VimDiesel
Title: XView - Wikipedia
-
rennj
Xt/Xaw
-
rennj
-
VimDiesel
Title: The Sun Technology Papers - Google Books
-
PredatorONormies
Guys.. am I imagining things, or did things get much slower after an (or more) updateS?
-
PredatorONormies
Specifically for example editing a file in Vi trough ssh
-
PredatorONormies
It seems to be much more laggier
-
PredatorONormies
in other words - I experience packet losses..
-
PredatorONormies
I wonder if it has something to do with a switch that I use.. but it worked better in the past I think
-
PredatorONormies
even normal ssh tunneling or whatever it's called - seems to be laggy
-
meka
If you can eliminate the switch and connect the machines with crossover, that would help narrow it down
-
PredatorONormies
explain 'crossover'?
-
PredatorONormies
Like.. the switch as well as one of the machines - were in cold storage for a while
-
parv
I have not seen any lag in ssh connections in last 2-3 months with 13-STABLE & -CURRENT (c 202211 or early 202212)
-
PredatorONormies
and they had surface moisture for like an hour or 2
-
PredatorONormies
parv, that's around the time it was okay - 2-3 months
-
PredatorONormies
ago
-
PredatorONormies
so perhaps somehow the moisture damaged something and made things laggy?
-
PredatorONormies
Because even without ssh - I do ping from my machine (that was in cold storage (I actually do mean cold), and I sometimes get packet losses
-
parv
What OS version did you update to?
-
PredatorONormies
sometimes 0%, sometimes 3%, sometimes up to 50%
-
PredatorONormies
most recent?
-
PredatorONormies
uname -a?
-
parv
uname, sure
-
PredatorONormies
FreeBSD FreeBSD1 13.1-RELEASE-p3 FreeBSD 13.1-RELEASE-p3 GENERIC amd64
-
parv
Thanks
-
PredatorONormies
I mean I do have some stuff running.. could -that be the issue? But they shouldn't use any significant bandwidth
-
PredatorONormies
unless someone is DDoSing me trough i2pd or Tor somehow
-
PredatorONormies
can one check network bandwidth usage somehow?
-
parv
iperf3?
-
PredatorONormies
netstat?
-
PredatorONormies
oh
-
PredatorONormies
no iperf
-
PredatorONormies
any built-in tool?
-
parv
netstat will only tell you about the (network traffic) to/from a host. It cannot tell about an issue with other equipment
-
PredatorONormies
I dislike how FreeBSD centralizes pkg mirror connections
-
PredatorONormies
was it pkg.freebsd.org ?
-
meka
ween the machines (no switch). Today probably all ethernet cards can recognize if the other end is in the switch or other machine so it's not needed, but I don't know how old are your machines
-
PredatorONormies
oh
-
PredatorONormies
laptop is idk.. probably >2012
-
PredatorONormies
not THAT old
-
PredatorONormies
all have 1 ethernet port
-
meka
Well, give it a try
-
meka
and if you "drill pkg.freebsd.org" you'll see it has GeoDNS
-
PredatorONormies
I don't want shit done for me
-
PredatorONormies
I want control
-
PredatorONormies
on OpenBSD you have /etc/installurl
-
PredatorONormies
But then again - FreeBSD's goal is to be somewhat user friendly, and be an desktop OS, right?
-
parv
-
VimDiesel
Title: FreeBSD Network Troubleshooting: Understanding Network Performance | Klara Inc
-
PredatorONormies
I'll read it later, thanks.
-
PredatorONormies
meka I got 4 computers that I want to have ethernet access
-
PredatorONormies
so if it is the switch - I got no idea what to do, ,perhaps buy another one?
-
meena
PredatorONormies: there was an old saying, a switch dies all at once, a router dies port by port. i wonder if that's still true in this age, where most switches are also routers
-
PredatorONormies
Well.. the switch I have has lately been shittier and shittier
-
PredatorONormies
wondering if it's at the end of it's life cycle lol
-
meena
PredatorONormies: if it was any good to begin with, it would be able to tell you that it's dying. failing that, you get to find out all by yourself, once it does.
-
PredatorONormies
oh, really
-
PredatorONormies
good to know.
-
PredatorONormies
The router that we have is the utmost shit
-
PredatorONormies
cannot port-forward for my life
-
meena
and, does it tell you any failure diagnostics, any where?
-
Mozii
where is the feture of freebsd ?
-
skered
I think over there ----->
-
PredatorONormies
> <meena> and, does it tell you any failure diagnostics, any where? < by 'later' I meant not today
-
PredatorONormies
lol skered
-
V_PauAmma_V
Mozii, do you mean "future" or "features"?
-
PredatorONormies
We shall never know
-
plasma
a~
-
sedzcat
I have a fully installed FreeBSD version 12.4 installed. Now I would like to rename the UEFI boot entry. How can I rename?
-
angry_vincent
with efibootmgr
-
sedzcat
I tried with efibootmgr but no sucess
-
sedzcat
Can you provide a link to rename it or a efibootmgr commands?
-
snail
From what I understood, you can't. You must delete the entry and recreate it
-
snail
Or better, create a new entry then delete the old one once you are happy with it
-
sedzcat
snail: send me the command :)
-
angry_vincent
sedzcat: you can delete and create new one
-
angry_vincent
sedzcat: man 8 efibootmgr have example
-
angry_vincent
efibootmgr -a -c -l /boot/efi/EFI/freebsd/loader.efi -L FreeBSD-11 ( example )
-
sedzcat
No /boot/efi
-
angry_vincent
weird :)
-
sedzcat
I mounted the EFI boot partition on /mnt
-
sedzcat
Run your code with the path from /mnt
-
sedzcat
Now it gives me efibootmgr: no such bootvar BootFFFFFFF4
-
sedzcat
From the command efibootmgr - a -c -l /mnt/efi/boot/BOOTx64.efi
-
sedzcat
-L FreeBSD
-
sedzcat
Ok done it, I put the parameter -b 0000
-
sedzcat
Thanks
-
angry_vincent
it should appear as Boot0000 in menu
-
sedzcat
Yes, it worked
-
sedzcat
Only one thing here, It seems to appear again at the menu the deleted boot entry 0002 when I reboot
-
ham5urg
Is it possible to install the same package multiple times with FreeBSD? I'm looking for a solution to have the same application mulitple times installed, each running in its own jail. So to have multiple networks (e.g. bridges) running inside the host connecting the jails with the outside.
-
ham5urg
That way I could stay with the repository and its update mechanism.
-
ham5urg
I want to go away from having virtual machines for each and every server I run.
-
ham5urg
s/package/port
-
CrtxReavr
Everything is possible.
-
CrtxReavr
It's just a matter of how much bother it is to implement.
-
CrtxReavr
And whether or not it's worthwhile.
-
phryk
how do i find out what drm/linux version the current package of drm-kmod is based on?
-
meena
ham5urg: is having one of those packages per jail not enough?
-
rtprio
its not in the package name?
-
phryk
rtprio: "drm-kmod-20220907_1" nope.
-
rtprio
ham5urg: what package? the jails could share /usr/local so its only installed once
-
phryk
anyhow, i found that i can see my new gpu isn't supported yet because no gpu-firmware-amd-kmod-navi23 package exists yet.
-
rtprio
"having too new of a graphics card" is a problem ive never had.
-
phryk
ah, that's wrong. if i'm interpreting this right, it's "gpu-firmware-amd-kmod-dimgrey-cavefish"
-
jafarlihi
When I run `sade`, it reports vtbd0p3 as "freebsd-zfs", when I run `fstyp /dev/vtbd0p3` it says "filesystem not recognized", how come?
-
phryk
rtprio: i appreciate having a luxury problem for once^^
-
kyle__
I have a frankenstein xigmanas/freebsd box I need to swap over to fully real freebsd, but until then... I have a routing issue. I think. It can get anywhere on the local network, but it can't seem to get out of the network.
-
kyle__
-
VimDiesel
Title: dpaste/PuQN (Plain Text)
-
kyle__
It's putting my defualt gateway on the wrong nic, and I'm a bit lost as how to change that.
-
kyle__
sfxge0 is a 10G nic meant for NFS traffic, and only has an ip on the 192.168.10.0/24 network, not the 192.168.86.0/24 one.
-
kyle__
(at least, I _think_ that's what the problem is)
-
meena
kyle__: what's your rc.conf look like?
-
kyle__
Do you care about all the cruft, or just the network lines?
-
kyle__
ifconfig_re0="syncdhcp"
-
kyle__
ifconfig_sfxge0="inet 192.168.10.57/1"
-
meena
what, even, is /1 ?
-
» kyle__ facepalms
-
kyle__
I hadn't even noticed that part. Yeah. That might cause some issue.
-
debdrup
meena: it's VLSM :P
-
meena
debdrup: very variable
-
debdrup
meena: it's just a _very_ big subnet.
-
kyle__
Imagine that. After fixing that typo it's all working :P
-
kyle__
Gotta wonder when I introduced that one.
-
debdrup
It is a mystery.
-
jimmiejaz
probably the same way I end up with :wq1 in some of my config files... fast and cubby fingers
-
parv
... or typing under the spell of sleep|alcohol
-
meena
what default router would /1 even set?
-
meena
128.0.0.1?
-
jimmiejaz
well, the CIDR conversion table says that a /1 has 2,147,483,646 usable IPs. so all of them?
-
isley
no that's only half of them
-
LXGHTNXNG
jimmiejaz: that's an in4 /1. an in6 /1 is closer to 2^127.
-
LXGHTNXNG
parv: or caffeine withdrawal
-
nacelle
jimmiejaz: try ZZ instead of :wq!
-
nacelle
(not :ZZ, just ZZ)
-
jimmiejaz
I know, it's muscle memory :wq! is burned into my fingers
-
parv
Still need 2 Shift presses
-
nacelle
I have the same problem. I'm trying to hack myself by listening to ZZ Top albums to make ZZ seem cool.
-
zykotick9
ahh isn't the ! redundant in :wq!
-
parv
Not if you have more than 1 file^Wbuffer open that had been modified
-
jimmiejaz
it is, but again, it's a 20+year habit, going back to SLS Linux, can't help it
-
parv
... but not saved
-
zykotick9
parv: ahhh thanks.
-
LXGHTNXNG
parv: you can hold shift?
-
LXGHTNXNG
jimmiejaz: SLS?
-
meena
-
VimDiesel
Title: QDB: Quote #835030
-
xtile
Cute quote.
-
parv
meena, 🤣
-
LXGHTNXNG
meena: ?
-
» meena has CAPSLOCK remapped to Escape, so she always presses Shift for shouting
-
meena
LXGHTNXNG: you asked about holding shift, so this came to mind
-
LXGHTNXNG
Oh.
-
zykotick9
jimmiejaz: <OT> your nick just inspired me to put on "Jimmy Jazz" by The Clash (from London Calling)