Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nvidia driver 570.86.16 regression causes black screens when adaptive sync is enabled #773

Open
1 of 2 tasks
ryao opened this issue Feb 1, 2025 · 8 comments
Open
1 of 2 tasks
Labels
bug Something isn't working

Comments

@ryao
Copy link

ryao commented Feb 1, 2025

NVIDIA Open GPU Kernel Modules Version

570.86.16

Please confirm this issue does not happen with the proprietary driver (of the same version). This issue tracker is only for bugs specific to the open kernel driver.

  • I confirm that this does not happen with the proprietary driver package.

Operating System and Version

Gentoo Linux

Kernel Release

6.12.6-gentoo-x86_64

Please confirm you are running a stable release kernel (e.g. not a -rc). We do not accept bug reports for unreleased kernels.

  • I am running on a stable kernel release.

Hardware: GPU

NVIDIA GeForce RTX 3090 Ti

Describe the bug

Updating from 565.77 to 570.86.16 causes black screens whenever adaptive sync is enabled. Initially, I had a black screen in SDDM. I added the following entry to /usr/share/nvidia/nvidia-application-profiles-570.86.16-rc, which resolved the black screen in SDDM:

        { "pattern" : { "feature" : "procname", "matches" : "sddm-greeter-qt6" },           "profile" : "No VRR/OSD" },

I had been able to log into my machine by entering my password prior to doing that, but entering a password blindly was annoying, so I used that workaround.

After logging into my machine, I started Marvel Rivals, only to see another black screen. I went into KDE's system settings and set adaptive sync from automatic to never. This allowed me to see the contents of Marvel Rivals. I also could see it before change the adaptive sync setting when holding Alt+Tab, as that causes KDE's overlay appears, making kwin disable adaptive sync temporarily.

Finally, I tried setting Adaptive Sync to Always, which caused an immediate black screen.

To Reproduce

  1. Get a machine with a freesync/gsync/VRR screen. The screen must be configured with VRR on. Ideally, you would test this using a Dough Spectrum One (ES07D03) configured to use VRR (see more info), but other monitors likely will reproduce this.
  2. Install a Linux distribution that uses KDE Plasma 6.2.5 / KDE Frameworks 6.10.0 / Qt version 6.8.1 (other versions likely also work for reproduction) and Nvidia driver 565.77
  3. Boot it into SDDM, select a Wayland session and log into the machine.
  4. Observe everything works fine, regardless of Adaptive Sync setting in KDE's settings. Leave Adaptive Sync at Automatic.
  5. Upgrade to Nvidia driver 570.86.16
  6. Observe that you now have a black screen at SDDM. If you enter the password blindly, you can log into your machine and get past this black screen. Alternatively, open a VT, add an application profile for sddm-greeter-qt6 to disable VRR when it is full screen and restart the display manager.
  7. Once logged into KDE, observe that setting Adaptive Sync to Always causes a black screen. (hitting escape immediately will cancel the change; or you can wait for a 15 second timeout)
  8. Observe that starting any game causes a black screen unless you set adaptive sync to Never.

Bug Incidence

Always

nvidia-bug-report.log.gz

nvidia-bug-report.log.gz

More Info

This also affects the Xorg X11 server given that it affects SDDM, which runs on top of the Xorg X11 server. However, I did not do of KDE on the Xorg X11 server to confirm it.

Furthermore, while SDDM appears on 565.77, it actually has some periodic flickering on my machine. Presumably, it needs the application profile too, although it just happens to work well enough with my Dough Spectrum monitor. The Dough Spectrum (ES07D03) is particularly finicky with Nvidia hardware on Linux, so I might see more problems on it than Nvidia QA does on other monitors.

Interestingly, my xorg.conf file has "metamodes" "3840x2160_144 +0+0 {AllowGSYNCCompatible=On}", but removing that line had no effect on the issue. I assume that is because it is obsolete at this point.

Lastly, I did not check to see if the proprietary version of the kernel driver is affected by this.

@ptr1337
Copy link

ptr1337 commented Feb 1, 2025

Do you use hdmi? There has been some reports with HDMI and VRR, so far I know.
DP seems to work fine.

@ryao
Copy link
Author

ryao commented Feb 1, 2025

Do you use hdmi? There has been some reports with HDMI and VRR, so far I know. DP seems to work fine.

Yes. I am using HDMI. It is the only output that supports 144Hz 4K on my monitor.

@adolfotregosa
Copy link

On your bug report you say it doesn't happen with proprietary driver.

Are you sure??

@aritger
Copy link
Collaborator

aritger commented Feb 3, 2025

Thanks for the report. The 570 HDMI + VRR problems are being tracked internally within as bug 5088161.

My understanding is that issue affects both the closed and open kernel modules. It would help confirm that what you are seeing is the same as bug 5088161, to test if the symptom described here also reproduces with the closed kernel modules.

@Ac5000
Copy link

Ac5000 commented Feb 4, 2025

To add an additional data point:

I too am having a similar set of issues as of today. Began once I updated nvidia-open from 565.77.12 -> 570.86.16-2

Operating System and Version

Arch Linux x86_64

Kernel Release

Linux 6.13.1-arch1-1

Hardware: GPU

NVIDIA GeForce RTX 3090

Description of the Issue and Troubleshooting Steps

Experiencing flickering on one of my attached monitors (both attached with DP connections.) Appears related to VRR. If I stop moving mouse/only show static material on my screen, the flickering stops. "Flickering" can be described as though my brightness on my monitor is bouncing +/- a couple percent brightness when going from static to refreshing. Disabling VRR removes the flickering issue.

@ryao
Copy link
Author

ryao commented Feb 4, 2025

On your bug report you say it doesn't happen with proprietary driver.

Are you sure??

I did not say that. I said that I did not test that.

My monitor is somewhat finicky with HDMI (and likely DisplayPort too) link establishment with Nvidia hardware on Linux, so until the monitor manufacturer releases a firmware update that fixes that, testing different configurations with it requires me to properly isolate any driver regression from the monitor's behavior to avoid making a bad report, which is the reason I did not test this initially.

Thanks for the report. The 570 HDMI + VRR problems are being tracked internally within as bug 5088161.

My understanding is that issue affects both the closed and open kernel modules. It would help confirm that what you are seeing is the same as bug 5088161, to test if the symptom described here also reproduces with the closed kernel modules.

I will make an effort to test this when I have some downtime.

@cm-pony
Copy link

cm-pony commented Feb 5, 2025

The same thing happens on the proprietary driver as well.
Kernel: Linux 6.13.1-arch1-1
GPU: NVIDIA GeForce RTX 4090

@adolfotregosa
Copy link

adolfotregosa commented Feb 10, 2025

On your bug report you say it doesn't happen with proprietary driver.
Are you sure??

I did not say that. I said that I did not test that.

uhh ? You did by not testing it. It happens on both closed and open unfortunately.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants