-
Notifications
You must be signed in to change notification settings - Fork 228
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
wlroots based Wayland compositor #1209
Comments
Because with advancements in GBM buffer support it is starting to feel within reach, but we're not there yet. From the GBM side, we have an open alternate provider of The current impediment is that NVIDIA's libdrm doesn't have a new enough API to support wlroots. It is possible that an older version of wlroots may fare better. Or maybe if you have the patience, you may be able to patch out the things that need the newer API, I don't know how extensive this is. Edit: I should add that in my investigations here, I was not using phoc but instead sway from meta-wayland, so take this under consideration alongside my comment. |
Also, it is worth noting that for the best GBM support, you will want to be on one of the current jetpack 5 (35.x) branches. |
@kekiefer Thank you for your input! |
Describe the bug
The wlroots based Wayland compositor phoc fails to start on the NVIDIA Jetson AGX Xavier.
To Reproduce
Steps to reproduce the behavior:
meta-tegra
branchkirkstone-l4t-r32.7.x
commite5e5f08e640ea3ed67ef72c49304636fe47e9719
withMACHINE=jetson-agx-xavier-devkit
phoc_0.25.2.bb
phoc_0.25.2.zipCORE_IMAGE_BASE_INSTALL += phoc
todemo-image-weston.bb
bitbake demo-image-weston
WLR_BACKENDS=wayland phoc
and get an error:undefined symbol: drmIsKMS
This error is caused by missing symbol
drmIsKMS
in NVIDIA version of libdrm.so (libdrm_nvdc.so
, installed to rootfs as/usr/lib/tegra/libdrm.so.2
)I removed from
phoc
source codephoc/subprojects/wlroots/backend/session/session.c
(actually fromwlroots
source code, loaded as git submodule) the following linesand rebuilt
phoc
. After thisphoc
fails to start with the following error:Additional context
I've noticed multiple patches in meta-tegra/recipes-graphics/wayland for weston to run properly on Jetson.
Is there any change to get support of wlroots based Wayland compositor in meta-tegra?
The text was updated successfully, but these errors were encountered: