Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DRM use flag masked on arm64 23 desktop profile for wlroots.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
JungerBoyo
n00b
n00b


Joined: 01 May 2024
Posts: 5

PostPosted: Wed May 01, 2024 7:35 pm    Post subject: DRM use flag masked on arm64 23 desktop profile for wlroots. Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum