Bug 1223174

Summary: libkwin6: undefined symbol drmSyncobjEventfd
Product: [openSUSE] openSUSE Tumbleweed Reporter: Eder Carneiro <edercarneiru>
Component: KDE Workspace (Plasma)Assignee: E-Mail List <opensuse-kde-bugs>
Status: RESOLVED WORKSFORME QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P5 - None CC: edercarneiru, fvogt
Version: Current   
Target Milestone: ---   
Hardware: IA64   
OS: openSUSE Tumbleweed   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Eder Carneiro 2024-04-21 20:19:45 UTC
Try running plasma 6.0.2 from opensuse tw unstable repos, result in:

`kwin_wayland: symbol lookup error: /lib64/libkwin.so.6: undefined symbol: drmSyncobjEventfd`

software versions: 
libkwin6-6.0.80git.20240419T230656~fba948b3-ku.41.1.x86_64
libdrm2-2.4.120-1.3.x86_64

libdrm2 already satisfies what is required here:
https://invent.kde.org/plasma/kwin/-/merge_requests/5610

running 'nm -D /usr/lib64/libdrm.so.2 | grep SyncobjEvent' returns 
000000000000c0b0 T drmSyncobjEventfd

tried also rpmrebuild, no success.

My KDE repos:
 1 | KDE:Qt6                                | KDE:Qt6                       
 2 | KDE:Unstable:Applications              | KDE:Unstable:Applications
 3 | KDE:Unstable:Extra                     | KDE:Unstable:Extra      
 4 | KDE:Unstable:Frameworks                | KDE:Unstable:Frameworks  
 5 | KDE:Unstable:Qt                        | KDE:Unstable:Qt
Comment 1 Fabian Vogt 2024-04-22 07:09:41 UTC
Please check the output of "ldd /usr/bin/kwin_wayland" to ensure the right libdrm is loaded.
Comment 2 Eder Carneiro 2024-04-23 00:36:25 UTC
(In reply to Fabian Vogt from comment #1)
> Please check the output of "ldd /usr/bin/kwin_wayland" to ensure the right
> libdrm is loaded.

It turns out that there were multiple libdrms in the system (one oss and one from amd) and after removing amd's one, things are working.
Comment 3 Christophe Marin 2024-05-23 20:09:12 UTC
(In reply to Eder Carneiro from comment #2)
> (In reply to Fabian Vogt from comment #1)
> > Please check the output of "ldd /usr/bin/kwin_wayland" to ensure the right
> > libdrm is loaded.
> 
> It turns out that there were multiple libdrms in the system (one oss and one
> from amd) and after removing amd's one, things are working.

Closing