weston issueshttps://gitlab.freedesktop.org/wayland/weston/-/issues2023-06-14T07:44:24Zhttps://gitlab.freedesktop.org/wayland/weston/-/issues/721Weston crashes when quitting a fullscreen program after pointer confinement h...2023-06-14T07:44:24Zmanuel alfayateWeston crashes when quitting a fullscreen program after pointer confinement has been grantedHi there,
Using latest Weston git code, I can see that some fullscreen programs like Scummvm can cause Weston to crash if I quit the program after pointer confinement has been granted.
Happens with both the desktop and kiosk shells.
S...Hi there,
Using latest Weston git code, I can see that some fullscreen programs like Scummvm can cause Weston to crash if I quit the program after pointer confinement has been granted.
Happens with both the desktop and kiosk shells.
Steps to reproduce:
- Launch Scummvm (or any other SDL2 program in fullscreen mode that uses mouse).
- Double-click on a game's video display area so it gets pointer confinement (ugh...)
- Quit the program via CTRL+Q
You will see Weston crash and be back to the TTY.https://gitlab.freedesktop.org/wayland/weston/-/issues/720Weston doesn't build without PANGO (Missing ifdef?)2023-02-20T11:15:37Zmanuel alfayateWeston doesn't build without PANGO (Missing ifdef?)Hi there,
Just cloned the latest git sources, and I get this when building (it was file in latest stable version):
```
/usr/bin/ld: /usr/local/lib/libavcodec.a(fft_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_cos_3...Hi there,
Just cloned the latest git sources, and I get this when building (it was file in latest stable version):
```
/usr/bin/ld: /usr/local/lib/libavcodec.a(fft_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_cos_32' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(fft_neon.o): in function `fft32_neon':
(.text+0x3e8): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(fft_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_cos_64' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(fft_neon.o): in function `fft64_neon':
(.text+0x428): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(fft_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_cos_128' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(fft_neon.o): in function `fft128_neon':
(.text+0x468): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(fft_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_cos_256' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(fft_neon.o): in function `fft256_neon':
(.text+0x4a8): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(fft_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_cos_512' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(fft_neon.o): in function `fft512_neon':
(.text+0x4e8): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(fft_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_cos_1024' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(fft_neon.o): in function `fft1024_neon':
(.text+0x528): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(fft_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_cos_2048' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(fft_neon.o): in function `fft2048_neon':
(.text+0x568): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(fft_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_cos_4096' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(fft_neon.o): in function `fft4096_neon':
(.text+0x5a8): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(fft_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_cos_8192' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(fft_neon.o): in function `fft8192_neon':
(.text+0x5e8): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(fft_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_cos_16384' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(fft_neon.o): in function `fft16384_neon':
(.text+0x628): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(fft_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_cos_32768' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(fft_neon.o): in function `fft32768_neon':
(.text+0x668): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(fft_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_cos_65536' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(fft_neon.o): in function `fft65536_neon':
(.text+0x6a8): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(fft_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_cos_16' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(fft_neon.o): in function `ff_fft_calc_neon':
(.text+0x6f8): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_put_regular64_h_neon':
(.text+0xf74): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_avg_regular64_h_neon':
(.text+0xf90): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_put_sharp64_h_neon':
(.text+0xfac): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_avg_sharp64_h_neon':
(.text+0xfc8): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_put_smooth64_h_neon':
(.text+0xfe4): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_avg_smooth64_h_neon':
(.text+0x1000): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_put_regular32_h_neon':
(.text+0x101c): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_avg_regular32_h_neon':
(.text+0x1038): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_put_sharp32_h_neon':
(.text+0x1054): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_avg_sharp32_h_neon':
(.text+0x1070): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_put_smooth32_h_neon':
(.text+0x108c): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_avg_smooth32_h_neon':
(.text+0x10a8): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_put_regular16_h_neon':
(.text+0x10c4): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_avg_regular16_h_neon':
(.text+0x10e0): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_put_sharp16_h_neon':
(.text+0x10fc): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_avg_sharp16_h_neon':
(.text+0x1118): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_put_smooth16_h_neon':
(.text+0x1134): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_avg_smooth16_h_neon':
(.text+0x1150): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_put_regular8_h_neon':
(.text+0x116c): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_avg_regular8_h_neon':
(.text+0x1188): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_put_sharp8_h_neon':
(.text+0x11a4): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_avg_sharp8_h_neon':
(.text+0x11c0): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_put_smooth8_h_neon':
(.text+0x11dc): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_avg_smooth8_h_neon':
(.text+0x11f8): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_put_regular4_h_neon':
(.text+0x1214): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_avg_regular4_h_neon':
(.text+0x1230): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_put_sharp4_h_neon':
(.text+0x124c): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_avg_sharp4_h_neon':
(.text+0x1268): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_put_smooth4_h_neon':
(.text+0x1284): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_avg_smooth4_h_neon':
(.text+0x12a0): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_put_regular64_v_neon':
(.text+0x25a0): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_avg_regular64_v_neon':
(.text+0x25c0): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_put_sharp64_v_neon':
(.text+0x25e0): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_avg_sharp64_v_neon':
(.text+0x2600): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_put_smooth64_v_neon':
(.text+0x2620): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_avg_smooth64_v_neon':
(.text+0x2640): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_put_regular32_v_neon':
(.text+0x2660): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_avg_regular32_v_neon':
(.text+0x2680): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_put_sharp32_v_neon':
(.text+0x26a0): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_avg_sharp32_v_neon':
(.text+0x26c0): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_put_smooth32_v_neon':
(.text+0x26e0): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_avg_smooth32_v_neon':
(.text+0x2700): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_put_regular16_v_neon':
(.text+0x2720): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_avg_regular16_v_neon':
(.text+0x2740): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_put_sharp16_v_neon':
(.text+0x2760): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_avg_sharp16_v_neon':
(.text+0x2780): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_put_smooth16_v_neon':
(.text+0x27a0): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_avg_smooth16_v_neon':
(.text+0x27c0): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_put_regular8_v_neon':
(.text+0x27e0): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_avg_regular8_v_neon':
(.text+0x2800): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_put_sharp8_v_neon':
(.text+0x2820): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_avg_sharp8_v_neon':
(.text+0x2840): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_put_smooth8_v_neon':
(.text+0x2860): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_avg_smooth8_v_neon':
(.text+0x2880): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_put_regular4_v_neon':
(.text+0x28a0): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_avg_regular4_v_neon':
(.text+0x28c0): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_put_sharp4_v_neon':
(.text+0x28e0): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_avg_sharp4_v_neon':
(.text+0x2900): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_put_smooth4_v_neon':
(.text+0x2920): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_neon.o): in function `ff_vp9_avg_smooth4_v_neon':
(.text+0x2940): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(sbrdsp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_sbr_noise_table' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(sbrdsp_neon.o): in function `ff_sbr_hf_apply_noise_0_neon':
(.text+0x3ec): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(sbrdsp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_sbr_noise_table' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(sbrdsp_neon.o): in function `ff_sbr_hf_apply_noise_1_neon':
(.text+0x45c): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(sbrdsp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_sbr_noise_table' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(sbrdsp_neon.o): in function `ff_sbr_hf_apply_noise_2_neon':
(.text+0x4c4): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(sbrdsp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_sbr_noise_table' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(sbrdsp_neon.o): in function `ff_sbr_hf_apply_noise_3_neon':
(.text+0x534): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_put_regular64_h_10_neon':
(.text+0x934): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_avg_regular64_h_10_neon':
(.text+0x950): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_put_sharp64_h_10_neon':
(.text+0x96c): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_avg_sharp64_h_10_neon':
(.text+0x988): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_put_smooth64_h_10_neon':
(.text+0x9a4): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_avg_smooth64_h_10_neon':
(.text+0x9c0): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_put_regular32_h_10_neon':
(.text+0x9dc): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_avg_regular32_h_10_neon':
(.text+0x9f8): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_put_sharp32_h_10_neon':
(.text+0xa14): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_avg_sharp32_h_10_neon':
(.text+0xa30): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_put_smooth32_h_10_neon':
(.text+0xa4c): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_avg_smooth32_h_10_neon':
(.text+0xa68): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_put_regular16_h_10_neon':
(.text+0xa84): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_avg_regular16_h_10_neon':
(.text+0xaa0): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_put_sharp16_h_10_neon':
(.text+0xabc): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_avg_sharp16_h_10_neon':
(.text+0xad8): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_put_smooth16_h_10_neon':
(.text+0xaf4): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_avg_smooth16_h_10_neon':
(.text+0xb10): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_put_regular8_h_10_neon':
(.text+0xb2c): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_avg_regular8_h_10_neon':
(.text+0xb48): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_put_sharp8_h_10_neon':
(.text+0xb64): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_avg_sharp8_h_10_neon':
(.text+0xb80): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_put_smooth8_h_10_neon':
(.text+0xb9c): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_avg_smooth8_h_10_neon':
(.text+0xbb8): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_put_regular4_h_10_neon':
(.text+0xbd4): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_avg_regular4_h_10_neon':
(.text+0xbf0): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_put_sharp4_h_10_neon':
(.text+0xc0c): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_avg_sharp4_h_10_neon':
(.text+0xc28): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_put_smooth4_h_10_neon':
(.text+0xc44): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_avg_smooth4_h_10_neon':
(.text+0xc60): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_put_regular64_h_12_neon':
(.text+0xc7c): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_avg_regular64_h_12_neon':
(.text+0xc98): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_put_sharp64_h_12_neon':
(.text+0xcb4): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_avg_sharp64_h_12_neon':
(.text+0xcd0): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_put_smooth64_h_12_neon':
(.text+0xcec): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_avg_smooth64_h_12_neon':
(.text+0xd08): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_put_regular32_h_12_neon':
(.text+0xd24): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_avg_regular32_h_12_neon':
(.text+0xd40): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_put_sharp32_h_12_neon':
(.text+0xd5c): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_avg_sharp32_h_12_neon':
(.text+0xd78): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_put_smooth32_h_12_neon':
(.text+0xd94): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_avg_smooth32_h_12_neon':
(.text+0xdb0): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_put_regular16_h_12_neon':
(.text+0xdcc): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_avg_regular16_h_12_neon':
(.text+0xde8): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_put_sharp16_h_12_neon':
(.text+0xe04): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_avg_sharp16_h_12_neon':
(.text+0xe20): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_put_smooth16_h_12_neon':
(.text+0xe3c): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_avg_smooth16_h_12_neon':
(.text+0xe58): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): in function `ff_vp9_put_regular8_h_12_neon':
(.text+0xe74): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libavcodec.a(vp9mc_16bpp_neon.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ff_vp9_subpel_filters' which may bind externally can not be used when making a shared object; recompile with -fPIC
```https://gitlab.freedesktop.org/wayland/weston/-/issues/716App with a specific workspace2023-02-15T04:18:17ZRaul MunozApp with a specific workspaceHi, This is not an issue, feel free to close or send me somewhere else. I just didn't know the best place to ask this question.
I'm trying to change Weston code to force that a specific application always uses a specific workspace. One ...Hi, This is not an issue, feel free to close or send me somewhere else. I just didn't know the best place to ask this question.
I'm trying to change Weston code to force that a specific application always uses a specific workspace. One example would be always opening the cog browser in workspace 4.
I'm reading and debugging the shell.c but because I don't have any experience with Weston I'm kind of lost. Does anyone have a tip for me?
Thankshttps://gitlab.freedesktop.org/wayland/weston/-/issues/715meson sandbox violation when using wayland-protocols as a subproject2023-02-14T13:48:59ZVasyl Vavrychukmeson sandbox violation when using wayland-protocols as a subprojectSteps to reproduce:
```
git clone https://gitlab.freedesktop.org/wayland/weston.git
cd weston
mkdir -p subprojects/wayland-protocols
git clone https://gitlab.freedesktop.org/wayland/wayland-protocols.git subprojects/wayland-protocols
me...Steps to reproduce:
```
git clone https://gitlab.freedesktop.org/wayland/weston.git
cd weston
mkdir -p subprojects/wayland-protocols
git clone https://gitlab.freedesktop.org/wayland/wayland-protocols.git subprojects/wayland-protocols
meson setup build
```
fails with
```
Dependency wayland-protocols found: YES 1.31 (overridden)
protocol/meson.build:76:2: ERROR: Sandbox violation: Tried to grab file input-method-unstable-v1.xml from a nested subproject.
```
Full log
```
The Meson build system
Version: 1.0.0
Source dir: .../weston
Build dir: .../weston/build
Build type: native build
Project name: weston
Project version: 11.0.90
C compiler for the host machine: cc (gcc 11.3.0 "cc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0")
C linker for the host machine: cc ld.bfd 2.38
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found git repository at .../weston
Compiler for C supports arguments -Wmissing-prototypes: YES
Compiler for C supports arguments -Wno-unused-parameter: YES
Compiler for C supports arguments -Wno-shift-negative-value: YES
Compiler for C supports arguments -Wno-missing-field-initializers: YES
Compiler for C supports arguments -Wno-pedantic: YES
Compiler for C supports arguments -Wundef: YES
Compiler for C supports arguments -fvisibility=hidden: YES
Header "sys/sysmacros.h" has symbol "major" : YES
Checking for function "mkostemp" : YES
Checking for function "strchrnul" : YES
Checking for function "initgroups" : YES
Checking for function "posix_fallocate" : YES
Checking for function "memfd_create" : YES
Checking for function "unreachable" : YES
Has header "linux/sync_file.h" : YES
Message: The default backend is drm
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Run-time dependency xkbcommon found: YES 1.4.0
Run-time dependency wayland-server found: YES 1.20.0
Run-time dependency wayland-client found: YES 1.20.0
Run-time dependency pixman-1 found: YES 0.40.0
Run-time dependency libinput found: YES 1.20.0
Run-time dependency libevdev found: YES 1.12.1
Library m found: YES
Library dl found: YES
Run-time dependency libdrm found: YES 2.4.110
Run-time dependency threads found: YES
Run-time dependency lcms2 found: YES 2.12
Program python3 found: YES (/usr/bin/python3)
Configuring version.h using configuration
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Build-time dependency wayland-scanner found: YES 1.20.0
Program /usr/bin/wayland-scanner found: YES (/usr/bin/wayland-scanner)
Dependency wayland-protocols found: NO found 1.25 but need: '>= 1.30'
Found CMake: /usr/bin/cmake (3.22.1)
Run-time dependency wayland-protocols found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency wayland-protocols
Executing subproject wayland-protocols
wayland-protocols| Project name: wayland-protocols
wayland-protocols| Project version: 1.31
wayland-protocols| Configuring wayland-protocols.pc using configuration
wayland-protocols| Configuring wayland-protocols-uninstalled.pc using configuration
wayland-protocols| Program scan.sh found: YES (.../weston/subprojects/wayland-protocols/tests/scan.sh)
wayland-protocols| Dependency wayland-scanner found: YES 1.20.0 (cached)
wayland-protocols| Program /usr/bin/wayland-scanner found: YES (/usr/bin/wayland-scanner)
wayland-protocols| Dependency wayland-client found: YES 1.20.0 (cached)
wayland-protocols| Dependency wayland-server found: YES 1.20.0 (cached)
wayland-protocols| C compiler for the host machine: cc (gcc 11.3.0 "cc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0")
wayland-protocols| C linker for the host machine: cc ld.bfd 2.38
wayland-protocols| C++ compiler for the host machine: c++ (gcc 11.3.0 "c++ (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0")
wayland-protocols| C++ linker for the host machine: c++ ld.bfd 2.38
wayland-protocols| Program replace.py found: YES (.../weston/subprojects/wayland-protocols/tests/replace.py)
wayland-protocols| Compiler for C supports link arguments -Wl,--unresolved-symbols=ignore-all: YES
wayland-protocols| Build targets in project: 237
wayland-protocols| Subproject wayland-protocols finished.
Dependency wayland-protocols found: YES 1.31 (overridden)
protocol/meson.build:76:2: ERROR: Sandbox violation: Tried to grab file input-method-unstable-v1.xml from a nested subproject.
```https://gitlab.freedesktop.org/wayland/weston/-/issues/712client: weston-simple-dmabuf-v4l2 does not translate planar video formats cor...2023-04-21T09:18:00ZNicolas Dufresneclient: weston-simple-dmabuf-v4l2 does not translate planar video formats correctly from V4L2 to DRMI recently wanted to use weston-simple-dmabuf-v4l2 to test passing NV12 DMAbuf. I'm using a UVC StreamCam from logic for the test, but using vivid in non-mplane mode should reproduce the same:
```
./build/client/weston-simple-dmabuf-v4...I recently wanted to use weston-simple-dmabuf-v4l2 to test passing NV12 DMAbuf. I'm using a UVC StreamCam from logic for the test, but using vivid in non-mplane mode should reproduce the same:
```
./build/client/weston-simple-dmabuf-v4l2 -v /dev/video2 -f NV12 -d NV12
```
The DMABuf import fails and weston trace that folloing:
```
[16:08:54.852] NV12 dmabuf must contain 2 planes (1 provided)
```
The reason is that UVC driver produces 1 DMABuf, but regardless, in wayland protocol you must always pass each plane seperatly. The weston-simple-dmabuf-v4l2 confuses number of allocation and number of planes and is hard to fix, as it has no coded knowledge of the pixel formats yet.
In v4l2, if you have a none-MPLANE driver like UVC, V4L2_PIX_FMT_NV12 can be used and will only have 1 DMABuf exported. The application must, with inner pixel format knowledge, calculate the offset of the second plane and pass twice the same dmabuf to wayland, setting appropriate offset to the second dmabuf. In V4L2, for NV12, the plane offset is (careful not to confuse data_offset with plane offset, this offset in V4L2 is only used when a V4L2 driver need to pass a prefix from one driver to another):
```
offset[1] = bytesperline * height + data_offset
```
Though, there can also be MPLANE drivers. The code for MPLANE is correct for V4L2_PIX_FMT_NV12M pixel format (2 dmabufs) but it will fail for MPLANE driver using single allocation (V4L2_PIX_FMT_NV12). For this last, the number of video planes does not match the number of memory planes set in the v4l2_buffer, and the offset must be calculated like for non-MPLANE cases.https://gitlab.freedesktop.org/wayland/weston/-/issues/710Weston does not gives a transparent window in Ubuntu2024-02-05T14:52:27ZShehan DeshapriyaWeston does not gives a transparent window in UbuntuI was trying to create a fully transparent window using wayland weston and render content using openGl.
- I avoid setting an opaque region with wl_surface::set_opaque_region.
- Created a weston.ini file and Configured transparent backgro...I was trying to create a fully transparent window using wayland weston and render content using openGl.
- I avoid setting an opaque region with wl_surface::set_opaque_region.
- Created a weston.ini file and Configured transparent background color
- Right now the drm-backend is used with wayland.
I could not obtain a fully transparent window( a window where I can see through ).
Could any please comment on how to obtain a fully transparent window ?https://gitlab.freedesktop.org/wayland/weston/-/issues/709Explain/document how to enable clipboard sharing with rdp backend2023-01-13T07:41:59ZGianluca S.Explain/document how to enable clipboard sharing with rdp backendI need to enable clipboard sharing (copy and paste) with rdp protocol between a windows host and a weston instance running in a vm (wsl2).
WSL system:
- native wslg support disabled
- OS debian testing `Linux wsl-Debian 5.15.79.1-micros...I need to enable clipboard sharing (copy and paste) with rdp protocol between a windows host and a weston instance running in a vm (wsl2).
WSL system:
- native wslg support disabled
- OS debian testing `Linux wsl-Debian 5.15.79.1-microsoft-standard-WSL2 #1 SMP Wed Nov 23 01:01:46 UTC 2022 x86_64 GNU/Linux`
- weston version `weston 10.0.1`
- weston run (see log below)
Windows remote desktop
- run with mstsc.exe
- clipboard enabled
Copy and paste work in weston between different application
Copy and paste between windows and weston doesn't work
Could someone explain how to enable clipboard sharing between windows host and weston with a rdp backend?
```
00:00:00.000 [seatd/seat.c:39] Created VT-bound seat seat0
00:00:00.000 [seatd/seatd.c:194] seatd started
Date: 2023-01-02 CET
[18:33:24.869] weston 10.0.1
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 10.0.1
[18:33:24.869] Command line: /usr/bin/weston --backend=rdp-backend.so --config=/home/debian/.devbox/experimental-wayland/wsl-run/weston.ini --logger-scopes=log,rdp-backend --rdp-tls-key=/tmp/weston/key/tls.key --rdp-tls-cert=/tmp/weston/key/tls.crt --port=8081 --xwayland
[18:33:24.869] OS: Linux, 5.15.79.1-microsoft-standard-WSL2, #1 SMP Wed Nov 23 01:01:46 UTC 2022, x86_64
[18:33:24.869] Flight recorder: enabled
[18:33:24.869] Using config file '/home/debian/.devbox/experimental-wayland/wsl-run/weston.ini'
[18:33:24.869] Output repaint window is 7 ms maximum.
[18:33:24.869] Loading module '/usr/lib/x86_64-linux-gnu/libweston-10/rdp-backend.so'
[18:33:24.885] using FreeRDP version 2.9.0
[18:33:24.885] TLS support activated
[18:33:24:008] [15221:15221] [INFO][com.freerdp.core.listener] - Listening on [0.0.0.0]:8081
[18:33:24.886] Registered plugin API 'weston_rdp_output_api_v1' of size 8
[18:33:24.886] Color manager: no-op
[18:33:24.886] Output 'rdp' using color profile: built-in default sRGB SDR profile
[18:33:24.887] Output 'rdp' enabled with head(s) rdp
[18:33:24.887] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: no
cursor planes: no
arbitrary resolutions: yes
view mask clipping: yes
explicit sync: no
color operations: no
presentation clock: CLOCK_MONOTONIC_RAW, id 4
presentation clock resolution: 0.000000001 s
[18:33:24.887] Loading module '/usr/lib/x86_64-linux-gnu/weston/desktop-shell.so'
[18:33:24.887] launching '/usr/lib/x86_64-linux-gnu/weston-keyboard'
[18:33:24.889] Note: support for the deprecated wl_shell interface is disabled. If a legacy client still needs it, it can be re-enabled by passing -Ddeprecated-wl-shell=true to Meson when building Weston.
[18:33:24.889] Loading module '/usr/lib/x86_64-linux-gnu/libweston-10/xwayland.so'
[18:33:24.890] Registered plugin API 'weston_xwayland_v1' of size 32
[18:33:24.890] Registered plugin API 'weston_xwayland_surface_v1' of size 16
[18:33:24.891] xserver listening on display :0
[18:33:24.891] launching '/usr/lib/x86_64-linux-gnu/weston-desktop-shell'
[18:33:35:031] [15221:15221] [DEBUG][com.freerdp.primitives] - primitives benchmark result:
[18:33:36:185] [15221:15221] [DEBUG][com.freerdp.primitives] - * generic= 57
[18:33:36:338] [15221:15221] [DEBUG][com.freerdp.primitives] - * optimized= 100
[18:33:36:338] [15221:15221] [DEBUG][com.freerdp.primitives] - primitives autodetect, using optimized
[18:33:36:341] [15221:15221] [DEBUG][com.freerdp.core.nego] - RDP_NEG_REQ: RequestedProtocol: 0x0000000B
[18:33:36:341] [15221:15221] [INFO][com.freerdp.core.connection] - Client Security: NLA:1 TLS:1 RDP:0
[18:33:36:341] [15221:15221] [INFO][com.freerdp.core.connection] - Server Security: NLA:0 TLS:1 RDP:1
[18:33:36:341] [15221:15221] [INFO][com.freerdp.core.connection] - Negotiated Security: NLA:0 TLS:1 RDP:0
[18:33:36:352] [15221:15221] [DEBUG][com.freerdp.core.connection] - rdp_server_transition_to_state CONNECTION_STATE_INITIAL --> CONNECTION_STATE_NEGO
[18:33:36:389] [15221:15221] [INFO][com.freerdp.core.connection] - Accepted client: *******
[18:33:36:389] [15221:15221] [INFO][com.freerdp.core.connection] - Accepted channels:
[18:33:36:389] [15221:15221] [INFO][com.freerdp.core.connection] - rdpdr
[18:33:36:389] [15221:15221] [INFO][com.freerdp.core.connection] - rdpsnd
[18:33:36:389] [15221:15221] [INFO][com.freerdp.core.connection] - cliprdr
[18:33:36:389] [15221:15221] [INFO][com.freerdp.core.connection] - drdynvc
[18:33:36:389] [15221:15221] [INFO][com.freerdp.core.gcc] - Active rdp encryption level: NONE
[18:33:36:389] [15221:15221] [INFO][com.freerdp.core.gcc] - Selected rdp encryption method: NONE
[18:33:36:389] [15221:15221] [DEBUG][com.freerdp.core.connection] - rdp_server_transition_to_state CONNECTION_STATE_NEGO --> CONNECTION_STATE_MCS_CONNECT
[18:33:36:390] [15221:15221] [DEBUG][com.freerdp.core.connection] - rdp_server_transition_to_state CONNECTION_STATE_MCS_CONNECT --> CONNECTION_STATE_MCS_ERECT_DOMAIN
[18:33:36:430] [15221:15221] [DEBUG][com.freerdp.core.connection] - rdp_server_transition_to_state CONNECTION_STATE_MCS_ERECT_DOMAIN --> CONNECTION_STATE_MCS_ATTACH_USER
[18:33:36:433] [15221:15221] [DEBUG][com.freerdp.core.connection] - rdp_server_transition_to_state CONNECTION_STATE_MCS_ATTACH_USER --> CONNECTION_STATE_RDP_SECURITY_COMMENCEMENT
[18:33:36:576] [15221:15221] [DEBUG][com.freerdp.core.connection] - rdp_server_transition_to_state CONNECTION_STATE_RDP_SECURITY_COMMENCEMENT --> CONNECTION_STATE_SECURE_SETTINGS_EXCHANGE
[18:33:36:576] [15221:15221] [DEBUG][com.freerdp.core.connection] - rdp_server_transition_to_state CONNECTION_STATE_SECURE_SETTINGS_EXCHANGE --> CONNECTION_STATE_LICENSING
[18:33:36:576] [15221:15221] [DEBUG][com.freerdp.core.connection] - rdp_server_transition_to_state CONNECTION_STATE_LICENSING --> CONNECTION_STATE_CAPABILITIES_EXCHANGE
[18:33:36:601] [15221:15221] [DEBUG][com.freerdp.core.peer] - Received PDU_TYPE_CONFIRM_ACTIVE
[18:33:36:601] [15221:15221] [DEBUG][com.freerdp.core.connection] - rdp_server_transition_to_state CONNECTION_STATE_CAPABILITIES_EXCHANGE --> CONNECTION_STATE_FINALIZATION
[18:33:36:601] [15221:15221] [DEBUG][com.freerdp.core.rdp] - rdp_send_data_pdu: sending data (type=0x1f size=37 channelId=1009)
[18:33:36:601] [15221:15221] [DEBUG][com.freerdp.core.rdp] - rdp_send_data_pdu: sending data (type=0x14 size=41 channelId=1009)
[18:33:36:601] [15221:15221] [DEBUG][com.freerdp.core.peer] - Received PDU_TYPE_DATA
[18:33:36:602] [15221:15221] [DEBUG][com.freerdp.core.peer] - Received PDU_TYPE_DATA
[18:33:36:602] [15221:15221] [DEBUG][com.freerdp.core.peer] - Received PDU_TYPE_DATA
[18:33:36:602] [15221:15221] [DEBUG][com.freerdp.core.rdp] - rdp_send_data_pdu: sending data (type=0x14 size=41 channelId=1009)
[18:33:36:603] [15221:15221] [DEBUG][com.freerdp.core.peer] - Received PDU_TYPE_DATA
[18:33:36:603] [15221:15221] [DEBUG][com.freerdp.core.rdp] - rdp_send_data_pdu: sending data (type=0x28 size=41 channelId=1009)
[18:33:36:603] [15221:15221] [DEBUG][com.freerdp.core.connection] - rdp_server_transition_to_state CONNECTION_STATE_FINALIZATION --> CONNECTION_STATE_ACTIVE
[18:33:36.505] kbd_layout:0x20409 kbd_type:0x7 kbd_subType:0x0 kbd_functionKeys:0xc
[18:33:36:834] [15221:15221] [DEBUG][com.freerdp.core.peer] - Received PDU_TYPE_DATA
```https://gitlab.freedesktop.org/wayland/weston/-/issues/708fade animation on window close delays presentation feedback notifications2023-01-29T20:27:45ZThomas Weißschuhfade animation on window close delays presentation feedback notificationsWhen as "fade" is configured as window close animation then the code in `desktop-shell/shell.c` will take a reference on the applications surface via `weston_surface_ref` that keeps the surface alive.
This surface is kept alive until the...When as "fade" is configured as window close animation then the code in `desktop-shell/shell.c` will take a reference on the applications surface via `weston_surface_ref` that keeps the surface alive.
This surface is kept alive until the fadeout animation has played completely.
However the lifetime of the surface also controls the feedback presentation events. Especially the `discard` event is not sent (in `compositor.c`) until the surface is destroyed in the compositor.
This breaks the usecase where a `wl_surface_destroy()` is followed by a `wl_display_roundtrip()` to receive the presentation events.
As the presentation events are managing objects in the client these events have to be handled to avoid leaking resources.https://gitlab.freedesktop.org/wayland/weston/-/issues/707LCMS introduces leaks in tests2023-04-11T14:53:03ZDaniel Stonedaniel@fooishbar.orgLCMS introduces leaks in testsA few tests now have leaks similar to this:
```
*** Run color_lcms_loads/1
test-client: got global pointer 100 100
test-client: got seat 0x60700001e320 capabilities: 7
test-client: got seat 0x60700001e320 name: 'test-seat'
test-client:...A few tests now have leaks similar to this:
```
*** Run color_lcms_loads/1
test-client: got global pointer 100 100
test-client: got seat 0x60700001e320 capabilities: 7
test-client: got seat 0x60700001e320 name: 'test-seat'
test-client: got keyboard repeat_info 40 400
test-client: got keyboard keymap
*** Result color_lcms_loads/1: ok
--- Fixture 1 () ok: passed 1, skipped 0, failed 0, total 1
=================================================================
==261665==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 336 byte(s) in 6 object(s) allocated from:
#0 0x7ff09d2ba6af in __interceptor_malloc (/lib64/libasan.so.8+0xba6af)
#1 0x7ff09b7ad19b in _cmsMallocZeroDefaultFn (/lib64/liblcms2.so.2+0x1419b)
#2 0x7ff09b97a09b in join_curvesets ../libweston/color-lcms/color-transform.c:372
#3 0x7ff09b97a390 in merge_curvesets ../libweston/color-lcms/color-transform.c:419
#4 0x7ff09b97aaec in optimize_float_pipeline ../libweston/color-lcms/color-transform.c:570
#5 0x7ff09b97af79 in transform_factory ../libweston/color-lcms/color-transform.c:667
#6 0x7ff09b7c8952 in AllocEmptyTransform (/lib64/liblcms2.so.2+0x2f952)
#7 0x7ff09b7ca608 in cmsCreateMultiprofileTransformTHR.part.0 (/lib64/liblcms2.so.2+0x31608)
Indirect leak of 54048 byte(s) in 36 object(s) allocated from:
#0 0x7ff09d2ba6af in __interceptor_malloc (/lib64/libasan.so.8+0xba6af)
#1 0x7ff09b7ad19b in _cmsMallocZeroDefaultFn (/lib64/liblcms2.so.2+0x1419b)
Indirect leak of 24576 byte(s) in 6 object(s) allocated from:
#0 0x7ff09d2ba6af in __interceptor_malloc (/lib64/libasan.so.8+0xba6af)
#1 0x7ff09b7ad1df in _cmsDupDefaultFn (/lib64/liblcms2.so.2+0x141df)
SUMMARY: AddressSanitizer: 78960 byte(s) leaked in 48 allocation(s).
(test program exited with status code 1)
==============================================================================
```https://gitlab.freedesktop.org/wayland/weston/-/issues/704Do not run CI on branches that are not MRs?2023-02-03T08:39:10ZPekka Paalanenppaalanen@gmail.comDo not run CI on branches that are not MRs?I believe Weston CI runs automatically on pushes to branches that are not (yet) associated with any MRs. Is that useful, or should we stop doing that?
I just came to think about that when reading https://gitlab.freedesktop.org/freedeskt...I believe Weston CI runs automatically on pushes to branches that are not (yet) associated with any MRs. Is that useful, or should we stop doing that?
I just came to think about that when reading https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/478 , could maybe save some bandwidth and runner time.https://gitlab.freedesktop.org/wayland/weston/-/issues/702desktop-shell: Weston crash when user click the parent window while the child...2022-12-19T08:16:47ZSherry Huangdesktop-shell: Weston crash when user click the parent window while the child window is fading outDear Weston experts,
Recently we found a problem when testing an app running on Weston desktop-shell. The basic scenario is, when we click a button on the parent window, it would pop-up a child window. We can click the close button to c...Dear Weston experts,
Recently we found a problem when testing an app running on Weston desktop-shell. The basic scenario is, when we click a button on the parent window, it would pop-up a child window. We can click the close button to close this child window, and it would disappear with a fade-out animation by default. However, if we click the parent window at the same time when the child window is fading out, Weston would crash with error 'weston: ../graphics/weston/desktop-shell/shell.c:3755: activate: Assertion 'shsurf' failed.'
After some analysis I think I found the root cause. So, in current code logic, when the 'close' button is clicked by user, the `weston_desktop_surface_destroy` would be called instantly, which marked the linked weston_surface not to be a desktop surface anymore by setting `surface->surface->committed = NULL`. However, the shell_surface of this child window won't be destroyed until the fade-out animation is done (`desktop_shell_destroy_surface` would only be called in `fade_out_done_idle_cb`). Thus, when the child window is actually fading out but the user clicked the main window and triggered an `activate()` call, it would still detect the child window, but would fail at `assert(shsurf)` in the recursive call of `activate()` (because the weston_surface is not a desktop surface anymore).
Currently I have two thoughts to solve this issue:
1, If we have something (e.g. a flag as a member in struct shell_surface) which indicates the animation is running, we can add this condition in https://gitlab.freedesktop.org/wayland/weston/-/blob/main/desktop-shell/shell.c#L3367 so that the recursive `activate()` won't be triggered in this case. By this way, we could start to activate the parent window as soon as the child window is closed by user, not need to wait until the animation finished.
2, We can just replace the `assert(shsurf)` by `if(!shsurf) return;` instead. By this way, the code change is very simple, but if user wants to do operation on the parent window, he/she needs to wait until the animation is done.
What do you think? Which one is the better solution to you, or if this issue has already been solved in the latest code? (I'm not sure since we're using Weston-10.0.0 locally).
Please help give some advices, thanks in advance.https://gitlab.freedesktop.org/wayland/weston/-/issues/701resize crash: assert(!view->transform.dirty);2022-12-05T22:11:08ZBram Stolkresize crash: assert(!view->transform.dirty);Assert triggered in `weston_view_from_global_float()` :
**assert(!view->transform.dirty);**
```
Thread 1 "weston" received signal SIGABRT, Aborted.
__pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/...Assert triggered in `weston_view_from_global_float()` :
**assert(!view->transform.dirty);**
```
Thread 1 "weston" received signal SIGABRT, Aborted.
__pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
44 ./nptl/pthread_kill.c: No such file or directory.
(gdb) where
#0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
#1 __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#2 __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#3 0x00007f96ab03bc46 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#4 0x00007f96ab0227fc in __GI_abort () at ./stdlib/abort.c:79
#5 0x00007f96ab02271b in __assert_fail_base
(fmt=0x7f96ab1bac30 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x7f96ab2e4663 "!view->transform.dirty", file=0x7f96ab2e4545 "../libweston/compositor.c", line=1460, function=<optimized out>) at ./assert/assert.c:92
#6 0x00007f96ab033596 in __GI___assert_fail
(assertion=0x7f96ab2e4663 "!view->transform.dirty", file=0x7f96ab2e4545 "../libweston/compositor.c", line=1460, function=0x7f96ab2e6360 <__PRETTY_FUNCTION__.56> "weston_view_from_global_float") at ./assert/assert.c:101
#7 0x00007f96ab2abe75 in weston_view_from_global_float (view=0x55a391adbc90, x=306.53125, y=1697.68359, vx=0x7ffe46238130, vy=0x7ffe46238134)
at ../libweston/compositor.c:1460
#8 0x00007f96ab2abf8f in weston_view_from_global_fixed (view=0x55a391adbc90, x=78472, y=434607, vx=0x7ffe46238178, vy=0x7ffe4623817c)
at ../libweston/compositor.c:1477
#9 0x00007f96a124d8b2 in resize_grab_motion (grab=0x55a391acca70, time=0x7ffe46238240, event=0x7ffe46238250) at ../desktop-shell/shell.c:1157
#10 0x00007f96ab2c2daf in notify_motion (seat=0x55a3919e1b40, time=0x7ffe46238240, event=0x7ffe46238250) at ../libweston/input.c:1807
#11 0x00007f96aa6550e7 in handle_pointer_motion (libinput_device=0x55a391a08e50, pointer_event=0x55a391aa9b20) at ../libweston/libinput-device.c:132
#12 0x00007f96aa655e25 in evdev_device_process_event (event=0x55a391aa9b20) at ../libweston/libinput-device.c:532
#13 0x00007f96aa65436f in udev_input_process_event (event=0x55a391aa9b20) at ../libweston/libinput-seat.c:208
#14 0x00007f96aa654391 in process_event (event=0x55a391aa9b20) at ../libweston/libinput-seat.c:218
#15 0x00007f96aa6543c0 in process_events (input=0x55a3912025e0) at ../libweston/libinput-seat.c:228
#16 0x00007f96aa65442d in udev_input_dispatch (input=0x55a3912025e0) at ../libweston/libinput-seat.c:239
#17 0x00007f96aa65445e in libinput_source_dispatch (fd=18, mask=1, data=0x55a3912025e0) at ../libweston/libinput-seat.c:249
#18 0x00007f96ab2730fa in wl_event_loop_dispatch () at /lib/x86_64-linux-gnu/libwayland-server.so.0
#19 0x00007f96ab2738d5 in wl_display_run () at /lib/x86_64-linux-gnu/libwayland-server.so.0
#20 0x00007f96ab32c6d0 in wet_main (argc=1, argv=0x7ffe46238c18, test_data=0x0) at ../compositor/main.c:3891
#21 0x000055a38ffa4172 in main (argc=1, argv=0x7ffe46238c18) at ../compositor/executable.c:33
```
To reproduce:
* Launch weston
* Launch chromium browser and play a video in it.
* Resize the browser window.
Expected result: resized window.
Actual result: assertion triggered.
Version: HEAD in git repo: commit 9a386f5de5b647005e396dc37b2cae903898ffb8https://gitlab.freedesktop.org/wayland/weston/-/issues/698Xwayland crashes if clipboard is set without a seat present2022-12-07T08:07:11ZDerek ForemanXwayland crashes if clipboard is set without a seat presentEasily reproduced with the RDP backend, as it only creates seats for active connections. Launch weston, don't connect an RDP client.
Use `DISPLAY=:0 xclip -i -selection clipboard` or similar to set a selection.Easily reproduced with the RDP backend, as it only creates seats for active connections. Launch weston, don't connect an RDP client.
Use `DISPLAY=:0 xclip -i -selection clipboard` or similar to set a selection.https://gitlab.freedesktop.org/wayland/weston/-/issues/697Segfault on HDMI output (un)plugging2022-11-25T20:45:18ZDetlev CasanovaSegfault on HDMI output (un)pluggingIn Apertis v2023, `agl-compositor` is crashing (SIGV) in the `libweston` `drm-backend` when the HDMI output is unplugged or plugged in.
This always happens and has been tested on a Raspberry Pi 4B and an Up Squared 6000 board.
The issu...In Apertis v2023, `agl-compositor` is crashing (SIGV) in the `libweston` `drm-backend` when the HDMI output is unplugged or plugged in.
This always happens and has been tested on a Raspberry Pi 4B and an Up Squared 6000 board.
The issue doesn't appear with an older kernel. I did a bisect on the kernel on the Raspberry Pi 4B and found that [this commit](https://github.com/torvalds/linux/commit/cc5f1cbbc1e12ad5b11d594159fe793eb03c70fa) is the culprit.
This is specific to the Broadcom graphics driver, so maybe there is a similar change in the i915 driver that has the same repercussions on `weston` on the Up Squared 6000 (I didn't bisect on that one).
The versions we use on Apertis v2023 are:
- `weston`: `9.0.0`
- `agl-compositor`: `10.93.0`
- `maynard`: `0.2022.14`
- `linux`: `6.0.3` (The issue does not happen with linux `5.15`)
Here is the log when unplugging with some debug:
```
Nov 25 15:56:59 apertis agl-compositor[2027]: Date: 2022-11-25 UTC
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.514] Using config file '/etc/xdg/weston/agl-compositor.ini'.
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.514] Output repaint window is 7 ms maximum.
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.514] Loading module '/usr/lib/x86_64-linux-gnu/libweston-9/drm-backend.so'
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.516] initializing drm backend
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.518] logind: session control granted
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.520] using /dev/dri/card0
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.520] DRM: supports atomic modesetting
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.520] DRM: supports GBM modifiers
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.520] DRM: supports picture aspect ratio
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.520] Loading module '/usr/lib/x86_64-linux-gnu/libweston-9/gl-renderer.so'
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.571] EGL client extensions: EGL_EXT_device_base
Nov 25 15:56:59 apertis agl-compositor[2027]: EGL_EXT_device_enumeration EGL_EXT_device_query
Nov 25 15:56:59 apertis agl-compositor[2027]: EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses
Nov 25 15:56:59 apertis agl-compositor[2027]: EGL_EXT_client_extensions EGL_KHR_debug EGL_EXT_platform_device
Nov 25 15:56:59 apertis agl-compositor[2027]: EGL_EXT_platform_wayland EGL_KHR_platform_wayland
Nov 25 15:56:59 apertis agl-compositor[2027]: EGL_EXT_platform_x11 EGL_KHR_platform_x11 EGL_MESA_platform_gbm
Nov 25 15:56:59 apertis agl-compositor[2027]: EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.573] EGL version: 1.5
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.573] EGL vendor: Mesa Project
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.573] EGL client APIs: OpenGL OpenGL_ES
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.573] EGL extensions: EGL_ANDROID_blob_cache
[snip]
Nov 25 15:56:59 apertis agl-compositor[2027]: EGL_MESA_query_driver EGL_WL_bind_wayland_display
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.573] EGL_KHR_surfaceless_context available
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.578] GL version: OpenGL ES 3.2 Mesa 20.3.5
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.578] GLSL version: OpenGL ES GLSL ES 3.20
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.578] GL vendor: Intel
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.578] GL renderer: Mesa Intel(R) UHD Graphics (EHL)
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.578] GL extensions: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays
[snip]
Nov 25 15:56:59 apertis agl-compositor[2027]: GL_EXT_texture_query_lod
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.579] GL ES 2 renderer features:
Nov 25 15:56:59 apertis agl-compositor[2027]: read-back format: BGRA
Nov 25 15:56:59 apertis agl-compositor[2027]: wl_shm sub-image to texture: yes
Nov 25 15:56:59 apertis agl-compositor[2027]: EGL Wayland extension: yes
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.586] event2 - Power Button: is tagged by udev as: Keyboard
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.586] event2 - Power Button: device is a keyboard
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.588] event3 - Video Bus: is tagged by udev as: Keyboard
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.588] event3 - Video Bus: device is a keyboard
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.590] event1 - Power Button: is tagged by udev as: Keyboard
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.590] event1 - Power Button: device is a keyboard
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.592] event0 - Sleep Button: is tagged by udev as: Keyboard
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.592] event0 - Sleep Button: device is a keyboard
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.594] event5 - Asus WMI hotkeys: is tagged by udev as: Keyboard
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.594] event5 - Asus WMI hotkeys: device is a keyboard
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.596] event4 - PC Speaker: not tagged as supported input device
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.596] event4 - not using input device '/dev/input/event4'
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.637] DRM: head 'HDMI-A-1' found, connector 239 is connected, EDID make 'PHL', model 'PHL 273V7', serial '9428'
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.637] DRM: head 'DP-1' found, connector 249 is disconnected.
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.637] Registered plugin API 'weston_drm_output_api_v1' of size 24
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.637] Registered plugin API 'weston_drm_virtual_output_api_v1' of size 48
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.637] Loading module '/usr/lib/x86_64-linux-gnu/libweston-9/remoting-plugin.so'
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.641] Registered plugin API 'weston_remoting_api_v1' of size 64
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.648] Seat 0x557d5b20cf90, cursor is not set
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.648] Installing 'allow-all' policy engine
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.649] Chosen EGL config details: id: 61 rgba: 8 8 8 0 buf: 24 dep: 0 stcl: 0 int: 1-1 type: win vis_id: XRGB8888 (0x34325258)
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.649] Output HDMI-A-1 (crtc 98) video modes:
Nov 25 15:56:59 apertis agl-compositor[2027]: 1920x1080@60.0, preferred, current, 148.5 MHz
[snip]
Nov 25 15:56:59 apertis agl-compositor[2027]: 720x400@70.1, 28.3 MHz
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.649] associating input device event2 with output HDMI-A-1 (none by udev)
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.649] associating input device event3 with output HDMI-A-1 (none by udev)
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.649] associating input device event1 with output HDMI-A-1 (none by udev)
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.649] associating input device event0 with output HDMI-A-1 (none by udev)
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.649] associating input device event5 with output HDMI-A-1 (none by udev)
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.649] Output 'HDMI-A-1' enabled with head(s) HDMI-A-1
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.649] launching' /usr/bin/maynard'
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.650] Screenshooter interface created
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.650] info: add 1 socket(s) provided by systemd
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.650] Sending ready to systemd
Nov 25 15:56:59 apertis systemd[554]: Started agl-compositor, a Wayland compositor, as a system service.
Nov 25 15:56:59 apertis maynard[2033]: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
Nov 25 15:56:59 apertis maynard[2033]: failed to setup mixer: No such file or directory
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.975] Added surface 0x557d5b8a5790, app_id (null) to pending list
Nov 25 15:56:59 apertis agl-compositor[2027]: [15:56:59.975] Added surface 0x557d5b8a69d0, app_id (null) to pending list
Nov 25 15:57:00 apertis maynard[2033]: New advertisement app id maynard
Nov 25 15:57:00 apertis maynard[2033]: New advertisement app id maynard
Nov 25 15:57:00 apertis agl-compositor[2027]: [15:57:00.975] (background) position view 0x557d5b8a5dc0, x 0, y 0, on output HDMI-A-1
Nov 25 15:57:00 apertis agl-compositor[2027]: [15:57:00.975] (panel) geom.width 100, geom.height 1080, geom.x 0, geom.y 0
Nov 25 15:57:00 apertis agl-compositor[2027]: [15:57:00.975] (panel) edge 2 position view 0x557d5b8a6a70, x 0, y 0
Nov 25 15:57:00 apertis agl-compositor[2027]: [15:57:00.975] panel type 2 inited on output HDMI-A-1
Nov 25 15:57:00 apertis agl-compositor[2027]: [15:57:00.975] Usable area: 1820x1080+100,0
Nov 25 15:57:03 apertis agl-compositor[2027]: [15:57:03.771] DRM: head 'HDMI-A-1' updated, connector 239 is disconnected.
Nov 25 15:57:03 apertis agl-compositor[2027]: [15:57:03.771] Output 'HDMI-A-1' no heads left, disabling.
Nov 25 15:57:03 apertis agl-compositor[2027]: [15:57:03.771] Disabling output HDMI-A-1
Nov 25 15:57:03 apertis agl-compositor[2027]: [15:57:03.788] output for input device event2 removed
Nov 25 15:57:03 apertis agl-compositor[2027]: [15:57:03.788] output for input device event3 removed
Nov 25 15:57:03 apertis agl-compositor[2027]: [15:57:03.788] output for input device event1 removed
Nov 25 15:57:03 apertis agl-compositor[2027]: [15:57:03.788] output for input device event0 removed
Nov 25 15:57:03 apertis agl-compositor[2027]: [15:57:03.788] output for input device event5 removed
Nov 25 15:57:03 apertis agl-compositor[2027]: [15:57:03.788] Disabling output HDMI-A-1
Nov 25 15:57:03 apertis maynard[2033]: Error reading events from display: Broken pipe
Nov 25 15:57:03 apertis systemd[554]: agl-compositor.service: Main process exited, code=killed, status=11/SEGV
```
And the backtrace:
```
Thread 1 "agl-compositor" received signal SIGSEGV, Segmentation fault.
0x00007ff042bae483 in drm_output_start_repaint_loop (output_base=0x55739349b060) at ../libweston/backend-drm/drm.c:541
541 ../libweston/backend-drm/drm.c: No such file or directory.
(gdb) bt
#0 0x00007ff042bae483 in drm_output_start_repaint_loop (output_base=0x55739349b060) at ../libweston/backend-drm/drm.c:541
#1 0x00007ff043351349 in idle_repaint (data=0x55739349b060) at ../libweston/compositor.c:3060
#2 0x00007ff04338e3ab in wl_event_loop_dispatch_idle () at /lib/x86_64-linux-gnu/libwayland-server.so.0
#3 0x00007ff04338e4e5 in wl_event_loop_dispatch () at /lib/x86_64-linux-gnu/libwayland-server.so.0
#4 0x00007ff04338c105 in wl_display_run () at /lib/x86_64-linux-gnu/libwayland-server.so.0
#5 0x0000557391a49e9c in main (argc=<optimized out>, argv=<optimized out>) at ../src/main.c:1605
(gdb) p *output_base
$1 = {id = 4294967295, name = 0x55739349b4d0 "HDMI-A-1", user_destroy_signal = {listener_list = {prev = 0x55739349afb8, next = 0x55739349afb8}}, renderer_state = 0x55739349d5e0, link = {prev = 0x557393104d50,
next = 0x557393104d50}, compositor = 0x557393104b90, matrix = {d = {1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1}, type = 1}, inverse_matrix = {d = {1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1},
type = 1}, animation_list = {prev = 0x55739349b128, next = 0x55739349b128}, x = 0, y = 0, width = 1920, height = 1080, region = {extents = {x1 = 0, y1 = 0, x2 = 1920, y2 = 1080}, data = 0x0},
repaint_needed = true, repainted = false, repaint_status = REPAINT_AWAITING_COMPLETION, next_repaint = {tv_sec = 4558, tv_nsec = 235730666}, idle_repaint_source = 0x0, zoom = {active = false,
increment = 0.0700000003, level = 0, max_level = 0.949999988, trans_x = 0, trans_y = 0, current = {x = 0, y = 0}, seat = 0x0, animation_z = {frame = 0x7ff04336c100 <weston_zoom_frame_z>, frame_counter = 0,
link = {prev = 0x55739349b1c0, next = 0x55739349b1c0}}, spring_z = {k = 250, friction = 1000, current = 0, target = 0, previous = 0, min = 0, max = 1, timestamp = {tv_sec = 0, tv_nsec = 0}, clip = 0},
motion_listener = {link = {prev = 0x0, next = 0x0}, notify = 0x7ff04336c460 <motion>}}, dirty = 0, frame_signal = {listener_list = {prev = 0x55739349b240, next = 0x55739349b240}}, destroy_signal = {
listener_list = {prev = 0x55739349dfc0, next = 0x55739349dfc0}}, move_x = 0, move_y = 0, frame_time = {tv_sec = 4558, tv_nsec = 226064000}, msc = 73094, disable_planes = 0, destroying = 0, feedback_list = {
prev = 0x55739349b288, next = 0x55739349b288}, transform = 0, native_scale = 1, current_scale = 1, original_scale = 1, native_mode = 0x55739348d0d0, current_mode = 0x55739348d0d0, original_mode = 0x0,
mode_list = {prev = 0x55739349c648, next = 0x55739348d0e8}, head_list = {prev = 0x55739349b2d0, next = 0x55739349b2d0}, desired_protection = WESTON_HDCP_DISABLE, current_protection = WESTON_HDCP_DISABLE,
allow_protection = true, start_repaint_loop = 0x7ff042bae430 <drm_output_start_repaint_loop>, repaint = 0x7ff042bb1030 <drm_output_repaint>, destroy = 0x7ff042badf00 <drm_output_destroy>, assign_planes =
0x7ff042bb87d0 <drm_assign_planes>, switch_mode = 0x7ff042bae920 <drm_output_switch_mode>, backlight_current = 0, set_backlight = 0x0, set_dpms = 0x7ff042bafa00 <drm_set_dpms>, gamma_size = 256,
set_gamma = 0x7ff042bb5aa0 <drm_output_set_gamma>, enabled = false, scale = 1, enable = 0x7ff042bb0170 <drm_output_enable>, disable = 0x7ff042baf250 <drm_output_disable>, attach_head =
0x7ff042bae3d0 <drm_output_attach_head>, detach_head = 0x7ff042badbc0 <drm_output_detach_head>}
(gdb) p output
$2 = (struct drm_output *) 0x55739349b060
(gdb) p *output
Cannot access memory at address 0x55739349b060
```
I tried applying the following patches on `weston` but the same issue happened:
* https://gitlab.freedesktop.org/wayland/weston/-/commit/b00d1a2efb215524739a5238466f86c90bb1bb33
* https://gitlab.freedesktop.org/wayland/weston/-/commit/744c0cbb32a2baf794e0ad4355dad7bd0cd3ef69
* https://gitlab.freedesktop.org/wayland/weston/-/commit/3be23eff99f13a4fdf5f31537bd489316b91346f
* https://gitlab.freedesktop.org/wayland/weston/-/commit/05cecc8ef313dddc7c71f2b0162b0b5aea44e374
* https://gitlab.freedesktop.org/wayland/weston/-/commit/de1b77e7cd8c56733dab390a39b0f45b6959adb3
* https://gitlab.freedesktop.org/wayland/weston/-/commit/8b6daa41ab29b8232174df453e4f350d96b627f7
* https://gitlab.freedesktop.org/wayland/weston/-/commit/fa48c5ee414c5f95f3c9c8563478d7f717bc3033
* https://gitlab.freedesktop.org/wayland/weston/-/commit/2015dfc3259db7c42f71aa052ebd41856fd8e89b
The issue may not be in `weston`, but in `maynard` or `agl-compositor` or somewhere else, let me know if I need to report this there too.https://gitlab.freedesktop.org/wayland/weston/-/issues/695Migrate to a standalone organization2022-11-26T07:46:24ZSimon Sercontact@emersion.frMigrate to a standalone organizationWeston is under the Wayland organization right now. Historically it was the first Wayland compositor, but nowadays it doesn't make much sense to keep things that way. Weston is not a more "official" compositor than others.Weston is under the Wayland organization right now. Historically it was the first Wayland compositor, but nowadays it doesn't make much sense to keep things that way. Weston is not a more "official" compositor than others.https://gitlab.freedesktop.org/wayland/weston/-/issues/690rdp-backend and vnc-backend does not work proper under screen-share option wi...2022-11-10T13:27:11Zbartuyesilbagrdp-backend and vnc-backend does not work proper under screen-share option with drm-backend and desktop-shellI am new in Weston and want to try Weston with remote-connection options,
I can connect via VNC or RDP with their own backends (vnc-backend.so or rdp-backend.so), but if i start Weston with drm-backend.so and set screen-share option to R...I am new in Weston and want to try Weston with remote-connection options,
I can connect via VNC or RDP with their own backends (vnc-backend.so or rdp-backend.so), but if i start Weston with drm-backend.so and set screen-share option to RDP/VNC in weston.ini file, i can not start that backend with **ctrl+alt+s** due to below error .
```
[07:23:34.066] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: yes
presentation clock: CLOCK_MONOTONIC, id 1
presentation clock resolution: 0.000000001 s
[07:23:34.066] Loading module '/usr/local/lib/weston/desktop-shell.so'
[07:23:34.068] launching '/usr/local/libexec/weston-keyboard'
[07:23:34.074] Loading module '/usr/local/lib/weston/screen-share.so'
[07:23:34.075] Loading module '/usr/local/lib/libweston-9/xwayland.so'
[07:23:34.111] Registered plugin API 'weston_xwayland_v1' of size 32
[07:23:34.111] Registered plugin API 'weston_xwayland_surface_v1' of size 16
[07:23:34.112] unlinking stale lock file /tmp/.X0-lock
[07:23:34.112] xserver listening on display :1
[07:23:34.112] launching '/usr/local/libexec/weston-desktop-shell'
[07:26:23.254] Screen share failed: Parent does not support wl_fullscreen_shell
[07:26:23.268] unknown child process exited
```
My main goal is, using weston via rdp/vnc like other compositors or other rdp/vnc servers.https://gitlab.freedesktop.org/wayland/weston/-/issues/687Kiosk: Client application not displaying2023-02-03T08:38:52ZThi GarletKiosk: Client application not displayingWith this commit on [compositor.c](https://gitlab.freedesktop.org/wayland/weston/-/commit/0669d4de4f225533a0559395c3ee923124123865), alacritty does not open inside kiosk shell.
Loading the application from service does not work too. Als...With this commit on [compositor.c](https://gitlab.freedesktop.org/wayland/weston/-/commit/0669d4de4f225533a0559395c3ee923124123865), alacritty does not open inside kiosk shell.
Loading the application from service does not work too. Also tried with Firefox.
Without that commit, I am using the command bellow, that makes alacritty launch as child of Weston, which can be seen on utilities like "top".
ExecStart=/bin/sh -c "(
while ! [ -e ${XDG_RUNTIME_DIR}/wayland-1 ] ; do sleep 0.1s; done;
LIBGL_ALWAYS_SOFTWARE=1 exec alacritty
) & x=1;
/usr/bin/weston --seat=seat_%i --drm-lease=%i -Bdrm-backend.so --shell=kiosk-shell.so"
**Thank you**https://gitlab.freedesktop.org/wayland/weston/-/issues/685Use matrix analysis for filtering decisions in the pixman renderer2023-01-11T23:28:30ZDerek ForemanUse matrix analysis for filtering decisions in the pixman renderer!1015 intends to provide this for the gl renderer, but ignore the similar code paths in the pixman renderer. This requires a little more effort because `repaint_region()` in `pixman-renderer.c` isn't passed the paint node.
See https://g...!1015 intends to provide this for the gl renderer, but ignore the similar code paths in the pixman renderer. This requires a little more effort because `repaint_region()` in `pixman-renderer.c` isn't passed the paint node.
See https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1015#note_1617225 for a good description of what this entails.https://gitlab.freedesktop.org/wayland/weston/-/issues/684Blank screen on msm_drm/Adreno with gbm_format=XBGR8888 GL-renderer and XRGB8...2023-05-16T10:30:02ZSkyBlank screen on msm_drm/Adreno with gbm_format=XBGR8888 GL-renderer and XRGB8888 Pixman-renderer### weston.ini, must set gbm-format to XBGR8888 or ABGR8888
```txt
[core]
gbm-format=XBGR8888
```
### RunLog
```txt
root@localhost:/root/install/bin# ./weston --continue-without-input --tty=1
Date: 2022-11-01 UTC
[02:33:20.641] weston 1...### weston.ini, must set gbm-format to XBGR8888 or ABGR8888
```txt
[core]
gbm-format=XBGR8888
```
### RunLog
```txt
root@localhost:/root/install/bin# ./weston --continue-without-input --tty=1
Date: 2022-11-01 UTC
[02:33:20.641] weston 10.0.2
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 10.0.2-4-gf88eed4e+
[02:33:20.641] Command line: ./weston --continue-without-input --tty=1
[02:33:20.641] OS: Linux, 4.19.81, #2 SMP PREEMPT Mon Oct 31 18:32:20 CST 2022, aarch64
[02:33:20.641] Flight recorder: enabled
[02:33:20.641] warning: XDG_RUNTIME_DIR "/usr/bin/weston_socket" is not configured
correctly. Unix access mode must be 0700 (current mode is 0777),
and must be owned by the user UID 0 (current owner is UID 0).
Refer to your distribution on how to get it, or
http://www.freedesktop.org/wiki/Specifications/basedir-spec
on how to implement it.
[02:33:20.641] Using config file '/root/install/bin/weston.ini'
[02:33:20.641] Output repaint window is 7 ms maximum.
[02:33:20.641] Loading module '/root/install/lib/aarch64-linux-gnu/libweston-10/drm-backend.so'
[02:33:20.645] initializing drm backend
[02:33:20.645] Trying libseat launcher...
[02:33:20.645] libseat: could not open seat
[02:33:20.645] Trying logind launcher...
[02:33:20.645] logind: cannot find systemd session for uid: 0 -61
[02:33:20.645] logind: cannot setup systemd-logind helper error: (No data available), using legacy fallback
[02:33:20.645] Trying weston_launch launcher...
[02:33:20.646] could not get launcher fd from env
[02:33:20.646] Trying direct launcher...
[02:33:20.652] using /dev/dri/card0
[02:33:20.652] DRM: supports atomic modesetting
[02:33:20.652] DRM: supports GBM modifiers
[02:33:20.652] DRM: supports picture aspect ratio
[02:33:20.652] Loading module '/root/install/lib/aarch64-linux-gnu/libweston-10/gl-renderer.so'
gbm_create_device(156): Info: backend name is: msm_drm
[02:33:20.661] EGL client extensions: EGL_EXT_client_extensions
EGL_KHR_client_get_all_proc_addresses EGL_EXT_platform_base
EGL_KHR_platform_android EGL_KHR_platform_wayland
EGL_KHR_platform_gbm
[02:33:20.665] EGL version: 1.5
[02:33:20.665] EGL vendor: Qualcomm Inc.
[02:33:20.665] EGL client APIs: OpenGL_ES
[02:33:20.665] EGL extensions: EGL_KHR_image EGL_KHR_image_base
EGL_QCOM_create_image EGL_KHR_lock_surface
EGL_KHR_lock_surface2 EGL_KHR_lock_surface3
EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image
EGL_KHR_gl_texture_3D_image EGL_KHR_gl_renderbuffer_image
EGL_ANDROID_blob_cache EGL_KHR_create_context
EGL_KHR_surfaceless_context EGL_KHR_create_context_no_error
EGL_KHR_get_all_proc_addresses EGL_QCOM_lock_image2
EGL_EXT_protected_content EGL_KHR_no_config_context
EGL_EXT_surface_SMPTE2086_metadata EGL_EXT_image_dma_buf_import
EGL_EXT_yuv_surface EGL_IMG_context_priority
EGL_WL_bind_wayland_display
EGL_WL_create_wayland_buffer_from_image
[02:33:20.665] warning: Disabling render GPU timeline and explicit synchronization due to missing EGL_ANDROID_native_fence_sync extension
[02:33:20.665] warning: Disabling explicit synchronization dueto missing EGL_KHR_wait_sync extension
[02:33:20.665] EGL_KHR_surfaceless_context available
[02:33:20.666] GL version: OpenGL ES 3.2
[02:33:20.666] GLSL version: OpenGL ES GLSL ES 3.20
[02:33:20.666] GL vendor: Qualcomm
[02:33:20.666] GL renderer: Adreno (TM) 650
[02:33:20.666] GL extensions: GL_OES_EGL_image GL_OES_EGL_image_external
GL_OES_EGL_sync GL_OES_vertex_half_float
GL_OES_framebuffer_object GL_OES_rgb8_rgba8
GL_OES_compressed_ETC1_RGB8_texture
GL_AMD_compressed_ATC_texture
GL_KHR_texture_compression_astc_ldr
GL_KHR_texture_compression_astc_hdr
GL_OES_texture_compression_astc GL_OES_texture_npot
GL_EXT_texture_filter_anisotropic
GL_EXT_texture_format_BGRA8888 GL_EXT_read_format_bgra
GL_OES_texture_3D GL_EXT_color_buffer_float
GL_EXT_color_buffer_half_float GL_QCOM_alpha_test
GL_OES_depth24 GL_OES_packed_depth_stencil GL_OES_depth_texture
GL_OES_depth_texture_cube_map GL_EXT_sRGB GL_OES_texture_float
GL_OES_texture_float_linear GL_OES_texture_half_float
GL_OES_texture_half_float_linear
GL_EXT_texture_type_2_10_10_10_REV GL_EXT_texture_sRGB_decode
GL_EXT_texture_format_sRGB_override GL_OES_element_index_uint
GL_EXT_copy_image GL_EXT_geometry_shader
GL_EXT_tessellation_shader GL_OES_texture_stencil8
GL_EXT_shader_io_blocks GL_OES_shader_image_atomic
GL_OES_sample_variables GL_EXT_texture_border_clamp
GL_EXT_EGL_image_external_wrap_modes
GL_EXT_multisampled_render_to_texture
GL_EXT_multisampled_render_to_texture2
GL_OES_shader_multisample_interpolation
GL_EXT_texture_cube_map_array GL_EXT_draw_buffers_indexed
GL_EXT_gpu_shader5 GL_EXT_robustness GL_EXT_texture_buffer
GL_EXT_shader_framebuffer_fetch
GL_ARM_shader_framebuffer_fetch_depth_stencil
GL_OES_texture_storage_multisample_2d_array
GL_OES_sample_shading GL_OES_get_program_binary
GL_EXT_debug_label GL_KHR_blend_equation_advanced
GL_KHR_blend_equation_advanced_coherent GL_QCOM_tiled_rendering
GL_ANDROID_extension_pack_es31a GL_EXT_primitive_bounding_box
GL_OES_standard_derivatives GL_OES_vertex_array_object
GL_EXT_disjoint_timer_query GL_KHR_debug GL_EXT_YUV_target
GL_EXT_sRGB_write_control GL_EXT_texture_norm16
GL_EXT_discard_framebuffer GL_OES_surfaceless_context
GL_OVR_multiview GL_OVR_multiview2 GL_EXT_texture_sRGB_R8
GL_KHR_no_error GL_EXT_debug_marker
GL_OES_EGL_image_external_essl3
GL_OVR_multiview_multisampled_render_to_texture
GL_EXT_buffer_storage GL_EXT_external_buffer
GL_EXT_blit_framebuffer_params GL_EXT_clip_cull_distance
GL_EXT_protected_textures
GL_EXT_shader_non_constant_global_initializers
GL_QCOM_texture_foveated
GL_QCOM_texture_foveated_subsampled_layout
GL_QCOM_shader_framebuffer_fetch_noncoherent
GL_QCOM_shader_framebuffer_fetch_rate GL_EXT_memory_object
GL_EXT_memory_object_fd GL_EXT_EGL_image_array
GL_NV_shader_noperspective_interpolation
GL_KHR_robust_buffer_access_behavior GL_EXT_EGL_image_storage
GL_EXT_blend_func_extended GL_EXT_clip_control
GL_OES_texture_view GL_EXT_fragment_invocation_density
GL_QCOM_motion_estimation GL_QCOM_validate_shader_binary
GL_QCOM_YUV_texture_gather
[02:33:20.675] GL ES 3.2 - renderer features:
read-back format: BGRA
EGL Wayland extension: yes
[02:33:20.685] warning: no input devices found, but none required as per configuration.
[02:33:20.685] DRM: head 'DSI-1' updated, connector 29 is connected, EDID make 'QCM', model 'unknown', serial '1'
[02:33:20.686] DRM: head 'DSI-1' found, connector 29 is connected, EDID make 'QCM', model 'unknown', serial '1'
[02:33:20.686] DRM: failed to create head for connector 46.
[02:33:20.686] DRM: head 'DP-1' updated, connector 56 is disconnected.
[02:33:20.687] DRM: head 'DP-1' found, connector 56 is disconnected.
[02:33:20.687] Registered plugin API 'weston_drm_output_api_v1' of size 24
[02:33:20.687] Registered plugin API 'weston_drm_virtual_output_api_v1' of size 48
[02:33:20.687] Color manager: no-op
[02:33:20.687] Output 'DSI-1' using color profile: built-in default sRGB SDR profile
[02:33:20.689] Chosen EGL config details: id: 5 rgba: 8 8 8 0 buf: 24 dep: 0 stcl: 0 int: 0-1 type: win|pbf|swap_preserved vis_id: XBGR8888 (0x34324258)
[02:33:20.689] Output DSI-1 (crtc 210) video modes:
1920x1080@60.0, preferred, current, 148.5 MHz
[02:33:20.689] Output 'DSI-1' enabled with head(s) DSI-1
[02:33:20.689] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: yes
cursor planes: yes
arbitrary resolutions: no
view mask clipping: yes
explicit sync: no
color operations: yes
presentation clock: CLOCK_MONOTONIC, id 1
presentation clock resolution: 0.000000001 s
[02:33:20.690] Loading module '/root/install/lib/aarch64-linux-gnu/weston/desktop-shell.so'
[02:33:20.690] launching '/root/install/libexec/weston-keyboard'
[02:33:20.693] Note: support for the deprecated wl_shell interface is disabled. If a legacy client still needs it, it can be re-enabled by passing -Ddeprecated-wl-shell=true to Meson when building Weston.
[02:33:20.694] launching '/root/install/libexec/weston-desktop-shell'
could not load cursor 'dnd-move'
could not load cursor 'dnd-copy'
could not load cursor 'dnd-none'
could not load cursor 'dnd-move'
could not load cursor 'dnd-copy'
could not load cursor 'dnd-none'
[02:33:21.611] Warning: computed repaint delay is insane: -2768931 msec
^C[02:33:24.672] caught signal 2
[02:33:24.672] destroy output while page flip pending
[02:33:24.672] panel surface gone
[02:33:24.672] background surface gone
[02:33:24.761] destroy output while page flip pending
[02:33:24.766] destroy output while page flip pending
[02:33:24.766] Output 'DSI-1' no heads left, disabling.
```
### Run weston-info
```txt
root@localhost:/root/install/bin# ./weston-info
*** Please use wayland-info instead
*** weston-info is deprecated and will be removed in a future version
interface: 'wl_compositor', version: 4, name: 1
interface: 'wl_subcompositor', version: 1, name: 2
interface: 'wp_viewporter', version: 1, name: 3
interface: 'zxdg_output_manager_v1', version: 2, name: 4
xdg_output_v1
output: 15
name: 'DSI-1'
logical_x: 0, logical_y: 0
logical_width: 1920, logical_height: 1080
interface: 'wp_presentation', version: 1, name: 5
presentation clock id: 1 (CLOCK_MONOTONIC)
interface: 'zwp_relative_pointer_manager_v1', version: 1, name: 6
interface: 'zwp_pointer_constraints_v1', version: 1, name: 7
interface: 'zwp_input_timestamps_manager_v1', version: 1, name: 8
interface: 'wl_data_device_manager', version: 3, name: 9
interface: 'wl_shm', version: 1, name: 10
formats: 'XB4H'(0x48344258) 'AB4H'(0x48344241) 'XB30'(0x30334258) 'AB30'(0x30334241) 'XYUV'(0x56555958) 'YUYV'(0x56595559) 'NV12'(0x3231564e) 'YU12'(0x32315559) RGB565 XRGB8888 ARGB8888
interface: 'wayland_buffer_backend', version: 4, name: 11
interface: 'zwp_linux_dmabuf_v1', version: 3, name: 12
formats:
'XR24'(0x34325258), modifier: 0x00ffffffffffffff
'AR24'(0x34325241), modifier: 0x00ffffffffffffff
interface: 'weston_direct_display_v1', version: 1, name: 13
interface: 'weston_content_protection', version: 1, name: 14
interface: 'wl_output', version: 3, name: 15
x: 0, y: 0, scale: 1,
physical_width: 0 mm, physical_height: 0 mm,
make: 'QCM', model: 'unknown',
subpixel_orientation: unknown, output_transform: normal,
mode:
width: 1920 px, height: 1080 px, refresh: 60.000 Hz,
flags: current preferred
interface: 'zwp_input_panel_v1', version: 1, name: 16
interface: 'zwp_text_input_manager_v1', version: 1, name: 17
interface: 'xdg_wm_base', version: 3, name: 18
interface: 'weston_desktop_shell', version: 1, name: 19
interface: 'weston_screenshooter', version: 1, name: 20
```
### Run weston-flower, no any show on the screen
```txt
root@localhost:/root/install/bin# ./weston-flower
could not load cursor 'dnd-move'
could not load cursor 'dnd-copy'
could not load cursor 'dnd-none'
^C
```
### modetest will work ok on my screen
```txt
modetest -M msm_drm -D 0 -a -s 29@210:1920x1080x60x148500vid -P 100@210:1920x1080x60x148500vid -Ftiles
setting mode 1920x1080x60x148500vid-60.00Hz on connectors 29, crtc 210
testing 1920x1080@XR24 on plane 100, crtc 210
```https://gitlab.freedesktop.org/wayland/weston/-/issues/682Cut Your Test Runtime In Half With This One Weird Trick2024-02-22T14:31:29ZDaniel Stonedaniel@fooishbar.orgCut Your Test Runtime In Half With This One Weird TrickWeston's test runtime is dominated by output-damage. On my laptop (and this seems vaguely consistent with CI), it takes approx. 4.5sec to run. In this 4.5sec, it spawns a compositor 42 times (taking a screenshot twice each time), which s...Weston's test runtime is dominated by output-damage. On my laptop (and this seems vaguely consistent with CI), it takes approx. 4.5sec to run. In this 4.5sec, it spawns a compositor 42 times (taking a screenshot twice each time), which seems kind of unfortunate since we're losing parallelism on our long pole - everything else completes long before output-damage does.
But there's an easy way to reduce that 4.5s runtime to like 2s, and to reduce output-transforms from 3.5s to 1.3s! You can do it without touching the test suite or any of the tests, and by deleting a single character:
```diff
diff --git a/libweston/backend-headless/headless.c b/libweston/backend-headless/headless.c
index 83de39dc5..b121235fc 100644
--- a/libweston/backend-headless/headless.c
+++ b/libweston/backend-headless/headless.c
@@ -146,7 +146,7 @@ headless_output_repaint(struct weston_output *output_base,
pixman_region32_subtract(&ec->primary_plane.damage,
&ec->primary_plane.damage, damage);
- wl_event_source_timer_update(output->finish_frame_timer, 16);
+ wl_event_source_timer_update(output->finish_frame_timer, 1);
return 0;
}
```
Obviously this is not a serious suggestion to upstream this one patch, but yeah, we should really make the refresh period configurable, and push it as low as possible in the test suite unless we're actually, y'know, wanting to simulate 'real-world' timings.