Xwayland fails to start on Xilinx: symbol lookup error: /usr/bin/Xwayland: undefined symbol: gbm_bo_get_fd_for_plane

Bug #1987628 reported by Daniel van Vugt
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xwayland (Ubuntu)
Fix Released
High
Daniel van Vugt
Jammy
Fix Released
High
Daniel van Vugt

Bug Description

[Impact]

Xwayland fails to start on Xilinx:

/usr/bin/Xwayland: symbol lookup error: /usr/bin/Xwayland: undefined symbol: gbm_bo_get_fd_for_plane

Without Xwayland you cannot run X11 apps in Wayland sessions (or even log into a gnome-shell Wayland session).

[Test Plan]

Run: Xwayland -h

Expected: Command line options to be displayed.

Observed: symbol lookup error: /usr/bin/Xwayland: undefined symbol: gbm_bo_get_fd_for_plane

[Where problems could occur]

Since this changes Xwayland initialization for all platforms, risk of bugs and regressions reaches all platforms. At best an Xwayland failure would prevent X11 apps from working properly, or at worst prevent gnome-shell Wayland sessions from starting (this bug).

[Other Info]

Fixing this for jammy is a prerequisite to resolve bug 1961563.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :
description: updated
tags: added: wayland wayland-session
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

xwayland (2:22.1.3-2) unstable; urgency=medium

  [ Daniel van Vugt ]
  * Add xwayland-Detect-gbm_bo_get_fd_for_plane-at-runtime.patch

 -- Timo Aaltonen <email address hidden> Thu, 25 Aug 2022 13:03:43 +0300

Changed in xwayland (Ubuntu):
status: In Progress → Fix Released
Changed in xwayland (Ubuntu Jammy):
assignee: nobody → Daniel van Vugt (vanvugt)
importance: Undecided → High
status: New → In Progress
description: updated
description: updated
description: updated
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Patch for jammy

Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Daniel, or anyone else affected,

Accepted xwayland into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/xwayland/2:22.1.1-1ubuntu0.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in xwayland (Ubuntu Jammy):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-jammy
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Verified fixed in version 2:22.1.1-1ubuntu0.2 on jammy (arm64 Xilinx Kria board).

tags: added: verification-done-jammy
removed: verification-needed-jammy
tags: added: limerick
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xwayland - 2:22.1.1-1ubuntu0.2

---------------
xwayland (2:22.1.1-1ubuntu0.2) jammy; urgency=medium

  * Add xwayland-Detect-gbm_bo_get_fd_for_plane-at-runtime.patch to
    fix startup failures on Xilinx (LP: #1987628)

 -- Daniel van Vugt <email address hidden> Tue, 30 Aug 2022 09:54:16 +0000

Changed in xwayland (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for xwayland has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

is this patch still needed for xilinx?

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Yes the patch is still needed because upstreaming stalled:
https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/946

Also I no longer have the hardware to test, so that will make it more tricky.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.