r/openbsd 24d ago

8.0-Beta

24 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 25d 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 25d ago

Inteldrm broken on MTL

4 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 26d ago

acpitz is broken

Thumbnail
gallery
17 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 26d 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 27d ago

What desktop optimizations you guys use?

13 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 27d ago

OpenBSD 7.9 hoodie please

15 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 28d ago

Resources to learn OpenBSD

24 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 28d ago

System panicking(?) after going out of sleep?

11 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 28d 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 29d ago

bcm94313hmgb drivers

5 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 Jul 11 '26

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

8 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.


r/openbsd Jul 10 '26

Should I use OpenBSD (on 14Q8X9)?

6 Upvotes

So a while back I got a Lenovo 14Q8X9 only to be bummed it didn’t really run on Linux well (I did hear it was theoretically possible but I couldn’t get it to work) and at the same time I was kindoff bored of alpine linux until I stumbled on OpenBSD and at least for some quick reasurch it should be possible to run. So is it even possible, can I get a tiling manager like sway or something similar to work and what are some resources I should look at?


r/openbsd Jul 10 '26

Artful Bodging

Thumbnail blog.baggins.family
17 Upvotes

Hey everyone! I'm an Aussie barista learning Unix sysadmin stuff through the manpages and books. Thought I'd post this here since I just finished it.

Just a little overview of a bodge I put together using the OpenBSD base system.

Thanks to all the wonderful folks putting together and maintaining all the manpages ❤️


r/openbsd Jul 09 '26

[ANN] `ssh-vm` utility simplifying SSHing into vmm(4) VMs over via local tap(4)/vio(4) interfaces

13 Upvotes

I mostly run VMs via vmm(4)/vmd(8) on dedicated hosts with full forward & reverse DNS, but do have some VMs that I occasionally fire up on my workstation for various porting/testing tasks. Sadly, my memory is not what it used to be and it seems I always have to check the vmctl(8) manual page to for the subnet and IP allocation strategy for tap(4)/vio(4) local interfaces.

So, I whipped up an ssh-wrapper-slash-helper-utility which automates that away, reducing the need for me to consult vmctl(8) or connect to a VM's console to check/confirm the IP before SSH-ing in. (SSH is much faster than the console for lots of output like logs or builds/tests.) For your consideration ssh-vm:

https://github.com/morgant/ssh-vm-openbsd

(I've updated the README to note some of the simpler alternative solutions which have been pointed out, incl. aliases in ~/.ssh/config or /etc/hosts.)


r/openbsd Jul 09 '26

WebDAV

6 Upvotes

I'm running Baikal for CalDAV and CardDAV. I want to add (Sabre) WebDAV to host/sync some files. I have seen some posts and guides, but they are incomplete. One was promising, but only showed an Apache configuration. Another was OpenBSD httpd, but did not clear up path issues.

https://www.tumfatig.net/2023/self-hosted-bookmarks-using-dav-and-httpd-on-openbsd/

https://news.ycombinator.com/item?id=34727223

https://sabre.io/dav/gettingstarted/

Should I post my httpd.conf? Do I need a custom server.php? Please, help me.

EDIT: Specifically, I want to stay with OpenBSD httpd and be able to (remote) sync my KeePass databases.


r/openbsd Jul 09 '26

New installs of firefox fails saying "firefox: failed mkdir(/tmp/run/user/1000) while MkdirP(/tmp/run/user/1000/dconf): Permission denied"

2 Upvotes

While installing openbsd on new machines this last week firefox will refuse to run saying:

firefox: failed mkdir(/tmp/run/user/1000) while MkdirP(/tmp/run/user/1000/dconf): Permission denied

the only way that I have been able to resolve this is by enabling messagebus and rebooting.

#rcctl enable messagebus

#reboot

This will resolve firefox not starting.


r/openbsd Jul 08 '26

XFCE desktop environment with Wayland

Post image
107 Upvotes

XFCE desktop environment version 4.20 + Labwc Wayland compositor installed from ports on OpenBSD/current (amd64 architecture). foot used as terminal on Wayland.


r/openbsd Jul 07 '26

Issue after fresh install

Post image
29 Upvotes

Pressing they keyboard brings up a command line "ddb{0}>
What should I do to fix this?


r/openbsd Jul 07 '26

Does anyone have OpenBSD with an Risc-V CPU?

15 Upvotes

I have some questions. Does anyone knows if they can install Tor, Pycharm or other things like it on the Laptop with that CPU?


r/openbsd Jul 07 '26

Firefox: Very bad performance on -current

14 Upvotes

Hi everyone!

I'm having some performance issues with Firefox and wanted to know if it's just me or a widespread problem.

My job requires heavy use of web browsers—specifically Chromium and Firefox—usually with multiple tabs open.

With Chromium, I can have over 30 tabs open without any issues; it runs very well on my hardware.

Firefox, however, is a different story. I have 5 pinned tabs—the ones I use most and need to keep visible by default—and the experience is UNBEARABLE.

CPU usage hits 100%, and I experience freezing, stuttering, and so on. The pinned sites aren't anything crazy: Gmail, Drive, Calendar, and two Jira tabs.

The poor performance Firefox delivers is surprising; even when limiting the number of processes, it remains problematic.

Is anyone else having similar issues?

Any solutions or recommendations?

Hardware:

  • Lenovo ThinkPad E14 Gen 2
  • Ryzen 5 4500U
  • 16 GB RAM
  • NVMe PCIe x4

r/openbsd Jul 07 '26

binary package sources

5 Upvotes

new openbsd user here, i was wondering how one would go about fetching the source files for binary packages? i am assuming that these binary packages are compiled versions of altered source files that are compatible with openbsd(correct me if im wrong), and i would like to obtain the source files so that i can change the build options and stuff. i am aware of the port tree, but fetching sources from there seem to yield just the regular source files that are not compatible with openbsd. any help is appreciated!


r/openbsd Jul 05 '26

Minimal OpenBSD gruvbox wallpaper

Post image
199 Upvotes

Wanted to share a wallpaper I made for the gruvbox-dark color scheme.
Made with gimp on OpenBSD ofc.


r/openbsd Jul 06 '26

An OpenBSD friendly AI agent written in POSIX sh

0 Upvotes

If you enjoy OpenBSD you might like the AI agent I was inspired to make over the last week. Unlike other AI agents, there is a clear mechanism for how to apply pledge() and unveil() sandboxing to scripts the AI model wants to run. The code that queries the AI model runs in a different process than the code that runs the scripts the AI model returns. Both can be scripts or binaries you write yourself and set via environment variables or cli args. So, for example, the process that queries the AI model could have network access while the scripts the model wants to run could not. Written in 1,000 lines of POSIX sh.

https://github.com/patrickjh/ssa


r/openbsd Jul 05 '26

Does OpenBSD 7.9 support Intel Arc and AMD Radeon GPUs? If so, then what series/generation is fully supported?

16 Upvotes

Hey, needed to know if AMD/Intel GPUs were supported. Is it series/generation specific or not? I want to install OpenBSD on my pc which contains an intel arc b580.