r/openbsd 1h ago

Issues with UTF-8 input in wscons tty

Upvotes

I have trouble with Swedish keyboard encoding input. I first noticed that characters 'å' and 'ä' acted like dead characters in the sense that they won't output until another key is pressed. The problem only occurs in local tty, not over ssh from a different machine. X11 also works fine.

Locale variables are set to sv_SE.UTF-8, 'locale charmap' returns UTF-8 and wscons keyboard.encoding=sv.

I have been troubleshooting for quite some time (with a lot of help from ChatGPT - I admit). It appears to be that wscons generates ISO-8859-1:

$ echo åäö | od -tx1

0000000 e5 e4 f6 0a

Is this a known issue?


r/openbsd 1d ago

user advocacy I found the best place for my openBSD thinkpad. Maybe I need to make little homelab at this room too

Thumbnail
gallery
81 Upvotes

r/openbsd 1d ago

user advocacy Switch to openBSD on my old thinkpad

Post image
155 Upvotes

r/openbsd 1d ago

Left Out of 7.9?

2 Upvotes

Is it my imagination, or did a lot of things get left out of 7.9 as compared to the last two versions? Ex., sddm and Intel’s BE200? I had wifi working on 7.8 on the same machine (I think). Now dmesg lists: Intel unknown product. When I tried to install and find sddm, only a total blank. What doc did I miss that explains, or is there one? Thanks.


r/openbsd 3d ago

user advocacy Boot Sequence: OpenBSD

Post image
146 Upvotes

I am currently trying different OS and OpenBSD has been one of the biggest surprises so far.

I ran into a couple of hardware-related issues. The backlight keys don't work on my laptop I suspect that's due to incomplete support for my particular hardware rather than a problem with OpenBSD itself.

Overall, I've found OpenBSD really enjoyable to use.


r/openbsd 2d ago

Can't start any Display Manager

Post image
20 Upvotes

Tried this with gnome (and read the readme) and it gave this error, so I reinstalled to try with xenodm and it gives me this error. Booting with -c doesn't help because my keyboard stats disconnected.

This is a fully installed system. Genuinely losing my mind

EDIT SOLVED I had to turn off Resize BAR and now gnome is running!!!


r/openbsd 3d ago

Takes way too long to download install79.img

6 Upvotes

Is there anything wrong with openbsd.org? I am trying to download the install79.img file and it is taking over 1 hour to download.


r/openbsd 3d ago

Uneven sampling frequency when playing ncspot music

14 Upvotes

Hi, I've been testing OpenBSD 7.9 on Thinkpad P1 Gen7. So far, it has been a bumpy road. But one audio related thing is super-annoying and I'd love to see some advice from you.

I use ncspot to play Spotify music, but I notice from time to time that sampling frequency changes noticeably for a few seconds. It's something I cannot tolerate. I tried a few sndiod parameters like increasing -b with no luck.

I use Sound Blaster G3 (USB-C DAC) with headphones.


r/openbsd 4d ago

OpenBSD on a Chromebook

Thumbnail
gallery
129 Upvotes

Hardware probe: https://bsd-hardware.info/?probe=7501a79aa8

Still surprises me that almost everything worked out of the box. Audio, Touchpad, etc.

Though some things (proprietary garbage), needed fw_update(8) to function properly.

But other than that, this is definitely daily drivable.

No doubt that devs did a great job.


r/openbsd 4d ago

Questions about OpenBSD

18 Upvotes

Hi, I’d like to know how ports work on OpenBSD and whether I could make my own. Mostly I’d like to port Zen Browser since it’s my favorite, using Firefox as its base — do you think it’s possible?

What IDEs are available on FreeBSD?

And more importantly, does anyone use GOT (Game of Trees) in their daily workflow? How do you use it? I want to use it. I have a website whose commits I sign, but with GOT I can only sign tags, not commits. How would I handle my deployment? Or does it not matter if they’re unsigned? I’m mainly a programmer, but I use a YubiKey for GPG signing and SSH authentication.


r/openbsd 4d ago

What can I do so my ports will not get lost?

