Bug 462649 - Composited desktop unusable with Nvidia 525.60.11 switchable graphics when only external screen is being driven
Summary: Composited desktop unusable with Nvidia 525.60.11 switchable graphics when on...
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (other bugs)
Version First Reported In: 5.26.90
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL: https://forums.developer.nvidia.com/t...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-04 22:14 UTC by retired
Modified: 2023-02-11 08:08 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
nvidia logs from affected driver version (1.20 MB, application/gzip)
2022-12-04 22:14 UTC, retired
Details

Note You need to log in before you can comment on or make changes to this bug.
Description retired 2022-12-04 22:14:17 UTC
Created attachment 154317 [details]
nvidia logs from affected driver version

Now, here's a disclaimer, I am quite sure that this is a problem on Nvidia's side, since reverting to 520 series of drivers fixes it. Posting it here for posterity, feel free to mark it as invalid.
Here's a link to nvidia forum post I made: https://forums.developer.nvidia.com/t/525-60-11-breaks-composited-desktop-on-x11-if-laptop-lid-is-closed/236181/1
Reproducible with kwin and compiz.

STEPS TO REPRODUCE
1. Use both screens on Nvidia Optimus laptop.
2. Close the lid, or disable internal screen from systemsettings.
3. External screen becomes unbearably slow, disabling compositor works arond aforementioned issue.

OBSERVED RESULT
Session becomes extremely slow

EXPECTED RESULT
Session should continue as usual with external screen.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7
Kernel Version: 6.0.11-zen1-1-zen (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 4800H with Radeon Graphics
Memory: 15.0 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 82B1
System Version: Lenovo Legion 5 15ARH05H
RTX 2060

ADDITIONAL INFORMATION
Internal screen is not affected
Comment 1 Nate Graham 2022-12-05 19:48:16 UTC
Thanks, if reverting the driver fixes it, it does sounds like it's on NVIDIA's side. Let's see what they say.
Comment 2 retired 2023-02-07 19:26:38 UTC
Reopening as there's no answer from Nvidia. Tried 525.85.05 and my desktop is still broken.
Surprisingly wayland session of plasma doesn't slow down to a crawl if screen is closed and I consider it unaffected.
However it seems that my external screen runs at 60 Hz even though control panel says it's running at 165 Hz, so that's a no go for me.

Not sure if it belongs to kwin, as even with compositing disabled on xorg animations from inside windows lag.
Comment 3 Vlad Zahorodnii 2023-02-10 08:42:50 UTC
nvidia driver is proprietary, if something's wrong with it, only nvidia can handle it.
Comment 4 retired 2023-02-10 09:10:29 UTC
This sucks, but it's understandable.
Comment 5 Nate Graham 2023-02-11 02:32:49 UTC
> there's no answer from Nvidia
If the vendor who you paid money to won't respond to your support requests, it might be time to consider a different vendor.
Comment 6 retired 2023-02-11 08:08:54 UTC
True, my next purchase will be all AMD, unless Intel releases something compelling by that time, but for now there's no reason to upgrade, apart from being stuck on a driver from last year, which for now is just a line in pacman.conf.