[Bug 287453] x11/nvidia-driver: Vulkan and OpenGL are broken on RTX 5000 series

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 18 Jul 2025 21:15:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287453

--- Comment #10 from var1ati0n <var1ati0n@proton.me> ---
(In reply to Austin Shafer from comment #9)
Hello Austin, was just about to give an update on this. It's good to hear that
you guys have been working on it. I've been doing what I could to troubleshoot
recently. Does mpv work with full hardware acceleration for you internally? To
reproduce the issue, I now use mpv instead of vkcube since I've found that
vkcube can actually run for up to 5 minutes before triggering the driver
bug(s). This command should work: `mpv --vo=gpu-next --gpu-api=vulkan
/path/to/file`.

PCIe Troubleshooting:
  Disable Above 4G Decoding: FAIL
  Disable Resizable BAR:     FAIL
  Use PCIeX16 Gen 5:         FAIL
  Use PCIeX16 Gen 4:         FAIL
  Use PCIeX16 Gen 3:         FAIL
  Use PCIeX8X8 Bifurcation:  FAIL
  - No screens found at startx (with or without GSP)

Display Output Troubleshooting:
  1x DisplayPort: FAIL
  1x HDMI:        FAIL
  Headless:       FAIL

Driver Troubleshooting:
  nvidia-modeset: FAIL
  nvidia-drm:     FAIL

For those who aren't familiar with nvidia-drm, you have to be careful to keep
the kernel versions of the following packages in sync. I had to build them all
using the ports tree:
  drm-61-kmod
  nvidia-drm-kmod-devel
  nvidia-driver-devel

I'll give my full system specs if it helps, I am indeed running a single GPU:

Motherboard: ROG STRIX B650E-I GAMING WIFI
Monitor: Samsung C49RG90 5120x1440 @ 120Hz
CPU: AMD Ryzen 7 7800X3D
GPU: NVIDIA GeForce RTX 5090 Founders Edition
Memory: G.Skill DDR5-6000 CL30 2x32GB
WM: i3

Lastly, here is the topmost output of `nvidia-smi -q` including VBIOS:

==============NVSMI LOG==============

Timestamp                                 : Thu Jul 17 23:16:45 2025
Driver Version                            : 575.64.03
CUDA Version                              : Not Found

Attached GPUs                             : 1
GPU 00000000:01:00.0
    Product Name                          : NVIDIA GeForce RTX 5090
    Product Brand                         : GeForce
    Product Architecture                  : Blackwell
    Display Mode                          : Requested functionality has been
deprecated
    Display Attached                      : Yes
    Display Active                        : Enabled
    Persistence Mode                      : Disabled
    Addressing Mode                       : N/A
    MIG Mode
        Current                           : N/A
        Pending                           : N/A
    Accounting Mode                       : Disabled
    Accounting Mode Buffer Size           : 4000
    Driver Model
        Current                           : N/A
        Pending                           : N/A
    Serial Number                         : [...]
    GPU UUID                              : [...]
    Minor Number                          : 0
    VBIOS Version                         : 98.02.2E.00.03

-- 
You are receiving this mail because:
You are the assignee for the bug.