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

How to compile Wayland compositors based on wlroots in C using GCC?

I am trying to learn how to make a Wayland compositor based on wlroots. Following their wiki, I am trying to compile tinywl.c (github) file as an example with gcc -o wm1 wm1.c `pkg-config --libs --cflags pixman-1` -DWLR_USE_UNSTABLE and I get the…
demortz
  • 51
  • 7
0
votes
0 answers

Preparing I.MX 8 Nano for development using Debian with QT UI / dotnet core for communication

I am trying to get the above development system working, I am starting with a Varicsite NANO compute module. I am trying to get QT 5 setup to develop. I have been unable to find a good Debian guide on how to do that. I would eventually want the QT…
tbandtg
  • 9
  • 2
0
votes
1 answer

how to change the button size on title bar on xwayland?

I'm working on a yocto platform with Qt5 + xwayland backend, there is a issue that the buttons on title bar like close/maximum are too small to click, I changed QT_WAYLAND_FORCE_DPI but it only affects the client area but not title bar. and I…
Djiq
  • 1
  • 2
0
votes
1 answer

"Authentication failed" in Wayland application

First of all, sorry for a potentially silly question, it's my first attempt to work with Wayland. But i've googled and could not find anything related. The system which i develop, is very time-critical in running graphicall applications, so i've…
Diver
  • 33
  • 3
0
votes
1 answer

jitsi cannot share certain applications (screensharing)

the problem I'll be describing might be caused by different reasons: on linux opensuse leap 15.1 gnome (wayland) I can share e.g. mupdf but not evince or libreoffice in chromium jitsi session with screen share application window another…
jfmay
  • 13
  • 3
0
votes
1 answer

Is there any frame throttle callback in XCB?

I would like to write a 3D program on XCB and I would like to put my "render_frame" function into the frame throttle callback. However, I don't know what is the frame throttle callback in XCB. Is there any equivalent of “WM_PAINT”(Win32) /…
0
votes
1 answer

Do not use display gstreamer aarch 64 linux

I am using gstreamer on google coral dev board and performing video analytics on it. The platform details are : Linux bored-horse 4.9.51-imx #1 SMP PREEMPT Tue May 14 20:34:37 UTC 2019 aarch64 GNU/Linux I have a pipeline of the form…
0
votes
1 answer

What is the difference between the two weston-simple examples?

what difference between weston-simple-egl and weston-simple-shm? 1) weston-simple-egl 2) weston-simple-shm
0
votes
1 answer

Execute something when locking AND unlocking swaylock

i want to be able to execute code when swaylock gets locked and something different when unlocking (eg swaylock was locked and i entered my password correctly). everything i found is a way to execute code after swaylock gets locked, which is…
mr.alex
  • 503
  • 1
  • 8
  • 16
0
votes
1 answer

QtWayland registration from c++ fails for qml clients

i have a strange problem with my qtwayland compositor test. It seems only working for qt c++ clients. Qml clients end in a deadlock and the event processing stops (for the client). I have changed this…
kane
  • 57
  • 8
0
votes
1 answer

uinput emulate LWIN + S under wayland/weston

I'm trying to emulate a key combination of Left Windows Key (Super) + S under wayland to perform a screenshot automatically (this key combination properly starts weston-screenshooter that saves a screenshot to the home directory, but it cannot be…
AJ Cole
  • 169
  • 2
  • 13
0
votes
1 answer

Check if at least one Wayland session is running

I'm using Qt and want to check if any Wayland session is running. For now I have this just for test code, that works as expected: QProcess process; process.setProgram("bash"); process.setArguments({"-c", "loginctl list-sessions --no-legend | awk…
Shatur95
  • 93
  • 1
  • 9
0
votes
1 answer

How to know if an opengl function is going to block?

I am using wayland with IVI extension. I have a program, showing camera image in a sufrace, and it is controlled using dbus. I found out that if the surface is hidden, then the opengl functions are blocking the program (It is glClear(…
BЈовић
  • 62,405
  • 41
  • 173
  • 273
0
votes
0 answers

Ubuntu 18.04 does not maximize => 3840x2160 resolution

Been trying to get 3840x2160 with my dual monitors (4k UHD Dell 27") through Displayports with lightning adapter but couldn't sort it out. Machine => Dell XPS 13" Kernel version=> 4.15.0.47 Sometimes I can get it to work when i keep my laptop lid…
Christiane
  • 51
  • 1
  • 7
0
votes
1 answer

How to share the wayland display connection between unrelated code parts

I am currently writing a library that can be used by a wayland client software. The library is intended to be mostly independent of the client toolkit (currently only Qt, but other wayland-enabled toolkits should be able to use it as well). It…
j_kubik
  • 6,062
  • 1
  • 23
  • 42