Questions tagged [wayland]

Wayland is protocol for providing graphical output to Linux/Unix users. It is intended to be a lightweight alternative to the X11 subsystem.

Wayland is a protocol for a compositor to talk to its clients as well as a C library implementation of that protocol. The compositor can be a standalone display server running on Linux kernel modesetting and evdev input devices, an X application, or a wayland client itself. The clients can be traditional applications, X servers (rootless or fullscreen) or other display servers.

Source: wayland.freedesktop.org

Implementations

The later lists are not exhaustive and subject to a lot of change.

Server-side dedicated libraries and compositors

  • Weston: The reference implementation.
  • swc: A library implementing a minimal wayland compositor.
  • Waysome: (in progress) A window manager.
  • wlc: (in progress) A compositor library.
  • Loliwm: A tiling window manager based on wlc
  • Velox: A window manager based on swc.
  • Clayland: A clutter-based compositor.

Client

Graphical libraries supporting Wayland:
  • Gtk+
  • EFL
  • SDL
  • Clutter
  • Qt 5
Programming language supporting libwayland:
  • C
335 questions
3
votes
0 answers

How to run GNOME on Docker with Wayland

I want to try to run GNOME Desktop using Wayland on Docker. How to do it? There are some errors I have tried it with following Docker file. How do I run GNOME DESKTOP on Docker? Environments: Host OS - Arch Linux with Wayland Container - Ubuntu…
KiYugadgeter
  • 3,796
  • 7
  • 34
  • 74
3
votes
0 answers

Missing Wayland requirements for glamor GBM backend ('wl_drm' not supported)

When starting Xwayland to listen on TCP: Xwayland :1 -listen tcp -ac & ...I get some errors like: glamor: 'wl_drm' not supported Missing Wayland requirements for glamor GBM backend Failed to initialize glamor, falling back to sw I've installed all…
Iniesta8
  • 399
  • 2
  • 15
3
votes
2 answers

WPE WebKit Cog isn’t working: “Could not open EGL display”

I’m trying to run WPE WebKit on Ubuntu using VMware and host macOS, but I’m receiving the following error message: ➜ flatpak run org.wpe.Cog -P fdo http://www.example.com (cog:2): GLib-CRITICAL **: 09:34:38.938: g_source_destroy: assertion 'source…
macabeus
  • 4,156
  • 5
  • 37
  • 66
3
votes
1 answer

wxpython on Wayland is unable to interact with screen coordinates (move a window, GetScreenPosition, etc.)

I found this the hard way. I dove into source code of wx.lib.agw.aui.framemanager and tried to figure out why docking hints don't work properly. I have checked every step until in the very end of calculating a place to draw a hint there was a method…
yar
  • 71
  • 5
3
votes
1 answer

How am I supposed to support GNOME on Wayland with SDL2?

GNOME has chosen to not support server-side decorations under Wayland. That's okay, but I'm making a game in SDL, and I'd like first-class Linux support, including supporting running natively in Wayland (with SDL_VIDEODRIVER=wayland) under the…
mort
  • 704
  • 2
  • 9
  • 21
3
votes
1 answer

Wayland Global Pointer Location

is there any way to get the pointer (mouse) coordinates in Wayland, AFAIK Wayland doesn't allow fetching pointer location outside the application window. what about a daemon that tracks pointer coordinates for gestures. I kinda want to make…
3
votes
1 answer

Why is Rust unable to find wl_display_get_registry?

When writing code to use the Wayland Client API, Rust seems unable to find the wl_display_get_registry symbol. An objdump of the file also is unable to find the symbol. However, a C program compiled with GCC is able to find the symbol. Why can the C…
Jason Smith
  • 765
  • 8
  • 23
3
votes
2 answers

How to detect the status of the capslock in linux programmatically

I want some way to know if the Capslock is active or not, thought I can use xet for this purpose, using pipe, by popen('xset -q | grep Capslock') I am able to find out, but I want some way by which there is no use of the commands, in the C program,…
Nimit Bhardwaj
  • 827
  • 9
  • 19
3
votes
1 answer

Getting "output eDP-1 not found" from xrandr after upgrading to Ubuntu 17.10 when I try to change brightness

I have a ThinkPad X1 Yoga (2nd gen) and when running Ubuntu 17.04 I could change the brightness like this: $ xrandr --output eDP-1 --brightness .7 Now, when I do that under 17.10 I get this: warning: output eDP-1 not found; ignoring xrandr: Need…
Jorvis
  • 3,159
  • 1
  • 17
  • 16
3
votes
0 answers

Gtk3 move (child) window on wayland

I use gtk3 and gtkmm. I want to move a window on wayland. Hoever it doesn't seem to be possible. I tried using Gtk::Window::move method and Gdk::Window::move method. I also set type_hint on Gtk::Window and called Gtk::Window::set_transient_for. None…
ArchLinuxTux
  • 840
  • 1
  • 11
  • 28
3
votes
1 answer

How come GLX-based applications can be run on Wayland on Ubuntu?

So GLX is the graphics context creation and management system for OpenGL on X11. But by design, Wayland is not X11-compatible and implements EGL for OpenGL context management rather than GLX. So how is it that on Wayland-based sessions on Ubuntu…
Dreamer
  • 1,139
  • 9
  • 18
3
votes
1 answer

How to list all active sessions in Gnome shell

(System: Ubuntu 17.04 x64, official Gnome flavor, GNOME Shell 3.24.2 Wayland) I have been experimenting with Gnome Shell extensions and some of them cause the session to crash. I have noticed that sometimes just a new session is generated as…
Erixun
  • 41
  • 1
  • 5
3
votes
0 answers

How to extend wayland/weston to control x,y position of a window/surface

I'm trying to control the x,y position through weston/desktop-shell/shell.c in weston_view_set_initial_position(...). What I planned to do is simply extend the data structures which pass down the surface width/height by adding global x/y position.…
testweb
  • 39
  • 3
3
votes
2 answers

What's the purpose of the serial parameter in the Wayland API?

I've been working with the Wayland protocol lately and many functions include a unit32_t serial parameter. Here's an example from wayland-client-protocol.h: struct wl_shell_surface_listener { /** * ping client * * Ping a client to…
ybakos
  • 8,152
  • 7
  • 46
  • 74
3
votes
0 answers

How to position apps inside weston compositor?

I am using weston compositor to display / run my qml app . but inside compositor app is starting in unpredictable area , which is why part of the apps gets hidden sometimes. Each launch , starts app in a new area. Is it possible to specify…
rwik
  • 775
  • 2
  • 12
  • 27