-
gzar
hey folks, i need help configuring my microphone. my sound works and my drivers are loaded, but the mic only gets noise. it pics up my voice buts its all muffled in noise as if my playback and recording are mixed into one
-
gzar
i can also hear electricity when moving my mouse
-
RhodiumToad
are you having to turn the volume up a lot to hear anything?
-
gzar
yeah, but i only hear some crunchy noise as it tries to pickup my voice
-
RhodiumToad
so this could be an analog electrical issue, or it could be that your system expects some specific frobnication of audio pins in order to make it work
-
RhodiumToad
what type of sound chip?
-
RhodiumToad
(hdac chips have some stuff you can rewire using sysctl)
-
gzar
hdac Real Tek
-
gzar
here is my config from dmesg
dpaste.com/HRPMHTGZ5
-
VimDiesel
Title: dpaste: HRPMHTGZ5
-
gzar
only my rear mic is functional and connected
-
gzar
but just hises
-
RhodiumToad
sysctl dev.hdaa.4 should show you the topology of the onboard hdac
-
RhodiumToad
are there any gpo_* gpi_* gpio_* pins?
-
gzar
doesnt look like it
-
gzar
just nid
-
RhodiumToad
sysctl dev.hdaa.4.gpio_state
-
gzar
quite a lot of output
-
gzar
-
VimDiesel
Title: dpaste: 8VJCJDDD7
-
gzar
dev.hdaa.4.gpio_state: 0=disabled 1=disabled
-
RhodiumToad
you could try twiddling those to see if they do anything
-
gzar
its readonly
-
RhodiumToad
sysctl dev.hdaa.0.gpio_config="0=set 1=keep" for example
-
RhodiumToad
try each of them individually with values set, clear, then back to disable
-
gzar
alright
-
RhodiumToad
sorry, .4 there not .0
-
RhodiumToad
(I was testing it on my system, where the onboard hdac is unit 0)
-
gzar
oh ok
-
RhodiumToad
also, you checked you plugged the mic in the correct place?
-
vdamewood
Is there a way to find out if a certain library will be included in the base OS of an upcoming release, and if so which version? (In my case, I'm wondering which version of OpenSSL will be included with 14.0)
-
gzar
yeah its in the same place in which it worked on previous OS'es
-
RhodiumToad
wait till feature freeze and then look at the tree?
-
gzar
also changing the configs dont seem to do anything
-
RhodiumToad
has it worked in freebsd before, or just in other OSes?
-
vdamewood
I guess that's all I can do at this point.
-
gzar
only in others, this is the first time i have freebsd installed on this system
-
gzar
but im sure the hardware is fine
-
RhodiumToad
vdamewood: or look at what the devs / release team are saying about it if anything
-
gzar
it looks like from the sysctl that the pink jack (mic) is disabled
-
RhodiumToad
gzar: no
-
gzar
but it says [DISABLED] in big letters
-
RhodiumToad
where, though?
-
RhodiumToad
the rear pink jack is nid24, and if you look through the various mixers, you'll see that nid11 has a non-disabled input from it
-
vdamewood
RhodiumToad: I'm looking through the main branch at the moment since 14 hasn't branched off main yet.
-
RhodiumToad
vdamewood: I've seen some discussion on mailing lists that suggests to me that the plan is to switch openssl versions at some point, but I don't know if that'll be before or after branching 14-stable
-
RhodiumToad
gzar: also nid35 is another mixer with input from nid24
-
gzar
nid35 has it disabled tho
-
RhodiumToad
however, some of the topology here seems... dubious
-
gzar
nid34* sorry
-
gzar
all of those mixers have mute=1
-
gzar
nid34,nid35,nid11 get input from nid24 which is unmmuted but the mixers themselves are muted
-
RhodiumToad
are you listening to the line-out/headphone-out or are you reading audio data from the mic pcm input?
-
gzar
i dont know exactly what it is you are asking
-
gzar
i am testing my recordings from audacity
-
RhodiumToad
are you running some program to receive the mic input?
-
gzar
yes
-
vdamewood
Hmm... main is still on 1.1.1.
-
RhodiumToad
ok, so you're using audacity to record from the pcm input
-
vdamewood
Well, I'll just watch and find out, then.
-
gzar
i can only record from the /dev/dspN devices
-
RhodiumToad
right
-
RhodiumToad
did you check that you're recording from the right device?
-
gzar
i tried all of them, only /dev/dsp4 seems to pick up something
-
RhodiumToad
ok, so that's probably this:
-
RhodiumToad
pcm4: <Realtek ALC883 (Rear Analog 7.1/2.0)> at nid 20,22,21,23 and 24,26 on hdaa4
-
gzar
yeah, seems like it
-
RhodiumToad
which corresponds to association 3 in the topology
-
RhodiumToad
so we trace it through: nid8 is the actual analog-to-digital part, which gets input from nid35, but it's shown as muted
-
RhodiumToad
what's the output of `mixer` ?
-
RhodiumToad
might need mixer -f /dev/mixer4
-
gzar
-
VimDiesel
Title: dpaste: 4XDAPEW5Z
-
RhodiumToad
ok, I think the values listed in sysctl are capability values rather than current settings, which makes sense
-
meena
RhodiumToad: it makes no sense to branch off with OpenSSL in about to become EOL, so currently lots of effort is put into integrating it
-
meena
OTOH, 13 will need to be supported for a couple of years, so there's probably going to be a lot of OpenSSL 1.11 patches floating around and shared between different OS distributions
-
meena
I reckon OpenBSD has a much easier time with this, given that they've become their own TLS library vendor
-
RhodiumToad
iirc, their API is different?
-
meena
yes, but, to be fair, all they've done is speed up the deprecation that's now happening in OpenSSL 3
-
meena
OpenSSL's API used to be absolutely atrocious. You had to model the TLS state machine in your software, and over the decades that has lessened. now you mostly get a Transport Layer abstraction
-
meena
maybe if we stop calling it SSL, and start calling it TLS, the pressure to have a sensible Transport Layer API will force designers to… deliver that
-
RhodiumToad
I've mostly avoided having to deal with openssl's API
-
RhodiumToad
I recall at one point you had to do weird stuff like make sure your buffer was at the same memory address as before when continuing after a partial write
-
gzar
are there any tools i can use to inspect my sound config?
-
gzar
or guides? would configuring jackd or pulseaudio help here?
-
RhodiumToad
I don't think those would help
-
RhodiumToad
the snd_hda manpage might give some ideas
-
RhodiumToad
booting in verbose mode will also get you a bunch more info about what the driver is doing for the sound setup
-
gzar
oh man
-
gzar
might have to use a different computer for this
-
gzar
how can i modify some connections in the dev.hdaa.%d. sysctl settings?
-
RhodiumToad
the snd_hda manpage has examples
-
RhodiumToad
basically, put hint.hdac.4.nidNN.config lines in /boot/loader.conf (the manpage says in device.hints, but the two are equivalent)
-
gzar
i think i figured it out, my pink rear jack pin is not connected to any mixer, its disabled on all
-
RhodiumToad
another diagnostic is to do sysctl dev.hdac.4.pindump=1 which will spew a bunch of current status to console/syslog
-
gzar
cant i do it while the system is up? i want to test it before writting to loader.conf
-
RhodiumToad
do you have snd_hda compiled into the kernel or is it a module?
-
gzar
module
-
RhodiumToad
you could try putting the hint.* values in kenv, and unloading/reloading the module; I've never tried this
-
RhodiumToad
(it might refuse to unload)
-
gzar
so i have to reboot a bunch of times to test it?
-
RhodiumToad
... did I not just suggest a method?
-
gzar
you never tried it, so i'd rather not atm
-
RhodiumToad
ok, here's another method
-
RhodiumToad
you can modify the config with sysctl dev.hdaa.4.nidNN.config=whatever and then do sysctl dev.hdaa.4.reconfig=1 to reset the driver
-
RhodiumToad
(that'll remove and re-add the PCM (/dev/dsp*) devices, so you'll want to not be running any sound programs at the time)
-
RhodiumToad
I don't think I've tried that either, but I have high confidence that it will work
-
gzar
alright, thank you
-
gzar
i think im making some progress, managed to just remove the mic from showing up in audacity but that just means im messing with the right nids
-
acu
hello everyone -
-
acu
I have two questions
-
acu
1) Is there any alternative to clonos --- some virtualization framework that provides graphics interface to create and delete virtual machines, clone them etc ? So far this is only solution I see in Freebsd
clonos.convectix.com
-
VimDiesel
Title: Free Open-Source Hosting Platform «ClonOS»
-
acu
2) There was an article somewhere how to "consume" head, I want to start using FreeBSD 14 --- but I know the installations of applications and updates are different than release.... perhaps anyone can point me to a right place
-
acu
3) I see BSD can is coming in May - I wonder if the conferences are broadcast ?
-
acu
I any place that presents a functional use case for freebsd as host for virtual machines....
-
V_PauAmma_V
-
VimDiesel
Title: Chapter 25. Updating and Upgrading FreeBSD | FreeBSD Documentation Portal
-
acu
V_PauAmma_V, thanks - I am exploring all links you gave me --- it seem there will be both a stream and lately recordings posted --- that is good news --- I wonder why there is no tutorial no speech or presentation on freebsd virtualization ....
-
acu
V_PauAmma_V, thanks also about sugestion for virtual box.... it is a "GPL contaminated" piece.... I am very confortable using qemu-kvm on linux ---- but I really want to switch to BSD solution bhyve - freebsd ---- I really made a serial effort ----- cbsd and clonos are so far the closest to a functional production options... tried others... though elegant, they were insuficient and short-lived.... but I switched back to linux for a year or so --- so I am not
-
acu
aware if there is any functional freebsd virtualisation option that can be used not only in basement experiments, but at least as a small scale virtualization....
-
meena
-
VimDiesel
Title: gist:d0ef61a03ec4c3f0edab127912e9201b · GitHub
-
meena
i need to upgrade the kernel? on my own?? what injustice is this??
-
gzar
busted, idk, will setup a new computer
-
V_PauAmma_V
acu, I don't know whether anyone is working on a GUI front end for bhyve, or even if that's feasible.
-
acu
V_PauAmma_V, clonos has a web interface to cbsd ---- I installed before virt-manager in freebsd but I did not know how to make bhyve be used in creating virtual machines --- perhaps now is a bit more functional - since I did not try it for a while...
-
V_PauAmma_V
Have you asked on #bhyve?
-
V_PauAmma_V
s/on/in/
-
acu
V_PauAmma_V, thanks, I joined bhyve - posted few questions there... I appreciate your feedback
-
victori
aside from the man pages for wg(4) is there a guide specific to setting up wireguard on 13.2? The guys I have seen are all from ports which has specific init scripts etc which base does not have
-
victori
s/guys/guides/g
-
gzar
i think i'll solve my sound issue by rebooting into a live linux cd
-
gzar
or a presistant usb stick
-
last1
anyone using zrepl ?
-
gzar
whats that
-
last1
I assume you don't
-
gzar
only me, someone else here might be
-
parv
On that note, does anyone use sanoid? If you had switched from "sanoid" to "zrepl", or vice versa, why?
-
» parv throws a pair of " ...
-
last1
:))
-
last1
I'm using zrepl because it offers pull mode
-
last1
well, trying/starting to use zrepl
-
last1
I'm seeing a limitation in zrepl, apparently you can't define different snapshot intervals for different mountpoints
-
last1
as you define all filesystems, they all share the same snapshot interval which is kind of silly
-
jgrafton
i haven't used zrepl but have used sanoid for years. sanoid uses a separate script called syncoid for replication that can be setup to push or pull.
-
jgrafton
sanoid allows you to configure different snapshot intervals for datasets as templates, it's very configurable
-
last1
turns out zrepl can do it too, but you need to have separate jobs for that
-
coreystephanphd
ThinkPad T590 w/ Intel HD620 + Nvidia MX250. nvidia_xorg_enable=YES in rc.conf w/ nvidia-hybrid* pkg installed. nvrun-vgl * yields "Illegal instruction (core dumped)," and nvidia-settings yields "Address boundary error."
-
coreystephanphd
Am I missing something for 13.2-RELEASE with pkg set to LATEST?
-
coreystephanphd
(Illegal instruction in Fish = Segfault in Bourne)
-
debdrup
Probably running into the issue of packages for 13.2-RELEASE still being built on 13.1.
-
debdrup
Quickest way to test is to grab ports from git and build the port manually.
-
coreystephanphd
debdrup: Should the Tree from 13.2 installation be correct, or will it need to be checked out for manual update?
-
debdrup
coreystephanphd: So long as you're using a version of FreeBSD that isn't EOL, ports don't care.
-
debdrup
It's only binary packages that get built on the oldest-supported version, where things like header includes can cause breakages like that.
-
debdrup
It's also possible it's not a header inclusion bug, though - and to find out what the issue is then, you'll still need to build the port, just with debugging symbols as described on
wiki.freebsd.org/DebuggingPorts
-
VimDiesel
Title: DebuggingPorts - FreeBSD Wiki
-
coreystephanphd
debdrup: Thanks. Will try in next day or 2 and report back here. I remember you tending to be in IRC 24/7 -- true?
-
debdrup
coreystephanphd: it's very much the opposite; when you report back, I'd prefer if you don't hilight me, and just tell the channel.
-
debdrup
If I can help, I will - but I don't like it when people expect me to answer all their questions.
-
johnjaye
if you know all the answers, soon people will ask you all their question. --debdrup, attributed
-
coreystephanphd
debdrup: Roger. Glad I asked.
-
debdrup
johnjaye: no.
-
debdrup
I know that's meant to be a joke, but it's not fun to be hounded all the time.
-
coreystephanphd
I get it. Trust me. I have students who ask me things that could not be farther from what I am reasonably positioned to know and/or help.
-
debdrup
That's not exactly what I was saying.
-
coreystephanphd
And this is supposed to be a community discussion zone, not a few gurus being hounded. I get that, too.
-
debdrup
My point is more that I like helping, but people shouldn't come to me just because they expect that I'll help them.
-
debdrup
It's the difference between volunteer work and employed work, if that makes sense.
-
debdrup
And not work in the American sense, work in the Scandinavian balanced-work-life sense.
-
coreystephanphd
I do not expect anyone to help me. But I did my homework, and nvidia-hybrid-graphics simply are not working -- and it is an older machine. I cannot imagine that I am alone in this, esp. since ThinkPads are ubiquitous among *BSD geeks.
-
coreystephanphd
That is all. Turned to the community to see what others might have working here.
-
debdrup
Having both an iGPU + dGPU is fairly rare.
-
debdrup
I know the way iGPU+dGPU worked has changed from back in the T420 era, because my T420 that I used before my T480s, had iGPU+dGPU - and I can't recall if I ever got the dynamic switching to work properly.
-
wildeboskat
Even on Linux that was a PITA
-
debdrup
I think maybe I did, but I don't remember a single one of the steps involved.
-
debdrup
wildeboskat: I mean, it's bound to be a PITA on any system, because it's all proprietary blobs.
-
wildeboskat
Ubuntu on my MacBook Pro 2010 (iGPU+dGPU) also uses only the dGPU and burns through the battery
-
debdrup
Even a AMD iGPU+dGPU solution still involves firmware blobs.
-
debdrup
The one saving grace of the T420 was that it could switch between iGPU and dGPU in the firmware.
-
wildeboskat
Oh? Cool
-
coreystephanphd
nvidia-hybrid-graphics as a designated port is only about 2 years old, 1 year for -RELEASE. For the T590 and similar with Intel+Nvidia hybrid, recent Linux (kernel) has it sorted so that it works without issue, especially on up-to-date distros like Arch and Fedora. But, anyway, if the only thing that is not working of the complex set of things that I set out to have working in this specific
-
wildeboskat
Of course on a Mac you can forget that because there isn't even a bios menu
-
coreystephanphd
installation is Nvidia graphics (even everything hooked up to my dock -- a *lot* -- is working), I am doing alright, and I can move forward with working on my BSDCan lecture -- my whole reason for running the installation today :)
-
johnjaye
why are thinkpads so ubiquitous anyway? i've heard they're super common among free software types
-
debdrup
The downside being that it's a Sandy Bridge or Ivy Bridge CPU with 2 cores..
-
wildeboskat
For me: Thinkpads are the only laptops which still have a serviceable keyboard
-
wildeboskat
Everything else is that ultra-thin crap
-
debdrup
johnjaye: the old IBM Redbook design which had 8 rows on the keyboard (which stopped with the generation that the T420 is in) was EXCEPTIONALLY well built, incredibly maintainable, and sturdy enough to take a real beating.
-
coreystephanphd
johnjaye: Pre-2020, everything in ThinkPads was easily user servicable. And we get the positive chicken-and-egg effect of *BSD developers owning them, so the hardware tends to be well supported across the *BSDs.
-
wildeboskat
Unfortunately even lenovo is shaving off half a millimetre travel with every generation now
-
debdrup
T420 is one of the best examples of the power of the Redbook design, because it had a socketable CPU - so you could replace the CPU.
-
debdrup
When's the last time you've seen that in a laptop?
-
coreystephanphd
P.S. Any of you guys/gals coming to BSDCan? :)
-
debdrup
coreystephanphd: I think the hybrid graphics port had _just_ come out by the time I started looking at used T480s'
-
coreystephanphd
The X270, T4/580, and T4/590 are the last great ThinkPads. The new ThinkPad is the Frame.Work.
-
johnjaye
coreystephanphd: ah i hadn't thought about that. but yes that is definitely true
-
debdrup
coreystephanphd: that's the impression I get too, but they're much harder to source in the EU in general and Denmark in particular.
-
johnjaye
well i wasn't going to bring up framework. but since you mention it... do you run any bsd on it?
-
debdrup
A few of the FreeBSD developers have various models of the Framework laptops.
-
wildeboskat
T480s is great. Last model with a real ethernet port!!
-
wildeboskat
Albeit foldable - the T470s still had a solid one
-
coreystephanphd
johnjaye: I do not own a Frame.Work (poor Assistant Professor who buys used), but I can say that jcs has brought at least the 1st gen up to 100% out-of-box support in OpenBSD, and now debdrup is helpfully revealing that some key folks around here have them, too.
-
wildeboskat
A framework didn't work for me because of the glossy display but I think they finally fixed that
-
debdrup
The big problem with the Framework laptop, at least the models I've seen, is that they insist on using Realtek NICs.
-
johnjaye
well that's my fear yes, i didn't want to buy anything without already knowing freebsd works 100% on it.
-
coreystephanphd
debdrup: They work with and officially sell the Intel AX210, which is pan-BSD safe
-
johnjaye
or at least 90%
-
debdrup
coreystephanphd: I'm talking about RJ45 modules.
-
debdrup
-
VimDiesel
Title: Laptops - FreeBSD Wiki
-
debdrup
-
VimDiesel
Title: NYC*BUG dmesgd
-
johnjaye
ah thank you
-
johnjaye
purely by chance I got into freebsd at the exact version (13) when they brought wireless support to my laptop card
-
debdrup
I think I need to go lie down again.
-
coreystephanphd
johnjaye: debdrup: Again, I do not own one, but I know for a fact that is out of date because jcs worked really hard upstream to get the Framework team to add a legacy suspend/resume to the BIOS (called "Linux Mode" or something) for OpenBSD
-
coreystephanphd
So at least that should be double-checked in Free* but is probably a green check now :)
-
wildeboskat
also a problem with the framework is that the NIC is thicker than the laptop and that it connects over USB
-
coreystephanphd
In other words, johnjaye , it should be 90%+
-
coreystephanphd
Another really compelling thing is precisely that upstream responds so well to *BSD and other OS input. They want everyone to be able to hack on it, and so they do things like 'sure, jcs, let's add that legacy suspend/resume.'
-
johnjaye
that fills me with confidence, thank you
-
coreystephanphd
If you want to donate $1500 to the "University of St. Thomas Faculty Computer Research Fund," I will gladly take a Frame.Work and let you know how it works ;)
-
johnjaye
i thought you were going to call it the CSRG at your university. but i digress. i've learned something new which has made this conversation more than worth it.
-
meena
hrm… wonder where DragonFly keeps its rc code
-
meena
-
VimDiesel
Title: DragonFlyBSD/etc/rc.d at master · DragonFlyBSD/DragonFlyBSD · GitHub