원문 캡처 · marc.info
원문 캡처 · marc.info

OpenBSD 포트 제안으로 Wine 초안이 공개됐다. 제안자는 64비트 윈도우 프로그램 수십 종을 시험해 대부분 성공적으로 실행했지만, 32비트 프로그램은 아직 지원하지 않는다고 밝혔다.

이번 포트는 %gs 레지스터의 베이스를 설정할 수 없는 문제를 우회하기 위해 명령어에서 %gs 접두사를 에뮬레이션하는 방식을 쓴다. 작업은 여러 기여자가 함께 진행했으며, 핵심 작업은 Andrii와 Fabien이 맡았다. 배경과 논의는 OpenBSD 기술 메일링 리스트의 관련 글과 Wine에 대한 관심을 다룬 글에서 확인할 수 있다.

테스트한 프로그램에는 지난달 출시된 The Witcher 3 리마스터도 포함됐다. 다만 이를 실행하려면 vkd3d-proton을 추가해야 하며, 자세한 내용은 포트의 README에 안내돼 있다. 제안자는 게임 화면과 실행 사례를 첫 번째, 두 번째, 세 번째 게시물과 실시간 방송 녹화, The Witcher 3 실행 영상으로 제시했다. 영상은 시스템에서 ffmpeg로 녹화한 탓에 실제보다 덜 부드럽게 보일 수 있다고 덧붙였다.

가장 큰 제약은 WoW64가 작동하지 않아 32비트 윈도우 프로그램을 실행할 수 없다는 점이다. 파일의 비트 수는 file(1) 명령으로 확인할 수 있으며, 출력에 Intel 80386 32-bit가 표시되면 32비트 프로그램이다. 내장 테스트도 현재 비활성화돼 있다. 테스트에는 X 서버 접근이 필요하고 일부 테스트가 멈추는 문제가 있지만, 제안자는 실제 프로그램과 게임을 시험할 때는 그런 현상을 보지 못했다고 밝혔다. 내장 테스트 문제는 계속 작업 중이다.

시험을 원하는 사람에게는 비교적 간단한 64비트 프로그램인 Notepad++가 제안됐다. 포트는 위험을 감수하고 사용해야 하는 소프트웨어이며, 격리 방법을 검토하는 동안에는 별도의 비관리자 계정을 사용하는 편이 좋다고 제안자는 권고했다. Notepad++는 휴대용 64비트 버전에서 받을 수 있고, Wine의 보안 관련 안내는 FAQ에서 확인할 수 있다.

부록: 원문 예시

text
[prev in list] [next in list] [prev in thread] [next in thread] 

List: openbsd-ports
Subject: emulators/wine
From: Thomas Frohwein <tfrohwein () fastmail ! com>
Date: 2026-10-18 22:08:43
Message-ID: 20261018150843.271e0c06 () babcom6 ! home ! arpa
[Download RAW message or body]

Hello,

In what might the most surprising port proposal of the year, I'm proud
to present a new port for wine. This has been a collective effort,
after some of the prodding at the %gs/gsbase question (see thread [1]).
The gates swung open with Andrii's software solution to the %gs issue -
explanation to me: "can't set gsbase, so we are emulating %gs prefix on
commands". Overall, the heavy lifting was done by Andrii and Fabien - kudos.

Turns out there is a ground-swell with interest in wine [2], different
than even 5-10 years ago because a lot of Windows software has since
moved to being 64bit.

We have since tested several dozens of 64-bit Windows software, mostly
successfully. See screenshots at [3][4][5], livestream recordings at
[6] for example. Even the Remaster of The Witcher 3 which released just
last month runs, and runs well (requires adding in vkd3d-proton; see
README; livestream at [7] which looks less fluent than it is due to
the on-system recording with ffmpeg).

Biggest limitation is that WoW64 doesn't work, so 32bit Windows
software is still a no-op. You can check .exe/.dll easily with file(1)
- if it says something like "MS-DOS executable PE for MS Windows (GUI)
Intel 80386 32-bit", then it's 32-bit.

The builtin-tests are disabled for now. Enabling them is pretty
involved as they need access to the X server and multiple tests still
hang, however that was not observed in the real life testing with a
good number of games. This is still being worked on.

For those who wish to test it, I suggest Notepad++ as a small, fairly
straightforward piece of 64-bit Windows software [8]. Note that this
is (as always) run-at-your-own-risk software (see [9]). Consider
setting up a separate, non-privileged user for this until we can
explore if some fencing in, potentially with unveil(2) can be done.

Appreciate testing of the port draft and contributions by: brynet@,
bentley@, pertho (on irc.libera.chat #openbsd-gaming), vl_ms

ok?

[1] https://marc.info/?l=openbsd-tech&m=179067466617674&w=2
[2] https://marc.info/?l=openbsd-tech&m=179070170845285&w=2
[3]
https://old.reddit.com/r/openbsd_gaming/comments/1x4e7fi/some_samples_from_wip_wine_port/
 [4]
https://old.reddit.com/r/openbsd_gaming/comments/1x5yxpu/more_wineonopenbsd_screenshots/
 [5]
https://old.reddit.com/r/openbsd_gaming/comments/1x7z2ry/even_more_wineonopenbsd_proof/
 [6] https://video.gamerstavern.online/w/8tjjFRDtGJQZwxfE4ojVoC
[7] https://video.gamerstavern.online/w/oZcTRKL5JMiU4M4FqGKcNH
[8]
https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v8.9.8.1/npp.8.9.8.1.portable.x64.zip
 [9]
https://gitlab.winehq.org/wine/wine/-/wikis/FAQ#is-wine-malware-compatible

[Attachment #3 (application/x-compressed-tar)]

[prev in list] [next in list] [prev in thread] [next in thread]