r/openbsd • • Nov 03 '24

Will My X Hardware work on OpenBSD? If X=Nvidia, then no. Other answers inside.

112 Upvotes

First off. Your Nvidia graphics card won't work with OpenBSD except maybe as a VESA or UEFI framebuffer. No acceleration. Period. Nvidia themselves writes proprietary binary drivers for Linux and FreeBSD, but not OpenBSD. Will that change? Ask Nvidia. It's rather unlikely though.

Does OpenBSD support 3d Acceleration? Yes. As of this writing (7.6 was just released) OpenBSD has the DRM drivers from the Linux 6.6 stable branch. So it has the most up to date DRM drivers of the BSDs. As of 7.6 there's even GPU acceleration of video for AMD and Intel GPUs.

Will $X random laptop work? If it's an X-series or T-series thinkpad that wasn't released as new in the last month, probably. See above about Nvidia graphics though. Will other thinkpads work? Probably. The X and T series are most popular with developers so get the most attention. I've had good success with HP ProBooks, but rock a T490 Thinkpad currently. Framework laptops tend to work too.

Will $X desktop work? Probably. Try it. I've run it on any number of HP business desktops with great success. Intel graphics works great. AMD graphics should work well.

Will my Wifi work? If it's Intel, probably. Most of the Intel chipsets support 802.11ac speeds. Even the ax chipsets should work, but only at ac speeds. Why Intel? Someone contracted stsp@ to get them working well. Other stuff, works, but will probably be restricted to 802.11g speeds.

Will your random Temu-bought ARM board work? Who knows. Try it. arm64 RPi boards tend to work although at this time the RPi5 doesn't. It's too new and too different from the earlier boards.

There's no bluetooth support currently. Not because of security issues, but because when we last had bluetooth, it was unmaintained and a mess. If someone can come along with a decent bluetooth stack that is good, maintainable code, we'd take it. No one has stepped up so far.

HDMI audio could work but doesn't currently. Mainly because HDMI audio would get detected before regular audio and would become default audio. Most folks don't use HDMI audio though, so that change would break audio for most users and only benefit a handful.

This should cover the majority of hardware questions that keep getting asked. I'll edit it and try to keep it up to date.

M1 and M2 Macbooks should be supported. There will not be video acceleration.

Update 2024-12-08: Added mention of macbooks. Tweaked wifi wording. Tried to make it clearer where X represents any random hardware someone is asking about.


r/openbsd • • Oct 20 '26 Heartwarming

anouncement OpenBSD 8.0 released

251 Upvotes

OpenBSD 8.0 has been released.


r/openbsd • • 4h ago

[Mini-Guide] Using sysupgrade on modern Thinkpads like the T14 Gen 1 (and other "modern" laptops).

4 Upvotes

Edit:

Sorry I don't normally do this but since someone felt the need to censor another thread I posted I've decided I will not be contributing here anymore. In the future I'll be writing guides and musings about OpenBSD some place where I can't be censored by someone who feels like they have the right to dictate what can and can not be discussed.

I highly suggest anyone still using this website to stop. Not because of just this sub-reddit in particular. I consider this entire place to be a bot ridden honeypot at this point and anyone willing to defend it while claiming to be pro free software is someone I can't trust.

See you on the mailing lists I guess. I should have listened to the guys in the IRC channel months ago that told me to stop using this place.


r/openbsd • • 20h ago

cterm v1.1 ~ super small terminal emulator

Thumbnail
gallery
56 Upvotes

Hi!

This is v1.1 of cterm,

There's now: Unicode, padding and Sixel support and a lot of fixes from last release.

I finally added Unicode support since I need it for Anki reviews; same goes for Sixel, I want to see the flashcards images.

Sixel is a separated patch; I assume most people don't want it so I excluded it.

Only bdf (more generally, bitmap) fonts supported, but if you want to convert your vector font to a bitmap, check out scripts/fontscale. It handles the scaling and conversion of vector fonts. You'll need otf2bdf.

I'm not sure if I want to package it since, like st, it's configured at compile-time

Finally, the codebase is still less than 30% that of st

https://github.com/uint23/cterm

For those curious:

font: https://github.com/uint23/bitmap-fonts (Andale-Mono12x24-JP.bdf)

window manager: https://github.com/uint23/sxwm

cat: https://github.com/uint23/xpet

cursor: https://github.com/wintermute-cell/xcursor-plan9 (modified for yellow insides)

wallpaper: https://github.com/uint23/uint23 (see latest commit)


r/openbsd • • 20h ago

I want to use OpenBSD as my daily driver but want to keep testing Linux distros virtually but can't

9 Upvotes

My desktop motherboard went bad recently. I an planning to assemble a new one soon.

I want to use OpenBSD as my daily driver but want to keep testing Linux distros virtually but as far as I know OpenBSD doesn't offer Oracle Virtual Box or similar app.

Any ideas?


r/openbsd • • 3d ago

Multimedia server inside a chroot environment

16 Upvotes

I understand that, by default, OpenBSD's http daemon (httpd.conf) runs in a chroot environment (/var/www). However, what I do not understand is why this is causing PHP hangups when I try to upload something to my Wordpress media folder. In addition, audio files (.m4a, .mp3) that are referenced by HTML5 pages throw an error when I try to play them ...

Basically, my question is: what do I need to do with my server configuration to allow the web server to properly handle these files. I would like to be able to use PHP and am wondering if I need to create a directory for it within the chroot directory (/var/www) for it to work.

Any useful guides on this are appreciated. I am relatively new to OpenBSD.


r/openbsd • • 4d ago

resolved firefox and unicode == small characters

Post image
28 Upvotes

OpenBSD -current with Mozilla Firefox 159.0.1 20261105201837.

I'm unable to change the font size for unicode characters (specifically traditional and simplified Chinese). The font size/encoding settings doesn't affect the size of the rendered characters and zoom text only affects western/latin characters. I've searched here and mailing lists and haven't found a solution. I even tried Hanzisize extension but that didn't work either (no change in font size).

Attached is an example wikipedia page of tiny Chinese character rendering next to Western/Latin characters.

Any tips for getting Chinese characters to render larger and/or respond to font size requests?


r/openbsd • • 5d ago

How to go about testing new changes under /usr/src without rebuilding the whole world?

25 Upvotes

I'm trying some pf-related changes¹ that require modifying files in /usr/src/sbin/pfctl/ and corresponding files in /usr/src/sys/net/pf*.[ch].

However, when I went to (re)build pfctl, it complained about a missing field because it was finding the original/unmodified /usr/include/net/pfvar.h file instead of the modified /usr/src/sys/net/pfvar.h file.

Is there some method that devs use to build a subset of things without rebuilding the whole world? Or do I have to kick off a "build the whole OpenBSD snapshot release image" process, then boot into that snapshot/kernel somehow to test my updated pf.conf/pfctl?

⸻

¹ The goal is to have a way to specify that any connection to a port triggers an overload and add the remote address to a table. Currently max-src-conn and max-src-conn-rate require at least one connection before they kick in and pfctl balks if I try to specify a value of 0 in pf.conf—tweaking the source for either of those so that they accept 0 as a minimum limit has a lot of snarled code because it assumes that limit=0 means we're not limiting. Adding a 3rd prohibited option seemed like the cleanest route to getting the "if you merely connect once, you've triggered overloaded" I was hoping for.


r/openbsd • • 5d ago

CLI guidelines

22 Upvotes

I found clig.dev . Some of it's advice runs contrary to what I (a novice) expect in OpenBSD. (configuration in ~/.config instead of /etc) Is there a guide yall find more idiomatic? (big plus if it's something an author actually thought was worth writing)


r/openbsd • • 11d ago

OpenBSD +Spectrwm

Thumbnail
gallery
95 Upvotes

Hi as you can see my former post where I, asked which wm to install my choice felt on Spectrwm why well muscle memory I am long time dwm/dwl user and this wm has long roots in OpenBSD if I am not mistaken. Here is my system finished and ready. I use nextdns unbound and pf in workstation mode. Librewolf alacritty and yt-x to watch YouTube and Darktable for work. Man it’s awesome be home again.


r/openbsd • • 10d ago

OpenBSD System management bus (SMBus) access via Python

17 Upvotes

Hi there.

First post on Reddit, so please be gentle. I want to access SMBus via Python, which works with the smbus3 package on Linux-based OSs. But because the /dev/i2c-0 device does not exist on OpenBSD, the smbus3 package does not work. I found out that the iic driver (https://man.openbsd.org/iic.4) can access SMBus on OpenBSD, but I don't know how to get there from Python. Is there someone that can either give some kind of translation from smbus3-based code to iic-based code or come up with a rudimentary Python package that adapts smbus3 to OpenBSD? Maybe one can call the iic functions from Python in a wrapper type way? Maybe one can generate the /dev/i2c-0 with the iic driver? Sorry, but this is far beyond my capabilites.

Cheers, tandoori

EDIT: From this post (https://www.reddit.com/r/openbsd/comments/vv6gkx/can_i_access_i2c_from_userland/), it seems like there is no userland access for iic/SMBus. Only a "kernel framework for writing drivers" (https://man.openbsd.org/iic.9) is mentioned. Or can one use exactly this framework to get a iic device for userland as the thread creator asked?


r/openbsd • • 11d ago

i enjoy bspwm.

Post image
119 Upvotes

This is my first time using bspwm and actually it was on openbsd lol


r/openbsd • • 11d ago

OpenBSD Mangowm

19 Upvotes

Hi
I am not a new user I just made a new account. Because Reddit being Reddit. And I have question about Mangowm on OpenBSD what is you guys experience? Or should I just stick to the good old dwm ? The reason I ask is more to try out how it works and I miss running OpenBSD.


r/openbsd • • 11d ago

Has this error been observed? Is the cause known? Boot command fails in the installer.

Post image
6 Upvotes

Hardware is a Thinkpad L420 with the latest bios and a I7-2640M. I have installed OpenBSD 8.0 on a Mac Pro 5,1 and got through it, but fauls almost immediately on this laptop.


r/openbsd • • 12d ago

first ever bsd booted on a phone? Spoiler

Post image
92 Upvotes

hello, and yes all of this is true. i think i am the first (or one of the first) person to boot openbsd on a actual phone.

some details about this setup:

phone model: asus zenfone3 (ZE520KL)

cpu: snapdragon 625

i got it working with chainloading, it's something like this: aboot → lk2nd → U-Boot → OpenBSD

currently this is working: screen and usb
currently it's not on github or any where but it will be uploaded soon.

(if any of you zenfone3 owners are reading this, here's my guide to unlock the bootloader https://github.com/proshiv85-byte/UnlockZenfone3 )


r/openbsd • • 13d ago

Daily driver use: practical concerns

25 Upvotes

Dear r/openbsd,

I've been using the OS since around 5.5 on a number of my servers, and I've always greatly enjoyed it. Such an amazingly awesome OS.

Recently I've been seriously considering running it as a daily driver on my Thinkpad with a Ryzen 4750U inside, but there are some practical concerns that worry me.

I would like to hear from those of you who have been running it as a daily driver for a while.

Most of the online world is web-based, so Slack, Teams, whatever, none of that should be a problem, with Firefox and Chromium in the package repos. Correct?

How do you deal with exchanging files? From what I gather reading from, and writing to, fat32/ext4 from OpenBSD, and ffs2 from Linux, is cumbersome and hacky and incomplete functionality - how do you solve the problem of flash drives, mounting the other dual-booted OS's drive to fix things, etc?

Thank you very much for giving me some perspective on this.


r/openbsd • • 13d ago

Dependency

Post image
15 Upvotes

When im trying to update,this pop up and say cant update. Can someone explain this to me and help me pls?


r/openbsd • • 13d ago

OpenBSD on a Thinkpad T60

14 Upvotes

Was searching around for laptops with 'taller' monitors and it looks like the T60 was the last thinkpad with a 4:3 monitor. I have an old one in the basement -- digging it out for a Sunday afternoon workout. I expect I can use it for most of daily tasks -- documents / spreadsheets and browsing (dont really care about streaming videos etc)

Anyone running on a T60 these days ?

UPDATE 11/12 - After upgrading the CPU to 64bit (T7600) I was able to install 8.0 amd64 with the packages needed. Everything "works" out of the box after the install. Will max out the RAM to 3g and if only there was way to control the fan noise......Definitely will not replace my current daily driver ...but works in a pinch and of course a head turner on the daily transit.


r/openbsd • • 14d ago

OpenBSD after one week.

101 Upvotes

Hello everyone. I'm currently using OpenBSD 8.0 on my Thinkpad T420 for about a week now. I am just LOVING how this system feels. It's just stable and polished. The only problem i had was about UVM memory envolving firefox, but i solved it myself by putting the process count on 1. I'm currently using CWM, and, honestly, i'm veeeery satisfied. The wifi just works great, hibernation and brightness are perfect. I REALLY DON'T WANT GOING BACK TO LINUX OR FREEBSD!! My daily uses on my laptop basically are:

-A browser (watching videos, reddit, chatting on forums, youtube music, reading docs...);
-A PDF viewer like Zathura;
-Terminal (currently using XTERM);
-Other simple stuff (File Manager (nnn), xclock, etc).

I loved the community too. In that first week, you guys helped me a lot on understanding the system and troubleshooting problems. Special big thank you for u/linetrace and other guys for explaining me the basis and pointing me the correct documentation. Big thx.

A screenshot of my current setup:


r/openbsd • • 14d ago

OpenBSD refuse to boot

Thumbnail
gallery
22 Upvotes

I installed OpenBSD 8.0 on this i386 machine with the sets pulled from ftp.openbsd.org. I let the default autolayout disk setup and didn't used disk encryption. When asked if I wanted X, I replied yes, and also yes when asked if I want Xenodm to launch X. First picture is the last thing I see before my screen turn off. Second picture is detail about my hardware. Note : even though the screen turn off, the power button light stay on and the fans also keep rotating. If someone could help me, it would be nice.


r/openbsd • • 14d ago

I intend to migrate to OpenBSD, but I want to confirm certain doubts I have about drivers.

20 Upvotes

After I started using FreeBSD on my PC, I wanted to use FreeBSD on my laptop, but it doesn't have Wi-Fi support, so I gave up. But a friend of mine said that OpenBSD fully supports my laptop, so I did some research:

It's a Lenovo Thinkpad E14 Gen 7 - AMD

APU - Ryzen 5 220 + Radeon 740M. From what I've read, it seems to support OpenBSD normally. Has anyone used OpenBSD on hardware with this APU?

Ethernet - Realtek RTL8168, already works on FreeBSD, and on OpenBSD as well, from what I've read, so I have no doubt it will work.

Wi-Fi (my biggest concern) - MEDIATEK MT7922, from what I understand, the mwx driver is what supports my Wi-Fi chip, but it seems it was only tested on the MEDIATEK MT7921, and it's also unclear if it's already available in OpenBSD 8.0 or only from OpenBSD 8.1 onwards.

Could someone who uses OpenBSD or follows the project more closely clarify this? Thank you for your patience!


r/openbsd • • 15d ago

iwx firmware on 8.0

13 Upvotes

I used a USB drive to get the firmware fw_update worked normally and ls /etc/firmware/iwx* does give me all the files is this a problem on 8.0?

I keep getting iwx0: could not load firmware, 35

iwx0: failed to load init firmware


r/openbsd • • 15d ago

OpenBSD 8 macppc packages

15 Upvotes

I’ve been trying to install things on OpenBSD installed on a ppc mac, but it says it can’t find the packages.

My network connection works fine so I checked the FTP server and a my surprise, there are no macppc packages. (https://ftp.openbsd.org/pub/OpenBSD/8.0/packages/ there should be a folder called powerpc)

Does anyone know why they aren’t there? Will they be back?


r/openbsd • • 16d ago

I have installed OpenBSD on my iBook G4! It's somehow slightly more usable than I thought it would be lol

Post image
202 Upvotes