10 Upvotes

For a couple of weeks now, I am trying to get four ports become part of the official repository.
I have already written dozens of mails to ports@ but they rarely get a a reply. (If any).
They do not seem to get any traction, for whatever reason.

So, obviously, I COULD keep annoying the developers directly by writing another mail every week, but I do not want to. Consistency is a major problem: Writing a mail, and comparing it to a mail 4 weeks ago that looks completely different is just tiresome on the readers.

So... What else can I do? My greatest hope is that somebody will SYSTEMATICALLY go through the mailing list and collect all my ports, but biggest fear is that they will simply be forgotten.


r/openbsd 5d ago

Longtime linux user trying openBSD

Thumbnail
gallery
183 Upvotes

Longtime linux user trying openBSD for first time after years. Not super easy, but got it running (more or less) in 30 minutes


r/openbsd 5d ago

OpenBSD Sparc

Post image
28 Upvotes

Wanted to try something that wasn't solaris that was safe and secure and could allow some older hardware some flexibility. Because it's old enterprise equipment I don't have a need for a graphical system or most anything else that isn't related and it comes with a squashfs of openbsd in the ILOM so figured I try. Installed pretty easy but I'm having some frustrating issues that have got to be PEBKAC. It's connected to the Internet, it can ping just find has no problems detecting the network but I can't do anything with the package manager. In theory I bought to be able to put java on it (kinda sacrilegious to have a sun microsystems NOT have java) but I'm getting a no address associated with name error on just about everything I look for suggesting I didn't set something up right.

Been looking for answers and just like everything new you gotta know what your looking for to find it so I'm hoping the community can tell me what stupid thing I've done or simple thing I likely missed that's causing my problem


r/openbsd 6d ago

8.0-Beta

23 Upvotes

I was very surprised today to find out that -current moved to 8.0-beta. I'm not here to announce that, of course. I'm here to ask the developers whats up (in a friendly way). OpenBSD 7.9 was a little later than usual (and it should always take as long as needed to be ready, of course.), and now, less than two full months later, we are in 8.0-beta.

I know the general "how it works": they have certain feature sets they want in the release, and when its ready, they stabilize everything, make sure its good, and then release. Seeing as how the amount of stuff added so far after 7.9-release, its a good amount, as always. This doesnt appear to be a small release.

So my actual question to the devs is this: Did the stars just align and everything work out fast?


r/openbsd 6d ago

drive overheating issue

0 Upvotes

I was trying OpenBSD, but I soon realized that it makes my DRIVES very hot. To the point I almost burnt my hands. I tested on both: HP G42 and Raspberry Pi 4 Model B. It made my USB, SD, and HDD EXTREMELY hot. Please help.


r/openbsd 6d ago

Inteldrm broken on MTL

3 Upvotes

It used to work YESTERDAY. I’m trying Openbsd for the first time being FreeBSD user.
Yesterday, test went fine on P1 Gen 7 MTL.

After the full fledged install, inteldrm crashes on load. Sigh… no time to debug that. Cheers.


r/openbsd 7d ago

acpitz is broken

Thumbnail
gallery
16 Upvotes

So I installed OpenBSD on the Lenovo IdeaPad Slim 5 14QX8X9 and while the actual installation was unremarkable. For some reason during boot it shows this. Now I would just outright try to disable acpitz but I can’t type in the -c menu but I can for a couple seconds in the normal boot before the shutdown.


r/openbsd 7d ago

MediaTek 7921 Wireless and OpenBSD 7.9

8 Upvotes

Hi,

I have just installed OpenBSD on my Acer Aspire 5 a515-56, but I am stuck trying to get the network card working. I did a google search and found out that from 7.5 the mwx(4) driver for MediaTek cards (MT7921 and MT7922) was introduced.

I tried fw_update but that didn't work. Also tried downloading the firmware from firmware.openbsd.org

Version: 7.9
Output of dmesg: "MediaTek MT7921" rev 0x00 at pci2 dev 0 function 0 not configured ugen1 at uhub0 port 10 "MediaTek Inc. Wireless Device" rev 2.10/1.00 addr 3.

