Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some applications won't launch #358

Closed
amatsagu opened this issue May 19, 2024 · 3 comments
Closed

Some applications won't launch #358

amatsagu opened this issue May 19, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@amatsagu
Copy link

amatsagu commented May 19, 2024

System Information

  • niri version: niri 0.1.6 (v0.1.6-2-g56e02a3)
  • Distro: Debian GNU/Linux 12 (bookworm) x86_64
  • GPU: integrated graphics [Vega 7]
  • CPU: Ryzen 5 5600G

Info

Hey, I'm just trying out Niri (I really like scrolling concept). I've successfully completed and copied files to correct places following building guide. I've tried launching few apps that I use and some of them work and some don't:

Apps that work fine:

  • Waybar
  • Fuzzel
  • Foot (tho it has weird bar at the top)
  • Spotify (even weirder top bar)
  • Google Chrome
  • Visual Studio Code
  • Bottles
  • PulseAudio Volume Control
  • HSR custom client
  • Files & Disks (from Gnome)

Apps that fails to launch? (never spawn window)

  • Oracle VM VirtualBox [xwayland on Sway]
  • Termius [electron, native wayland with flags]
  • Gimp [xwayland on Sway]
  • Boxes [native wayland]
  • MultiMC 5 [native wayland] (it's a custom, QT based launcher for easier modding minecraft, didn't try official MC client yet)

I normally use Sway for everyday work and all higher listed apps works just fine there. I assume they just miss something during initialization but idk, I'm not too knowledgeable with Wayland. I hope this report will help finding some bugs.

Edit: No clue if it's helpful but I ended session (Super + Shift + E) and niri produced it seems only normal logs, there were no warnings or errors.

@amatsagu amatsagu added the bug Something isn't working label May 19, 2024
@songww
Copy link

songww commented May 19, 2024

Gimp works with Xwayland/xwayland-satellite/gamescope on my machine, but not cage.
Boxes works fine.

I don't have any other apps.

@lpnh
Copy link
Contributor

lpnh commented May 20, 2024

There's a useful section on the Wiki discussing X11 applications. In addition, you can try the following flags to run Electron-based apps: --ozone-platform-hint=auto and --enable-features=WaylandWindowDecorations, or --ozone-platform=wayland if the previous two don't work.

@YaLTeR
Copy link
Owner

YaLTeR commented May 20, 2024

Hey, yeah, it probably mostly comes down to some apps requiring Xwayland. Some apps even don't really need Xwayland, but still call into it at the moment, so you may get away with spawning an Xwayland instance and giving the app both WAYLAND_DISPLAY and DISPLAY.

Also, GIMP beta is Wayland-native so it works fine, and Boxes works fine here too. The official MC client I run inside rootful Xwayland.

Closing because this isn't really a niri issue; feel free to keep discussing (or to ask on our Matrix).

@YaLTeR YaLTeR closed this as not planned Won't fix, can't repro, duplicate, stale May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants