Skip to content

Make open.mp work in LINUX! - #445

Merged
AmyrAhmady merged 2 commits into
openmultiplayer:masterfrom
itsneufox:master
Oct 24, 2026
Merged

AmyrAhmady merged 2 commits into
openmultiplayer:masterfrom
itsneufox:master

Conversation

@itsneufox

@itsneufox itsneufox commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Ladies and gentlemen, we got him. 🐧

Changes

  • Added Wine detection and automatic compatibility fixes.
  • Enabled software rendering and fixed black borders and rounded corners.
  • Fixed the cursor getting stuck in resize mode.
  • Added a warning when WebView2 is missing.
  • Disabled unused file drop handling to prevent crashing under Wine.
  • Applied compatibility fixes to the in-game overlay but it doesn't work at the moment.
  • Fixed excessive CPU usage caused by Tokio's UDP readiness polling under Wine by using blocking sockets via spawn_blocking. Native Windows keeps the original implementation as is

Testing

Tested on: CachyOS (Arch-based), KDE Plasma, Proton-CachyOS 11.0 via umu-launcher, WebView2 156.

  • Launcher starts, server list loads, input works smoothly, and idle CPU usage remains low (~0.3 s CPU time per 10 s).

Not yet tested on other Linux distributions/Wine versions, and native Windows.

In-game overlay doesn't work.

Development note

This PR was developed with AI assistance for Rust code. I've reviewed and tested the changes, but my Rust knowledge is limited (Almost 0 tbh), so I'd appreciate a review from someone more experienced with Rust.

@AmyrAhmady
AmyrAhmady merged commit 3a354ac into openmultiplayer:master Oct 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants