565 release feedback & discussion

Ping @ aritger

The 565.57.01 states:

Added support for mmap of exported DMA-BUF objects.

It’s not working and I am still unable to run Venus on Qemu: vkMapMemory fails with NVIDIA GPU (#524) · Issues · virgl / virglrenderer · GitLab

Edit:
On kernel logs I got:
[drm:__nv_drm_gem_nvkms_map [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00002d00] Failed to map NvKmsKapiMemory 0x00000000c154af57

Edit 2:
With the open source driver:

[   96.181008] NVRM: nvAssertFailedNoLog: Assertion failed: 0 @ mapping_cpu.c:127
[   96.181018] NVRM: nvAssertOkFailedNoLog: Assertion failed: Call not supported [NV_ERR_NOT_SUPPORTED] (0x00000056) returned from rmapiGetEffectiveAddrSpace(pGpu, memdescGetMemDescFromGpu(pMemDesc, pGpu), pMapParams->flags, &effectiveAddrSpace) @ mapping_cpu.c:306
[   96.181034] [drm:__nv_drm_gem_nvkms_map [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00002d00] Failed to map NvKmsKapiMemory 0x00000000c6fe30f4
[   96.182721] NVRM: nvAssertFailedNoLog: Assertion failed: 0 @ mapping_cpu.c:127
[   96.182728] NVRM: nvAssertOkFailedNoLog: Assertion failed: Call not supported [NV_ERR_NOT_SUPPORTED] (0x00000056) returned from rmapiGetEffectiveAddrSpace(pGpu, memdescGetMemDescFromGpu(pMemDesc, pGpu), pMapParams->flags, &effectiveAddrSpace) @ mapping_cpu.c:306
[   96.182742] [drm:__nv_drm_gem_nvkms_map [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00002d00] Failed to map NvKmsKapiMemory 0x0000000012ee1119
[   96.253136] NVRM: nvAssertFailedNoLog: Assertion failed: 0 @ mapping_cpu.c:127
[   96.253145] NVRM: nvAssertOkFailedNoLog: Assertion failed: Call not supported [NV_ERR_NOT_SUPPORTED] (0x00000056) returned from rmapiGetEffectiveAddrSpace(pGpu, memdescGetMemDescFromGpu(pMemDesc, pGpu), pMapParams->flags, &effectiveAddrSpace) @ mapping_cpu.c:306
[   96.253158] [drm:__nv_drm_gem_nvkms_map [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00002d00] Failed to map NvKmsKapiMemory 0x00000000692e7f8c
[  103.994080] NVRM: nvCheckOkFailedNoLog: Check failed: Object handle is not valid [NV_ERR_INVALID_OBJECT_HANDLE] (0x00000033) returned from serverGetClientUnderLock(&g_resServ, pArgs->hClient, &pClient) @ rmapi_deprecated_control.c:109
[  103.994165] NVRM: nvCheckOkFailedNoLog: Check failed: Object handle is not valid [NV_ERR_INVALID_OBJECT_HANDLE] (0x00000033) returned from serverGetClientUnderLock(&g_resServ, pArgs->hClient, &pClient) @ rmapi_deprecated_control.c:109

works here on Wayland, maybe you need a reinstallation or test with another proton.

HDR content now appears to convert properly in Plasma and no longer appears under-saturated. Whatever got exposed in those NV_PLANE_ entries in drm_info seems to have done the trick.

I also noticed what appears to be an obvious bug related to the KDE Plasma Night Light (I’m on 6.2.1) where the color channels clip after adaption. It looks like a straightforward issue where the adapted output isn’t normalized by the peak whitepoint. This can be reproduced by having the SDR brightness at max in the Display Configuration settings panel, having the screen brightness under Brightness And Color set to 100%, and then turning on the night light and changing the color temperature. Viewing a grayscale gradient will make the issue easy to spot. I don’t know if this is a driver issue or a bug on their end, but figured it’s worth mentioning here since it seems to affect the entire display output.

1 Like

OpenGL/Vulkan/CUDA context creation and GPU stats probing (nvidia_smi, nvtop, etc
) are still slow and causing massive stutters with GSP.

Without GSP: Still can’t maintain stable frametimes, and periodic stutters on any load.
With GSP: Even worse, constant stutters, can’t even reach 180fps on a 180hz monitor.

RTX 3090

No, flipping a subset of the enabled heads in VRR didn’t make the cutoff for 565, but it should be in 570 once that comes out, assuming we don’t hit any showstopper regressions with it.

10 Likes

Hi all,

NVBug #4840658 vkcube-wayland, wayland apps fail to launch on iGPU for Optimus notebooks running Plasma Wayland sessions is fixed on this release. Please help verify on your systems.

Thank you

1 Like

Hello there, is Internal bug 4764568 fixed in this beta? Thanks for answer.

Got yesterday first beta of 565.

System config:
OpenSUSE Tumbleweed
Dell Precision 7720
NVidia Quadro P3000
KDE 6.2.2
Kernel 6.11.4

No bugs or artifacts to report, but sharing what impact with this driver I have:
Improvements:

  1. Less VRAM usage on Wayland desktop on KDE, VRAM being freed better now
  2. GPU uses minumal frequencies unless really needed to increase for high performance tasks
  3. Better Wine game performance on Vulkan

Minuses:

  1. Sometimes short time lags when gpu quickly needs faster performance frequencies (like half a second or so).

Optimus on system is fully off (Dell supports turning iGPU totally off on bios level). So I don’t know how Optimus works, as for me better to deal with NVidia only at cost of higher power usage and just avoid using nonsense Intel gpu. Since older card without GSP no related to it bugs either. Except one minus mentioned all is perfect and better then earlier.

1 Like

Literally nothing was fixed related to VRAM.

2 Likes

can confirm. Hyprland still using 1gb vram on boot, using that workaround still works tho: Xwayland VRAM usage is still excessive when resizing X11 apps under wayland. · Issue #126 · NVIDIA/egl-wayland · GitHub

this issue is seemingly a little better actually, but still a concern, it seems to use more than double the vram my ryzen laptop uses.

Haven’t tested my spider-man remastered vram leak, but I assume nothing would have changed: Doom Eternal crashes with 495.46 on high VRAM usage - #14 by faz

Edit: Nothing has changed with spider-man. Within seconds of loading, Instantly pegged to 7.999/8GiB of vram usage.
nvidia-bug-report.log.gz (484.6 KB)

1 Like

missing able to enable a HDR on the monitor, i have 3 monitor with only 2 have hdr support

@abchauhan you have previosly filled the bug #4821290 because of HDR washed out colors. I tried on the same installation and hardware 565: HDR now cannot be enabled at all, this is kscreen-doctor output:

Output: 1 DP-3
        enabled
        connected
        priority 1
        DisplayPort
        Modes:  1:3440x1440@60!  2:3440x1440@175*  3:3440x1440@120  4:2560x1440@175  5:2560x1440@120  6:2560x1440@60  7:1920x1080@175  8:1920x1080@120  9:1920x1080@120  10:1920x1080@60  11:1680x1050@60  12:1600x900@60  13:1280x1024@60  14:1440x900@60  15:1280x800@60  16:1280x720@60  17:1280x720@60  18:1024x768@60  19:800x600@60  20:720x480@60  21:640x480@60 
        Geometry: 0,0 3440x1440
        Scale: 1
        Rotation: 1
        Overscan: 0
        Vrr: Automatic
        RgbRange: unknown
        HDR: disabled
        Wide Color Gamut: incapable
        ICC profile: none
        Color profile source: EDID
        Brightness control: supported, set to 100%

I tried to use manually enable HDR using this command: kscreen-doctor output.DP-3.hdr.enable, but nothing changed.

It doesn’t fix:

Have you added the following to /etc/environment?
KWIN_DRM_ALLOW_NVIDIA_COLORSPACE=1

HDR was disabled on nvidia by default in the recent plasma updates, you have to make sure you re-enable it with the above.

4 Likes

Oh, I missed that. Thanks! Now it works.

My config for history:

  • 4080S
  • Odyssey OLED G8 (G85SB)
  • DisplayPort 1.4
1 Like

this work for me on cachyos

Still issue with OpenGL Crash When Entering Fullscreen on RTX 3060 Mobile with nvidia-dkms 555.58.02 (Minecraft) - #12 by amrits

Executable: /usr/lib/jvm/java-21-openjdk/bin/java
Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-org.prismlauncher.PrismLauncher@2ecd0e8648554d3a986635a794abed3f.service
Unit: user@1000.service
User Unit: app-org.prismlauncher.PrismLauncher@2ecd0e8648554d3a986635a794abed3f.service
Slice: user-1000.slice
Owner UID: 1000 (edgars)
Boot ID: 9e1199d92c4444b3b5b2a69f3d5659d3
Machine ID: 10c61864ee63460a9a7d731462158f26
Hostname: arch
Storage: /var/lib/systemd/coredump/core.java.1000.9e1199d92c4444b3b5b2a69f3d5659d3.2234.1729795848000000.zst (present)
Size on Disk: 195.3M
Message: Process 2234 (java) of user 1000 dumped core.

            Stack trace of thread 2235:
            #0  0x00007a65801a43f4 n/a (libc.so.6 + 0x963f4)
            #1  0x00007a658014b120 raise (libc.so.6 + 0x3d120)
            #2  0x00007a65801324c3 abort (libc.so.6 + 0x244c3)
            #3  0x00007a657ee0e056 n/a (libjvm.so + 0xe056)
            #4  0x00007a657fa74a94 n/a (libjvm.so + 0xc74a94)
            #5  0x00007a657fb615c0 n/a (libjvm.so + 0xd615c0)
            #6  0x00007a657f91c01f JVM_handle_linux_signal (libjvm.so + 0xb1c01f)
            #7  0x00007a658014b1d0 n/a (libc.so.6 + 0x3d1d0)
            #8  0x00007a6545e5163c n/a (libnvidia-glcore.so.565.57.01 + 0xa5163c)
            #9  0x00007a6545e0a30f n/a (libnvidia-glcore.so.565.57.01 + 0xa0a30f)
            #10 0x00007a6545e0088d n/a (libnvidia-glcore.so.565.57.01 + 0xa0088d)
            #11 0x00007a6545e00ac0 n/a (libnvidia-glcore.so.565.57.01 + 0xa00ac0)
            #12 0x00007a6545e00d65 n/a (libnvidia-glcore.so.565.57.01 + 0xa00d65)
            #13 0x00007a6547632152 n/a (libGLX_nvidia.so.0 + 0x56152)
            #14 0x00007a654765531b glXDestroyWindow (libGLX_nvidia.so.0 + 0x7931b)
            #15 0x00007a6550097aa4 n/a (/tmp/lwjgl_edgars/3.3.3+5/x64/libglfw.so + 0x22aa4)
            #16 0x00007a65500958ea n/a (/tmp/lwjgl_edgars/3.3.3+5/x64/libglfw.so + 0x208ea)
            #17 0x00007a655008975d n/a (/tmp/lwjgl_edgars/3.3.3+5/x64/libglfw.so + 0x1475d)
            #18 0x00007a656af8a6ef n/a (n/a + 0x0)
            #19 0x00007a656a267180 n/a (n/a + 0x0)
            #20 0x00007a656a267180 n/a (n/a + 0x0)
            #21 0x00007a656a267180 n/a (n/a + 0x0)
            #22 0x00007a656a267180 n/a (n/a + 0x0)
            #23 0x00007a656a267180 n/a (n/a + 0x0)
            #24 0x00007a656a267180 n/a (n/a + 0x0)
            #25 0x00007a656a267180 n/a (n/a + 0x0)
            #26 0x00007a656a267180 n/a (n/a + 0x0)
            #27 0x00007a656a267626 n/a (n/a + 0x0)
            #28 0x00007a656a2672f2 n/a (n/a + 0x0)
            #29 0x00007a656a25fcc6 n/a (n/a + 0x0)
            #30 0x00007a657f4d0894 n/a (libjvm.so + 0x6d0894)
            #31 0x00007a657fb8dc42 n/a (libjvm.so + 0xd8dc42)
            #32 0x00007a657f5437b1 n/a (libjvm.so + 0x7437b1)
            #33 0x00007a6580323507 n/a (libjli.so + 0x5507)
            #34 0x00007a658032374d n/a (libjli.so + 0x574d)
            #35 0x00007a65801a239d n/a (libc.so.6 + 0x9439d)
            #36 0x00007a658022749c n/a (libc.so.6 + 0x11949c)
            
            Stack trace of thread 2247:
            #0  0x00007a658019ea19 n/a (libc.so.6 + 0x90a19)
            #1  0x00007a65801a17e2 pthread_cond_timedwait (libc.so.6 + 0x937e2)
            #2  0x00007a657f79d3dc n/a (libjvm.so + 0x99d3dc)
            #3  0x00007a657f4cac55 n/a (libjvm.so + 0x6cac55)
            #4  0x00007a657f7d62c1 n/a (libjvm.so + 0x9d62c1)
            #5  0x00007a65801a239d n/a (libc.so.6 + 0x9439d)
            #6  0x00007a658022749c n/a (libc.so.6 + 0x11949c)
            
            Stack trace of thread 2239:
            #0  0x00007a658019ea19 n/a (libc.so.6 + 0x90a19)
            #1  0x00007a65801a17e2 pthread_cond_timedwait (libc.so.6 + 0x937e2)
            #2  0x00007a657f29558a n/a (libjvm.so + 0x49558a)
            #3  0x00007a657f2920f6 n/a (libjvm.so + 0x4920f6)
            #4  0x00007a657f1b4846 n/a (libjvm.so + 0x3b4846)
            #5  0x00007a657f7d62c1 n/a (libjvm.so + 0x9d62c1)
            #6  0x00007a65801a239d n/a (libc.so.6 + 0x9439d)
            #7  0x00007a658022749c n/a (libc.so.6 + 0x11949c)
            
            Stack trace of thread 2238:
            #0  0x00007a658019ea19 n/a (libc.so.6 + 0x90a19)
            #1  0x00007a65801aa858 n/a (libc.so.6 + 0x9c858)
            #2  0x00007a657fa99214 n/a (libjvm.so + 0xc99214)
            #3  0x00007a657f7d62c1 n/a (libjvm.so + 0x9d62c1)
            #4  0x00007a65801a239d n/a (libc.so.6 + 0x9439d)
            #5  0x00007a658022749c n/a (libc.so.6 + 0x11949c)
            
            Stack trace of thread 2244:
            #0  0x00007a658019ea19 n/a (libc.so.6 + 0x90a19)
            #1  0x00007a65801a1479 pthread_cond_wait (libc.so.6 + 0x93479)
            #2  0x00007a657f7f8d8c n/a (libjvm.so + 0x9f8d8c)
            #3  0x00007a657f7ea307 n/a (libjvm.so + 0x9ea307)
            #4  0x00007a657f592134 JVM_MonitorWait (libjvm.so + 0x792134)
            #5  0x00007a656a26bac0 n/a (n/a + 0x0)
            #6  0x00007a656a267180 n/a (n/a + 0x0)
            #7  0x00007a656a267180 n/a (n/a + 0x0)
            #8  0x00007a656a267180 n/a (n/a + 0x0)
            #9  0x00007a656a267180 n/a (n/a + 0x0)
            #10 0x00007a656a2672f2 n/a (n/a + 0x0)
            #11 0x00007a656a2672f2 n/a (n/a + 0x0)
            #12 0x00007a656a25fcc6 n/a (n/a + 0x0)
            #13 0x00007a657f4d0894 n/a (libjvm.so + 0x6d0894)
            #14 0x00007a657f4d14fd n/a (libjvm.so + 0x6d14fd)
            #15 0x00007a657f59a7be n/a (libjvm.so + 0x79a7be)
            #16 0x00007a657f4cac55 n/a (libjvm.so + 0x6cac55)
            #17 0x00007a657f7d62c1 n/a (libjvm.so + 0x9d62c1)
            #18 0x00007a65801a239d n/a (libc.so.6 + 0x9439d)
            #19 0x00007a658022749c n/a (libc.so.6 + 0x11949c)
            
            Stack trace of thread 2240:
            #0  0x00007a658019ea19 n/a (libc.so.6 + 0x90a19)
            #1  0x00007a65801a17e2 pthread_cond_timedwait (libc.so.6 + 0x937e2)
            #2  0x00007a657f401ad6 n/a (libjvm.so + 0x601ad6)
            #3  0x00007a657f1b4846 n/a (libjvm.so + 0x3b4846)
            #4  0x00007a657f7d62c1 n/a (libjvm.so + 0x9d62c1)
            #5  0x00007a65801a239d n/a (libc.so.6 + 0x9439d)
            #6  0x00007a658022749c n/a (libc.so.6 + 0x11949c)
            
            Stack trace of thread 2242:
            #0  0x00007a658019ea19 n/a (libc.so.6 + 0x90a19)
            #1  0x00007a65801a17e2 pthread_cond_timedwait (libc.so.6 + 0x937e2)
            #2  0x00007a657fa78dcc n/a (libjvm.so + 0xc78dcc)
            #3  0x00007a657f7d62c1 n/a (libjvm.so + 0x9d62c1)
            #4  0x00007a65801a239d n/a (libc.so.6 + 0x9439d)
            #5  0x00007a658022749c n/a (libc.so.6 + 0x11949c)
            
            Stack trace of thread 2246:
            #0  0x00007a658019ea19 n/a (libc.so.6 + 0x90a19)
            #1  0x00007a65801a1479 pthread_cond_wait (libc.so.6 + 0x93479)
            #2  0x00007a657f89cbc1 n/a (libjvm.so + 0xa9cbc1)
            #3  0x00007a657f4cac55 n/a (libjvm.so + 0x6cac55)
            #4  0x00007a657f7d62c1 n/a (libjvm.so + 0x9d62c1)
            #5  0x00007a65801a239d n/a (libc.so.6 + 0x9439d)
            #6  0x00007a658022749c n/a (libc.so.6 + 0x11949c)
            
            Stack trace of thread 2237:
            #0  0x00007a658019ea19 n/a (libc.so.6 + 0x90a19)
            #1  0x00007a65801a1479 pthread_cond_wait (libc.so.6 + 0x93479)
            #2  0x00007a657f2a9e48 n/a (libjvm.so + 0x4a9e48)
            #3  0x00007a657f1b4846 n/a (libjvm.so + 0x3b4846)
            #4  0x00007a657f7d62c1 n/a (libjvm.so + 0x9d62c1)
            #5  0x00007a65801a239d n/a (libc.so.6 + 0x9439d)
            #6  0x00007a658022749c n/a (libc.so.6 + 0x11949c)
            
            Stack trace of thread 2243:
            #0  0x00007a658019ea19 n/a (libc.so.6 + 0x90a19)
            #1  0x00007a65801a1479 pthread_cond_wait (libc.so.6 + 0x93479)
            #2  0x00007a657f7abceb n/a (libjvm.so + 0x9abceb)
            #3  0x00007a657f5a6c8a JVM_WaitForReferencePendingList (libjvm.so + 0x7a6c8a)
            #4  0x00007a656a26bac0 n/a (n/a + 0x0)
            #5  0x00007a656a267180 n/a (n/a + 0x0)
            #6  0x00007a656a267180 n/a (n/a + 0x0)
            #7  0x00007a656a25fcc6 n/a (n/a + 0x0)
            #8  0x00007a657f4d0894 n/a (libjvm.so + 0x6d0894)
            #9  0x00007a657f4d14fd n/a (libjvm.so + 0x6d14fd)
            #10 0x00007a657f59a7be n/a (libjvm.so + 0x79a7be)
            #11 0x00007a657f4cac55 n/a (libjvm.so + 0x6cac55)
            #12 0x00007a657f7d62c1 n/a (libjvm.so + 0x9d62c1)
            #13 0x00007a65801a239d n/a (libc.so.6 + 0x9439d)
            #14 0x00007a658022749c n/a (libc.so.6 + 0x11949c)
            
            Stack trace of thread 2241:
            #0  0x00007a658019ea19 n/a (libc.so.6 + 0x90a19)
            #1  0x00007a65801a17e2 pthread_cond_timedwait (libc.so.6 + 0x937e2)
            #2  0x00007a657f7bb980 n/a (libjvm.so + 0x9bb980)
            #3  0x00007a657f7d62c1 n/a (libjvm.so + 0x9d62c1)
            #4  0x00007a65801a239d n/a (libc.so.6 + 0x9439d)
            #5  0x00007a658022749c n/a (libc.so.6 + 0x11949c)
            
            Stack trace of thread 2234:
            #0  0x00007a658019ea19 n/a (libc.so.6 + 0x90a19)
            #1  0x00007a65801a41a3 n/a (libc.so.6 + 0x961a3)
            #2  0x00007a658032791e JLI_Launch (libjli.so + 0x991e)
            #3  0x00005721f2de9156 n/a (java + 0x1156)
            #4  0x00007a6580133e08 n/a (libc.so.6 + 0x25e08)
            #5  0x00007a6580133ecc __libc_start_main (libc.so.6 + 0x25ecc)
            #6  0x00005721f2de91f5 n/a (java + 0x11f5)
            
            Stack trace of thread 2245:
            #0  0x00007a658019ea19 n/a (libc.so.6 + 0x90a19)
            #1  0x00007a65801aa858 n/a (libc.so.6 + 0x9c858)
            #2  0x00007a657f7ef594 n/a (libjvm.so + 0x9ef594)
            #3  0x00007a657f4cac55 n/a (libjvm.so + 0x6cac55)
            #4  0x00007a657f7d62c1 n/a (libjvm.so + 0x9d62c1)
            #5  0x00007a65801a239d n/a (libc.so.6 + 0x9439d)
            #6  0x00007a658022749c n/a (libc.so.6 + 0x11949c)
            
            Stack trace of thread 2249:
            #0  0x00007a658019ea19 n/a (libc.so.6 + 0x90a19)
            #1  0x00007a65801a17e2 pthread_cond_timedwait (libc.so.6 + 0x937e2)
            #2  0x00007a657f7abb77 n/a (libjvm.so + 0x9abb77)
            #3  0x00007a657f1af0e1 n/a (libjvm.so + 0x3af0e1)
            #4  0x00007a657f4cac55 n/a (libjvm.so + 0x6cac55)
            #5  0x00007a657f7d62c1 n/a (libjvm.so + 0x9d62c1)
            #6  0x00007a65801a239d n/a (libc.so.6 + 0x9439d)
            #7  0x00007a658022749c n/a (libc.so.6 + 0x11949c)
            
            Stack trace of thread 2279:
            #0  0x00007a658019ea19 n/a (libc.so.6 + 0x90a19)
            #1  0x00007a65801a17e2 pthread_cond_timedwait (libc.so.6 + 0x937e2)
            #2  0x00007a657fa2b387 n/a (libjvm.so + 0xc2b387)
            #3  0x00007a656ae8d3e3 n/a (n/a + 0x0)
            #4  0x00007a656a267180 n/a (n/a + 0x0)
            #5  0x00007a656a267180 n/a (n/a + 0x0)
            #6  0x00007a656a26774e n/a (n/a + 0x0)
            #7  0x00007a656ae8fa6c n/a (n/a + 0x0)
            ELF object binary architecture: AMD x86-64
1 Like

GPU still not going into D3cold on Ubuntu 24.10 with Wayland/Gnome, when no external monitor is plugged (Optimus). Tried both with open and closed drivers, with and without GSP.

Razer Blade 2021 with NVIDIA RTX3070 Max-Q.

2 Likes