Hi @stefan.tx ,
we have tried a lot, but with the normal “dunfell-5” image weston does not work. We can’t set the OPTARGS. Here, you can see the logs:
X@X:~$ ssh root@192.168.178.39
root@apalis-imx6:~#
root@apalis-imx6:~#
root@apalis-imx6:~# ls -la /var/log/
total 28
drwxr-xr-x 3 root root 160 Oct 28 16:20 .
drwxrwxrwt 4 root root 80 Oct 28 16:19 ..
-rw-rw---- 1 root utmp 0 Oct 28 16:19 btmp
-rw-rw-r-- 1 root utmp 292 Oct 28 16:20 lastlog
-rw-r--r-- 1 root root 8566 Oct 28 16:20 messages
drwx------ 2 root root 40 Oct 28 16:19 private
-rw-r--r-- 1 root root 5829 Oct 28 16:20 weston.log
-rw-rw-r-- 1 root utmp 3072 Oct 28 16:20 wtmp
root@apalis-imx6:~#
root@apalis-imx6:~#
root@apalis-imx6:~# cat /etc/default/weston
XDG_CONFIG_HOME=/etc/xdg/weston/weston.ini
OPTARGS="--device /dev/fb0 --device /dev/fb1"
root@apalis-imx6:~#
root@apalis-imx6:~#
root@apalis-imx6:~# cat /var/log/weston.log
Date: 2020-10-28 UTC
[16:20:00.568] weston 8.0.0
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 8.0.0-34-g27cde525+
[16:20:00.568] Command line: /usr/bin/weston --modules=xwayland.so --log=/var/log/weston.log
[16:20:00.568] OS: Linux, 5.4.47-26809-gc1f580adc114-dirty, #35 SMP Fri Oct 23 12:38:47 CEST 2020, armv7l
[16:20:00.590] Starting with no config file.
[16:20:00.591] Output repaint window is 16 ms maximum.
[16:20:00.592] Loading module '/usr/lib/libweston-8/fbdev-backend.so'
[16:20:00.624] initializing fbdev backend
[16:20:00.640] logind: failed to get session seat
[16:20:00.640] logind: cannot setup systemd-logind helper (-61), using legacy fallback
[16:20:00.641] Loading module '/usr/lib/libweston-8/gl-renderer.so'
[16:20:00.675] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDisplay.
[16:20:00.709] EGL version: 1.5
[16:20:00.710] EGL vendor: Vivante Corporation
[16:20:00.710] EGL client APIs: OpenGL_ES OpenVG
[16:20:00.710] EGL extensions: EGL_KHR_fence_sync EGL_KHR_reusable_sync
EGL_KHR_wait_sync EGL_KHR_image EGL_KHR_image_base
EGL_KHR_image_pixmap EGL_KHR_gl_texture_2D_image
EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image
EGL_EXT_image_dma_buf_import
EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_lock_surface
EGL_KHR_create_context EGL_KHR_no_config_context
EGL_KHR_surfaceless_context EGL_KHR_get_all_proc_addresses
EGL_EXT_buffer_age EGL_ANDROID_native_fence_sync
EGL_WL_bind_wayland_display
EGL_WL_create_wayland_buffer_from_image EGL_KHR_partial_update
EGL_EXT_swap_buffers_with_damage
EGL_KHR_swap_buffers_with_damage
[16:20:00.710] EGL_KHR_surfaceless_context available
[16:20:00.727] GL version: OpenGL ES 3.0 V6.4.0.p2.234062
[16:20:00.727] GLSL version: OpenGL ES GLSL ES 3.00
[16:20:00.728] GL vendor: Vivante Corporation
[16:20:00.728] GL renderer: Vivante GC2000
[16:20:00.728] GL extensions: GL_OES_vertex_type_10_10_10_2
GL_OES_vertex_half_float GL_OES_element_index_uint
GL_OES_mapbuffer GL_OES_vertex_array_object
GL_OES_compressed_ETC1_RGB8_texture
GL_OES_compressed_paletted_texture GL_OES_texture_npot
GL_OES_rgb8_rgba8 GL_OES_depth_texture
GL_OES_depth_texture_cube_map GL_OES_depth24 GL_OES_depth32
GL_OES_packed_depth_stencil GL_OES_fbo_render_mipmap
GL_OES_get_program_binary GL_OES_fragment_precision_high
GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_EGL_sync
GL_OES_required_internalformat GL_OES_surfaceless_context
GL_OES_texture_half_float GL_OES_texture_float
GL_EXT_texture_type_2_10_10_10_REV
GL_EXT_texture_filter_anisotropic
GL_EXT_texture_compression_dxt1 GL_EXT_texture_format_BGRA8888
GL_EXT_texture_compression_s3tc GL_EXT_read_format_bgra
GL_EXT_multi_draw_arrays GL_EXT_frag_depth
GL_EXT_discard_framebuffer GL_EXT_blend_minmax
GL_EXT_multisampled_render_to_texture GL_EXT_robustness
GL_EXT_texture_sRGB_decode GL_EXT_texture_rg GL_EXT_sRGB
GL_VIV_direct_texture
[16:20:00.728] GL ES 2 renderer features:
read-back format: BGRA
wl_shm sub-image to texture: yes
EGL Wayland extension: yes
[16:20:00.728] Opening fbdev frame buffer.
[16:20:00.728] Calculating pixman format from:
- type: 0 (aux: 0)
- visual: 2
- bpp: 32 (grayscale: 0)
- red: offset: 16, length: 8, MSB: 0
- green: offset: 8, length: 8, MSB: 0
- blue: offset: 0, length: 8, MSB: 0
- transp: offset: 24, length: 8, MSB: 0
[16:20:01.419] Created head '/dev/fb0' for device /dev/fb0 (DISP4 BG)
[16:20:01.454] event0 - stmpe-ts: is tagged by udev as: Touchscreen
[16:20:01.456] event0 - stmpe-ts: device is a touch device
[16:20:01.457] Touchscreen - stmpe-ts - /sys/devices/soc0/soc/2100000.aips-bus/21a4000.i2c/i2c-2/2-0041/stmpe-ts/input/input0/event0
[16:20:01.457] libinput: configuring device "stmpe-ts".
[16:20:01.457] input device event0 has no enabled output associated (none named), skipping calibration for now.
[16:20:01.457] Creating fbdev output.
[16:20:01.457] Chosen EGL config details: id: 41 rgba: 8 8 8 0 buf: 24 dep: 0 stcl: 0 int: 0-10 type: win|pix|pbf|swap_preserved vis_id: 0
[16:20:01.458] fbdev output 256×1920 px
guessing 82 Hz and 96 dpi
[16:20:01.458] associating input device event0 with output /dev/fb0 (none by udev)
[16:20:01.459] Output '/dev/fb0' enabled with head(s) /dev/fb0
[16:20:01.459] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: yes
presentation clock: CLOCK_MONOTONIC_RAW, id 4
presentation clock resolution: 0.000000001 s
[16:20:01.471] Loading module '/usr/lib/weston/desktop-shell.so'
[16:20:01.475] launching '/usr/libexec/weston-keyboard'
[16:20:01.479] Old Xwayland module loading detected: Please use --xwayland command line option or set xwayland=true in the [core] section in weston.ini
[16:20:01.489] Loading module '/usr/lib/libweston-8/xwayland.so'
[16:20:01.607] Registered plugin API 'weston_xwayland_v1' of size 16
[16:20:01.607] Registered plugin API 'weston_xwayland_surface_v1' of size 8
[16:20:01.607] xserver listening on display :0
[16:20:01.607] launching '/usr/libexec/weston-desktop-shell'
The Command line is every Time:
Command line: /usr/bin/weston --modules=xwayland.so --log=/var/log/weston.log
Maybe we have to change the systemctl weston service ?
Best Regards,
Alias