Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

Problem with xlibre and xorg-drivers [solved]

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
nyback2
n00b
n00b
Posts: 6
Joined: Tue Jul 02, 2024 12:30 pm

Problem with xlibre and xorg-drivers [solved]

  • Quote

Post by nyback2 » Fri Jan 23, 2026 6:47 am

I follow the instructions, have checked gentoo wiki xlibre page, overlay readme, and an issues thread in the xlibre git on the wiki contents. but it always wants to pull in xorg-drivers. And fails on xf86-video-intel
I think it should not pull in those, but use the xlibre-drivers package instead when using xlibre-server.
Anyone had any success?
/Andreas
Last edited by nyback2 on Sat Jan 24, 2026 8:40 am, edited 1 time in total.
Top
Banana
Moderator
Moderator
User avatar
Posts: 2372
Joined: Fri May 21, 2004 12:02 pm
Location: Germany
Contact:
Contact Banana
Website

  • Quote

Post by Banana » Fri Jan 23, 2026 10:09 am

I've split your post from Xorg forked to XLibre into a seperate one, to make it more visible. Feel free to edit the topic title to your linking be editing your post.

As per our Guidelines part 4. Include logs and tell us commands execute, please include them here. You can use https://wiki.gentoo.org/wiki/Wgetpaste to provide large log files.
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Top
pietinger
Moderator
Moderator
Posts: 6617
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Fri Jan 23, 2026 11:07 am

Moved from Desktop Environments to Unsupported Software.
https://wiki.gentoo.org/wiki/User:Pietinger --> https://wiki.gentoo.org/wiki/User:Pieti ... _at_Gentoo
Top
stefan11111
Veteran
Veteran
Posts: 1024
Joined: Sun Jan 29, 2023 6:08 pm
Location: Romania
Contact:
Contact stefan11111
Website

Re: Trying to install xlibre from the xlibre gentoo overlay

  • Quote

Post by stefan11111 » Fri Jan 23, 2026 3:39 pm

nyback2 wrote:I follow the instructions, have checked gentoo wiki xlibre page, overlay readme, and an issues thread in the xlibre git on the wiki contents. but it always wants to pull in xorg-drivers. And fails on xf86-video-intel
I think it should not pull in those, but use the xlibre-drivers package instead when using xlibre-server.
Anyone had any success?
/Andreas
What commands did you run?
Just these should work:

Code: Select all

emerge -C xorg-server xorg-drivers
emerge -av xorg-server::xlibre
The -C is necessary, because xorg-server is a dummy package that pulls in xlibre-server, which would conflict with the regular xorg-server package.
Note that some use flags were added to the {xorg,xlibre}-server packages, like glx and glx-dri, so if you want them, you should enable them (they are enabled by default).
If something else on your system already pulls in xorg-server, you can --oneshot it.
My overlay: https://github.com/stefan11111/stefan_overlay
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d *udev* /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /usr/bin/gdbus /lib/udev"
Top
nyback2
n00b
n00b
Posts: 6
Joined: Tue Jul 02, 2024 12:30 pm

Re: Trying to install xlibre from the xlibre gentoo overlay

  • Quote

Post by nyback2 » Fri Jan 23, 2026 5:18 pm

Thanks for replying

Code: Select all

emerge -C xorg-server xorg-drivers
emerge -av xorg-server::xlibre
When i run this i get this on the second step:

Code: Select all

> emerge -av xorg-server::xlibre

 * IMPORTANT: 1 news items need reading for repository 'gentoo-zh'.
 * IMPORTANT: 41 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 181.50 s (backtrack: 10/20).

[binary  N    ~] x11-base/xorg-server-25.0.0.18-1:0/25.0.0.18::xlibre  USE="elogind suid udev unwind xcsecurity xephyr xinerama xnest xorg xvfb -debug -minimal (-selinux) -systemd -test" 0 KiB
[binary  N    ~] x11-base/xlibre-drivers-25.0.0.0-3::xlibre  INPUT_DEVICES="evdev joystick libinput synaptics vmmouse -elographics -void -wacom" VIDEO_CARDS="amdgpu fbdev i915 intel nouveau nvidia radeon radeonsi vesa -ast -dummy (-freedreno) (-geode) -mga (-omap) -qxl -r128 -siliconmotion (-tegra) (-vc4) (-via) (-virtualbox) -vmware" 20 KiB
[binary  N    ~] x11-base/xlibre-server-25.0.0.18-3:0/25.0.0.18::xlibre  USE="elogind suid udev unwind xcsecurity xephyr xinerama xnest xorg xvfb -debug -minimal (-selinux) -systemd -test" 4 200 KiB
[binary   R    ] x11-drivers/xf86-input-evdev-2.11.0-5::gentoo  0 KiB
[binary   R    ] x11-drivers/xf86-input-joystick-1.6.4-6::gentoo  80 KiB
[binary   R    ] x11-drivers/xf86-input-libinput-1.5.0-8::gentoo  0 KiB
[binary   R    ] x11-drivers/xf86-input-vmmouse-13.2.0-6::gentoo  60 KiB
[binary   R    ] x11-drivers/xf86-input-synaptics-1.10.0-5::gentoo  0 KiB
[binary   R    ] x11-drivers/xf86-video-fbdev-0.5.1-5::gentoo  50 KiB
[binary   R    ] x11-drivers/xf86-video-nouveau-1.0.18-8::gentoo  280 KiB
[binary   R    ] x11-drivers/xf86-video-ati-22.0.0-10::gentoo  USE="udev" 0 KiB
[binary   R    ] x11-drivers/xf86-video-vesa-2.6.0-5::gentoo  0 KiB
[binary   R    ] x11-drivers/xf86-video-amdgpu-25.0.0-r1-4::gentoo  USE="udev" 110 KiB
[ebuild  rR    ] x11-drivers/xf86-input-wacom-1.2.4::gentoo  USE="-test" 0 KiB
[ebuild  rR    ] x11-drivers/xf86-video-intel-2.99.917_p20230201::gentoo  USE="dri sna tools udev uxa xvmc -debug -valgrind" 0 KiB

Total: 15 packages (3 new, 12 reinstalls, 13 binaries), Size of downloads: 4 800 KiB
And i will get error on dri2 on x11-drivers/xf86-video-intel
But my guess is that those gentoo packages should not get pulled in?

As you can see, i have a long set of cards in video_cards set, and all use flags imaginable. We are running a binhost that builds for a number of computers in our network.

[Administrator edit: added [code] tags to preserve output layout. -Hu]
Top
Anon-E-moose
Watchman
Watchman
User avatar
Posts: 6566
Joined: Fri May 23, 2008 7:31 pm
Location: Dallas area

  • Quote

Post by Anon-E-moose » Fri Jan 23, 2026 6:32 pm

What is your priority on the xlibre repo? Default or have you set it?
UM780 xtx, 6.18 zen kernel, gcc 15, openrc, wayland
minixforum m1-s1 max -- same software as above but used for ai learning


Zealots are gonna be zealots, just like haters are gonna be haters
Top
stefan11111
Veteran
Veteran
Posts: 1024
Joined: Sun Jan 29, 2023 6:08 pm
Location: Romania
Contact:
Contact stefan11111
Website

Re: Trying to install xlibre from the xlibre gentoo overlay

  • Quote

Post by stefan11111 » Fri Jan 23, 2026 9:44 pm

nyback2 wrote: When i run this i get this on the second step:
It looks like the the gentoo packages take precedence on your system over the xlibre packages.
Try masking them. Add this to /etc/portage/package.mask

Code: Select all

