weston issueshttps://gitlab.freedesktop.org/wayland/weston/-/issues2022-01-07T20:08:59Zhttps://gitlab.freedesktop.org/wayland/weston/-/issues/509Finalizing a layer with views still on it2022-01-07T20:08:59ZLeandro RibeiroFinalizing a layer with views still on itIf you run Weston using the desktop-shell (I think that doesn't matter in which backend), start Weston terminal (for instance) and then press Ctrl+LAlt+backspace to quit, we hit this BUG:
```c
WL_EXPORT void weston_layer_fini(struct wes...If you run Weston using the desktop-shell (I think that doesn't matter in which backend), start Weston terminal (for instance) and then press Ctrl+LAlt+backspace to quit, we hit this BUG:
```c
WL_EXPORT void weston_layer_fini(struct weston_layer *layer)
{
wl_list_remove(&layer->link);
if (!wl_list_empty(&layer->view_list.link))
weston_log("BUG: finalizing a layer with views still on it.\n");
wl_list_remove(&layer->view_list.link);
}
```
I still didn't have the time to investigate.https://gitlab.freedesktop.org/wayland/weston/-/issues/506Qt UI is sheltered by weston2021-06-11T00:56:21ZWade XuQt UI is sheltered by westonDears
When I run my QT project,The QT UI is under the weston desktop. How can I set the weston to make QT show up?
Thanks
WadeDears
When I run my QT project,The QT UI is under the weston desktop. How can I set the weston to make QT show up?
Thanks
Wadehttps://gitlab.freedesktop.org/wayland/weston/-/issues/505Should a Xwayland bug2023-08-09T11:57:16ZAnterCreeperShould a Xwayland bugSorry, I am a freshman. Sorry for my bad English.
Here is the bug. While I open a pull-down menu,It will close automatically.
I guess it is caused by Xwayland because it happened on the fcitx and the wine applications.Sorry, I am a freshman. Sorry for my bad English.
Here is the bug. While I open a pull-down menu,It will close automatically.
I guess it is caused by Xwayland because it happened on the fcitx and the wine applications.https://gitlab.freedesktop.org/wayland/weston/-/issues/503Has no weston-flowers and weston-simple-egl2021-08-06T09:14:52ZWade XuHas no weston-flowers and weston-simple-eglDears
I've successfully installed weston-2.0.0 and get into the weston desktop. But I just have few options of weston- , without weston-gears, weston-flowers and weston-simple-egl.
Is there some arguments need I add when I run ...Dears
I've successfully installed weston-2.0.0 and get into the weston desktop. But I just have few options of weston- , without weston-gears, weston-flowers and weston-simple-egl.
Is there some arguments need I add when I run ./configure --enable-egl=yes --enable-drm-compositor=yes ?
Thanks
Wade Xuhttps://gitlab.freedesktop.org/wayland/weston/-/issues/502libcairo.so.2: undefined symbol: FT_Done_MM_Var2021-05-21T08:11:18ZWade Xulibcairo.so.2: undefined symbol: FT_Done_MM_VarDears
I've installed weston and choose to execute it by systemd. But it still can't run correctly.
It shows me the following errors:
```
[02:58:58.829] Command line: weston
[02:58:58.829] OS: Linux, 4.19.72-cip10-rt4-yocto-sta...Dears
I've installed weston and choose to execute it by systemd. But it still can't run correctly.
It shows me the following errors:
```
[02:58:58.829] Command line: weston
[02:58:58.829] OS: Linux, 4.19.72-cip10-rt4-yocto-standard, #1 SMP PREEMPT RT Wed Apr 7 14:38:12 UTC 2021, aarch64
[02:58:58.830] Using config file '/etc/xdg/weston/weston.ini'
[02:58:58.830] Output repaint window is 34 ms maximum.
[02:58:58.831] Loading module '/usr/lib/libweston-2/wayland-backend.so'
[02:58:58.905] Failed to load module: /lib/aarch64-linux-gnu/libcairo.so.2: undefined symbol: FT_Done_MM_Var
[02:58:58.905] fatal: failed to create compositor backend
```
What cal I do now? I've already installed libfreetype3 and libcario.
Thanks
Wade Xuhttps://gitlab.freedesktop.org/wayland/weston/-/issues/501failed to create compositor backend2021-05-19T08:18:40ZWade Xufailed to create compositor backendDears
I've successfully installed weston. But When I run weston, there comes the following error.
```
[06:29:15.433] weston 2.0.0
http://wayland.freedesktop.org
Bug reports to: https://bugs.freedesktop...Dears
I've successfully installed weston. But When I run weston, there comes the following error.
```
[06:29:15.433] weston 2.0.0
http://wayland.freedesktop.org
Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=2.0.0
Build: unknown (not built from git or tarball)
[06:29:15.433] Command line: weston
[06:29:15.433] OS: Linux, 4.19.72-cip10-rt4-yocto-standard, #1 SMP PREEMPT RT Wed Apr 7 14:38:12 UTC 2021, aarch64
[06:29:15.434] Using config file '/etc/xdg/weston/weston.ini'
[06:29:15.434] Output repaint window is 34 ms maximum.
[06:29:15.435] Loading module '/usr/lib/libweston-2/drm-backend.so'
[06:29:15.444] initializing drm backend
[06:29:15.445] logind: failed to get session seat
[06:29:15.445] logind: cannot setup systemd-logind helper (-61), using legacy fallback
[06:29:15.445] fatal: drm backend should be run using weston-launch binary or as root
[06:29:15.446] fatal: failed to create compositor backend
```
And if I run weston-launch, It remindes me:
```
weston-launch: Permission denied. You should either:
- enable systemd session support for weston-launch.
- or add yourself to the 'weston-launch' group.
```
How can I fix this?
Thanks
Wade Xuhttps://gitlab.freedesktop.org/wayland/weston/-/issues/500"/run/user/1000", which is not a directory.2021-05-19T06:15:39ZWade Xu"/run/user/1000", which is not a directory.Dears
I've successfully installed the weston. But when I run weston, there comes the error :
```
$ weston
Date: 2021-05-19 UTC
[02:55:11.520] weston 2.0.0
http://wayland.freedesktop.org
Bug reports to:...Dears
I've successfully installed the weston. But when I run weston, there comes the error :
```
$ weston
Date: 2021-05-19 UTC
[02:55:11.520] weston 2.0.0
http://wayland.freedesktop.org
Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=2.0.0
Build: unknown (not built from git or tarball)
[02:55:11.520] Command line: weston
[02:55:11.520] OS: Linux, 4.19.72-cip10-rt4-yocto-standard, #1 SMP PREEMPT RT Wed Apr 7 14:38:12 UTC 2021, aarch64
[02:55:11.521] fatal: environment variable XDG_RUNTIME_DIR
is set to "/run/user/1000", which is not a directory.
Refer to your distribution on how to get it, or
http://www.freedesktop.org/wiki/Specifications/basedir-spec
on how to implement it.
```
I don't know why I don't have the /usr/run/1000 directory
Can someone help me?
Thanks
Wade Xuhttps://gitlab.freedesktop.org/wayland/weston/-/issues/499"aarch64-linux-gnu/libcairo.so: undefined reference to `FT_Done_MM_Var" when ...2021-05-19T01:50:24ZWade Xu"aarch64-linux-gnu/libcairo.so: undefined reference to `FT_Done_MM_Var" when run makeDears
When I run make after ./configure ..... done. I encountered the following error.
```
CCLD weston-terminal
/usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/8/../../../aarch64-linux-gnu/libcairo.so: undefined reference to `FT_Do...Dears
When I run make after ./configure ..... done. I encountered the following error.
```
CCLD weston-terminal
/usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/8/../../../aarch64-linux-gnu/libcairo.so: undefined reference to `FT_Done_MM_Var'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:4696: weston-terminal] Error 1
```
I do have libcairo.so under my /usr/lib/aarch64-linux-gnu/
```
lrwxrwxrwx 1 root root 21 Jan 21 23:02 /usr/lib/aarch64-linux-gnu/libcairo.so -> libcairo.so.2.11600.0
```
what should I do now?
Thanks
Wade Xuhttps://gitlab.freedesktop.org/wayland/weston/-/issues/497configure: error: weston-launch requires pam2021-05-12T09:26:08ZWade Xuconfigure: error: weston-launch requires pamDears
When I install weston under the debian10, there is an error occurred:
```
configure: error: weston-launch requires pam
```
And can see the pam modules by dpkg -l
```
ii libpam-modules:arm64 1.3.1-5 ...Dears
When I install weston under the debian10, there is an error occurred:
```
configure: error: weston-launch requires pam
```
And can see the pam modules by dpkg -l
```
ii libpam-modules:arm64 1.3.1-5 arm64 Pluggable Authentication Modules for PAM
ii libpam-modules-bin 1.3.1-5 arm64 Pluggable Authentication Modules for PAM - helper binaries
ii libpam-runtime 1.3.1-5 all Runtime support for the PAM library
ii libpam0g:arm64 1.3.1-5 arm64
```
Is there something I still need to install?
Thanks
Wadehttps://gitlab.freedesktop.org/wayland/weston/-/issues/495‘No package 'wayland-egl' found ’ when .configure --enable-egl --enable-drm-c...2021-05-11T00:50:15ZWade Xu‘No package 'wayland-egl' found ’ when .configure --enable-egl --enable-drm-compositorDears
I’m trying to migrate OpenGL ES3 from Renesas’s Yocto environment to debian buster. When I execute '.configure --enable-egl --enable-drm-compositor' to local compile weston, there is an error occurred.
```
configure: error: P...Dears
I’m trying to migrate OpenGL ES3 from Renesas’s Yocto environment to debian buster. When I execute '.configure --enable-egl --enable-drm-compositor' to local compile weston, there is an error occurred.
```
configure: error: Package requirements (egl glesv2 wayland-client wayland-egl) were not met:
No package 'wayland-egl' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables EGL_TESTS_CFLAGS
and EGL_TESTS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
```
but I do find the libwayland-egl.so.1.0.0 under the /usrlib
```
ls -ln /usr/lib/libwayland-egl.so*
lrwxrwxrwx 1 1000 1000 23 May 10 08:15 /usr/lib/libwayland-egl.so -> libwayland-egl.so.1.0.0
lrwxrwxrwx 1 1000 1000 23 May 10 07:47 /usr/lib/libwayland-egl.so.1 -> libwayland-egl.so.1.0.0
-rwxr-xr-x 1 0 0 4648 May 10 07:46 /usr/lib/libwayland-egl.so.1.0.0
```
attach is the log file
[weston.log](/uploads/86ac09a2ba3ae02483435b1de1515d59/weston.log)
what should I do now?
Thanks & Best Regards
Wadehttps://gitlab.freedesktop.org/wayland/weston/-/issues/493Failed to process Wayland connection: Connection reset by peerpipe_resource_g...2021-04-28T00:52:40ZWade XuFailed to process Wayland connection: Connection reset by peerpipe_resource_get_param: Assertion '0' failed.le or direction (search paths /usr/lib/dri)Dears
When I run the command 'weston --log=weston.log',there comes the following message.
`
Failed to process Wayland connection: Connection reset by peerpipe_resource_get_param: Assertion '0' failed.le or direction (search paths /...Dears
When I run the command 'weston --log=weston.log',there comes the following message.
`
Failed to process Wayland connection: Connection reset by peerpipe_resource_get_param: Assertion '0' failed.le or direction (search paths /usr/lib/dri)
failed to create display: Connection reset by peer
`
I'm using the default weston.ini file and running under wayland. But I don't know what's wrong in the log file.
The weston.ini and weston.log are in the attach file.
[weston.ini](/uploads/00361508dbe64b9b09aff817d1da861b/weston.ini)
[weston.log](/uploads/ff5beb770af9aa3252ed65e787efb765/weston.log)
What should I do now?
Thanks & Best Regards
Wadehttps://gitlab.freedesktop.org/wayland/weston/-/issues/492Weston: Starting with no config file2021-04-28T01:44:28ZWade XuWeston: Starting with no config fileHi
I'm a green hand about weston. I want to use weston under the wayland. When I run the command 'weston', the screen show the following messages:
```
Command line: weston
OS: Linux, 4.19.132-cip-rt59-yocto-standard, #3 SMP...Hi
I'm a green hand about weston. I want to use weston under the wayland. When I run the command 'weston', the screen show the following messages:
```
Command line: weston
OS: Linux, 4.19.132-cip-rt59-yocto-standard, #3 SMP PREEMPT RT Wed Apr 21 08:56:15 CST 2021, aarch64
malformed section header: [core]
Starting with no config file
Output repaint window is 7 ms maximum.
Loading module '/usr/lib/libweston-10/wayland-backend.so'
Error: Failed to connect to parent Wayland compositor: No such file or directory
display option: (none), WAYLAND_DISPLAY=wayland-0
fatal: failed to create compositor backend
```
and there is my weston.ini file:
```
[core]
repaint-window=34
require-input=false
[v4l2-renderer]
device-module=vsp2
[output]
name=LVDS-2
mode=off
[output]
name=HDMI-A-1
#mode=79.75 1920 1976 2168 2416 1080 1083 1088 1102 -hsync +vsync
mode=current
```
and my environment variables
```
SHELL=/bin/bash
PKG_CONFIG_PATH=/usr/lib/pkgconfig/:/usr/share/pkgconfig/
EDITOR=vim
XDG_SEAT=seat0
PWD=/home/tsinglin
LOGNAME=tsinglin
XDG_SESSION_TYPE=tty
HOME=/home/tsinglin
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
WAYLAND_DISPLAY=wayland-0
WESTON_CONFIG_FILE=/etc/xdg/weston/weston.ini
INVOCATION_ID=fe4e3dfbd8ab41d79b49dad181c478ce
XDG_SESSION_CLASS=user
TERM=linux
USER=tsinglin
SHLVL=1
WESTON_LAUNCHER_SOCK=6
XDG_VTNR=2
XDG_SESSION_ID=c1
LD_LIBRARY_PATH=/usr/lib
XDG_RUNTIME_DIR=/run/user/1000
WLD=/usr
JOURNAL_STREAM=8:8760
HUSHLOGIN=FALSE
PATH=/home/tsinglin/.local/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/tsinglin/.local/bin
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
MAIL=/var/mail/tsinglin
_=/usr/bin/env
OLDPWD=/mnt
```
Someone know what cause this?
Thanks
Wadehttps://gitlab.freedesktop.org/wayland/weston/-/issues/491"cannot open display" type issues2021-04-26T08:01:06Zdiamond man"cannot open display" type issues[weston.log](/uploads/3fc5566e6ce2d563c3d7281ba4f71092/weston.log)[weston.log](/uploads/3fc5566e6ce2d563c3d7281ba4f71092/weston.log)https://gitlab.freedesktop.org/wayland/weston/-/issues/490unpredictable weston-terminal w/o input devices2022-07-22T10:11:33ZPiotr Oniszczukunpredictable weston-terminal w/o input devicesHi,
I'm using weston9.0.0 with wayland1.19.0 and libinput1.17.1 (no systemd) in linux based appliance (minimyth2).
Issue i have is unpredictable behavior of weston-terminal when appliance has no keyb/mice connected
(it has only IR rem...Hi,
I'm using weston9.0.0 with wayland1.19.0 and libinput1.17.1 (no systemd) in linux based appliance (minimyth2).
Issue i have is unpredictable behavior of weston-terminal when appliance has no keyb/mice connected
(it has only IR remote not recognized by weston).
In such case launching weston-terminal gives v.show black screen and nothing more on screen.
All works correctly when keyb/mice are connected.
Also connecting keyb or mice shortly and disconnecting makes weston-terminal started to working ok without keyb/mice.
I don't have much ideas how to debug this issue as issue apperas only where there is no keyb/mice so interaction to gather more info is difficult - so i'm looking for advice how to move forward
pls advice
ps: weston log for boot without keyb/mice when weston-terminal failed:
```
Date: 2021-04-23 CEST
[13:37:39.632] weston 9.0.0
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 9.0.0
[13:37:39.632] Command line: /usr/bin/weston --log=/var/log/weston.log --config=/etc/weston-minimal.ini
[13:37:39.632] OS: Linux, 5.11.16, #1 SMP Thu Apr 22 20:50:33 CEST 2021, x86_64
[13:37:39.633] Using config file \'/etc/weston-minimal.ini\'
[13:37:39.651] Output repaint window is 7 ms maximum.
[13:37:39.660] Loading module \'/usr/lib/libweston-9/drm-backend.so\'
[13:37:39.661] initializing drm backend
[13:37:39.662] using /dev/dri/card0
[13:37:39.662] DRM: supports atomic modesetting
[13:37:39.662] DRM: supports GBM modifiers
[13:37:39.662] DRM: supports picture aspect ratio
[13:37:39.666] Loading module \'/usr/lib/libweston-9/gl-renderer.so\'
[13:37:39.935] EGL client extensions: EGL_EXT_client_extensions
EGL_EXT_device_base EGL_EXT_device_enumeration
EGL_EXT_device_query EGL_EXT_platform_base
EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug
EGL_EXT_platform_device EGL_EXT_platform_wayland
EGL_KHR_platform_wayland EGL_EXT_platform_x11
EGL_KHR_platform_x11 EGL_MESA_platform_xcb
EGL_MESA_platform_gbm EGL_KHR_platform_gbm
EGL_MESA_platform_surfaceless
[13:37:39.935] EGL version: 1.4
[13:37:39.935] EGL vendor: Mesa Project
[13:37:39.935] EGL client APIs: OpenGL OpenGL_ES
[13:37:39.935] EGL extensions: EGL_ANDROID_blob_cache
EGL_ANDROID_native_fence_sync EGL_EXT_buffer_age
EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import
EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_config_attribs
EGL_KHR_create_context EGL_KHR_create_context_no_error
EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses
EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image
EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image
EGL_KHR_gl_texture_cubemap_image EGL_KHR_image
EGL_KHR_image_base EGL_KHR_image_pixmap
EGL_KHR_no_config_context EGL_KHR_reusable_sync
EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float
EGL_KHR_wait_sync EGL_MESA_configless_context
EGL_MESA_drm_image EGL_MESA_image_dma_buf_export
EGL_MESA_query_driver EGL_WL_bind_wayland_display
[13:37:39.935] EGL_KHR_surfaceless_context available
[13:37:40.021] GL version: OpenGL ES 3.0 Mesa 21.1.0-rc2
[13:37:40.021] GLSL version: OpenGL ES GLSL ES 3.00
[13:37:40.021] GL vendor: Intel Open Source Technology Center
[13:37:40.021] GL renderer: Mesa DRI Intel(R) HD Graphics 4000 (IVB GT2)
[13:37:40.021] GL extensions: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays
GL_EXT_texture_filter_anisotropic
GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1
GL_EXT_texture_compression_rgtc GL_EXT_texture_format_BGRA8888
GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24
GL_OES_element_index_uint GL_OES_fbo_render_mipmap
GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives
GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float
GL_OES_texture_float_linear GL_OES_texture_half_float
GL_OES_texture_half_float_linear GL_OES_texture_npot
GL_OES_vertex_half_float GL_EXT_draw_instanced
GL_EXT_texture_sRGB_decode GL_OES_EGL_image
GL_OES_depth_texture GL_OES_packed_depth_stencil
GL_EXT_texture_type_2_10_10_10_REV GL_NV_conditional_render
GL_OES_get_program_binary GL_APPLE_texture_max_level
GL_EXT_discard_framebuffer GL_EXT_read_format_bgra
GL_EXT_frag_depth GL_NV_fbo_color_attachments
GL_OES_EGL_image_external GL_OES_EGL_sync
GL_OES_vertex_array_object GL_ANGLE_pack_reverse_row_order
GL_ANGLE_texture_compression_dxt3
GL_ANGLE_texture_compression_dxt5
GL_EXT_occlusion_query_boolean GL_EXT_robustness
GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers
GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil
GL_NV_read_stencil GL_EXT_draw_buffers GL_EXT_map_buffer_range
GL_KHR_debug GL_KHR_robustness GL_NV_pixel_buffer_object
GL_OES_depth_texture_cube_map GL_OES_required_internalformat
GL_OES_surfaceless_context GL_EXT_color_buffer_float
GL_EXT_sRGB_write_control GL_EXT_separate_shader_objects
GL_EXT_shader_group_vote GL_EXT_shader_integer_mix
GL_INTEL_performance_query GL_EXT_base_instance
GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_copy_image
GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex
GL_EXT_polygon_offset_clamp GL_EXT_texture_border_clamp
GL_KHR_blend_equation_advanced GL_KHR_context_flush_control
GL_OES_copy_image GL_OES_draw_buffers_indexed
GL_OES_draw_elements_base_vertex GL_OES_sample_shading
GL_OES_sample_variables GL_OES_shader_multisample_interpolation
GL_OES_texture_border_clamp GL_EXT_blend_func_extended
GL_EXT_float_blend GL_EXT_texture_sRGB_R8 GL_KHR_no_error
GL_OES_EGL_image_external_essl3 GL_EXT_clip_cull_distance
GL_EXT_disjoint_timer_query
GL_EXT_texture_compression_s3tc_srgb
GL_MESA_shader_integer_functions GL_EXT_clip_control
GL_EXT_color_buffer_half_float GL_EXT_texture_compression_bptc
GL_KHR_parallel_shader_compile GL_EXT_EGL_image_storage
GL_EXT_shader_framebuffer_fetch_non_coherent
GL_EXT_texture_shadow_lod GL_INTEL_blackhole_render
GL_MESA_framebuffer_flip_y GL_EXT_demote_to_helper_invocation
GL_EXT_depth_clamp GL_EXT_texture_query_lod
[13:37:40.021] GL ES 2 renderer features:
read-back format: BGRA
wl_shm sub-image to texture: yes
EGL Wayland extension: yes
[13:37:40.024] event1 - Power Button: not tagged as supported input device
[13:37:40.024] event1 - not using input device \'/dev/input/event1\'
[13:37:40.024] event2 - Video Bus: not tagged as supported input device
[13:37:40.024] event2 - not using input device \'/dev/input/event2\'
[13:37:40.024] event0 - Power Button: not tagged as supported input device
[13:37:40.024] event0 - not using input device \'/dev/input/event0\'
[13:37:40.024] event3 - HDA Intel PCH HDMI/DP,pcm=3: is tagged by udev as: Switch
[13:37:40.028] event3 - not using input device \'/dev/input/event3\'
[13:37:40.028] event4 - HDA Intel PCH HDMI/DP,pcm=7: is tagged by udev as: Switch
[13:37:40.028] event4 - not using input device \'/dev/input/event4\'
[13:37:40.029] event5 - HDA Intel PCH HDMI/DP,pcm=8: is tagged by udev as: Switch
[13:37:40.029] event5 - not using input device \'/dev/input/event5\'
[13:37:40.029] event6 - Media Center Ed. eHome Infrared Remote Transceiver (0471:0815): not tagged as supported input device
[13:37:40.029] event6 - not using input device \'/dev/input/event6\'
[13:37:40.029] event7 - eventlircd: not tagged as supported input device
[13:37:40.029] event7 - not using input device \'/dev/input/event7\'
[13:37:40.029] warning: no input devices on entering Weston. Possible causes:
- no permissions to read /dev/input/event*
- seats misconfigured (Weston backend option \'seat\', udev device property ID_SEAT)
[13:37:40.029] failed to create input devices. Continuing with no input devices ...
[13:37:40.134] DRM: head \'VGA-1\' found, connector 76 is disconnected.
[13:37:40.160] DRM: head \'HDMI-A-1\' found, connector 79 is connected, EDID make \'STK\', model \'S2-TEK TV\', serial \'SN-000000001\'
[13:37:40.397] DRM: head \'DP-1\' found, connector 87 is disconnected.
[13:37:40.399] DRM: head \'HDMI-A-2\' found, connector 92 is disconnected.
[13:37:40.400] DRM: head \'HDMI-A-3\' found, connector 96 is disconnected.
[13:37:40.400] DRM: head \'DP-2\' found, connector 100 is disconnected.
[13:37:40.400] DRM: head \'DP-3\' found, connector 104 is disconnected.
[13:37:40.400] Registered plugin API \'weston_drm_output_api_v1\' of size 24
[13:37:40.400] Chosen EGL config details: id: 5 rgba: 8 8 8 0 buf: 24 dep: 0 stcl: 0 int: 1-1 type: win vis_id: XRGB8888 (0x34325258)
[13:37:40.400] Output HDMI-A-1 (crtc 45) video modes:
1920x1080@60.0, preferred, current, 148.5 MHz
1920x1080@60.0 16:9, 148.5 MHz
1920x1080@59.9 16:9, 148.4 MHz
1920x1080@60.0 16:9, 74.2 MHz
1920x1080@59.9 16:9, 74.2 MHz
1920x1080@50.0 16:9, 148.5 MHz
1920x1080@50.0 16:9, 74.2 MHz
1280x1024@75.0, 135.0 MHz
1280x960@60.0, 108.0 MHz
1152x864@75.0, 108.0 MHz
1280x720@60.0, 74.2 MHz
1280x720@60.0 16:9, 74.2 MHz
1280x720@59.9 16:9, 74.2 MHz
1280x720@50.0 16:9, 74.2 MHz
1024x768@75.0, 78.8 MHz
1024x768@70.1, 75.0 MHz
1024x768@60.0, 65.0 MHz
832x624@74.6, 57.3 MHz
800x600@75.0, 49.5 MHz
800x600@72.2, 50.0 MHz
800x600@60.3, 40.0 MHz
800x600@56.2, 36.0 MHz
720x576@50.0 16:9, 27.0 MHz
720x576@50.0 4:3, 27.0 MHz
720x576@50.0 4:3, 13.5 MHz
720x576@50.0 16:9, 13.5 MHz
720x480@60.0 16:9, 27.0 MHz
720x480@60.0 4:3, 27.0 MHz
720x480@59.9 16:9, 27.0 MHz
720x480@59.9 4:3, 27.0 MHz
720x480@60.0 16:9, 13.5 MHz
720x480@60.0 4:3, 13.5 MHz
720x480@59.9 16:9, 13.5 MHz
720x480@59.9 4:3, 13.5 MHz
640x480@75.0, 31.5 MHz
640x480@72.8, 31.5 MHz
640x480@66.7, 30.2 MHz
640x480@60.0 4:3, 25.2 MHz
640x480@59.9, 25.2 MHz
640x480@59.9 4:3, 25.2 MHz
720x400@70.1, 28.3 MHz
[13:37:40.400] Output \'HDMI-A-1\' enabled with head(s) HDMI-A-1
[13:37:40.400] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: yes
presentation clock: CLOCK_MONOTONIC, id 1
presentation clock resolution: 0.000000001 s
[13:37:40.404] Loading module \'/usr/lib/weston/desktop-shell.so\'
[13:37:40.404] launching \'/usr/libexec/weston-keyboard\'
[13:37:40.404] launching \'/usr/libexec/weston-desktop-shell\'
```https://gitlab.freedesktop.org/wayland/weston/-/issues/489weston crash when we do power off / on2021-05-18T06:50:40ZRajavenu Kyathamweston crash when we do power off / onI am using weston 8.0. When I am pressing power off / on button (kind of mobile button), call comes to https://gitlab.freedesktop.org/wayland/weston/-/blob/master/libweston/input.c#L2188 then it crashes.
[06:02:52.018] egl image is NULL...I am using weston 8.0. When I am pressing power off / on button (kind of mobile button), call comes to https://gitlab.freedesktop.org/wayland/weston/-/blob/master/libweston/input.c#L2188 then it crashes.
[06:02:52.018] egl image is NULL
[06:02:52.035] egl image is NULL
[06:02:52.052] egl image is NULL
[06:02:52.069] egl image is NULL
[06:02:52.085] egl image is NULL
[06:02:52.101] egl image is NULL
[06:02:52.118] egl image is NULL
[06:02:52.135] egl image is NULL
[06:02:52.151] egl image is NULL
[06:02:52.171] egl image is NULL
[06:02:52.184] egl image is NULL
[06:02:52.201] egl image is NULL
[06:02:52.218] egl image is NULL
[06:02:52.234] egl image is NULL
[06:02:52.251] egl image is NULL
[06:02:52.262] caught signal 15
[06:02:52.263] backtrace:
[06:02:52.263] Obtained 8 stack frames.
[06:02:52.263] /usr/lib/weston/libexec_weston.so.0(+0x7434) [0x7f82621434]
[06:02:52.264] /usr/lib/weston/libexec_weston.so.0(+0x756c) [0x7f8262156c]
[06:02:52.264] /usr/lib/libwayland-server.so.0(+0xa16c) [0x7f8240e16c]
[06:02:52.264] /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0xd0) [0x7f8240edf0]
[06:02:52.264] /usr/lib/libwayland-server.so.0(wl_display_run+0x2c) [0x7f8240c67c]
[06:02:52.264] /usr/lib/weston/libexec_weston.so.0(wet_main+0x1c44) [0x7f826265ec]
[06:02:52.265] /lib/libc.so.6(__libc_start_main+0xf0) [0x7f824c2118]
[06:02:52.265] weston(+0x6d8) [0x557ac2a6d8]
[06:02:52.265] destroy output while page flip pending
[06:02:52.279] background surface gone
[06:02:52.333] event4 - fts: device removed
[06:02:52.333] event0 - qpnp_pon: device removed
[06:02:52.333] event3 - gpio-keys: device removed
[06:02:52.333] event1 - qbt_key_input: device removed
[06:02:52.333] event6 - kona-mtp-snd-card Button Jack: device removed
[06:02:52.334] event5 - kona-mtp-snd-card Headset Jack: device removed
[06:02:52.335] destroy output while page flip pending
[06:02:52.335] egl image is NULL
[06:02:52.341] destroy output while page flip pending
[06:02:52.341] Output 'DSI-1' no heads left, disabling.https://gitlab.freedesktop.org/wayland/weston/-/issues/488Deprecate and eventually delete non-libseat launchers2024-03-06T08:41:25ZPekka Paalanenppaalanen@gmail.comDeprecate and eventually delete non-libseat launchers!589 added libseat based launcher. It was agreed that, given some conditions, this should allow us to drop all the other launchers.
Pre-conditions:
- [x] Have at last one stable release with libseat launcher used by default in the build...!589 added libseat based launcher. It was agreed that, given some conditions, this should allow us to drop all the other launchers.
Pre-conditions:
- [x] Have at last one stable release with libseat launcher used by default in the build configuration.
- [x] Announce the deprecation of the other launchers (e.g. in release notes).
- [x] OpenEmbedded has a recipe for libseat.
- [x] CI tests migrated from launcher-direct to libseat. (!594)
- [x] Documentation on how to use libseat with Weston. (!595)
Then, remove all the other launchers, and drop the launcher abstraction.https://gitlab.freedesktop.org/wayland/weston/-/issues/487cheapest blend2021-04-12T15:14:02ZAndre Osku Schmidtcheapest blendi want to draw/animate this thing:
1. draw filled rectangle with dark transparent color, over the size of area</li>
1. draw filled rectangle with light transparent color, over the size of data</li>
1. wait and repeat (i don't need short...i want to draw/animate this thing:
1. draw filled rectangle with dark transparent color, over the size of area</li>
1. draw filled rectangle with light transparent color, over the size of data</li>
1. wait and repeat (i don't need shorter wait time than ~250msec)
this example html/js thing shows exactly what i want:
```html
<canvas width="128" height="32"></canvas>
<script>
const ctx = document.querySelector("canvas").getContext("2d")
setInterval(function(){
ctx.fillStyle = "rgba(0, 0, 0, 0.2)"
ctx.fillRect(0, 0, 128, 32)
ctx.fillStyle = "rgba(0, 255, 0, 0.2)"
for (let i = 0; i < 4; i++) {
let r = Math.sin(Date.now()/1000+(1*i)) * 0.5 + 0.5
ctx.fillRect(0, 0+((32/4)*i), 128*r, 32/4)
}
}, 250)
</script>
```
> ignore the maths and numbers, it's about `fillStyle` and `fillRect`, and how they blend with previous drawing. (you can save that to a file and open in any modern browser)
i was able to boil it down to this opengl/c code:
```c
#include <GL/gl.h>
#include <GLFW/glfw3.h>
#include <unistd.h>
#include <math.h>
int main (void) {
float s = 2.0 / 4;
double t; int i;
GLFWwindow* window;
if (!glfwInit()) return 1;
window = glfwCreateWindow(128, 32, "test", NULL, NULL);
if (!window) { glfwTerminate(); return 2; }
glfwMakeContextCurrent(window);
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
while (1) {
t = glfwGetTime();
glColor4f(0, 0, 0, 0.2);
glRectf(-1, -1, 1, 1);
for (i = 0; i < 4; i++) {
glColor4f(0, 1, 0, 0.2);
glRectf(-1, -1+(s*i), sin(t+i), -1+(s*(i+1)));
}
glFlush();
glfwSwapBuffers(window);
usleep(1000 * 250);
}
return 0;
}
```
> build with: `gcc foo.c -o foo $(pkg-config --cflags --libs glfw3 gl) -lm`
that opengl/c code renders the same as the html/js version, but only on x11 (openbox). on wayland with weston (or wayfire) the blending is "all bonkers", so i wonder...
- why does that opengl/c code work on x11?
- why does it not work the same on weston (wayland)? (or does it for you?)
- or it should work, and the bug is somewhere (else)?
- optional: what is the cheapest way to draw this on/for weston/wayland?
as i'm a total wayland/opengl/c noob (and mostly trial-and-error until something (seems) to work >.<*), i would be very thankful for any related/specific clarification (links) :heart:
ps. i wonder if/when we get single buffer with glfw, if that's gonna solve the problem? https://github.com/glfw/glfw/issues/1843https://gitlab.freedesktop.org/wayland/weston/-/issues/485Segfault config keyboard layout2021-10-26T15:04:41ZAntoine PLASKOWSKISegfault config keyboard layout`weston.ini`:
```ini
[keyboard]
keymap_layout=fr
keymap_variant=euro
```
Hit a key from the keyboard like `k` => Segfault
Log: https://pb.mgt.moe/f4da:
<p>
<details>
<summary>Log:</summary>
<pre><code>
Date: 2021-03-27 CET
[14:33:00....`weston.ini`:
```ini
[keyboard]
keymap_layout=fr
keymap_variant=euro
```
Hit a key from the keyboard like `k` => Segfault
Log: https://pb.mgt.moe/f4da:
<p>
<details>
<summary>Log:</summary>
<pre><code>
Date: 2021-03-27 CET
[14:33:00.737] weston 9.0.0
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 9.0.0
[14:33:00.737] Command line: weston
[14:33:00.737] OS: Linux, 5.10.13-3-ARCH, #1 SMP Fri Feb 5 21:01:39 UTC 2021, armv7l
[14:33:00.737] Using config file '/home/stargateur/.config/weston.ini'
[14:33:00.737] Output repaint window is 7 ms maximum.
[14:33:00.737] Loading module '/usr/lib/libweston-9/drm-backend.so'
[14:33:00.743] initializing drm backend
[14:33:00.747] logind: session control granted
[14:33:00.757] using /dev/dri/card0
[14:33:00.757] DRM: supports atomic modesetting
[14:33:00.757] DRM: supports GBM modifiers
[14:33:00.757] DRM: supports picture aspect ratio
[14:33:00.757] Loading module '/usr/lib/libweston-9/gl-renderer.so'
[14:33:00.848] EGL client extensions: EGL_EXT_device_base
EGL_EXT_device_enumeration EGL_EXT_device_query
EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses
EGL_EXT_client_extensions EGL_KHR_debug EGL_EXT_platform_device
EGL_EXT_platform_wayland EGL_KHR_platform_wayland
EGL_EXT_platform_x11 EGL_KHR_platform_x11 EGL_MESA_platform_gbm
EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless
[14:33:00.850] EGL version: 1.4
[14:33:00.850] EGL vendor: Mesa Project
[14:33:00.850] EGL client APIs: OpenGL OpenGL_ES
[14:33:00.850] EGL extensions: EGL_ANDROID_blob_cache EGL_EXT_buffer_age
EGL_EXT_image_dma_buf_import
EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_cl_event2
EGL_KHR_config_attribs EGL_KHR_create_context
EGL_KHR_create_context_no_error EGL_KHR_fence_sync
EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace
EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image
EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image
EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap
EGL_KHR_no_config_context EGL_KHR_reusable_sync
EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float
EGL_KHR_wait_sync EGL_MESA_configless_context
EGL_MESA_drm_image EGL_MESA_image_dma_buf_export
EGL_MESA_query_driver EGL_WL_bind_wayland_display
[14:33:00.850] warning: Disabling render GPU timeline and explicit synchronization due to missing EGL_ANDROID_native_fence_sync extension
[14:33:00.850] EGL_KHR_surfaceless_context available
[14:33:00.855] GL version: OpenGL ES 3.1 Mesa 20.3.4
[14:33:00.855] GLSL version: OpenGL ES GLSL ES 3.10
[14:33:00.855] GL vendor: Broadcom
[14:33:00.855] GL renderer: V3D 4.2
[14:33:00.855] GL extensions: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays
GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1
GL_EXT_texture_format_BGRA8888
GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24
GL_OES_element_index_uint GL_OES_fbo_render_mipmap
GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives
GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float
GL_OES_texture_half_float GL_OES_texture_half_float_linear
GL_OES_texture_npot GL_OES_vertex_half_float
GL_EXT_draw_instanced GL_EXT_texture_sRGB_decode
GL_OES_EGL_image GL_OES_depth_texture
GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV
GL_OES_get_program_binary GL_APPLE_texture_max_level
GL_EXT_discard_framebuffer GL_EXT_read_format_bgra
GL_EXT_frag_depth GL_NV_fbo_color_attachments
GL_OES_EGL_image_external GL_OES_EGL_sync
GL_OES_vertex_array_object GL_ANGLE_pack_reverse_row_order
GL_ANGLE_texture_compression_dxt3
GL_ANGLE_texture_compression_dxt5
GL_EXT_occlusion_query_boolean GL_EXT_texture_rg
GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer
GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil
GL_EXT_draw_buffers GL_EXT_map_buffer_range GL_KHR_debug
GL_KHR_texture_compression_astc_ldr GL_NV_pixel_buffer_object
GL_OES_depth_texture_cube_map GL_OES_required_internalformat
GL_OES_surfaceless_context GL_EXT_color_buffer_float
GL_EXT_sRGB_write_control GL_EXT_separate_shader_objects
GL_EXT_shader_implicit_conversions GL_EXT_shader_integer_mix
GL_EXT_base_instance GL_EXT_compressed_ETC1_RGB8_sub_texture
GL_EXT_draw_elements_base_vertex GL_EXT_primitive_bounding_box
GL_EXT_shader_io_blocks GL_EXT_texture_border_clamp
GL_KHR_context_flush_control GL_NV_image_formats
GL_OES_draw_elements_base_vertex GL_OES_primitive_bounding_box
GL_OES_shader_io_blocks GL_OES_texture_border_clamp
GL_OES_texture_stencil8
GL_OES_texture_storage_multisample_2d_array
GL_EXT_buffer_storage GL_EXT_float_blend
GL_EXT_geometry_point_size GL_EXT_geometry_shader
GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d
GL_OES_EGL_image_external_essl3 GL_OES_geometry_point_size
GL_OES_geometry_shader GL_OES_shader_image_atomic
GL_EXT_texture_compression_s3tc_srgb
GL_MESA_shader_integer_functions GL_KHR_parallel_shader_compile
GL_EXT_EGL_image_storage GL_MESA_framebuffer_flip_y
GL_EXT_texture_query_lod
[14:33:00.856] GL ES 2 renderer features:
read-back format: BGRA
wl_shm sub-image to texture: yes
EGL Wayland extension: yes
[14:33:00.873] event0 - Logitech G513 RGB MECHANICAL GAMING KEYBOARD: is tagged by udev as: Keyboard
[14:33:00.874] event0 - Logitech G513 RGB MECHANICAL GAMING KEYBOARD: device is a keyboard
[14:33:00.881] event1 - Logitech G513 RGB MECHANICAL GAMING KEYBOARD Keyboard: is tagged by udev as: Keyboard
[14:33:00.881] event1 - Logitech G513 RGB MECHANICAL GAMING KEYBOARD Keyboard: device is a keyboard
[14:33:00.890] event2 - Logitech G513 RGB MECHANICAL GAMING KEYBOARD Consumer Control: is tagged by udev as: Keyboard
[14:33:00.890] event2 - Logitech G513 RGB MECHANICAL GAMING KEYBOARD Consumer Control: device is a keyboard
[14:33:00.964] event3 - USB Optical Mouse: is tagged by udev as: Mouse
[14:33:00.965] event3 - USB Optical Mouse: device is a pointer
xkbcommon: ERROR: Couldn't process include statement for 'fr(euro)'
xkbcommon: ERROR: Abandoning symbols file "(unnamed)"
xkbcommon: ERROR: Failed to compile xkb_symbols
xkbcommon: ERROR: Failed to compile keymap
[14:33:00.986] failed to compile global XKB keymap
[14:33:00.986] tried rules evdev, model pc105, layout fr, variant euro, options (null)
[14:33:00.986] libinput: configuring device "Logitech G513 RGB MECHANICAL GAMING KEYBOARD".
xkbcommon: ERROR: Couldn't process include statement for 'fr(euro)'
xkbcommon: ERROR: Abandoning symbols file "(unnamed)"
xkbcommon: ERROR: Failed to compile xkb_symbols
xkbcommon: ERROR: Failed to compile keymap
[14:33:00.998] failed to compile global XKB keymap
[14:33:00.998] tried rules evdev, model pc105, layout fr, variant euro, options (null)
[14:33:00.998] libinput: configuring device "Logitech G513 RGB MECHANICAL GAMING KEYBOARD Keyboard".
xkbcommon: ERROR: Couldn't process include statement for 'fr(euro)'
xkbcommon: ERROR: Abandoning symbols file "(unnamed)"
xkbcommon: ERROR: Failed to compile xkb_symbols
xkbcommon: ERROR: Failed to compile keymap
[14:33:01.009] failed to compile global XKB keymap
[14:33:01.009] tried rules evdev, model pc105, layout fr, variant euro, options (null)
[14:33:01.009] libinput: configuring device "Logitech G513 RGB MECHANICAL GAMING KEYBOARD Consumer Control".
[14:33:01.009] libinput: configuring device "USB Optical Mouse".
[14:33:01.036] DRM: head 'HDMI-A-1' found, connector 32 is connected, EDID make 'IVM', model 'PL2488H', serial '0'
[14:33:01.038] DRM: head 'HDMI-A-2' found, connector 39 is disconnected.
[14:33:01.038] Registered plugin API 'weston_drm_output_api_v1' of size 12
[14:33:01.038] Registered plugin API 'weston_drm_virtual_output_api_v1' of size 24
[14:33:01.038] Chosen EGL config details: id: 17 rgba: 8 8 8 0 buf: 24 dep: 0 stcl: 0 int: 1-1 type: win vis_id: XRGB8888 (0x34325258)
[14:33:01.039] Output HDMI-A-1 (crtc 74) video modes:
1920x1080@60.0, preferred, current, 148.5 MHz
1920x1080@60.0 16:9, 148.5 MHz
1920x1080@59.9 16:9, 148.4 MHz
1920x1080@60.0 16:9, 74.2 MHz
1920x1080@59.9 16:9, 74.2 MHz
1920x1080@50.0, 148.5 MHz
1920x1080@50.0 16:9, 148.5 MHz
1920x1080@50.0, 74.2 MHz
1920x1080@50.0 16:9, 74.2 MHz
1600x1200@60.0, 162.0 MHz
1680x1050@59.9, 119.0 MHz
1280x1024@75.0, 135.0 MHz
1280x1024@60.0, 108.0 MHz
1440x900@75.0, 136.8 MHz
1440x900@59.9, 88.8 MHz
1280x960@60.0, 108.0 MHz
1152x864@75.0, 108.0 MHz
1280x720@60.0 16:9, 74.2 MHz
1280x720@59.9 16:9, 74.2 MHz
1280x720@50.0, 74.2 MHz
1280x720@50.0 16:9, 74.2 MHz
1024x768@75.0, 78.8 MHz
1024x768@70.1, 75.0 MHz
1024x768@60.0, 65.0 MHz
832x624@74.6, 57.3 MHz
800x600@75.0, 49.5 MHz
800x600@72.2, 50.0 MHz
800x600@60.3, 40.0 MHz
800x600@56.2, 36.0 MHz
720x576@50.0, 27.0 MHz
720x576@50.0 16:9, 27.0 MHz
720x576@50.0 4:3, 27.0 MHz
720x480@60.0 16:9, 27.0 MHz
720x480@60.0 4:3, 27.0 MHz
720x480@59.9 16:9, 27.0 MHz
720x480@59.9 4:3, 27.0 MHz
640x480@75.0, 31.5 MHz
640x480@72.8, 31.5 MHz
640x480@66.7, 30.2 MHz
640x480@60.0 4:3, 25.2 MHz
640x480@59.9, 25.2 MHz
640x480@59.9 4:3, 25.2 MHz
720x400@70.1, 28.3 MHz
[14:33:01.040] associating input device event0 with output HDMI-A-1 (none by udev)
[14:33:01.040] associating input device event1 with output HDMI-A-1 (none by udev)
[14:33:01.040] associating input device event2 with output HDMI-A-1 (none by udev)
[14:33:01.040] associating input device event3 with output HDMI-A-1 (none by udev)
[14:33:01.040] Output 'HDMI-A-1' enabled with head(s) HDMI-A-1
[14:33:01.040] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: yes
presentation clock: CLOCK_MONOTONIC, id 1
presentation clock resolution: 0.000000001 s
[14:33:01.040] Loading module '/usr/lib/weston/desktop-shell.so'
[14:33:01.041] launching '/usr/lib/weston/weston-keyboard'
[14:33:01.044] launching '/usr/lib/weston/weston-desktop-shell'
</code></pre>
</details>
</p>
This segfault happen to me on weston v5 too on Rasberry pi OS but I didn't keep the log.
This work well if I just put:
```ini
[keyboard]
keymap_layout=fr
```https://gitlab.freedesktop.org/wayland/weston/-/issues/484race condition with messages to/from weston-launch2021-04-10T22:32:10ZJonathan Marlerrace condition with messages to/from weston-launchWe ran into an intermittent issue where weston will encounter an error if we switch the virtual terminal too quickly. In analyzing the code, we realized that there is a race condition inherent with the current design.
The race conditio...We ran into an intermittent issue where weston will encounter an error if we switch the virtual terminal too quickly. In analyzing the code, we realized that there is a race condition inherent with the current design.
The race condition occurs when weston sends the `WESTON_LAUNCHER_OPEN` message to weston-launch and receives the corresponding `fd` handle value. The `WESTON_LAUNCHER_OPEN` message would have been triggered by the `WESTON_LAUNCHER_ACTIVATE` message sent from weston-launch. The problem is that if weston-launch receives a `VT_RELEASE` signal from the kernel before it receives the `WESTON_LAUNCHER_OPEN` message from weston, then weston-launch will send the `WESTON_LAUNCHER_DEACTIVATE` message when weston is going to be expecting the `fd` handle value next.
The inherent problem here is that both weston-launch and weston can asynchronously send messages at any point in time, but weston expects that after sending WESTON_LAUNCHER_OPEN, that weston-launch will always respond with the fd handle value reply.
One solution would be to open 2 sockets pairs and use one for asynchronous message initiated by each endpoint. Another solution would be to reserve a msg id for the WESTON_LAUNCHER_OPEN reply and modify weston to receive it asynchronously somehow.https://gitlab.freedesktop.org/wayland/weston/-/issues/481fbdev frame buffer format not supported2022-01-20T12:04:28Zkchfbdev frame buffer format not supportedI'm trying to get weston with fbdev backend working. The simple framebuffer setup by bootloader accepts just the two formats "r5g6b5" or "a8b8g8r8". Our format setting is "a8b8g8r8" and the output of fbset as expected is:
```
mode "...I'm trying to get weston with fbdev backend working. The simple framebuffer setup by bootloader accepts just the two formats "r5g6b5" or "a8b8g8r8". Our format setting is "a8b8g8r8" and the output of fbset as expected is:
```
mode "1024x768-0"
#D: 0.000 MHz, H: 0.000 kHz, V: 0.000 Hz
geometry 1024 768 1024 768 32
timings 0 0 0 0 0 0 0
accel false
rgba 8/0,8/8,8/16,8/24
endmode
```
After starting weston with fbev backend it fails with **Frame buffer uses an unsupported format.**
The complete output:
```
[23:19:39.873] weston 5.0.0
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: unknown (not built from git or tarball)
[23:19:39.873] Command line: weston --tty=1
[23:19:39.873] OS: Linux, 4.19.0-xilinx-v2019.1, #1 SMP PREEMPT Thu Mar 18 20:46:07 UTC 2021, armv7l
[23:19:39.874] Using config file '/home/root/.config/weston.ini'
[23:19:39.874] Output repaint window is 7 ms maximum.
[23:19:39.874] Loading module '/usr/lib/libweston-5/fbdev-backend.so'
[23:19:39.876] initializing fbdev backend
[23:19:39.878] Opening fbdev frame buffer.
[23:19:39.878] Calculating pixman format from:
- type: 0 (aux: 0)
- visual: 2
- bpp: 32 (grayscale: 0)
- red: offset: 0, length: 8, MSB: 0
- green: offset: 8, length: 8, MSB: 0
- blue: offset: 16, length: 8, MSB: 0
- transp: offset: 24, length: 8, MSB: 0
[23:19:39.878] Frame buffer uses an unsupported format.
[23:19:39.878] Failed to get frame buffer info: No such file or directory
[23:19:39.878] Creating frame buffer head failed.
[23:19:39.898] fatal: failed to create compositor backend
```
Which formats supports the fbdev frame buffer? What is the background of not supporting "a8b8g8r8?