Artix Linux Forum

Artix Linux => Package management => Topic started by: ####### on 20 January 2022, 04:28:29

Title: libwacom upgrade froze Mate desktop totally
Post by: ####### on 20 January 2022, 04:28:29
upgraded libwacom (1.12-1 -> 2.0.0-2)
Desktop froze totally, no keyboard or mouse response, I disabled xinit in .bashrc from another partition then downgraded at tty prompt to the old version in /var/cache/pacman/pkg
Numerous errors in Xorg.log.0 said:

Code: [Select]
[     8.782] (EE) Failed to load /usr/lib/xorg/modules/input/libinput_drv.so: libwacom.so.2: cannot open shared object file: No such file or directory
[     8.782] (EE) Failed to load module "libinput" (loader failed, 0)
[     8.782] (EE) No input driver matching `libinput'
Title: Re: libwacom upgrade froze Mate desktop totally
Post by: fromzero on 20 January 2022, 07:56:11
I have Cinnamon desktop Artix and after libwacom update Cinnamon crashes at startup no taskbar nothing.
If i try to cinnamon --replace then i get "libwacom.so.2: cannot open shared object file: No such file or directory"
Title: Re: libwacom upgrade froze Mate desktop totally
Post by: just on 20 January 2022, 09:33:01
...Cinnamon crashes at startup no taskbar nothing.
...
Same here.  Autologin is enabled, Cinnamon starts up, and nothing but working conky on a black screen is displayed.  No DE components.  Keyboard shortcuts don't work.

Only DE is affected.  Other TTYs work normally.  Didn't try to find malfunction's reason yet.

Edit:

I restored Cinnamon backup made a few hours before libwacom and libinput upgrades.  Cinnamon is fully functional with two libraries at:
Code: [Select]
$ pacman -Q libwacom libinput
libwacom 1.12-1
libinput 1.19.3-1
$
If libwacom is upgraded to 2.0.0-2, it prevents Cinnamon from displaying any DE component.

If libinput's build 1.19.3-2 is installed, it blocks keyboard, mouse and touchpad input in Cinnamon.

A (bad) workaround is to temporarily put two libraries, at their working versions, on hold with IgnorePkg in pacman.conf.

No similar issues are present in Plasma, Gnome, Mate.  They are independent one from another and installed in their own separate partitions.  All three continue to work normally.
Title: Re: libwacom upgrade froze Mate desktop totally
Post by: fromzero on 20 January 2022, 11:48:09
Same here.  Autologin is enabled, Cinnamon starts up, and nothing but working conky on a black screen is displayed.  No DE components.  Keyboard shortcuts don't work.

Only DE is affected.  Other TTYs work normally.  Didn't try to find malfunction's reason yet.

Edit:

I restored Cinnamon backup made a few hours before libwacom and libinput upgrades.  Cinnamon is fully functional with two libraries at:
Code: [Select]
$ pacman -Q libwacom libinput
libwacom 1.12-1
libinput 1.19.3-1
$
If libwacom is upgraded to 2.0.0-2, it prevents Cinnamon from displaying any DE component.

If libinput's build 1.19.3-2 is installed, it blocks keyboard, mouse and touchpad input in Cinnamon.

A (bad) workaround is to temporarily put two libraries, at their working versions, on hold with IgnorePkg in pacman.conf.

No similar issues are present in Plasma, Gnome, Mate.  They are independent one from another and installed in their own separate partitions.  All three continue to work normally.
Just installed libwacom 1.12-1 libinput 1.19.3-1 to cinnamon and its working as you mentioned. Thank you thats a temproary solution as you said. There are a few things i dislike about cinnamon(KDE and Gnome arent different about that) and its that cinnamon has dependencies like wacom. I do not have any graphical tablet and i dont plan to own one. There are features in cinnamon which should be optional but cinnamon devs(mint team) make them mandatory required dependencies in my opinion it feels a bit bloated.
Title: Re: libwacom upgrade froze Mate desktop totally
Post by: strajder on 20 January 2022, 12:16:57
Code: [Select]
[     8.782] (EE) Failed to load /usr/lib/xorg/modules/input/libinput_drv.so: libwacom.so.2: cannot open shared object file: No such file or directory
What is the output of
Code: [Select]
$ LC_ALL=C pacman -Qi xf86-input-libinput | grep '^Version'

Update: Regarding the other related issues in this thread, cinnamon-control-center, cinnamon-settings-daemon and muffin indeed still depend on the old version of libwacom and that matter will be looked into as soon as possible.

The current version of world/xf86-input-libinput is 1.2.0-2, however. Check your /etc/pacman.conf and /etc/pacman.d/mirrorlist and update your pacman databases (pacman -Syu).
Title: Re: libwacom upgrade froze Mate desktop totally
Post by: ####### on 20 January 2022, 16:02:27
$ LC_ALL=C pacman -Qi xf86-input-libinput | grep '^Version'
Version         : 1.1.0.1.r284.gecd845c-1

Oops!  Forgot about some earlier experiment when I installed the -git version from the AUR, I must have omitted to put that back to standard! :-[
Title: Re: libwacom upgrade froze Mate desktop totally
Post by: Dudemanguy on 20 January 2022, 16:10:50
Ah yup, that would explain that. Just for clarity, cinnamon is currently broken (mismatched SONAMEs). Sorry for everyone that got hit by this. We'll do a recompile of those packages ASAP.
Title: Re: libwacom upgrade froze Mate desktop totally
Post by: ####### on 20 January 2022, 16:16:25
Yes, it's OK now after installing the proper xf86-input-libinput package, updating and rebooting, sorry for the false alarm - I thought it was an unusually large bug to have escaped notice elsewhere! And there are no more forgotten -git packages on my system, having  now carefully checked for them.
Title: Re: libwacom upgrade froze Mate desktop totally
Post by: just on 20 January 2022, 16:50:40
...We'll do a recompile of those packages ASAP.
Would you be so kind to announce in this thread when recompiled stuff will be pushed to the repos?  It'll help to decide when it will be safe to remove pkgs on hold from IgnorePkg.  Thank you.
Title: Re: libwacom upgrade froze Mate desktop totally
Post by: Chris Cromer on 20 January 2022, 20:52:42
I have Cinnamon desktop Artix and after libwacom update Cinnamon crashes at startup no taskbar nothing.
If i try to cinnamon --replace then i get "libwacom.so.2: cannot open shared object file: No such file or directory"

Cinnamon is now fixed. Update to the newest version.
Title: Re: libwacom upgrade froze Mate desktop totally
Post by: blue on 20 January 2022, 23:12:50
Thank you for the speedy resolution. Managing packages on a rolling-release distribution... what a feat.
Title: Re: libwacom upgrade froze Mate desktop totally
Post by: just on 21 January 2022, 05:46:57
Cinnamon is upgraded and works well here.  libwacom and libinput are removed from IgnorePkg.  All issues are fixed.  Thanks.
Title: Re: libwacom upgrade froze Mate desktop totally
Post by: picokan on 21 January 2022, 10:19:03
To add to this, did the network settings window stop working for anyone else after updating recently? The error message it gives me when I run
Code: [Select]
cinnamon-settings network
is about an assertion failing followed by a segmentation fault.

I didn't create a new thread for this because I'm not sure if this is a packaging issue or a bug from upstream.

Edit: Rolled back to two days ago where it works and all the cinnamon packages are the same version as the latest from upstream. The only difference from the latest in the repos is the release number, so this is a packaging issue.
Title: Re: libwacom upgrade froze Mate desktop totally
Post by: strajder on 21 January 2022, 11:15:15
For the record, the exact log is:
Code: [Select]
/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py:433: DeprecationWarning: Gtk.Window.set_wmclass is deprecated
  self.window.set_wmclass(wm_class, wm_class)
/usr/lib/python3.10/site-packages/gi/overrides/Gio.py:42: Warning: invalid unclassed pointer in cast to 'NMACertChooserButton'
  return Gio.Application.run(self, *args, **kwargs)
/usr/lib/python3.10/site-packages/gi/overrides/Gio.py:42: Warning: g_type_instance_get_private: assertion 'instance != NULL && instance->g_class != NULL' failed
  return Gio.Application.run(self, *args, **kwargs)
Segmentation fault
You should report it upstream.
Title: Re: libwacom upgrade froze Mate desktop totally
Post by: picokan on 21 January 2022, 13:11:26
That's what I thought at first, but unless pacman is lying to me I'm currently using the latest cinnamon packages save for the release number. So it looks like the last time it was rebuilt for artix something went wrong and it's not innate to the software itself.

I'm going to try to replicate this problem on arch and see if the same thing happens before reporting it upstream.
Title: Re: libwacom upgrade froze Mate desktop totally
Post by: Chris Cromer on 21 January 2022, 14:05:50
That's what I thought at first, but unless pacman is lying to me I'm currently using the latest cinnamon packages save for the release number. So it looks like the last time it was rebuilt for artix something went wrong and it's not innate to the software itself.

I'm going to try to replicate this problem on arch and see if the same thing happens before reporting it upstream.
The problem wasn't that something went wrong when it was rebuilt. The problem is that a new version of a library "libwacom" came out and broke cinnamon. Cinnamon needed to be rebuilt to use the new version of the library to fix it. This is a common problem on rolling distros and happens to both arch linux and artix linux.

As far as the error you wrote, that is unrelated and sounds like an upstream cinnamon problem.
Title: Re: libwacom upgrade froze Mate desktop totally
Post by: Chris Cromer on 21 January 2022, 14:06:34
That's what I thought at first, but unless pacman is lying to me I'm currently using the latest cinnamon packages save for the release number. So it looks like the last time it was rebuilt for artix something went wrong and it's not innate to the software itself.

I'm going to try to replicate this problem on arch and see if the same thing happens before reporting it upstream.
The problem wasn't that something went wrong when it was rebuilt. The problem is that a new version of a library "libwacom" came out and broke cinnamon. Cinnamon needed to be rebuilt to use the new version of the library to fix it. This is a common problem on rolling distros and happens to both arch linux and artix linux.

As far as the error you wrote, that is unrelated and sounds like an upstream cinnamon problem.
Title: Re: libwacom upgrade froze Mate desktop totally
Post by: picokan on 21 January 2022, 16:07:43
Yep, managed to replicate it on arch, it's an upstream problem after all.
Title: Re: libwacom upgrade froze Mate desktop totally
Post by: Chris Cromer on 21 January 2022, 18:09:32
Yep, managed to replicate it on arch, it's an upstream problem after all.
I just opened an issue upstream: https://github.com/linuxmint/cinnamon/issues/10616
Title: Re: libwacom upgrade froze Mate desktop totally
Post by: D-man on 22 January 2022, 07:22:11
Just for those who have issues with upgrading in Cinnamon. Try using wired connection. Cinnamon network manager wouldn't start in my case.

The libwacom-related malfunction is fixed with the recent update.
Title: Re: libwacom upgrade froze Mate desktop totally
Post by: Chris Cromer on 30 January 2022, 20:15:00
Yep, managed to replicate it on arch, it's an upstream problem after all.
We now have the cinnamon-settings network problem patched. After updating to cinnamon-control-center 5.2.1-4.3 it will start working again.