Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Mate desktop newer than world and Firefox crash on Soundcloud (Read 589 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Mate desktop newer than world and Firefox crash on Soundcloud

Code: [Select]
warning: marco: local (1.27.0-1.5) is newer than world (1.26.2-2.1)
warning: mate-applets: local (1.27.0-1) is newer than world (1.26.1-1.1)
warning: mate-calc: local (1.27.0-1) is newer than world (1.26.0-1.1)
warning: mate-control-center: local (1.27.0-1) is newer than world (1.26.0-3.1)
I'm getting lots of warnings like this on updates recently, I tried a few different mirrors at the top of my mirrorlist but no change. Also Waterfox has been crashing when on Soundcloud after playing music for an hour or so, then I just tried Firefox (the standard repo package) and it started going weird without even playing an entire song. This has been on both my E7470 (Intel graphics) where only the browser freezes up and runs slowly and won't switch tabs and things, but you can still select close from the panel menu and it does after waiting a few seconds, and my M4500 (Nvidia - nouveau) where it freezes the whole desktop requiring a hard power off and reboot.

-Syuu fixed the newer than world warnings, by downgrading the Mate desktop. Artix and Arch upgraded to 1.27 in the spring, then Arch quickly reverted to 1.26. Artix continued with 1.27 but has now reverted to the latest 1.26 series Arch versions. Hopefully it may fix the crashing issues too, as the 1.27 packages were probably built against older libs. The problem now though is that mate power manager has stopped working so I need to run # poweroff in the terminal instead.

The problem relates to mate-session-manager, that's the package which brings up the shutdown dialogue window. These messages are in syslog:
Code: [Select]
23529:Nov  9 01:43:02 xyz dbus-daemon[2038]: [session uid=1000 pid=2036] Activating service name='org.a11y.Bus' requested by ':1.0' (uid=1000 pid=2034 comm="mate-session")
23531:Nov  9 01:43:02 xyz dbus-daemon[2038]: [session uid=1000 pid=2036] Activating service name='org.gtk.vfs.Daemon' requested by ':1.4' (uid=1000 pid=2055 comm="/usr/lib/mate-session-manager/mate-session-check-a")
23534:Nov  9 01:43:02 xyz kernel: [    8.981079] mate-session-ch[2055]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
23535:Nov  9 01:43:02 xyz dbus-daemon[2038]: [session uid=1000 pid=2036] Activating service name='ca.desrt.dconf' requested by ':1.3' (uid=1000 pid=2034 comm="mate-session")
23537:Nov  9 01:43:02 xyz mate-session[2034]: WARNING: Could not connect to ConsoleKit: Could not get owner of name 'org.freedesktop.ConsoleKit': no such name
23538:Nov  9 01:43:02 xyz mate-session[2034]: WARNING: Could not connect to ConsoleKit: Could not get owner of name 'org.freedesktop.ConsoleKit': no such name
23539:Nov  9 01:43:02 xyz mate-session[2034]: WARNING: Unable to find provider '' of required component 'dock'
23559:Nov  9 01:43:02 xyz mate-session[2034]: WARNING: Could not connect to ConsoleKit: Could not get owner of name 'org.freedesktop.ConsoleKit': no such name
23560:Nov  9 01:43:02 xyz mate-session[2034]: WARNING: Could not connect to ConsoleKit: Could not get owner of name 'org.freedesktop.ConsoleKit': no such name
23561:Nov  9 01:43:02 xyz mate-session[2034]: WARNING: Could not connect to ConsoleKit: Could not get owner of name 'org.freedesktop.ConsoleKit': no such name
23562:Nov  9 01:43:02 xyz mate-session[2034]: WARNING: Could not connect to ConsoleKit: Could not get owner of name 'org.freedesktop.ConsoleKit': no such name

The MFD_EXEC and ConsoleKit lines are abnormal compared to a working 1.27 version.

There were some errors in syslog from polkit, reinstalling it showed the directory permissions were wrong, this was required to fix those, although I hadn't changed any of these myself before - it still hasn't fixed the mate-session problem though:

Code: [Select]
polkitd[2143]: Error opening rules directory: Error opening directory ā€œ/usr/share/polkit-1/rules.dā€: Permission denied (g-file-error-quark, 2)
# chmod 750 /etc/polkit-1/rules.d/
# chmod 750 /usr/share/polkit-1/rules.d/
# chown root:polkitd /usr/share/polkit-1/rules.d/


Re: Mate desktop newer than world and Firefox crash on Soundcloud

Reply #1
Installing  the previous newer version from the cache (mate-session-manager-1.27.0-1-x86_64.pkg.tar.zst ) has provided a working solution and it shuts down normally from the GUI menu now.

Re: Mate desktop newer than world and Firefox crash on Soundcloud

Reply #2
I guess something was changed in dconf when using mate 1.27 and breaks some stuff when reverting to 1.26

I will need to check if a newly installed system that never ran 1.27 has the same issue

Re: Mate desktop newer than world and Firefox crash on Soundcloud

Reply #3
I made a mate-session-manager-git PKGBUILD by adapting the original one to investigate further:
Code: [Select]
# Maintainer: Brad Fanella <[email protected]>
# Contributor: Martin Wimpress <[email protected]>

pkgname=mate-session-manager-git
pkgver=1.27.0.r11.gaa8baa9
pkgrel=1
pkgdesc="The MATE Session Handler git version"
url="https://github.com/mate-desktop/mate-session-manager"
arch=('x86_64')
license=('GPL')
depends=('dbus-glib' 'gettext' 'gtk3' 'libsm' 'mate-desktop' 'elogind')
makedepends=('xtrans' 'udev' 'python' 'mate-common' 'autoconf-archive')
optdepends=('gnome-keyring: keyring support' 'xdg-user-dirs-gtk: manage user directories')
groups=('mate')
conflicts=('mate-session-manager-gtk3' 'mate-session-manager')
replaces=('mate-session-manager-gtk3')
provides=('mate-session-manager')
source=("git+$url.git" )
sha256sums=('SKIP')

pkgver() {
cd ${pkgname%-git}
git describe --tags|sed 's+-+.r+'|tr - .| cut -c2-
}

prepare() {
cd ${pkgname%-git}
git submodule init
git submodule update --remote --recursive
autoupdate
./autogen.sh
}

build() {
ls
echo "${pkgname%-git}"
cd "${pkgname%-git}"
ls
./configure \
--build=x86_64-linux-gnu \
--host=x86_64-linux-gnu \
--prefix=/usr \
--libexecdir=/usr/lib/${pkgname%-git} \
--sysconfdir=/etc \
--localstatedir=/var \
--with-elogind=yes
make
}

package() {
cd "${pkgname%-git}"
make DESTDIR="${pkgdir}" install
}


The upower configure option is obsolete so can be removed, it does nothing, see NEWS file in package source:
### mate-session-manager 1.18.0
...edit edit...
  * Replace deprecated upower suspend/hibernate functions with ConsoleKit2
    equivalents (and drop --enable-upower build option)

After getting this to build, it still would not give a shut down option until I added the --with-elogind=yes configure option, so it might just need that (I don't think the non-git PKGBUILD will need some of the extra configure options I added, because that was overcoming what was probably only autotool version crankiness, failing to detect the OS type, and autoconf is already done in the versioned tarballs.) I will try more later but that's some kind of initial progress.

Re: Mate desktop newer than world and Firefox crash on Soundcloud

Reply #4
Oh yep, elogind wasn't auto-discovered.
I just pushed an update of the 1.26.0 version with elogind support enabled

 

Re: Mate desktop newer than world and Firefox crash on Soundcloud

Reply #5
That's great, it's made it to the repos and is working fine here now, thank you. I guess the newer autotools has slightly broken the configure script in the package, or something like that. Soundcloud still causes crashes on the Nvidia M4500 but I think that probably isn't an Artix bug, and more a what's new with nouveau.