Cursor didn't show up in X session when output from amd dgpu

Bug #2034105 reported by Kai-Chuan Hsieh
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OEM Priority Project
Fix Committed
Undecided
Unassigned
xserver-xorg-video-amdgpu (Ubuntu)
Fix Released
Undecided
Unassigned
Jammy
Fix Released
High
Kai-Chuan Hsieh

Bug Description

[ Impact ]

 * There is no cursor in Xorg session when output from AMD Navi3.x dgpu

[ Test Plan ]

 * Test on the DT with AMD Navi3.x dgpu

 * Attach external monitor to AMD Navi3.x dgpu

 * Switch to Xorg session when login

 * Check if cursor is appeared and works properly

[ Where problems could occur ]

 * The implementation checks DRM_CAP_CURSOR_WIDTH and DRM_CAP_CURSOR_HEIGHT and fallback to original implementation if kernel can't report the caps.

 * The user might see different cursor size after the patch applied, since the driver will ask kernel for it but not the hard coded one.

[ Other Info ]

 * Upstream commit: https://cgit.freedesktop.org/xorg/driver/xf86-video-amdgpu/commit/?id=9c959fac3af28d191105f63236096ad456dca614
 * The patch has been included in mantic and lunar already

Changed in xserver-xorg-video-amdgpu (Ubuntu):
assignee: nobody → Kai-Chuan Hsieh (kchsieh)
tags: added: oem-priority originate-from-2032814 somerville
description: updated
Revision history for this message
Kai-Chuan Hsieh (kchsieh) wrote :

Upload debdiff for jammy

description: updated
description: updated
description: updated
description: updated
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks, uploaded now

Changed in xserver-xorg-video-amdgpu (Ubuntu):
status: New → Fix Committed
Changed in xserver-xorg-video-amdgpu (Ubuntu Jammy):
status: New → Fix Committed
Changed in xserver-xorg-video-amdgpu (Ubuntu):
status: Fix Committed → Fix Released
Changed in xserver-xorg-video-amdgpu (Ubuntu Jammy):
assignee: nobody → Kai-Chuan Hsieh (kchsieh)
Changed in xserver-xorg-video-amdgpu (Ubuntu):
assignee: Kai-Chuan Hsieh (kchsieh) → nobody
Changed in xserver-xorg-video-amdgpu (Ubuntu Jammy):
importance: Undecided → High
Revision history for this message
Chris Halse Rogers (raof) wrote : Proposed package upload rejected

An upload of xserver-xorg-video-amdgpu to jammy-proposed has been rejected from the upload queue for the following reason: "This looks good, but you've included two slightly different versions of the patch? Please re-upload with just one :)".

Revision history for this message
Kai-Chuan Hsieh (kchsieh) wrote :

Re-upload debdiff for jammy

Revision history for this message
Sebastien Bacher (seb128) wrote :

Reuploaded

Revision history for this message
Chris Halse Rogers (raof) wrote : Please test proposed package

Hello Kai-Chuan, or anyone else affected,

Accepted xserver-xorg-video-amdgpu into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/xserver-xorg-video-amdgpu/22.0.0-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.

tags: added: verification-needed verification-needed-jammy
Revision history for this message
Cyrus Lien (cyruslien) wrote :

Verified on SKU with AMD Navi3.x dgpu, the issue is fixed.

Test environment: CID 202307-31876
$ uname -a
Linux u-Precision-7875-Tower 6.5.0-1003-oem #3-Ubuntu SMP PREEMPT_DYNAMIC Mon Aug 28 15:04:22 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

~$ lspci | grep -i vga
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 7489

$ apt policy xserver-xorg-video-amdgpu
xserver-xorg-video-amdgpu:
  Installed: 22.0.0-1ubuntu0.2
  Candidate: 22.0.0-1ubuntu0.2
  Version table:
 *** 22.0.0-1ubuntu0.2 500
        500 http://tw.archive.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages
        100 /var/lib/dpkg/status

tags: added: verification-done verification-done-jammy
removed: verification-needed verification-needed-jammy
jeremyszu (os369510)
Changed in oem-priority:
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xserver-xorg-video-amdgpu - 22.0.0-1ubuntu0.2

---------------
xserver-xorg-video-amdgpu (22.0.0-1ubuntu0.2) jammy; urgency=medium

  * Use DRM_CAP_CURSOR_WIDTH/HEIGHT if possible (LP: #2034105)

 -- Kai-Chuan Hsieh <email address hidden> Wed, 06 Sep 2023 14:43:28 +0800

Changed in xserver-xorg-video-amdgpu (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Chris Halse Rogers (raof) wrote : Update Released

The verification of the Stable Release Update for xserver-xorg-video-amdgpu 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.

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.