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
213 questions
0
votes
2 answers

Qt application failed in Wayland ivi-shell

I want to launch a Qt application in Wayland ivi-shell. I tried QT_WAYLAND_SHELL_INTEGRATION=ivi-shell ./hello-qt-quick2 -platform wayland Expect the Qt application could launch in Wayland ivi-shell. But failed with the following message Failed…
0
votes
1 answer

Can cairo_surface possibly be attach on wl_shell_surface?

I am using cairo_surface (cairo_surface_t) and wl_shell_surface to display an object on a Wayland client's surface. So could you distinguish between these surface types ? They are obligated to exist together, or separate types of surface. Thanks for…
Thảo M. Hoàng
  • 696
  • 1
  • 13
  • 32
0
votes
0 answers

How to wait for the next v-blank without swapping buffers?

In an OpenGL application using EGL on X11 or Wayland, is there a way to wait for the next v-blank without swapping buffers? I'm writing an OpenGL app and I only want to redraw when the content actually changes and I still want to have a way to run…
eyelash
  • 2,197
  • 20
  • 26
0
votes
1 answer

wayland-ivi-extension build error on ubuntu16.04

I followed the steps of GENIVI guide. Building wayland-ivi-extension: $ git clone https://github.com/GENIVI/wayland-ivi-extension.git $ mkdir build-wayland-ivi-extension $ cd build-wayland-ivi-extension $ cmake ./ -DBUILD_ILM_API_TESTS=1…
0
votes
1 answer

Duplicated video output in the same qml camera item

I'm trying to figure out can be the problem of my code where I try to use a camera in an IMX.6 board. The problem is that the qml code I'm using is duplicating the output horizontally. I'm starting the Qt application using "-platform wayland" (I…
0
votes
1 answer

in wayland source code, I cannot find in which file, variable is defined

this is questions raised from can struct type itself be passed to function as parameter in c? from the previous question, I found that "wl_compositor_interface" is used as struct tag and variable both in header file…
Yeongbae
  • 53
  • 6
0
votes
0 answers

X to Wayland. What about Atoms?

I tried to port my little X software to Wayland. But Wayland is (in my opinion) very bad documented. Thats the reason for my question. How are the Atom properties handled in Wayland? (Not XWayland)
dersaft
  • 65
  • 4
0
votes
0 answers

Run Qt applications as Wayland clients

I want to run a basic qt application using wayland. Before i ask for help, will share the steps that i performed. Step 1: Got wayland 1.11.0 downloaded and installed. (https://wayland.freedesktop.org/releases.html) Step 2: Weston also installed and…
talktomevintron
  • 160
  • 1
  • 3
  • 12
0
votes
1 answer

Fetch existing wl_surfaces ?

Is that is possible to fetch an existing wl_surfaces ? The idea is to be able to fetch a wl_surfaces from an application and be able to acceed all of its data, such as its wl_buffer
Erwan Douaille
  • 550
  • 1
  • 5
  • 30
0
votes
0 answers

Static Sized Label

Is there a way to force a label to never try to re-size when the text changes? The problem I'm trying to solve is that on my system re-sizing and re-drawing the 500+ widgets in my application takes on the order of 300-400ms. All the widgets are in…
Blake
  • 308
  • 1
  • 11
0
votes
0 answers

After weston server start up, run client immediately,the client can not be ran

I write the command that start up weston and client sample simple-egl into a script like this: export LD_LIBRARY_PATH="/usr/lib" export XDG_RUNTIME_DIR="/tmp" mkdir -p XDG_RUNTIME_DIR export GAL2D_DISPLAY=1 export…
Harry.Zh
  • 21
  • 2
0
votes
1 answer

Build chromium for raspberrypi2 on wayland with yocto project brings error related to egl.pc and wayland-egl.pc

I have completed building qt5 on raspberrypi2 by following the instruction here: http://www.embarcados.com.br/raspberry-pi-2-qt5-yocto-parte-1/ My next goal is to build chromium with wayland and egl. I have added one more layer from…
Paul Kim
  • 11
  • 4
0
votes
2 answers

qtwayland keeps saying failed to create display in yocto

Currently i am trying create a qt5 application on yocto using qtwayland. I used the core-image-minimal and added wayland, weston, qtwayland, qtbase plugins etc. I have added ~/Apps/Wayland/wayland.sourceme and set up weston.ini. Right now i can…
Bbbh
  • 181
  • 5
  • 20
0
votes
1 answer

Fedora 22 libinput middle button not work

I used yum --releasever 22 dirstro-sync upgrade to Fedora 22 alpha. I removed a lot of system package by mistake. My touchpad middle button is not working. I googled a lot of forums and found this configuration, but it still doesn't work. Section…
firo
  • 738
  • 7
  • 19
0
votes
1 answer

Makefile error while building mesa

I am getting error as following: Video card 06:03.0 VGA compatible controller: Matrox Electronics Systems Ltd. MGA G200eW WPCM450 (rev 0a) the build command ./autogen.sh --prefix=$WLD --enable-gles2 --disable-gallium-egl \ …
1 2 3
14
15