4b2558708b7bac2b2255c3d6682ff594c0b90ae6
This patch fixes an issue where Weston using the DRM backend, cannot start the display. This happens in the following context: - no video mode is set before weston starts (eg no "/dev/fb" set up) - weston is not configured with any default video mode (nothing from weston.ini nor command line) - the DRM driver provides with a list of supported modes, but none of them is marked as PREFERRED (which is not a usual case, but it happens) In that case, according to the current implementation, the DRM compositor fails to set a video mode. This fix lets the DRM compositor selects a video mode (the best one of the list, which is the first) from the ones provided by the driver. Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
Weston Weston is the reference implementation of a Wayland compositor, and a useful compositor in its own right. Weston has various backends that lets it run on Linux kernel modesetting and evdev input as well as under X11. Weston ships with a few example clients, from simple clients that demonstrate certain aspects of the protocol to more complete clients and a simplistic toolkit. There is also a quite capable terminal emulator (weston-terminal) and an toy/example desktop shell. Finally, weston also provides integration with the Xorg server and can pull X clients into the Wayland desktop and act as a X window manager. Refer to http://wayland.freedesktop.org/building.html for buiding weston and its dependencies.
Description
Languages
C
98%
Meson
1.4%
Shell
0.3%
GLSL
0.2%