Pcidump:

 2:0:0: MediaTek MT7921
0x0000: Vendor ID: 14c3, Product ID: 7961
0x0004: Command: 0000, Status: 0010
0x0008:Class: 02 Network, Subclass: 80 Miscellaneous,
Interface: 00, Revision: 00
0x000c: BIST: 00, Header Type: 00, Latency Timer: 00,
Cache Line Size: 10
0x0010: BAR mem prefetchable 64bit addr: 0x0000006001000000/0x00100000
0x0018: BAR mem prefetchable 64bit addr: 0x0000006001100000/0x00004000
0x0020: BAR mem prefetchable 64bit addr: 0x0000006001104000/0x00001000
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 11ad Product ID: 3802
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 01 Line: ff Min Gnt: 00 Max Lat: 00
0x0080: Capability 0x10: PCI Express
Max Payload Size: 128 / 128 bytes
Max Read Request Size: 512 bytes
Link Speed: 5.0 / 5.0 GT/s
Link Width: x1 / x1
ASPM: L0s, L1 (L0s, L1 enabled)
0x0100: Enhanced Capability 0x0b: Vendor-Specific
0x0108: Enhanced Capability 0x18: Latency Tolerance Reporting
0x0110: Enhanced Capability 0x1e: L1 PM
0x0200: Enhanced Capability 0x01: Advanced Error Reporting
0x00e0: Capability 0x05: Message Signalled Interrupts (MSI)
Enabled: no; 32 vectors (1 enabled)
0x00f8: Capability 0x01: Power Management
State: D0
 2:0:0: MediaTek MT7921
0x0000: Vendor ID: 14c3, Product ID: 7961
0x0004: Command: 0000, Status: 0010
0x0008:Class: 02 Network, Subclass: 80 Miscellaneous,
Interface: 00, Revision: 00
0x000c: BIST: 00, Header Type: 00, Latency Timer: 00,
Cache Line Size: 10
0x0010: BAR mem prefetchable 64bit addr: 0x0000006001000000/0x00100000
0x0018: BAR mem prefetchable 64bit addr: 0x0000006001100000/0x00004000
0x0020: BAR mem prefetchable 64bit addr: 0x0000006001104000/0x00001000
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 11ad Product ID: 3802
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 01 Line: ff Min Gnt: 00 Max Lat: 00
0x0080: Capability 0x10: PCI Express
Max Payload Size: 128 / 128 bytes
Max Read Request Size: 512 bytes
Link Speed: 5.0 / 5.0 GT/s
Link Width: x1 / x1
ASPM: L0s, L1 (L0s, L1 enabled)
0x0100: Enhanced Capability 0x0b: Vendor-Specific
0x0108: Enhanced Capability 0x18: Latency Tolerance Reporting
0x0110: Enhanced Capability 0x1e: L1 PM
0x0200: Enhanced Capability 0x01: Advanced Error Reporting
0x00e0: Capability 0x05: Message Signalled Interrupts (MSI)
Enabled: no; 32 vectors (1 enabled)
0x00f8: Capability 0x01: Power Management
State: D0

r/openbsd 8d ago

What desktop optimizations you guys use?

10 Upvotes

Hi, I installed OpenBSD 7.9 on a desktop machine: Ryzen/amdgpu, updated. All good besides one complete system freeze in Chromium when opened a page containing video.

My question is a bit different though. What desktop-related optimizations you guys do after such installation? What into sysctl.conf? Increased login.conf limits. What else? Something kern/shm/Xorg related? I plan to use Mate desktop/Firefox, mostly terminal work. Machine with desktop Ryzen 7xxx and 64 GB RAM + NVME.

Thanks and sorry for a rookie question.


r/openbsd 8d ago

OpenBSD 7.9 hoodie please

16 Upvotes

I was wondering if anyone knows whether there will be an official OpenBSD 7.9 hoodie added to the official shop?

I bought the 7.8 hoodie and really like it, so I'd happily pick up a 7.9 version as well. I wasn't sure if they usually get added a bit later or if there simply isn't one planned this time around.

Thanks!


r/openbsd 9d ago

Resources to learn OpenBSD

25 Upvotes

I’m looking for some resources to learn how to code in OpenBSD. Is it enough to learn c++ or is OpenBSD more advanced? Are there any websites where I can train my coding skills?


r/openbsd 9d ago

System panicking(?) after going out of sleep?

10 Upvotes

After going out of sleep for more than few minutes (with xfce4, at least. I will try to get exact times later), system will draw unresonsible after ~5 seconds (or instantly, I haven't been able to reproduce each of situation in stable way - it is pretty much random for me). I can't open vTTY with Ctrl+Alt+F keys, and have to force shutdown to reboot afterwards. Can it be bad apm/zzz configuration or maybe drivers issue? I have tried to look into dmesg but it only shows latest boot and there wasn't anything useful there (you can check it on https://pastebin.com/xsdmjJ1g)

System configuration (ASUS Vivobook laptop):
OpenBSD 7.9
AMD Ryzen 5 5600H
AMD Cezanne (iGPU)
Intel AX210 (wifi)


r/openbsd 9d ago

Thinkpad P1 Gen7 and OpenBSD?

9 Upvotes

Hey, am I too naive going to try OpenBSD 7.9 on a P1 Gen7 (Intel 165H Meteor Lake) hoping for GPU and Wifi to work? Suspend does not work yet even on 7.1 Linux (there's bugfix already piped for 7.2), so that's not an issue. My only concerns are inteldrm and the BE200 Intel Wifi.


r/openbsd 10d ago

bcm94313hmgb drivers

3 Upvotes

I have an old computer which I need to connect to a network and access through SSH. But I could find no drivers for this and my USB dongle (TP-Link Archer T2U nano) is also not compatible. If I try to change the WiFi card, my laptop's BIOS does not let me boot (HP G4). Can anyone find drivers for my WiFi card? Thanks.


r/openbsd 11d ago

Concerning IPC and ports (e.g. messagebus/dbus).

6 Upvotes

Hello again OpenBSD reddit.

I don't wish this to turn into a dbus hate thread. I'm just interested to hear other users opinions on IPC within UNIX in 2026 and if they're using dbus. Since I'm sure many of you are using ports that require it (or at least claim to require it).

For years when I was still primarily running Linux on a lot of my machines I went out of my way to avoid using dbus whenever possible. I ran Gentoo for the most part and I quickly discovered that avoiding dbus all together did not cause any issues what-so-ever. Most (all?) things that claimed to require it really did not. Firefox would function fine without it (and still does) and most other things did as well. At most they would just spam the console with some errors complaining about no dbus server being up. But within the applications themselves (mostly GUI stuff) nothing was ever broken. In fact, the only thing I did find broken by lack of dbus was Libreoffice. The menu bar at the top of the GUI for it was broken without dbus running and I think a handful of context menus. But you could easily live without that if you knew keyboard shortcuts. As I did not use libreoffice for much other than checking some work before sending it off to be read by others in Microsoft Office this didn't really bother me (I did most of my text editing in emacs and mg anyway).

Anyway, my greater point: Up until the early 2020s the requirement on dbus was easy enough to avoid if you compiled everything from source. But as of late actual hard requirements on dbus are showing up more and more everywhere with each passing year. Since projects like pipewire and wayland (and others) are starting to heavily rely upon it. Basically, everything coming out of FreeDesktop or related to it (e.g. new versions of GTK/Qt and projects built on top of it).

I haven't checked in the past couple of years and I'm still sticking to older toolkits on Linux (GTKv2, JACKv2, older versions of Qt) but as time marches on it'll become harder and harder to do this. Since support for them is being dropped even in distros where you compile everything from source like Gentoo. Obviously since many ports in OpenBSD are based upon the same code bases more and more of this stuff will need to be modified heavily to exclude these requirements or the requirements must be supported on OpenBSD as well.

Which leads me to my questions and the heart of this discussion:

While both are currently unfinished there has been a lot of progress happening in two projects I've been using/following that are built to support all UNIX-like OSs and in the case of Arcan across UNIX-like and other OSs (like NT). Both of them have their own solutions to IPC.

The first is the s6 project from skarnet. Which currently has its own ipcserver daemon which while not finished yet looks very promising: https://skarnet.org/software/s6/s6-ipcserver.html

I ran s6 on Gentoo for years and it worked very well even though some portions were unfinished at the time. The main issue with replacing Gentoo's default init service (OpenRC) with s6 was the fact that documentation for s6 isn't always up to date and getting support from other users running it was sometimes a pain. I love the project and I think it has a lot of promise but the author and most of the users aren't the friendliest people when it comes to getting questions from "regular" users. There were a couple of distros (most based upon ArchLinux) that were using the s6 stack as their default init+service manager. There was even an easy-to-use front end built for the s6 tools called 66. But 66 lags horribly behind the s6 upstream. Last I checked it was still years out of date. I'm still using s6 on one machine (without 66) but I'd be lying if I said it was easy to get it going and that I understood all of its inner workings. Getting it up and going was a lot of trail and error. But once I had it up and going it was very nice. Sadly, the IPC portion of s6 is still not ready last I checked. So I've mostly been avoiding any software requiring dbus on that machine. Even if the IPC server was ready for day-to-day use someone has still yet to build a dbus-to-s6-ipcserver shim to make it work with software expecting an active dbus server.

Which brings us to the arcan project: https://arcan-fe.com/2024/11/21/a-deeper-dive-into-the-shmif-ipc-system/

I really adore the Arcan project and the people working on it. I think it's great software and I'm sad it isn't more widely used. You hardly see anyone talking about it except for a passing mention in large threads where people are arguing about stuff like X server vs. Wayland. If you aren't familiar with arcan I highly suggest checking it out sometime.

Unlike s6's ipc-server the arcan shmif IPC system is already widely used internally within the arcan project. It only lacks a shim to get dbus software working over its messaging system. Give it a look (the above article is great. In fact, so is everything on the arcan project's website).


I am curious to what everyone's thoughts are on the dbus project as it stands. I don't wish to start a thread hating on it. But there are plenty of complaints about it from people building software with/around it going back years now all over the web. From a security stand point it has massive issues I'm sure everyone is aware of. The whole kdbus disaster from when there was an attempt to import dbus's IPC into the Linux kernel is well known by all I'm sure.

Concerning IPC in general: I've always felt this was something that belonged inside of the kernel instead of userspace. BUT if it were going to be regulated into userspace I think the current situation surrounding dbus's security is horrible for many reasons. It's very easy to leak data/information you don't want leaking to everything running on the system through dbus. I'm honestly surprised so much stuff relies on it, requires it and uses it. Especially a lot of newer software that is used for things like storing passwords in a central database and other things that have been becoming popular as of late which sell themselves on being "secure" compared to stuff we've been using for a long time.

I think a good standard for IPC would benefit a lot of software. Sure we have sockets and pipes already. So an argument can be made that it isn't needed in the first place. But with so many modern applications wanting a proper IPC server I doubt it's going to go away any time soon. At the very least these days people need a modern web browser to interact with 99% of the web and both of the only viable engines for that job require dbus. Then there are all the other things I mentioned above like libreoffice that many people use. Then there are all the applications out there that have adopted dbus for this or that reason over the past decade or so. If we want to keep that stuff working on OpenBSD then dbus is something we have to have support for (even if we're just faking it to make such applications launch).


IPC server in OpenBSD:


This brings me to my final thoughts/questions:

What are you guys running on your local systems when it comes to having dbus/IPC support for ports? Like I said for myself for the longest time I was just using the Firefox's default of faking a session. But after pulling in other ports that wanted dbus I gave up and added the usual lines to my .xsession as the instructions in the /usr/share/local/pkg-readmes/dbus file advised.

But I'd be lying if I said this didn't bother me. From a security stand point I'm not a fan of having dbus/messagebus running on my system at all. Although, I'm sure it's probably less harmful on OpenBSD when compared to my Linux boxes. Security aside I'm not a fan of the dbus spec/server all together. I'm sure anyone that's read Freedesktop's documentation or have interacted with it as a developer knows exactly what I mean. The fact that the first thing the tutorial says is:

This tutorial is not complete; it probably contains some useful information, but also has plenty of gaps. Right now, you'll also need to refer to the D-Bus specification, Doxygen reference documentation, and look at some examples of how other apps use D-Bus.

Is never a good sign when you're attempting to understand how something works. The actual "man pages" aren't any better of course.

So my question to the OpenBSD developers lurking around is basically this:

Is anyone working on a proper IPC spec/server for use within the OpenBSD base system or for the ports collection? Is anyone worried about the current state of dbus/messagebus and if not, why not? Would it be considered a fool's errand to work on something like this since most upstream software seems to be joined at the hip with FreeDesktop's dbus?

I guess it's just amazing to me that there are multiple existing projects out there like skarnet's s6-ipcserver and Arcan's SHMIF that do what dbus is attempting to do and does it better. But most people seem content to continue using dbus anyway. While I'm never a fan of shims (e.g. the systemd situation) it would seem like it'd be better to have a properly documented IPC server without all the bad things about dbus and then write shims to support stuff wanting dbus on top of that. With the hope that in time people would eventually see the light and convert their projects over to it. In all my years I've never seen anyone praise dbus or enjoy having to work with it. Even those that don't get into the nitty gritty of how it works hate the way messages are passed back and forth (XML strings). Then there are all of the obvious security problems that come along with it (easy to sniff any message flowing over it).

What are the OpenBSD's developers opinion on having IPC in userspace vs. the kernel? I know there are many very old non-UNIX OSs that have their own implementation of IPC baked into their kernels and they seem to be able to do that without any obvious security problems. Although, perhaps since those OSs aren't as widely used as UNIX-like OSs they just haven't been battle tested enough in the field for security issues to have been exposed and cause problems.

Do you feel there is anything within OpenBSD's base system that could benefit from having a proper IPC server baked into either the kernel or the base system?

Finally, do you feel a dedicated IPC server/dbus isn't really needed in the first place and this stuff should just be passed over pipes and sockets on UNIX-like OSs?

I'm interested in hearing everyone's thoughts about this subject. I am not intending to start a Linux vs. OpenBSD debate or rehash the whole dbus/FreeDesktop/systemd debate. I'm interested in hearing the opinion of people that have worked with UNIX-like kernels/OSs for a long time, people that port software to OpenBSD that relies on dbus and what their opinions are on this situation.

Honestly, with all the things that have come out of the OpenBSD project over the years I was surprised when I first switched over that there weren't more people discussing dbus/messagebus outside of "use rcctrl or edit your .xsession to get that port working". I know a lot of people tend to stick to the base system when possible and many use OpenBSD for non-desktop applications. But with so many people here running it as their day-to-day desktop I was surprised that more of them weren't upset about dbus being required for a lot of popular ports.

I personally do not run any of the big DEs like KDE/Gnome/Mate/etc anymore. But even on my system where I've gone out of my way to avoid stuff like that and stick to the base system's tools I've been forced to enable dbus just to get a web browser+a handful of GUI applications going.

Since I stick to installing ports as bins instead of compiling them from source code it's much more work to avoid having it on my system than running something like Gentoo Linux. Where at least I could exclude it using one flag in portage. But even so I find my OpenBSD system to be far more stable and less trouble to maintain. I could probably avoid dbus all together sure if I built my ports from source code. But I really don't want to do that because then I'm not helping with testing those ports for others.

I guess I was just surprised to see how casually people have accepted the hard dbus requirements into the ports tree. I thought there would at least be flavors for certain ports that excluded dbus by default.

Within the Gentoo community there were some rapid people that went out of their way to disable dbus within their global configs whenever it was possible. But that seems to be becoming less common since about the year 2020. I'm not sure if that's because people gave up on excluding it or if those people have moved on and left the Gentoo community.

As usual: Sorry this got so long.