Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[gpu] weston fails to start using 5.15 kernel #1686

Closed
otavio opened this issue Nov 3, 2023 · 3 comments
Closed

[gpu] weston fails to start using 5.15 kernel #1686

otavio opened this issue Nov 3, 2023 · 3 comments

Comments

@otavio
Copy link
Member

otavio commented Nov 3, 2023

          @thochstein this seems to regress with 5.15 kernel. I am using varscite SOMs which are still on 5.15.60 kernel. weston refuses to start 
Nov 03 05:32:21 imx8qm-var-som weston[1691]: [05:32:21.350] weston 11.0.2
Nov 03 05:32:21 imx8qm-var-som weston[1691]:                https://wayland.freedesktop.org
Nov 03 05:32:21 imx8qm-var-som weston[1691]:                Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Nov 03 05:32:21 imx8qm-var-som weston[1691]:                Build: 10.0.0-661-ga3c5e63a+
Nov 03 05:32:21 imx8qm-var-som weston[1691]: [05:32:21.350] Command line: /usr/bin/weston --modules=systemd-notify.so
Nov 03 05:32:21 imx8qm-var-som weston[1691]: [05:32:21.350] OS: Linux, 5.15.60-imx8qm-imx8qm+g740e6c7a7b09, #1 SMP PREEMPT Fri Jul 14 11:33:35
 UTC 2023, aarch64
Nov 03 05:32:21 imx8qm-var-som weston[1691]: [05:32:21.350] Flight recorder: enabled
Nov 03 05:32:21 imx8qm-var-som weston[1691]: [05:32:21.350] Using config file '/etc/xdg/weston/weston.ini'
Nov 03 05:32:21 imx8qm-var-som weston[1691]: [05:32:21.351] Output repaint window is 16 ms maximum.
Nov 03 05:32:21 imx8qm-var-som weston[1691]: [05:32:21.351] Loading module '/usr/lib/libweston-11/drm-backend.so'
Nov 03 05:32:21 imx8qm-var-som weston[1691]: [05:32:21.357] initializing drm backend
Nov 03 05:32:21 imx8qm-var-som weston[1691]: [05:32:21.357] Trying logind launcher...
Nov 03 05:32:21 imx8qm-var-som weston[1691]: [05:32:21.377] logind: session control granted
Nov 03 05:32:21 imx8qm-var-som weston[1691]: [05:32:21.394] using /dev/dri/card0
Nov 03 05:32:21 imx8qm-var-som weston[1691]: [05:32:21.394] DRM: supports atomic modesetting
Nov 03 05:32:21 imx8qm-var-som weston[1691]: [05:32:21.394] DRM: supports GBM modifiers
Nov 03 05:32:21 imx8qm-var-som weston[1691]: [05:32:21.394] DRM: supports picture aspect ratio
Nov 03 05:32:21 imx8qm-var-som weston[1691]: [05:32:21.394] Loading module '/usr/lib/libweston-11/gl-renderer.so'
Nov 03 05:32:21 imx8qm-var-som weston[1691]: [     1] HAL user version: 6.4.11.684571
Nov 03 05:32:21 imx8qm-var-som weston[1691]: [     2] HAL kernel version: 6.4.11.658245
Nov 03 05:32:21 imx8qm-var-som weston[1691]: [05:32:21.403] failed to initialize display
Nov 03 05:32:21 imx8qm-var-som weston[1691]: [05:32:21.403] EGL error state: EGL_NOT_INITIALIZED (0x3001)
Nov 03 05:32:21 imx8qm-var-som weston[1691]: [05:32:21.403] failed to initialize egl
Nov 03 05:32:21 imx8qm-var-som weston[1691]: [05:32:21.403] fatal: failed to create compositor backend
Nov 03 05:32:21 imx8qm-var-som weston[1691]: Internal warning: debug scope 'drm-backend' has not been destroyed.
Nov 03 05:32:21 imx8qm-var-som weston[1691]: [     3] HAL user version: 6.4.11.684571
Nov 03 05:32:21 imx8qm-var-som weston[1691]: [     4] HAL kernel version: 6.4.11.658245
Nov 03 05:32:21 imx8qm-var-som systemd[1]: weston.service: Main process exited, code=exited, status=1/FAILURE
Nov 03 05:32:21 imx8qm-var-som systemd[1]: weston.service: Failed with result 'exit-code'.
Nov 03 05:32:21 imx8qm-var-som systemd[1]: Failed to start Weston, a Wayland compositor, as a system service.

Any ideas ?

Originally posted by @kraj in #1679 (comment)

@otavio
Copy link
Member Author

otavio commented Nov 3, 2023

@thochstein
Copy link
Contributor

Oh, sorry, I did forget to upgradekernel-module-imx-gpu-viv, will do it now.

@kraj
Copy link
Contributor

kraj commented Nov 3, 2023

FWIW #1687 fixed this problem. Thanks @thochstein

@otavio otavio closed this as completed Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants