You are not logged in.

#1 2022-12-09 01:16:21

lo4952
Member
Registered: 2022-11-15
Posts: 5

[SOLVED] Kwin 5.26 Failing To Start

After upgrading to Kwin 5.26, all of my windows shifted to the top right corner of the monitor and the usual Minimize / Maximize / Close bar disappeared. Upon further inspection, I found that Kwin was not running.

Running

 kwin_x11 --replace 

returns

 kwin_x11: symbol lookup error: /usr/lib/libkwin.so.5: undefined symbol: drmModeFormatModifierBlobIterNext 

I was only able to temporary alleviate this issue by downgrading back to kwin-5.25

I have currently tried the usual 'pacman -Syyu' reinstalling Kwin, deleting kde / kwin profile data, and creating and logging in as a new user, all without any success. I'm not exactly sure what specific additional info to provide, but please let me know if there are any commands to run that might help debug, and I'd be happy to post the results.
Thanks in advance!

Last edited by lo4952 (2022-12-09 02:38:29)

Offline

#2 2022-12-09 01:42:48

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,178

Re: [SOLVED] Kwin 5.26 Failing To Start

Welcome to the forums.

Please post pacman.log and the journal (see link below for information about sending it to a pastebin service).

Are you using X or Wayland?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#3 2022-12-09 01:47:07

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] Kwin 5.26 Failing To Start

With what version of libdrm?

This reeks of a partial update.

Offline

#4 2022-12-09 01:57:15

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,178

Re: [SOLVED] Kwin 5.26 Failing To Start

https://bugs.debian.org/cgi-bin/bugrepo … ug=1023374 (not helpful right now, but maybe something will come of it?)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#5 2022-12-09 01:59:15

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] Kwin 5.26 Failing To Start

That's likely because of the way Debian handles libraries. In Arch libkwin.so.5 is linked to libdrm.so.2, which includes that symbol.

Offline

#6 2022-12-09 02:13:28

lo4952
Member
Registered: 2022-11-15
Posts: 5

Re: [SOLVED] Kwin 5.26 Failing To Start

Scimmia wrote:

With what version of libdrm?

This reeks of a partial update.

I was actually up-to-date with libdrm-2.4.114-1, however this comment gave me enough of a clue to solve it.
Attempting to update libdrm gave me an error saying that it was conflicting with libdrm-git, which I didn't actually have installed. However, installing libdrm-git via the AUR allowed KWin to update successfully.

I feel like having libdrm and libdrm-git both installed isn't best practice, but... it seems to be functioning?

Offline

#7 2022-12-09 02:15:21

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] Kwin 5.26 Failing To Start

There's no way to have both installed, they conflict both from the package and from the files. What does pacman -Qi libdrm show?

Offline

#8 2022-12-09 02:20:45

lo4952
Member
Registered: 2022-11-15
Posts: 5

Re: [SOLVED] Kwin 5.26 Failing To Start

Name            : libdrm-git
Version         : 2.4.114.r5.g874af994-1
Description     : Userspace interface to kernel DRM services, master git version
Architecture    : x86_64
URL             : http://dri.freedesktop.org/
Licenses        : custom
Groups          : None
Provides        : libdrm
Depends On      : libpciaccess
Optional Deps   : None
Required By     : ffmpeg  gst-plugins-bad-libs  intel-media-sdk  lib32-libdrm-git  libcamera  libva  mesa  minecraft-launcher  mpv  vulkan-radeon-git
                  wayland-utils  xorg-server
Optional For    : None
Conflicts With  : libdrm
Replaces        : None
Installed Size  : 1055.56 KiB
Packager        : Unknown Packager
Build Date      : Thu 08 Dec 2022 08:53:12 PM EST
Install Date    : Thu 08 Dec 2022 08:53:55 PM EST
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : None

The confusing part was that I didn't see libdrm-git in my AUR builds folder before this install, and I'd like to think I wasn't stupid enough to delete it in the past out of some sense of 'Ehh, this doesn't look important,' but... you never know.

Offline

#9 2022-12-09 02:25:36

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] Kwin 5.26 Failing To Start

So yeah, you *only* have libdrm-git installed. From the error you got, that's also what you had installed before and why you had the problem. Installing the normal libdrm package would work fine and would have avoided this.

Offline

#10 2022-12-09 02:27:11

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,178

Re: [SOLVED] Kwin 5.26 Failing To Start

What does pacman.log have to say?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#11 2022-12-09 02:30:25

lo4952
Member
Registered: 2022-11-15
Posts: 5

Re: [SOLVED] Kwin 5.26 Failing To Start

Makes sense. Is there an easy way to switch, or am I in too deep to the AUR version at this point? I obviously can't do a simple 'Uninstall libdrm-git, Install libdrm' because all the 'Required By' packages freak out, but maybe there's a command / option to tell pacman it's a switch and temporarily ignore it?

EDIT: Relevant pacman.log is

 
[2022-12-08T19:48:30-0500] [PACMAN] Running 'pacman -U https://archive.archlinux.org/packages/k/kwin/kwin-5.25.5-1-x86_64.pkg.tar.zst'
[2022-12-08T19:48:33-0500] [ALPM] transaction started
[2022-12-08T19:48:33-0500] [ALPM] downgraded kwin (5.26.1-1 -> 5.25.5-1)
[2022-12-08T19:48:33-0500] [ALPM] transaction completed
[2022-12-08T19:48:33-0500] [ALPM] running '30-systemd-update.hook'...
[2022-12-08T19:48:33-0500] [ALPM] running '90-packagekit-refresh.hook'...
[2022-12-08T19:48:33-0500] [ALPM] running 'gtk-update-icon-cache.hook'...
[2022-12-08T19:48:34-0500] [ALPM] running 'update-desktop-database.hook'...
[2022-12-08T19:58:26-0500] [PACKAGEKIT] synchronizing package lists
[2022-12-08T20:49:45-0500] [PACMAN] Running 'pacman -S libdrm'
[2022-12-08T20:50:48-0500] [PACMAN] Running 'pacman -R lib32-libdrm-git'
[2022-12-08T20:51:05-0500] [PACMAN] Running 'pacman -R lib32-libdrm-git lib32-mesa lib32-vulkan-radeon-git'
[2022-12-08T20:51:15-0500] [PACMAN] Running 'pacman -R lib32-libdrm-git lib32-mesa lib32-vulkan-radeon-git lib32-libglvnd'
[2022-12-08T20:52:23-0500] [PACMAN] Running 'pacman -S libdrm-git'
[2022-12-08T20:53:13-0500] [PACMAN] Running '/usr/bin/pacman -S --asdeps meson cunit'
[2022-12-08T20:53:17-0500] [ALPM] transaction started
[2022-12-08T20:53:17-0500] [ALPM] installed meson (0.64.1-1)
[2022-12-08T20:53:17-0500] [ALPM] installed cunit (2.1.3-3)
[2022-12-08T20:53:18-0500] [ALPM] transaction completed
[2022-12-08T20:53:18-0500] [ALPM] running '30-systemd-update.hook'...
[2022-12-08T20:53:18-0500] [ALPM] running '90-packagekit-refresh.hook'...
[2022-12-08T20:53:28-0500] [PACMAN] Running '/usr/bin/pacman -U /home/logan/builds/libdrm-git/libdrm-git-2.4.114.r5.g874af994-1-x86_64.pkg.tar.zst'
[2022-12-08T20:53:54-0500] [ALPM] transaction started
[2022-12-08T20:53:55-0500] [ALPM] upgraded libdrm-git (2.4.102.r12.g77687f8d-1 -> 2.4.114.r5.g874af994-1)
[2022-12-08T20:53:55-0500] [ALPM] transaction completed
[2022-12-08T20:53:55-0500] [ALPM] running '30-systemd-update.hook'...
[2022-12-08T20:53:55-0500] [ALPM] running '90-packagekit-refresh.hook'...
[2022-12-08T20:54:20-0500] [PACMAN] Running 'pacman -S libdrm'
[2022-12-08T20:55:25-0500] [PACMAN] Running 'pacman -R lib32-libdrm-git lib32-mesa lib32-vulkan-radeon-git lib32-libglvnd'
[2022-12-08T20:59:51-0500] [PACMAN] Running 'pacman -R libdrm-git'
[2022-12-08T21:07:09-0500] [PACMAN] Running 'pacman -S kwin'
[2022-12-08T21:07:11-0500] [ALPM] transaction started
[2022-12-08T21:07:11-0500] [ALPM] upgraded kwin (5.25.5-1 -> 5.26.4-1)
[2022-12-08T21:07:11-0500] [ALPM] transaction completed
[2022-12-08T21:07:11-0500] [ALPM] running '30-systemd-update.hook'...
[2022-12-08T21:07:11-0500] [ALPM] running '90-packagekit-refresh.hook'...
[2022-12-08T21:07:11-0500] [ALPM] running 'gtk-update-icon-cache.hook'...
[2022-12-08T21:07:11-0500] [ALPM] running 'update-desktop-database.hook'...
[2022-12-08T21:12:45-0500] [PACKAGEKIT] synchronizing package lists
[2022-12-08T21:27:02-0500] [PACMAN] Running 'pacman -S libdrm'

Last edited by lo4952 (2022-12-09 02:32:23)

Offline

#12 2022-12-09 02:34:27

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] Kwin 5.26 Failing To Start

I'm guessing lib32-libdrm-git specifically requires libdrm-git. All you have to do is install libdrm and lib32-libdrm, it should prompt you to remove the -git versions.

Offline

#13 2022-12-09 02:35:35

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] Kwin 5.26 Failing To Start

That's not the relevant part of the log, but it does confirm that you had ibdrm-git 2.4.102.r12.g77687f8d-1, which is much too old.

Offline

#14 2022-12-09 02:36:22

lo4952
Member
Registered: 2022-11-15
Posts: 5

Re: [SOLVED] Kwin 5.26 Failing To Start

Scimmia wrote:

I'm guessing lib32-libdrm-git specifically requires libdrm-git. All you have to do is install libdrm and lib32-libdrm, it should prompt you to remove the -git versions.

Got it in one. Really appreciate the help.

Offline

Board footer

Powered by FluxBB