External HDMI monitor is laggy on NVIDIA-525 reverse PRIME system
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
New
|
Critical
|
Unassigned | ||
nvidia-graphics-drivers-525 (Ubuntu) |
Fix Committed
|
Undecided
|
Unassigned | ||
Bionic |
Fix Committed
|
Undecided
|
Unassigned | ||
Focal |
Fix Committed
|
Undecided
|
Unassigned | ||
Jammy |
Fix Committed
|
Undecided
|
Unassigned | ||
Kinetic |
Fix Committed
|
Undecided
|
Unassigned | ||
Lunar |
Fix Committed
|
Undecided
|
Unassigned | ||
xorg-server (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Bionic |
New
|
Undecided
|
Unassigned | ||
Focal |
New
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
High
|
Unassigned | ||
Kinetic |
Fix Released
|
Undecided
|
Unassigned | ||
Lunar |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
NVIDIA driver has a hardcoded version check to see if a bug has been fixed in the xserver version. It does not help to backport the fix to the jammy xserver, as the driver has no way to check if the fix is there or not.
We need to backport xorg-server from kinetic to jammy.
[Test case]
install xserver update, check that lagginess is gone
[Regression potential]
This is a backport of kinetic xorg-server to jammy, with 34 new upstream commits of which three were already backported due to CVE's, and a bugfix. 18 commits only touch darwin/XQuartz and won't affect us. As such, there should be a low chance of things breaking. Here's a list of the remaining 12 commits with above filtered out:
6bf62381d0a1fb5 xserver 21.1.4
855b96a85bc0711 xfree86: Fix event data alignment in inputtest driver
b713e717c34d539 dix: Correctly save replayed event into GrabInfoRec
cd3d21d8c44a35c xkb: fix XkbSetMap when changing a keysym without changing a keytype
f575524314e9f20 Revert "os: Try to discover the current seat with the XDG_SEAT var first"
433f53a1a08390a tests: Fix build failure from missing micmap.c
3868f364728ae0c xf86-input-
afcaaac96767d77 print_edid: Fix a format string error
663af2f17eec2cc X11Application: Ensure TIS operations are done on the main thread
bd3564cf377deac rootless: Dead code removal (ROOTLESS_
53173fdab492f0f render: Fix build with gcc 12
69774044716039f present: Check for NULL to prevent crash
--- original info
[Summary]
When the graphic mode is on-demand mode and plug in the monitor to HDMI port, there are two issue occures:
1. External monitor's screen is very laggy in external monitor mode only.
2. External monitor's screen sometimes (~50%) will be black in join display mode.
[Steps to reproduce]
1. Boot in OS
2. Plug in the external monitor in HDMI port
3. Find the cursor moving in external monitor is laggy
[Workaround]
Downgrade to NVIDIA driver 515.
[Additional information]
Feedback from NV:
An NVIDIA driver built with the features needed to get rid of the laggy monitor problem causes Xorg 1.21.1.3 to crash. There's a patch for Xorg to fix the crash (https:/
Since the older X servers crash, NVIDIA deliberately does a version check in the driver and enables these features for Xorg servers that are known to work, i.e. 1.21.1.4 or higher.
This unfortunately prevents backporting the fix to 1.21.1.3. Engineering has chosen this approach since a crash is worse than the low FPS lag and the user might lose work merely by plugging/unplugging displays. If it was about a performance degradation, slight corruption, or something non-fatal, we wouldn't need to check Xorg version
tags: | added: oem-priority originate-from-2007556 somerville |
tags: | added: originate-from-2003066 stella |
tags: | added: originate-from-2008875 |
tags: | added: originate-from-2009792 |
Changed in oem-priority: | |
importance: | Undecided → Critical |
Changed in xorg-server (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in xorg-server (Ubuntu Jammy): | |
status: | New → Confirmed |
importance: | Undecided → High |
no longer affects: | nvidia-graphics-drivers (Ubuntu Jammy) |
Changed in nvidia-graphics-drivers (Ubuntu): | |
importance: | Undecided → High |
status: | New → Confirmed |
tags: | added: performance |
tags: | added: originate-from-2011401 |
Changed in xorg-server (Ubuntu Kinetic): | |
status: | New → Fix Released |
description: | updated |
no longer affects: | xorg-server (Ubuntu Jammy) |
Changed in xorg-server (Ubuntu Jammy): | |
status: | New → Confirmed |
importance: | Undecided → High |
description: | updated |
Changed in xorg-server (Ubuntu Jammy): | |
status: | Confirmed → In Progress |
tags: | added: verification-done-jammy |
tags: |
added: verification-done removed: verification-needed verification-needed-jammy |
If you experience this problem in Wayland sessions then that's bug 1970291.