logoalt Hacker News

Wine ported to OpenBSD

435 points • by iamnothere • today at 1:35 PM • 143 comments • view on HN

Comments

t-3 • today at 3:20 PM

https://marc.info/?l=openbsd-ports&m=179241414029592

> I doubt much will be merged upstream. Many updates we have can technically run on other OSes (%gs stubs won't be built on Linux because %gs is correctly set, SIGUSR1 will work but less optimally, etc). However I picked an approach where everything that is done for OpenBSD is just marked as OpenBSD only. I did that purely to simplify my life while I was working on it and clearly mark the changes.

> When I was talking to Wine maintainers a month ago, they were hesitant to accept even patching Wine so it compiles for OpenBSD, mostly because it's another OS they will have to support and keep operational, while the %gs stub fix is something they definitely cannot take upstream. They are very hesitant to take anything that is changing the "emulated" application code.

RunSet • today at 2:57 PM

Especially welcome news now that OpenBSD is shaping up to be a refuge from slopcode.

https://marc.info/?l=openbsd-tech&m=177411620801633&w=2

➕ show 2 replies
ataraxia937 • today at 3:44 PM

I find it amusing and appropriate that the surname of the author of that message is Frohwein. "Happy wine" in German.

➕ show 2 replies
philipallstar • today at 3:17 PM

Missed opportunity to call it Port.

StarlaAtNight • today at 8:20 PM

I wish every post like this had an intro section that said:

“what is {insert obscure tech thing}”

“why do people typically use {insert obscure tech thing}”

➕ show 1 reply
brynet • today at 3:18 PM

I OK'd this port. I apologize in advance.

Xunie • today at 5:59 PM

2026 is finally the year of the BSD gaming desktop!

BlackRabbit1 • today at 3:00 PM

Finally I can run Zonealarm on OBSD

➕ show 1 reply
simonw • today at 3:57 PM

OpenBSD apparently still uses CVS. I found this GitHub mirror of their ports repo which has the new wine port: https://github.com/openbsd/ports/tree/master/emulators/wine

That has a static import from 13 hours ago. Anyone know if this wine port has its own repository somewhere else tracking the history of the development effort?

➕ show 4 replies
yass0 • today at 7:09 PM

I am sure this has something to do with all the PS5 jailbreak work that is massively happening recently.

Bluescreenbuddy • today at 2:51 PM

Good lord this is awesome

CodeCompost • today at 2:51 PM

That is awesome. I take it I can't run this with nVidia.

throwaway27448 • today at 2:48 PM

Out of curiosity, how much work/what sorts of openbsd-specific details must be addressed to get such a port working?

➕ show 1 reply
kogasa240p • today at 7:16 PM

Impressive! Wonderful to see that the BSDs are getting love these days.

ericfrederich • today at 2:51 PM

My first thought was this must have something to do with the development momentum around the PS5 but that apparently runs FreeBSD not OpenBSD.

imagetic • today at 3:32 PM

Yes. More of this.

shevy-java • today at 4:04 PM

Now the BSDs are not so popular compared to Linux, but I think this is great news as more eyes help here. Let's have EVERYTHING from windows portable towards linux. (I struggled with the 32-bit versus 64-bit stuff; this should also be a prime goal for wine to make this a trivial super-easy to solve thing for linux in general. Back then when I ran into this issue, it was not trivial to solve.)

raverbashing • today at 3:40 PM

I wonder what's the state of 3D/OpenGL support on OpenBSD or if the games run into too many problems here

➕ show 2 replies
j45 • today at 3:36 PM

I remember reading once how far away something like this way to work - for all the time that BSD has kept servers and networks safer than other options, it's nice to see things like WINE making it there as well.

Its hard to not think of the possibility that BSD might offer new or different advantages to keeping legacy windows applications safe until there is a willingness to adopt or develop alternatives.

saurilabs • today at 3:22 PM

This is awessome!

ndbe • today at 2:42 PM

Insane work!

There's even the remaster of The Witcher running! If I had money I would simply gift to those guys.

curatedmcp • today at 4:17 PM

[flagged]

hahahoo • today at 3:16 PM

[flagged]

rskeens • today at 3:03 PM

[dead]

qwe-se-123 • today at 4:52 PM

[dead]

ryanschneider • today at 8:04 PM

Semi-related, but I was just thinking today I wonder what sort of performance improvements, if any, one could see by having one of the frontier models build a operating system from scratch that targets the subset of imports WINE uses as the standard library? Basically, build whatever syscalls (or shims) WINE and the open source vulkan drivers need and nothing more.

Probably outside the scope of what an individual could pull off on thier own in a reasonable time, but I could totally see for example Valve considering that approach for a later iteration of SteamOS.