x11-drivers/*::gentoo
Also, I see that you are using the stable xlibre packages.
If you are using xlibre for some feature that was added, it's likely that it's in the 25.1 release or in master only.
In that case, you want to add this to /etc/portage/package.accepy_keywords, until we package the 25.1 release:

Code: Select all

*/*::xlibre **
My overlay: https://github.com/stefan11111/stefan_overlay
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d *udev* /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /usr/bin/gdbus /lib/udev"
Top
nyback2
n00b
n00b
Posts: 6
Joined: Tue Jul 02, 2024 12:30 pm

  • Quote

Post by nyback2 » Sat Jan 24, 2026 8:37 am

Looking much better

Code: Select all

> emerge -av xorg-server::xlibre


 * IMPORTANT: 1 news items need reading for repository 'gentoo-zh'.
 * IMPORTANT: 41 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 32.50 s (backtrack: 0/20).

[ebuild     U *] x11-base/xlibre-drivers-9999::xlibre [25.0.0.0::xlibre] INPUT_DEVICES="evdev joystick libinput synaptics vmmouse -elographics -keyboard% -mouse% -void -wacom" VIDEO_CARDS="amdgpu fbdev i915 intel nouveau nvidia radeon radeonsi vesa -ast -dummy (-freedreno) (-geode) -mga (-omap) -qxl -r128 -siliconmotion (-tegra) (-vc4) (-via) (-virtualbox) -vmware" 0 KiB
[ebuild     U *] x11-base/xlibre-server-9999:0/9999::xlibre [25.0.0.18:0/25.0.0.18::xlibre] USE="elogind glx%* glx-dri%* suid udev unwind xcsecurity xephyr xinerama xnest xorg xvfb -debug -minimal (-selinux) -systemd -test -xfbdev%" 0 KiB
[ebuild  N    *] x11-drivers/xf86-input-joystick-9999::xlibre  0 KiB
[ebuild  N    *] x11-drivers/xf86-input-vmmouse-9999::xlibre  0 KiB
[ebuild  N    *] x11-drivers/xf86-video-fbdev-9999::xlibre  0 KiB
[ebuild  N    *] x11-drivers/xf86-video-vesa-9999::xlibre  0 KiB
[ebuild  N    *] x11-drivers/xf86-input-synaptics-9999::xlibre  0 KiB
[ebuild  N    *] x11-drivers/xf86-input-evdev-9999::xlibre  0 KiB
[ebuild  N    *] x11-drivers/xf86-video-amdgpu-9999::xlibre  USE="udev" 0 KiB
[ebuild  N    *] x11-drivers/xf86-input-libinput-9999::xlibre  0 KiB
[ebuild  N    *] x11-drivers/xf86-video-ati-9999::xlibre  USE="udev" 0 KiB
[ebuild  N    *] x11-drivers/xf86-video-intel-9999::xlibre  USE="dri sna tools udev uxa xvmc -debug -valgrind" 0 KiB
[ebuild  N    *] x11-drivers/xf86-video-nouveau-9999::xlibre  0 KiB
[ebuild     U *] x11-base/xorg-server-9999:0/9999::xlibre [25.0.0.18:0/25.0.0.18::xlibre] USE="elogind glx%* suid udev unwind xcsecurity xephyr xinerama xnest xorg xvfb -debug -minimal (-selinux) -systemd -test -xfbdev%" 0 KiB
unmerged all xf86-::gentoo and masked the gentoo stuff, and de-keyworded xlibre stuff

x11-drivers/xf86-input-vmmouse-9999::xlibre -> required nolto to compile. I have global lto turned on.

On our binary host, also this one was needed:

Code: Select all

=x11-base/xorg-server-9999:0/9999::xlibre       -elogind
Could have been the priority thing too. Maybe. But default priority is negative so a priority of 100 on xlibre should not matter. Maybe.

Thanks
On to try it out. Need X11. And openrc. and kde (looks depressing on kde going forward :-)

[Administrator edit: added [code] tags to preserve output layout. -Hu]
Top
Post Reply

8 posts • Page 1 of 1

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy