Comments (5)
Hey! Thanks for the investigation. A rebuilt snap with qtwayland5
is already available on the edge
channel. I was able to reproduce the issue on a Plasma Wayland session on Kubuntu 19.04 (kde 5.16.3).
$ moonlight -platform wayland
Noticed the Qt Debug: Using Wayland-EGL
message and tried with -platform wayland-egl
, with an almost identical output, and the added Qt Warning: Cannot find EGLConfig, returning null config
:
$ moonlight -platform wayland-egl
00:00:00 - SDL Info (0): Compiled with SDL 2.0.8
00:00:00 - SDL Info (0): Running with SDL 2.0.8
00:00:00 - Qt Debug: Using Wayland-EGL
00:00:00 - Qt Warning: EGL not available
00:00:00 - SDL Info (0): Detected Wayland. Performance may be worse than X11.
00:00:00 - Qt Info: Found "gamecontrollerdb.txt" at ":/data/gamecontrollerdb.txt"
00:00:00 - SDL Info (0): Loaded 149 new gamepad mappings
00:00:00 - SDL Error (0): Failed to create window for hardware decode test: failed to create a window surface
00:00:00 - Qt Info: Found "gamecontrollerdb.txt" at ":/data/gamecontrollerdb.txt"
00:00:00 - SDL Info (0): Loaded 149 new gamepad mappings
00:00:00 - Qt Warning: Cannot find EGLConfig, returning null config
00:00:00 - Qt Debug: Using the 'xdg-shell-v6' shell integration
(...)
00:00:00 - Qt Warning: "Object path cannot be empty"
00:00:00 - Qt Debug: Current Moonlight version: "1.0.1"
00:00:00 - Qt Warning: Cannot find EGLConfig, returning null config
00:00:00 - Qt Warning: QWaylandGLContext: failed to create EGLContext, error=3008
00:00:00 - Qt Fatal: Failed to create EGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 1, profile QSurfaceFormat::OpenGLContextProfile(NoProfile))
Installing with --devmode
makes no difference, so I guess it's not an issue with confinement permissions.
Unsure how to debug/fix this atm. Might need help from someone more familiar with wayland and/or snaps, honestly.
from moonlight-snap.
Thx for taking a look and good to know that it's a reproducable issue.
I tested a bit with the flatpak release. Wayland is by far not a productive to use solution at this moment. Too many bugs. I'm fine using x11 as main session for now.
from moonlight-snap.
I root-caused the issue to __EGL_VENDOR_LIBRARY_DIRS
not being set properly, so no EGL implementation could be found. It turns out that the Qt5 Wayland breakage was already reported as ubuntu/snapcraft-desktop-helpers#172 and I've submitted a PR to fix it ubuntu/snapcraft-desktop-helpers#194
from moonlight-snap.
Brilliant! Thanks @cgutman.
from moonlight-snap.
@maxiberta After fixing the EGL issue, I now hit https://bugs.launchpad.net/ubuntu/+source/intel-vaapi-driver/+bug/1813131 which breaks VAAPI hardware decoding on Wayland.
from moonlight-snap.
Related Issues (17)
- h.264 video decoder not detected HOT 10
- Migrating to Core20 HOT 14
- Core20: VDPAU broken on AMD GPUs HOT 2
- Moonlight stopped working after update HOT 4
- Use newer version of SDL for better Wayland support HOT 1
- Moonlight Snap not working with Nvidia drivers installed (Ubuntu 21.10) HOT 3
- Dependency updates and libdecor support HOT 3
- Snap isn't working on Wayland HOT 3
- Scrolling crashes on Ubuntu 22.10 (edge) HOT 2
- Hardware video decoding not detected on Ubuntu 20.04.6 with X11 and Intel HD graphics HOT 9
- Request joystick plug auto-connection HOT 6
- There is windows ARM64 binary release but not Linux (in snap) HOT 2
- Snap installation not working HOT 17
- Feature request: change the audio Device used HOT 1
- libvdpau_nvidia.so seems missing HOT 7
- mDNS broken with AppArmor denials for AF_NETLINK since update to Qt 5.14 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moonlight-snap.