JungerBoyo n00b
Joined: 01 May 2024 Posts: 5
|
Posted: Wed May 01, 2024 7:35 pm Post subject: DRM use flag masked on arm64 23 desktop profile for wlroots. |
|
|
I tried to setup gentoo on pinetab2 last two days. I wanted to go with swayWM setup. I switched to desktop profile, set all extra USE flags and installed all necessary packages. However when trying to execute sway I got this error:
Quote: |
regu ~ # eselect profile show
Current /etc/portage/make.profile symlink:
default/linux/arm64/23.0/desktop
regu ~ # sway
00:00:00.022 [ERROR] [wlr] [backend/backend.c:242] Cannot create DRM backend: disabled at compile-time
00:00:00.022 [ERROR] [wlr] [backend/backend.c:376] Failed to open any DRM device
00:00:00.067 [ERROR] [sway/server.c:137] Unable to create backend
|
I thought it is kind of weird, so I checked wlroots package.
Quote: |
regu ~ # emerge -pv gui-libs/wlroots
These are the packages that would be merged, in order:
Calculating dependencies ... done!
Dependency resolution took 8.21 s (backtrack: 0/20).
[ebuild R ] gui-libs/wlroots-0.17.2:0/17::gentoo USE="X libinput session vulkan (-drm) (-liftoff) -tinywl -x11-backend -xcb-errors" 0 KiB
Total: 1 package (1 reinstall), Size of downloads: 0 KiB
* IMPORTANT: 3 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
|
I saw that drm flag is masked by a profile, which seemed weird because I'm on the desktop profile. After some digging I found this:
Quote: |
regu ~ # cat /var/db/repos/gentoo/profiles/arch/arm64/package.use.mask | grep -A 5 -B 5 wlroots
sys-kernel/installkernel -efistub
# Mart Raudsepp <leio@gentoo.org> (2024-03-03)
# media-libs/libdisplay-info (drm) and dev-libs/libliftoff (liftoff)
# are only available for amd64, arm64 and riscv
>=gui-libs/wlroots-0.17.0 -drm -liftoff
# Joonas Niilola <juippis@gentoo.org> (2024-02-16)
# Test dependencies not keyworded on this arch.
www-servers/nginx test
|
I checked and media-libs/libdisplay-info package IS available on arm64. And also, the comment is contradictory, so I think it is a bug. I can manually remove it but then after emerge --sync it is overwritten.
I'm kindly sorry if I put this in the wrong thread _________________ UTC+2 |
|