r/openbsd_gaming • • May 18 '25

Half-Life 2 game on OpenBSD.

Thumbnail
gallery
103 Upvotes

The main problem with porting was the paranoid memory allocator in OpenBSD. To be on the safe side, it lacks the malloc_usable_size function, which is heavily used in Source Engine. There were two options. Add your own memory allocator to the game engine, like it is done in Firefox, or add this function to the Libc system library (stdlib). Since the second option is simpler, I used it. After patching and rebuilding the Libc system library, the game started working.

youtube @tx10101xt


r/openbsd_gaming • • Oct 06 '26

Original Quake running on bare OpenBSD console (no X, no Wayland, no SDL)

Thumbnail
gallery
96 Upvotes

For a fun challenge I decided to port the original Quake 1.0.9 source release to the OpenBSD console with no X, Wayland or SDL. The above shows screenshots from my fully working port that I’ve played end to end. This uses inteldrm, with an efifb fallback. Sound is done with sndio. The original code needed very few fixes (mostly around basic checks for networks being down and one or two changes needed for modern C). I haven’t yet gotten mouse or CD music working but fairly close to completing both. As a future project I’m looking to implement some of the standard OpenBSD ideas like privsep etc because I think a security hardened Quake would be another fun project. Kudos to the original id software team for writing such portable code.


r/openbsd_gaming • • 27d ago

Among Us running on OpenBSD, via legendary+wine

Post image
86 Upvotes

r/openbsd_gaming • • Oct 14 '26

more wine-on-OpenBSD screenshots

Thumbnail
gallery
82 Upvotes

It's still work-in-progress. Not everything works, and 32-bit stuff won't work period.


r/openbsd_gaming • • Oct 17 '26

Even more wine-on-OpenBSD proof

Thumbnail
gallery
77 Upvotes

r/openbsd_gaming • • Oct 15 '26

Minecraft 1.16.5 at a somewhat stable 100+ fps on OpenBSD 8.0 (300+ when ffmpeg is not running)

70 Upvotes

I know the graphics and view distance are very low but i can still get probably get the same performance at higher settings when not recording.

[TUTORIAL]

this is a very simple tutorial, all you have to do is turn v-sync on or off ( doesn't really matter if you don't need above your monitor's refresh rate ) and set fps to 120+ ( ESSENTIAL ) i also recommend using performance focused mods.


r/openbsd_gaming • • Oct 12 '26

Some samples from WIP wine port

Thumbnail
gallery
56 Upvotes

This is being worked on, thanks to u/NethIafin who broke new ground.

All screenshots taken by me on OpenBSD-current. These games seem to mostly work on brief testing.


r/openbsd_gaming • • Apr 28 '22

Minecraft 1.16.5(and more) with microsoft accounts on openbsd 7.1

Post image
56 Upvotes

r/openbsd_gaming • • 22d ago

A month with OpenBSD wine

52 Upvotes

After a few tumultuous weeks of putting together a port of wine and testing a fair number of games with it, I would like to share a summary to help people understand what the new possibilities and limitations are.

TLDR: Many games work now, provided you make sure that you only pick 64bit Windows games and nothing with (real) DRM.

Getting games through GOG.com is probably the most dependable way, as they are (generally) DRM-free and can be downloaded via your browser. Epic store games work rather well by getting them with legendary (in packages) and launching them with legendary or rare-launcher, which can also take care of the Epic games services integration. Steam is a bit more finnicky - you can run the 64bit Steam client via wine-steam from wine-extras package, but you need to tweak login.conf(5) limits. See my suggested approach for setting up a dedicated user for this and gaming in general.

Among the people in the general #openbsd-gaming orbit, we've tested dozens of games from the last decade plus by now. On my system with an RX 9070 card, using DXVK and vkd3d-proton in the wine prefix, performance has generally been decent, but I don't really have a comparison with Linux. A few of the games have built-in benchmarks (see pcgamingwiki's list for example) - a potential avenue to do systematic benchmarking and performance comparison with other operating systems in the future. I have a report of about 30-50% less performance than on Linux by someone who compared Transport Fever 3, but I don't know if this was run with a Vulkan backend. A reasonably noticeable issue is the audio lag - I estimate the delay around 100ms which is noticeable when you pay attention to it, but not necessarily unplayable. A future reworking of the audio backend, potentially to use sndio directly rather than pulseaudio, might improve this.

There seems to be an issue with the language/locale selection. Steam menu's sometimes glitch out with an error about timezone Etc/Unknown being unrecognized. This seems to be fixed with setting TZ variable in the environment (but that's not a good solution for the long-term, so don't get too reliant on this workaround). Some games also don't seem to recognize the correct language... not a misrecognition, but what appears to be a lack of recognition and fallback to whatever language is the default when detection fails, I think. That's because, without changing anything on my system, most games launch in English, but I've had games launch in Russian, Polish, Chinese, French, German, Portugueses... We haven't found the root cause yet, and environment variables like LC_ALL or LANG don't seem to have an effect on this...

Some games like Half-Life 2 or Crysis don't launch, with errors or silently. More work is needed to see where those fail. And I've had hangs/freezes with a few games on max settings: Batman: Arkham Knight, Mad Max, Sleeping Dogs Definitive Edition. This might be a vulkan backend issue; running with medium graphics settings seems to generally solve this.

To round this off, here a non-comprehensive list of games that I have launched personally, or have reports and/or screenshots from others who ran them with wine on OpenBSD:

  • Alan Wake Remastered

  • Among Us (Epic store version, via legendary)

  • Batman: Arkham Knight (GOG version only; Epic store version doesn't launch for me; medium graphics settings to avoid freeze/hang)

  • Batman: The Telltale Series

  • Call of Cthulhu

  • Civilization VI

  • Control

  • Crypt of the Necrodancer

  • Cult of the Lamb

  • Cyberpunk 2077 (doesn't work for me currently, but someone else got it to run ... with a few graphics glitches)

  • Darksiders II Deathinitive Edition (poor performance)

  • Death Stranding

  • Deus Ex: Mankind Divided

  • Dishonored 2

  • Disco Elysium

  • DOOM (2016)

  • Dying Light Enhanced Edition

  • The Elder Scrolls: Skyrim SE (reported that it's buggy though)

  • Elite Dangerous (ran it via Steam)

  • Enter the Gungeon

  • EVE Online

  • Factorio

  • Frostpunk

  • Hollow Knight

  • Hollow Knight: Silksong

  • Just Cause 3

  • Kingdom Come: Deliverance

  • Legacy of Kain: Soul Reaver 1&2 Remastered

  • Mad Max

  • Manor Lords

  • Middle-Earth: Shadow of Mordor/Shadow of War (the latter needs mfc140u.dll from vc_redist.x64.exe)

  • Monument Valley

  • Mosa Lina

  • Oxygen Not Included

  • Papers Please

  • Pizza Tower

  • Prey (2016)

  • Redout: Enhanced Edition

  • Reigns

  • RimWorld (needs some fonts installed; probably best launched with wine-steam from wine-extras)

  • Romancing SaGa 2 & 3

  • Sea of Stars

  • Shadow of the Tomb Raider

  • Sleeping Dogs Definitive Edition

  • Songs of Silence

  • Stardew Valley

  • Stellaris

  • Streets of Rogue

  • Super Meat Boy Forever

  • Team Fortress 2

  • Timberborn

  • Transport Fever 3

  • Tunic

  • UFO 50

  • Valheim

  • Vampire Survivors (Epic game store version, via rare/legendary)

  • The Witcher 3 (Classic runs very well; Remastered is fairly low framerate on my RX 9070 system)

  • The Witness

  • World of Goo

  • World of Horror

  • XCOM 2 (only works correctly by using the binary from XCom2-WarOfTheChosen)

  • Zero Sievert

There are probably many more games that we haven't touched yet, but this list shows that some triple-A and triple-I gaming is now possible on OpenBSD.


r/openbsd_gaming • • May 18 '25

idTech4A++ Engine on OpenBSD.

Thumbnail
gallery
51 Upvotes

idTech4A++ Engine provided games: Doom3, Prey, Quake 4.

OpenBSD does not support OSS and ALSA, which are in the original port of idTech4a. And in the original port of idTech4a. instead of support for OpenAL, there are stubs with empty functions. I had to look through the original code of Dhewm3 and transfer the sound system only to OpenAL, excluding ALSA and OSS. Also OpenBSD does not support /proc, so some functions were taken from the libcpuid library to get a real TSC. There were many other more minor problems, but they took less time.

youtube @tx10101xt


r/openbsd_gaming • • Oct 18 '26

New port: wine

Thumbnail marc.info
50 Upvotes

After a few weeks of intense work... It was a group effort; see the email.


r/openbsd_gaming • • 25d ago

Coming Soon - Minecraft 26.3

Post image
49 Upvotes

r/openbsd_gaming • • Oct 20 '26

Deltarune on OpenBSD thanks to new wine port

Post image
49 Upvotes

r/openbsd_gaming • • Oct 05 '26

Hollow Knight on Wine on OpenBSD

Thumbnail
gallery
46 Upvotes

My laptop unfortunately is with NVidia GPU, and in general GPU issue is quite big for my tests.

I had to pick small window size and also work with some crazy stuttering.

Arrow keys didn't work so I had to rebind all my keys to letters - recorded that in the list of the issues I have with wine.

Also intro cinematic was completely black/blank with heavily stuttering sound in the background. Codec issue? Or maybe again... GPU issue.

This was installed via Steam.

Laptop: Asus UX303UL
OpenBSD: 8.0 stock (haven't updated yet to official OpenBSD 8.0, running a Sep 26th release, too scared to update)
DE: CWM

People that are smarter than me are pulling apart my update, finding places where I am stupid, and hopefully someday we will have it working.

Edit: I might want to try and check if SMT would make it more bearable.
Edit2: Found why arrows don't work - OpenBSD uses xfree86

I do have a question, anyone knows where I can find drivers for NVidia for 2014 GPU? No? Fkn NVidia...


r/openbsd_gaming • • Jan 24 '21

AAA Gaming on OpenBSD with Google Stadia

Thumbnail
youtube.com
41 Upvotes

r/openbsd_gaming • • Aug 20 '20

Btw there are games on OpenBSD

Post image
41 Upvotes

r/openbsd_gaming • • 29d ago

I got dagger directive running on openbsd :D

Post image
39 Upvotes

Its actually playable i wonder if multiplayer works, all of the lobbys are always privated if anyone owns this game and would like to test it please let me know id be down to hop into a game


r/openbsd_gaming • • Oct 21 '26

Holy shit

39 Upvotes

Wine and steam on openbsd? this is my true dream, to the developers and maintainer i'm gonna kiss you i never thought this would come


r/openbsd_gaming • • Jan 21 '21

Minecraft ≥ 1.13 working on OpenBSD

39 Upvotes

First off, huge thanks to /u/kmos-ports for his fork of LWJGL 3

I've managed to get Minecraft 1.16.5 to work on OpenBSD 6.8 -stable. Joining servers, audio, controls all work properly.

Instructions can be found at https://github.com/octeep/lwjgl3

Have fun :D

https://i.imgur.com/ElEgCRo.jpg https://i.imgur.com/IrtpiRM.png

Edit: Use kmos' repo instead of mine, https://github.com/kmosiejczuk/lwjgl3


r/openbsd_gaming • • Oct 07 '26

Original Doom running on bare console (no X, no Wayland, no SDL) + Easter Egg

Thumbnail
gallery
38 Upvotes

Following up on my recent port of Quake to the OpenBSD console, I’ve now ported Doom to the console as well. This was significantly easier than the Quake port since the release was a Linux conversion to begin with. One fun thing I always wanted to do was to implement the am_oids.c Easter egg (see: https://doom.fandom.com/wiki/Automap_asteroids). Screenshots above are from my fully playable implementation. I made it enter the Easter egg by going to automap and then typing “idroids” which opens up the game.


r/openbsd_gaming • • Jun 30 '19

Let's Play on OpenBSD: Diablo

Thumbnail
youtube.com
38 Upvotes

r/openbsd_gaming • • Oct 21 '26

Stable 360 FPS in gd

Post image
35 Upvotes

Wine port is generational


r/openbsd_gaming • • Apr 17 '22

OpenBSD Gaming Updates Q2 2022

35 Upvotes

It's been a little quieter on the subreddit for a while, but that doesn't mean that nothing is happening in OpenBSD gaming! With the final touches being applied before the OpenBSD 7.1 release, this is as good a time as any to give a bit of an overview of recent developments and useful resources.

Recent Changes of Interest

  • XBox One controller now supported. It is yet unclear if this extends to a whole class of controllers from different vendors, like with the XBox 360 gamepad.

  • Godot engine gamecontroller support. This is limited and incomplete, but it's a start. A huge number of indie games made with Godot are released every week; most of which work at least partially with an XBox {360,One} controller. You can follow This Week in Godot if you're interested.

  • The base database for the playonbsd shopping guide now is managed on GitHub.

  • hukadan made a JSON converter for the PlayOnBSD.com database. AFAIK not fully completed yet, but is a big step for people building other (and better) web interfaces.

  • The port of LibGDX is now multi-version, to expand support to more games. The scripts libgdx-setup and libgdx-run are now only for version 1.9.11. (more to follow on this topic soon...)

  • Python-based steamctl is now the best (and probably only) way to get games from a Steam account, besides multi-booting.

  • ScummVM 2.5+ now runs many AGS games like Unavowed, Technobabylon, etc.

  • A new FNA game was released in March, and it's a treat for JRPG fans: Crystal Project.

  • There have been a few Youtube videos and streams lately covering gaming on OpenBSD, like OpenRA. That's more than previously, but we are far from saturated. So for all the creators/streamers: Bring it on!

Currently being worked on

  • CSteamworks may be useful for some Steam distributions of games.

  • I'm looking into fixing running the Steam versions of Zachtronics games like Opus Magnum.

  • A more comprehensive, maintainable, and cross-platform launcher than fnaify is in the works by the name of IndieRunner. More to follow later in 2022...

  • steamworks4j is mostly ready for ports. This is needed by the Steam versions of many recently updated LibGDX games like Slay the Spire and Urtuk the Desolation.

  • A port of fheroes2 is essentially ready to be included in ports.

  • legendary is a CLI interface for the Epic Games Store that is also essentially ready.

  • I am working on several tricky ports that desperately need updates: thedarkmod, dolphin, and citra

Stalled Efforts

  • There are a number of XNA games that look for only a few Windows API functions that are non-portable, e.g. LoadCursorFromFile. I looked at Wine to see if some winelib functions could be used for that (rather than building all of wine which remains elusive), but that also didn't work out. If someone knows the wine codebase better and how to build an LD_PRELOAD library for a few Win API functions, this would be a big help to get more games working.

  • Mobius Front '83 has gamebreaking crashes. I have been unable to figure out what is causing them; suspecting something about the mono runtime...

  • The OpenAL-based implementation of FMOD is stuck, due to 1) I can't so far figure out how to fix the music restarting with every scene switch in Celeste, and 2) there is so far no solution to easily get the ID of the music tracks.

  • DXVK-Native and the game Perimeter. Perimeter is the one game I know of that's opensource and that uses DXVK-Native. I got it to run, but there was no support for any audio, making this pretty unexciting. This is still being worked on upstream, so maybe a DXVK-native port later and a port of perimeter will happen then...

Disappointments

Some bad news in recent months...

  • Sadly, Owlboy broke a while ago. There's no quick fix for now; I'll probably have to find a way to use a different version of FNA or the native libraries to fix this...

  • After running the demo of WarTales, albeit with an unplayably low framerate, I was excited about the release. Unfortunately, the release ended up using the closed-source audio library Wwise, so it is in an even worse position than Celeste...

  • After the FNA-based classic Rogue Legacy, the successor Rogue Legacy 2 is sadly made with non-free Unity.

  • Stardew Valley version 1.5.5 and later have switched to using the dotnet runtime instead of mono. We don't have dotnet. So try to keep a pre-1.5.5 version around, as many digital distribution sites don't keep old versions.

Areas of Interest

Not being worked at the moment AFAIK, but could be a good area to investigate for anyone wanting to get involved.

  • Game controller support for browsers (chromium, firefox). This would be useful for HTML5 browser games (there are many on itch.io), as well as streaming services like Stadia or NVidia Gefore NOW.

  • libgodotsteam-sdk.so needs an OpenBSD native library for some Godot games.

  • A dependable way to extract Unity scripts and resources. I've experimented with unitypy, but so far this doesn't work reliably. AssetStudio might be another way, but it's a C# project that doesn't run on OpenBSD so far.

  • There is an effort for an opensource GameMaker engine called OpenGMK. So far, it's only for Windows, though Linux support is planned.

  • There is always interest in keeping track of what works and what stopped working on OpenBSD, ideally to fix issues that creep up. There are too many games and too many moving parts of the ecosystem for a handful of people to keep track of everything, so get involved! Report here or on #openbsd-gaming on irc.libera.chat, via the GitHub project issues, or directly to me.

  • Lutris is a big and unwieldy project with apparently a substantial dependency on wine, but it's probably the most comprehensive opensource gaming launcher and client. It looks like modifying the project for OpenBSD and to find the subset of games that are runnable on this platform would be a big undertaking.

  • games/love, the lua-based engine, seems to not have backwards-compatible API. For better support going forward, this may need to become multiversion.

  • A couple of Godot games are opensource, like Hypnagonia. They could enter the ports tree with a Godot build system.

  • A working dotnet runtime seems far out of reach when you look at how FreeBSD is struggling. I expect that an increasing number of indie games will use dotnet instead of mono. I don't have a solution for briding that widening gap.

Resources

Besides the official OpenBSD resources like the mailing lists, here are a few resources particularly when it comes to following developments regarding commercial games on OpenBSD:

I probably forgot a few things and might need to amend the post later...


r/openbsd_gaming • • Oct 31 '21

Amnesia: The Dark Descent, amd64 package now available on OpenBSD -current

35 Upvotes

Happy Halloween!

This was teased last year on Twitter by me and namn@, but thanks to an effort to port the game to FreeBSD last month, we've finally submitted an official OpenBSD port for the horror cult classic, Amnesia!

It was recently committed, an amd64 package is now also available on mirrors:

Instructions are very simple (and included in /usr/local/share/doc/pkg-readmes/amnesia-tdd):

  • pkg_add amnesia-tdd

  • Copy game data to /usr/local/share/amnesia-tdd

  • Run Amnesia-tdd.

  • Bring a change of underpants. :-)

Stay tuned for an announcement of a possible streamed play-through of this game later tonight on Twitch.

The game requires data from Steam or GOG, which you must own.