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
8
votes
0 answers

How to sync using glutSwapBuffers in Wayland?

I noticed that my animation suffers from artifacts that look like missed vblanks. No visible tearing, but sometimes the frame halts for a split second and then visibly jumps. I decided to measure the time between buffer swaps: void draw_cb() { …
The Vee
  • 11,420
  • 5
  • 27
  • 60
8
votes
0 answers

Linux overlay information on top of (fullscreen) application

I'm working on a linux platform for running games. On that platform, while a game is running in full screen, I need to be able to on certain hardware input, e.g. a flip of a switch, to freeze and disable all input to the game and overlay information…
valorcurse
  • 335
  • 1
  • 2
  • 10
8
votes
1 answer

How to create an OpenGL 3.3 or 4.x context through EGL

I am interested in making an OpenGL app which doesn't depend on X11. As I have seen, this should be possible through EGL. There are even examples on the internet. But how can I control the context version? The sample code below creates an OpenGL…
thefunkyjunky
  • 492
  • 4
  • 15
8
votes
1 answer

Simulate mouse motion on linux wayland

I receive xy data from my network and i would like to control the mouse position using linux on wayland. I've seen many source codes using X libs or X apps but it will not work on wayland. I also have a look on libinput and evedev but i don't find…
Erwan Douaille
  • 553
  • 1
  • 10
  • 31
7
votes
2 answers

How to set the position of a wayland window on the screen?

I don't know how to set the position of the wayland window on the screen. It seems like it is being set somehow, because on my PC the window seems to be in a repetitive location. I tried the solution in How to set position of a Wayland client's…
Ophir Carmi
  • 2,701
  • 1
  • 23
  • 42
7
votes
1 answer

Android emulator on wayland : Emulator terminated with exit code 134

I've got the following error when trying to run android emulator from android studio. I'm on Manjaro (Arch linux) under a wayland graphic manager. WARN - manager.EmulatorProcessHandler - Emulator terminated with exit code 134 I've tried with many…
fabien-michel
  • 1,873
  • 19
  • 38
7
votes
1 answer

How does EME prevent me from recording a netflix stream?

So we have DRM in our free software browsers now, and apparently it works quite well. The video is however still subject to the usual compositing. I am running Fedora 25 including the wayland display server. If I do understand its architecture…
choeger
  • 3,562
  • 20
  • 33
7
votes
1 answer

Selection in Wayland

I'm trying to understand how selection(i.e. Primary and Clipboard in X) works in Wayland. I've read a bit on it, and I understand that Xorg has many(three) buffers used for managing selection and copy/paste or 'drag and drop' manipulations, whereas…
Charles Langlois
  • 4,198
  • 4
  • 16
  • 25
7
votes
2 answers

get the list of active windows in wayland weston

How to get the list of active windows in wayland.. ie, in my window one terminal is active and a calculator is also active, I need to get the details of these windows in terminal , how can I get it ?
Akhil V Suku
  • 870
  • 2
  • 13
  • 34
6
votes
1 answer

Wayland client get compositor name

Is it possible for a c application using libwayland-client.so to get the name of the compositor / display server it opened a connection to (e.g. KWin, Sway, ...)? I fail to find it in the docs. For reference, in X11 this is possible using XProps…
6
votes
3 answers

Gnome-shell wayland, rotate screen

Assuming I'm using intel's driver. Gnome-shell allows to rotate screens in Settings -> Display when using Xorg. Is it possible to rotate when using Wayland?
crispin
  • 61
  • 1
  • 2
5
votes
0 answers

Chromium Kiosk Mode lock down every way to escape the intended webpage (Tabs, Bookmarks, Settings, etc.)

I would like to use the chromium browser in a project, where only one webpage is shown in fullscreen. The user needs full mouse and keyboard support, so I plan to use wayland as desktop environment. Chromium Kiosk mode --kiosk is a great start (see…
Martin H.
  • 185
  • 2
  • 16
5
votes
0 answers

Use headless wayland / sway when testing on GitHub Actions

I am trying to run a test suite on GitHub Actions for a package that wraps utilities for calling the clipboard on a variety of platforms. While I have managed to get headless testing set up for a Linux system using X11, based on running xvfb, I am…
mdlincoln
  • 274
  • 3
  • 12
5
votes
0 answers

QSocketNotifier: Can only be used with threads started with QThread

I'm getting the following error with just a very basic application and with no sockets or anything fancy: QSocketNotifier: Can only be used with threads started with QThread Machine: Fedora 32 (Workstation Edition) Python 3.8 PyQt5 Fedora is…
Josh
  • 700
  • 5
  • 14
5
votes
1 answer

create Wayland desktop environment that simply binds keyboard shortcuts

There are dozens of questions on here asking how to create global keyboard bindings in a Wayland environment. Generally, the answer is "use your desktop environment" - an answer that is pretty much useless to most anyone asking the question. So, in…
rich remer
  • 3,407
  • 2
  • 34
  • 47
1
2
3
22 23