Skip to main content
Topic: simplest way to convert to xlibre (Read 1036 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

simplest way to convert to xlibre

I looked at the xlibre wiki article, buit don't see any instructtions on how to update to xlibre from xorg.

I see these interesting installed packages which have xlibre parallels using a command from that wiki page
Code: [Select]
$ pacman -Q | grep 'xlibre-xserver\|xorg-server\|xf86-'
xf86-input-libinput 1.5.0-1.2
xf86-input-vmmouse 13.2.0-2.2
xf86-video-dummy 0.4.1-2.2
xf86-video-fbdev 0.5.1-1.2
xf86-video-intel 1:2.99.917+939+g4a64400e-1
xf86-video-sisusb 0.9.7-5.2
xf86-video-vesa 2.6.0-2.2
xf86-video-vmware 13.4.0-4
xorg-server 21.1.20-1
xorg-server-common 21.1.20-1

If I do pacman -Qs x11 I see a much longer list with things like libX11, xorgproto etc etc.

What pkgs should I be installing?

Re: simplest way to convert to xlibre

Reply #1
The only xorg-* package that needs to be replaced is xorg-server.

The simplest way to convert to XLibre is command:

Code: [Select]
pacman -Q | grep '^xorg-server-\|^xf86' | cut -d' ' -f1 | \
sed 's/^xorg-server-/xlibre-xserver-/' | \
sed 's/^xf86-/xlibre-/' | xargs -ro pacman -Syy

artist

Re: simplest way to convert to xlibre

Reply #2
I'll give that a try

Re: simplest way to convert to xlibre

Reply #3
I executed the command recommended and it gives me the following (I had to remove lxdm which needs xorg-server)
Code: [Select]
$ pacman -Q | grep '^xorg-server-\|^xf86' | cut -d' ' -f1 | sed 's/^xorg-server-/xlibre-xserver-/' | sed 's/^xf86-/xlibre-/' | sudo xargs -ro pacman -Syy
......
resolving dependencies...
looking for conflicting packages...
:: xlibre-input-libinput-1.5.1.0-9.2 and xorg-server-common-21.1.20-1 are in conflict. Remove xorg-server-common? [y/N] y
:: xlibre-input-libinput-1.5.1.0-9.2 and xorg-server-21.1.20-1 are in conflict (X-ABI-XINPUT_VERSION). Remove xorg-server? [y/N] y
:: xlibre-video-intel-3.0.0.6-1 and xf86-video-intel-1:2.99.917+939+g4a64400e-1 are in conflict (xf86-video-intel-sna). Remove xf86-video-intel? [y/N] y

Packages (9) xf86-video-intel-1:2.99.917+939+g4a64400e-1 [removal]
             xorg-server-21.1.20-1 [removal]
             xorg-server-common-21.1.20-1 [removal]
             xlibre-input-libinput-1.5.1.0-9.2  xlibre-video-dummy-0.4.1.4-1
             xlibre-video-fbdev-0.5.1.2-1.2  xlibre-video-intel-3.0.0.6-1
             xlibre-video-vesa-2.6.0.4-1.1  xlibre-xserver-common-25.0.0.18-2

Total Download Size:    0.79 MiB
Total Installed Size:   2.41 MiB
Net Upgrade Size:      -3.90 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
 xlibre-video-fbd...    13.4 KiB   318 KiB/s 00:00 [----------------------] 100%
 xlibre-video-ves...    16.2 KiB   318 KiB/s 00:00 [----------------------] 100%
 xlibre-xserver-c...    27.3 KiB   514 KiB/s 00 [----------------------] 100%
 xlibre-input-lib...    43.4 KiB   735 KiB/s 00:00 [----------------------] 100%
 xlibre-video-dum...    10.4 KiB  1150 KiB/s 00:00 [----------------------] 100%
 xlibre-video-int...   698.7 KiB  6.50 MiB/s 00:00 [----------------------] 100%
 Total (6/6)           809.3 KiB  6.59 MiB/s 00:00 [----------------------] 100%
(6/6) checking keys in keyring                     [----------------------] 100%
(6/6) checking package integrity                   [----------------------] 100%
(6/6) loading package files                        [----------------------] 100%
(6/6) checking for file conflicts                  [----------------------] 100%
error: failed to commit transaction (conflicting files)
xlibre-input-libinput: /usr/include/xorg/libinput-properties.h exists in filesystem (owned by xf86-input-libinput)
xlibre-input-libinput: /usr/lib/pkgconfig/xorg-libinput.pc exists in filesystem (owned by xf86-input-libinput)
xlibre-input-libinput: /usr/share/X11/xorg.conf.d/40-libinput.conf exists in filesystem (owned by xf86-input-libinput)
xlibre-input-libinput: /usr/share/man/man4/libinput.4.gz exists in filesystem (owned by xf86-input-libinput)
xlibre-video-fbdev: /usr/share/man/man4/fbdev.4.gz exists in filesystem (owned by xf86-video-fbdev)
xlibre-video-vesa: /usr/share/man/man4/vesa.4.gz exists in filesystem (owned by xf86-video-vesa)
Errors occurred, no packages were upgraded.

so I guess the xlibre packages don't object to xf86-input-libinput, xf86-video-fbdev & xf86-video-vesa.

I removed the conflicting pkgs and then entered

Code: [Select]
sudo pacman -S xlibre-input-libinput xlibre-video-dummy xlibre-video-fbdev xlibre-video-intel xlibre-video-vesa xlibre-xserver-common xlibre-xserver

this command worked without any clashes and a reboot allowed things to proceed. Everything seemed to be working :)

One thing I noticed is that artist's command doesn't seem to install xlibre-xserver; I added that to the end of the discovered list myself.

Re: simplest way to convert to xlibre

Reply #4
Artist's install string worked perfectly for me. Replabrobin's pacman command is more dependent on your system configuration and may not work in all cases.


Re: simplest way to convert to xlibre

Reply #6
yah i just did
Code: [Select]
 sudo pacmn -S xlibre xlibre-drivers
then rebooted afterwards
Cat Herders of Linux

Re: simplest way to convert to xlibre

Reply #7
yah i just did
Code: [Select]
 sudo pacmn -S xlibre xlibre-drivers
then rebooted afterwards
That's the same. Try: ”echo xlibre{,-drivers}” *)

Btw: It's better to use pacman with "-Sy", to avoid conflicts, if there are already new versions.

*) or "echo {10..0}", or "espeak {10..0}", or "espeak -v it {10..0}" for an Italian countdown - I like such abbreviations. ;)

Re: simplest way to convert to xlibre

Reply #8
thanks, i just used
Code: [Select]
pacman -Sy xlibre{,-drivers}
and switched from x11 to xlibre without an issue :)

i wanted to try xlibre to see how it worked.
and i don't know why, the performances in x11 were far under what they should be (youtube videos and games making my cpu go slow and my cpu fan spin like a 747 reactor :D)
while it was working fine with wayland, with decent performances.


 

Re: simplest way to convert to xlibre

Reply #10
thanks, i'll have a look :)
but before, even without tweaking, i had decent performances in x11. at some point it degraded, no idea why
maybe a new kernel, or nvidia driver ?
and now, with xlibre, no issue as well.