Focal PRIME Synchronization still not working (450.x)

Bug #1857271 reported by berglh
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-390 (Ubuntu)
Confirmed
Undecided
Unassigned
nvidia-graphics-drivers-435 (Ubuntu)
Confirmed
Undecided
Unassigned
nvidia-graphics-drivers-440 (Ubuntu)
Confirmed
High
Unassigned
nvidia-graphics-drivers-450 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Ubuntu 19.04 (Disco)
Linux 5.4.6-050406-generic
linux-firmware-1.184
mutter-3.32.2+git20190711-2ubuntu1~19.04.1

nvidia-driver-440:
  Installed: 440.44-0ubuntu1
  Candidate: 440.44-0ubuntu1
  Version table:
 *** 440.44-0ubuntu1 500
        500 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu focal/main amd64 Packages
        100 /var/lib/dpkg/status

I've noticed screen tearing with the nvidia 440 driver on 5.4.x kernels. Typically, this is resolved by setting the xrandr option 'PRIME Synchronization' to '1', however, doing so with the above combination results in never being enabled.

$ xrandr --output eDP-1-1 --set 'PRIME Synchronization' '1'
$ xrandr --verbose | grep PRIME
        PRIME Synchronization: 0
        PRIME Synchronization: 1
        PRIME Synchronization: 1
        PRIME Synchronization: 1

Reverting to Linux 5.0.0-37-generic resolve the issue, so I figured I'd raise it here first, however, it seems like a potential kernel regression issue if the only thing I'm changing is indeed the kernel version. Your input would be appreciated. I tried to figure out how to post a bug on the PPA, however, it seems bug creation is disabled on that PPA, so I ended up here.

I've been testing newer kernel versions to get fixes for other problems with my hardware. Due to another package dependency, I'm stuck on disco for some pulseaudio bluetooth codec support, so I've been pushing forward the kernel, firmware and nvidia driver versions to get the other driver fixes. I realise this is not ideal.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nvidia-graphics-drivers-440 (Ubuntu):
status: New → Confirmed
Revision history for this message
berglh (berglh) wrote :

The latest package resolved this issue, my working configuration is:

Ubuntu 19.04
nvidia-driver 440.48.02-0ubuntu0.20.04.1
Linux 5.4.12-050412-generic #202001141531
linux-firmware 1.183.3

Revision history for this message
berglh (berglh) wrote :

See Comment #2

Changed in nvidia-graphics-drivers-440 (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

The latest version in the Ubuntu archive is 440.44-0ubuntu1 so where did you get 44.0.48?

Are you sure it wasn't the later kernel you have, which is also not from Ubuntu?

Changed in nvidia-graphics-drivers-440 (Ubuntu):
status: Fix Released → Incomplete
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Oh I see. Nvidia 440.48 is in the PPA you mention. So coming soon.

Changed in nvidia-graphics-drivers-440 (Ubuntu):
status: Incomplete → Fix Committed
Revision history for this message
berglh (berglh) wrote :

@vanvugt I manually changed the PPA target to focal in the apt sources list file:

cat /etc/apt/sources.list.d/graphics-drivers-ubuntu-ppa-disco.list
deb http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu focal main

I was doing this because I'm running the latest mainline Ubuntu kernels as they have a bunch of driver fixes for my other devices. I also update the linux-firmware package to a similar level to match the current development distribution (i.e. focal). The focal packages are targeted at these kernel versions, so I try to keep the kernel, graphics drivers and linux-firmware packages in sync on my system for the expected performance.

My guess is the nvidia drivers will get backported once they're tested as working on the newer kernels for the latest/dev distributions.

I'm not an expert on this, just what I have come to understand, although it may be entirely correct.

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

That driver version is so new it's not even on the the Nvidia web site yet. Please wait...

Revision history for this message
Doug McMahon (mc3man) wrote :

Yeah the 440.48.02-0ubuntu0.20.04.2 packages for focal in the graphics driver ppa do resolve this for 20.04

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

Just to clarify; since the PPA is not a guaranteed indication of what's to come in the Ubuntu archive we should say Triaged. Not "Fix Committed" yet.

Changed in nvidia-graphics-drivers-440 (Ubuntu):
importance: Undecided → High
status: Fix Committed → Triaged
Revision history for this message
Giovanni Beltrame (giovanni-beltrame) wrote :

I have the same issue with the 435 branch on focal, not sure switching to 440 is a good idea.

Changed in nvidia-graphics-drivers-440 (Ubuntu):
status: Triaged → Fix Released
Changed in nvidia-graphics-drivers-435 (Ubuntu):
status: New → Confirmed
berglh (berglh)
Changed in nvidia-graphics-drivers-440 (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
satyajit2010 (satyajit2010) wrote :

I have a GeForce 820M. I believe nvidia-graphics-drivers-390 is the latest that's compatible with this card.

Revision history for this message
berglh (berglh) wrote :

I am seeing this again on the latest stable release on Ubuntu 20.04 on a Dell Precision with attached displays.

Linux bdp 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
TU117GLM [Quadro T1000 Mobile]
nvidia-driver-440 440.100-0ubuntu0.20.04.1

xrandr output:
eDP-1-1 connected (normal left inverted right x axis y axis)
 PRIME Synchronization: 0
DP-1-1 disconnected (normal left inverted right x axis y axis)
 PRIME Synchronization: 1
DP-1-2 connected primary 2560x1440+0+0 (0x29e) normal (normal left inverted right x axis y axis) 597mm x 336mm
 PRIME Synchronization: 0
DP-1-3 disconnected (normal left inverted right x axis y axis)
 PRIME Synchronization: 1
DP-1-1-1 disconnected (normal left inverted right x axis y axis)
 PRIME Synchronization: 1
DP-1-1-2 disconnected (normal left inverted right x axis y axis)
 PRIME Synchronization: 1
DP-1-1-3 connected 1080x1920+2560+0 (0x29f) left (normal left inverted right x axis y axis) 527mm x 297mm
 PRIME Synchronization: 0

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nvidia-graphics-drivers-390 (Ubuntu):
status: New → Confirmed
Revision history for this message
berglh (berglh) wrote :

Problem still exists with 450 drivers on Ubuntu 20.04.1.

Linux bdp 5.4.0-49-generic #53-Ubuntu SMP Fri Sep 18 09:54:57 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
TU117GLM [Quadro T1000 Mobile]
450.66-0ubuntu0.20.04.1

eDP-1-1 connected (normal left inverted right x axis y axis)
 PRIME Synchronization: 0
DP-1-1 disconnected (normal left inverted right x axis y axis)
 PRIME Synchronization: 1
DP-1-2 connected primary 2560x1440+0+0 (0x29e) normal (normal left inverted right x axis y axis) 597mm x 336mm
 PRIME Synchronization: 0
DP-1-3 disconnected (normal left inverted right x axis y axis)
 PRIME Synchronization: 1
DP-1-1-1 disconnected (normal left inverted right x axis y axis)
 PRIME Synchronization: 1
DP-1-1-2 disconnected (normal left inverted right x axis y axis)
 PRIME Synchronization: 1
DP-1-1-3 connected 1080x1920+2560+0 (0x29f) left (normal left inverted right x axis y axis) 527mm x 296mm
 PRIME Synchronization: 0

summary: - Focal 440.44-0ubuntu1 PRIME Sync not working
+ Focal PRIME Synchronization not Working
summary: - Focal PRIME Synchronization not Working
+ Focal PRIME Synchronization still not eorking (450.x)
summary: - Focal PRIME Synchronization still not eorking (450.x)
+ Focal PRIME Synchronization still not working (450.x)
Revision history for this message
Doug McMahon (mc3man) wrote :

Not an issue here on my optimus laptop (slightly aged as latest laptop is nvidia only

$ uname -a && xrandr --verbose |grep PRIME && sudo cat /sys/module/nvidia_drm/parameters/modeset
Linux doug-Lenovo-IdeaPad-Y510P 5.4.0-48-generic #52~18.04.1-Ubuntu SMP Thu Sep 10 12:50:22 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
 PRIME Synchronization: 1
 PRIME Synchronization: 1
 PRIME Synchronization: 1

Y

$ inxi -CG
CPU: Quad core Intel Core i7-4700MQ (-MT-MCP-) cache: 6144 KB
           clock speeds: max: 3400 MHz 1: 1381 MHz 2: 1736 MHz 3: 1339 MHz 4: 1811 MHz 5: 1336 MHz 6: 1453 MHz
           7: 1588 MHz 8: 1503 MHz
Graphics: Card-1: Intel 4th Gen Core Processor Integrated Graphics Controller
           Card-2: NVIDIA GK107M [GeForce GT 755M]
           Display Server: x11 (X.Org 1.20.8 ) drivers: modesetting,nvidia (unloaded: fbdev,vesa,nouveau)
           Resolution: 1920x1080@59.91hz
           OpenGL: renderer: GeForce GT 755M/PCIe/SSE2 version: 4.6.0 NVIDIA 450.57

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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