-
tm512
does anyone know why FreeBSD's default mesa package is still so old? evidently the newer mesa versions build and function fine, considering the mesa-devel package isn't also stuck 2 years in the past
-
tm512
sucks that the alternative to an increasingly old release is foregoing having a stable release. I suppose I could branch the ports tree and update the mesa package for myself with 26.0.7
-
tm512
also curious why ScrewDriver1337 hasn't been banned for join/quit spam. it's been ongoing for quite some time
-
iRobbery
hmm bouncer probably restarted/reconnected, got evicted :)
-
ivy
h3s: the current plan is to remove support for freebsd-update in 16.0-release
-
Nixkernal
When I heard that FreeBSD was making a modernized homepage, I was skeptical (just look at the Debian disaster). But I have to say, bravo! The new page looks clean and modern. Thanks to those who made it!
-
ivy
i still prefer openbsd's website, but the new freebsd one is okay
-
MelanieUrsidino
I can't agree less. What the [censored owing to the language police] is this?
-
sotov1ch
Does someone had any issues with WWAN on FreeBSD? it's not that that LTE is important for me but the features like GPS etc would be nice to work with.
-
sotov1ch
Currently on Debian but i want to to switch to FreeBSD on my T460 (i have good experience with freebsd already)
-
MelanieUrsidino
I did: Driver doesn't exist
-
sotov1ch
Oh, okay, that's unfortunate. Maybe i'll fireup a vm and do pci passtrough.
-
Nixkernal
-
MelanieUrsidino
I don't believe you can. But yeah that relies on PCIe passthrough
-
MelanieUrsidino
so using a vm and passtrough is the same principle as wifibox
-
Nixkernal
Yes its the same but you have maybe less to config with wifibox
-
MelanieUrsidino
But wifibox doesn't support WWAN devices, only WLAN
-
[tj]
sotov1ch: what device do you want to use?
-
Nixkernal
wifi box support what alpine linux supports just change the connection inside wifibox
-
sotov1ch
MelanieUrsidino: Yes, but i'm not interested in getting a WWAN connection. Only for some progs like gpsd or some work with AT Interface. Which should be possible since wifibox is just a vm with pci passthrough where i maybe can use the WWAN instead of the wifi card.
-
sotov1ch
[tj]: i'm using a Qualcomm Sierra EM7455 Snapdragon X7 LTE-A (That's what MM likely said)
-
[tj]
-
sotov1ch
currently i only care about GPS-NMEA and GPS-RAW, for now.
-
sotov1ch
-
sotov1ch
Okay, looks like it's not supported. It's a MC7455 but it shouldn't be a big diff between EM7455 and MC7455.
-
MelanieUrsidino
-
Hecate
pff "red flags"
-
iRobbery
#whocaresaboutawebdesign
-
Hecate
people being attached to the things they know is not a red flag
-
Hecate
it's a natural human phenomenon
-
Hecate
"people miss what they always knew, this is the ultimate proof that change is bad"
-
fac3
Change /can/ be good.
-
fac3
Though, change just for sake of change is often not good.
-
MelanieUrsidino
change can be good, I have seen far more bad change than good change
-
fac3
That's very fair
-
iRobbery
and very subjective :)
-
fac3
Maybe. I think some change can be measured. Some cannot, such as whether one colorscheme is better than another.
-
fac3
However, changing whether the website loads quickly or slowly would be easy to figure out if it is good or bad.
-
skered
pam_xdg is only xdm and system. That means it's only for local logins?
-
skered
Appears to apply to anything that's GUIish? Appears you get it with xrdp logins.
-
skered
Any reason sshd wouldn't have it by default?
-
iRobbery
i'd guess because sshd isnt a desktop app?
-
skered
I'm assuming sshd means ssh session. "Why wouldn't you want XDG_RUNTIME_DIR set for ssh session?"
-
Gedge
a ssh session is a (ssh) client connection to a daemon (sshd) - and XDG_RUNTIME_DIR may be passed to the daemon from the client, if it is allowed
-
skered
umm what? I wouldn't expect that sshd would setup XDG_RUNTIME_DIR via pam_xdg on the client setup
-
skered
Ok so adding that to sshd just works. Wonder if I can get away with a .d file vs editing sshd directly. pam has always confused me.
-
rwp
Why would sshd set a Desktop Environment variable such as XDG_RUNTIME_DIR?
-
skered
Because it's not just desktop envs?
-
skered
I think that's the issue. People think XDG is desktop only.
-
rwp
PAM can set XDG and other variables. But sshd should not.
-
skered
Sorry the sshd pam file. Not sshd directly.
-
skered
That's what I mean.
-
rwp
In the sshd_config there is also the UsePAM configuration. Which can be UsePAM=no. In which case PAM will not be in the flow and no PAM variables will be set.
-
rwp
If not using alternative login authentication and authorization methods I doubt anyone would even notice.
-
nimaje
rwp: it isn't a desktop environment variable, it specifies where programs should put their runtime files, like unix sockets for ipc and if it sometimes isn't set, programs won't find that stuff
-
rwp
Those programs sound like Desktop Environment apps and would not be running over a text terminal serial ssh login.
-
CrtxReavr
You don't want to push X11 over a serial console?
-
nimaje
why sound they like that to you? and who said that the login is text based? X11 forwarding exists too
-
skered
btw this is (on the surface) purely text/tui.
-
CrtxReavr
'tui' is a curious term. . . and rather new AFAIK.
-
skered
New? No. Just there's more of them now.
-
hodapp
I've done X11 over an RS232 serial line before at 115 kbps. The low throughput only mattered when pushing bigger images - but for all else it was surprisingly snappy. X is chatty and the low latency of RS232 helped a lot.
-
rwp
In order for X11 forwarding over ssh to work the remote end would need X11 apps installed. I am using ssh to login over there but unless I am logging into another desktop there won't be an X11 apps installed on any server system I am familiar with admining. Though I know many people today do install a full desktop on headless servers regardless.
-
rwp
But I am going to set UsePAM=no on a desktop here and test the theory out.
-
fac3
I don't think you can run a full X11 session directly over SSH, you have to use something like VNC in the middle of it.
-
fac3
You can run X11 apps over SSH though.
-
fac3
Also, sorry if I missed something. Coming in a bit late to the conversation
-
rwp
We were talking about ssh X11 forwarding.
-
rwp
And whether it needs any XDG variables set to do so.
-
fac3
It might depend on the application, but I wouldn't think so in a lot of cases. I know when I was playing with it, I was able to run Firefox without it.
-
rwp
Experiment results: Set UsePAM=no. Restart sshd. Verify loss of XDG variables. ssh -X otherdesktop. xterm. GUI is forwarded. No errors noted.
-
rwp
PAM is very useful to provide a standard module interface to plug in other authentication and authorization methods. That's a primary feature of it. Corporations make heavy use of it. But if not using those methods then PAM is not needed.
-
skered
The new hand uses wayland.
-
rwp
I haven't poked my nose into Wayland yet. I don't know what dragons live there.
-
» skered has been playing with river and cow (fvwm author's compositor for wayland - not totaly stable yet).
-
skered
And in turn all the wayland only apps (and configs). Right now I'm looking at foot, a terminal.
-
skered
and all this via headless wlroots with wayvnc.
-
skered
And what does all of this depend on? XDG_RUNTIME_DIR. I got too lazy setting it myself and wanted to know why isn't it just auto set.
-
fac3
I've not played around with wayland at all, and certainly not on *BSD. Main issue for me is finding a good WM that I actually like on it.
-
skered
fac3: That's pretty much the issue with it right now.
-
skered
wayland moves to fast to really make it stable unless if you're using GNOME or KDE. Maybe sway and small handful of others.
-
fac3
Yeah, and I don't care much for Gnome or KDE. I haven't used sway, but I have used i3, and it's okay.
-
nimaje
rwp: the discussion is that XDG_RUNTIME_DIR should be set by default for ssh logins too, of course it works without it being set as long as you don't run anything that asserts that variable is set, but inconsistently set XDG_RUNTIME_DIR depending on login method could be a problem for some programs, like not finding an ipc socket
-
rwp
nimaje, Let's not be fuzzy about "some programs". Let's say exactly what programs have problems. Otherwise it is just too fuzzy of a concept. I mean sure there is bound to be some program. But I don't really care if some random Github hack is written in some poor way. Let's have a concrete example.
-
nimaje
weechat can be remote controlled via a fifo placed in XDG_RUNTIME_DIR for example
-
wavefunction
fac3: Sway is the i3 of wayland. :-D
-
fac3
I've heard that. i3 is okay, but I'd still rather not move away from DWM or EXWM
-
fac3
At least not right now.
-
rwp
weechat is mature, robust, and well behaved. I would be surprised if it didn't simply use $HOME/.config/weechat for those if XDG_RUNTIME_DIR is not explicitly set.
-
MelanieUrsidino
i still live in a world where it sits in ~/.weechat
-
fac3
The man page will usually say the files it pulls from and in what order
-
skered
rwp: I think if you're a good XDG app you're not puttig temp files in your config dir. We're not unwashed UNIX users nowadays.
-
rwp
-
rwp
And ~/.weechat if that exists.
-
rwp
So... weechat works fine without XDG_RUNTIME_DIR set. That is not an example that requires it.
-
nimaje
rwp: but what if you locally run weechat and have XDG_RUNTIME_DIR set and then later want to login via ssh and want to control it? the problem isn't it no being set at all, the problem is it being set sometimes
-
rwp
That's a valid use case. It's not one of my use cases. But I will give that to you. It's a valid case. In which case I, as in me not you, would probably set the variables in ~/.xsessionrc to $HOME/.cache/weechat so that it was the same for both.
-
o0x1eef
IME the XDG spec is usually a pain to implement and it's easier at first to use ~/.<whatever> then eventually migrate to XDG when enough people complain.
-
MelanieUrsidino
voooiii... utm_source=chatgpt.com
-
rwp
MelanieUrsidino, You caught me! I asked it for a reference. But the reference checked out. Notice I didn't trust the LLM but pushed through to the reference itself.
-
rwp
I figure that if I am paying for it already with all of the pain of trying to keep web sites online in the face of the endless onslaught of millions of AI scraper bots proxies then I should get some use out of it.
-
o0x1eef
Don't be shamed for using AI. It's a tool. Are you ashamed of using a screwdriver, or a hammer? The anti-AI crew are fanatical but don't let them cower you into excuses for using a tool.
-
rwp
Thanks!
-
hodapp
I'd probably be ashamed if someone caught me trying to use a hammer to do surgery.
-
hodapp
especially if my reply was something like, "Two years ago, this hammer wasn't even sharp enough to cut skin! Imagine what it will be able to do soon!"
-
hodapp
The view that something being "a tool" means it is exempt from any discussions of its capabilities, limitations, or the implications of its use is one that admits of a quite fundamental misunderstanding of what tools are and what they do.
-
o0x1eef
Yes, it's a tool, and you can script / program it too. There's still the right tool for the job, but that doesn't mean it's not a useful tool, especially for pattern recognition and repeating those patterns, an automation machine.
-
lts
It is critical to understand that it is a token predictor. How all those "thinking" are just filling the context with more probable words to outbalance the vector weights of unwanted words that might be seen during the execution. Once you understand why asking an AI why did it disobey orders is useless, you are experienced enough to use it
-
o0x1eef
It's something you can script and program too. You can extend the capabilities of an LLM with your own tools - either a class of function in your language of choice. You can build your own MCP servers. It's a tool.
-
anth
port lua54-cqueues is broken on FreeBSD 15 (and 16 supposedly, although I can't test that). The port points at the last official cqueues release, from 2020. There's a fix in the cqueues tree.
-
anth
What's the right procedure here?
-
anth
s/last/most recent/ I suppose
-
anth
Sorry, the port is lua-cqueues (pkg uses the lua version number).
-
o0x1eef
Maybe open an issue/PR on bugs.freebsd.org
-
anth
Okay, I've requested a bugzilla account.
-
anth
I the meantime, is there a convienent way to tell ports (via the makefile maybe?) "use this .tgz I'm providing you instead of what you'd normally download"?
-
fac3
Does the port have any patches?
-
vkarlsen
Yeah, you can hack that via the Makefile
-
fac3
If it does then it might just be easier to build it from source rather than go through ports
-
fac3
I've had ports that broke from patches that wouldn't apply after the port was updated.
-
anth
I don't think it does.
-
anth
vkarlsen: If the port normally fetches from git, how do I say "use this instead"?
-
vkarlsen
anth: Github?
-
anth
(Normally I'd just install from source, but I'm nervous about all the other lua things installed from ports/pkg finding it correctly.)
-
fac3
You might be able to just replace the git hash with the hash of the new release.
-
anth
Yes.
-
anth
There isn't a new release. :-/
-
o0x1eef
The port uses USE_GITHUB
-
anth
The fix is in the source tree. I can build the needed artifact.
-
o0x1eef
You can use GH_COMMIT etc
-
vkarlsen
Are we talking about devel/lua-cqueues?
-
o0x1eef
yes
-
vkarlsen
Then you can add GH_TAGNAME= <commit hash> on line 19
-
vkarlsen
You'll have to run `make makesum` after
-
anth
makesum updates distinfo?
-
anth
I don't see where the actual URL to download from is defined.
-
vkarlsen
Yes, you don't need the url, that will be generated from the given info
-
vkarlsen
You might have to remove DISTVERSIONPREFIX
-
vkarlsen
Let me try
-
anth
But I need to provide the .tgz myself, not have it fetch from the repo, where there's no newer build.
-
anth
Oh, I see how it's building that up with the DIST* bits.
-
vkarlsen
No, seems that's all that's needed. It built fine here from the latest commit (c366149)
-
vkarlsen
All I did was add this line: GH_TAGNAME= c366149, and run make makesum
-
anth
Oh!
-
vkarlsen
Note that the pkg will be called lua54-cqueues-20200726_1, even though it is much newer
-
vkarlsen
You can change that in the Makefile too if you want
-
anth
No, that’s fine for me until it’s officially fixed.
-
anth
I don’t anticipate wanting to go back to the version that won’t run. :-)
-
vkarlsen
:)
-
polarian
spekul: I have played with it
-
polarian
still cant get it to work
-
polarian
(sorry 2 weeks late, been busy)
-
polarian
I am not bios booting, and modified my loader according to what you said
-
polarian
loader is within GELI decryption, but there is no serial output for it
-
polarian
I really wish freebsd documented this behaviour more
-
polarian
-
polarian
thats my loader.conf
-
polarian
if anyone else has any idea how to get freebsd to output via serial during the loader stage please let me know
-
polarian
hmmm according to the man page boot_* are within loader.efi(8)
-
polarian
so they are not bios boot options then?!!?
-
polarian
oh wait
-
polarian
> 2026-05-07 06:55:42 spekul you need to redirect video output to the console in your BIOS/EFI firmware and have the loader enabled to work with the serial console
-
polarian
I thought bios you wouldn't need to, but you still need the firmware to support serial redirect, which consumer hardware doesn't
-
polarian
unless there is a workaround?
-
polarian
> On x86 platforms, if you wish to redirect the loader's output to a serial port when the EFI BIOS doesn't support it, or to a serial port that isn't the one the EFI BIOS redirects its output to, set console to “comconsole”.
-
polarian
from loader.efi(8)
-
polarian
okay so then it is possible, I must have the wrong serial specified
-
polarian
the COMx (windows) ports are mapped to /dev/uartx when the device is /dev/ttyU0 because its a usb serial device
-
polarian
oh shit... that probably wont work will it
-
polarian
it would require the loader to have an understanding of usb
-
polarian
oh wait, but the loader can load a keyfile from a USB stick, so it does have USB logic then... so it should be able to work?
-
polarian
alright I have no clue what to do :/
-
anth
vkarlsen: back at my computer after my appointment, and that worked perfectly. Thank you very much.
-
tm512
I guess I'm not quite understanding audio here on FreeBSD. on pcm3, monitor is labeled as "rec src" according to mixer, but if I record from /dev/dsp3 using ffmpeg, it ends up recording from the mic, not the system audio, which is what I'm taking "monitor" to mean
-
tm512
mixer isn't showing anything mic related for pcm3, instead the Realtek chip's mic stuff is on pcm4
-
tm512
-
tm512
recording /dev/dsp4 is silent though except for a click at the very beginning of the recording
-
tm512
does OSS just use a completely different definition of "monitor" to other sound systems like pulseaudio? I take it to mean a loopback source, that lets you record the audio playing back through this device
-
tm512
seems I have to either configure a loopback with virtual_oss, or just use pulseaudio
-
tm512
(or sndio, or JACK, but those are arguably less convenient)