Opening Ryujinx on Wayland
See original GitHub issueBug Report
N/A
What’s the issue you encountered?
Running Ryujinx under wayland, Ryujinx crashes.
Wayland do not have access to Display or primary monitor.
This change allows Ryujinx to run:
diff --git i/Ryujinx/Ui/MainWindow.cs w/Ryujinx/Ui/MainWindow.cs
index 53a44818..0e516010 100644
--- i/Ryujinx/Ui/MainWindow.cs
+++ w/Ryujinx/Ui/MainWindow.cs
@@ -123,8 +123,8 @@ namespace Ryujinx.Ui
ThemeHelper.ApplyTheme();
// Sets overridden fields.
- int monitorWidth = Display.PrimaryMonitor.Geometry.Width * Display.PrimaryMonitor.ScaleFactor;
- int monitorHeight = Display.PrimaryMonitor.Geometry.Height * Display.PrimaryMonitor.ScaleFactor;
+ int monitorWidth = 0;
+ int monitorHeight = 0;
DefaultWidth = monitorWidth < 1280 ? monitorWidth : 1280;
DefaultHeight = monitorHeight < 760 ? monitorHeight : 760;
How can the issue be reproduced?
Run Ryujinx under wayland
Log file
N/A
Environment?
- Ryujinx version: 1.0.0-dirty
- System Specs:
- OS: linux
- CPU: i7
- GPU: nvidia
- RAM: 16GB
- Applied Mods : No
Additional context?
get monitor number size and scale with gtk and wayland No monitor report by Gdk on wayland
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:8 (4 by maintainers)
Top Results From Across the Web
[Bug] Missing native Wayland support · Issue #5566
Ryujinx still runs on XWayland warning Applicatio... ... [Bug] Missing native Wayland support #5566. Open ... Launching Ryujinx in a Wayland environment ...
Read more >Ryujinx is really really good on Linux : r/linux_gaming
That's weird, I have a 6800XT and I can't run Xeno DE and FE3H at all on Yuzu while on ... X11 vs...
Read more >Progress Report November 2022
A final boon to any Linux users; Ryujinx can also now boot in Wayland directly, if setting two-hundred environment variables wasn't to your ......
Read more >Skyline and Ryujinx Emulator Improvements NordVPN goes ...
... initial steps for Wayland 4:30 NordVPN goes partially open source 5:24 Voultar quick WiiU fix with a PICO Sources: https:// ryujinx.org/ ...
Read more >AUR (en) - ryujinx-git - Arch Linux
Install the [7.0.200] .NET SDK or update [/home/geher/.cache/paru/clone/ryujinx-git/src/Ryujinx/global.json] to match an installed SDK.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@andercard0 yes, the PR #3516, but emulation will break.
is your best workaround right now
Of course after that games fails due to x11 implementation: