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

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287453

--- Comment #24 from Tomasz "CeDeROM" CEDRO <[email protected]> ---
* Xorg seems to work okay :-)
* I got crash dump on first run of gzdoom then it worked okay.
* There are kinda hiccups on 3d applications open/close.
* Blender works fine (no CUDA).
* FreecAD works fine.
* KiCAD works fine.
* Still no CUDA/OpenCL :-(
* And there are no hardware encoders? vdpauinfo and obs shows none available.

# uname -a
FreeBSD hexagon 14.2-RELEASE-p1 FreeBSD 14.2-RELEASE-p1 GENERIC amd64

# pkg info -x nvidia
linux-nvidia-libs-devel-580.82.07
nvidia-driver-devel-580.82.07.1402000
nvidia-drm-66-kmod-devel-580.82.07.1402000_2
nvidia-drm-kmod-devel-580.82.07
nvidia-settings-580.82.07
nvidia-xconfig-580.82.07

# nvidia-smi
Wed Sep  3 21:17:13 2025
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 580.82.07              Driver Version: 580.82.07      CUDA
Version: N/A      |
+-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile
Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util 
Compute M. |
|                                         |                        |           
   MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 5070        Off |   00000000:02:00.0  On |           
      N/A |
|  0%   39C    P0             38W /  250W |    1207MiB /  12227MiB |     22%   
  Default |
|                                         |                        |           
      N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                   
          |
|  GPU   GI   CI              PID   Type   Process name                       
GPU Memory |
|        ID   ID                                                              
Usage      |
|=========================================================================================|
|    0   N/A  N/A           11417      G   terminology                         
    27MiB |
|    0   N/A  N/A           38849      G   /usr/local/libexec/Xorg             
   381MiB |
|    0   N/A  N/A           48184      G   /usr/local/bin/enlightenment        
   322MiB |
|    0   N/A  N/A           65347      G   terminology                         
    51MiB |
|    0   N/A  N/A           83704      G   terminology                         
    27MiB |
|    0   N/A  N/A           90154      G   /usr/local/bin/firefox              
   293MiB |
+-----------------------------------------------------------------------------------------+


# nv-sglrun nvidia-smi
/usr/local/lib/libc6-shim/libc6.so: shim init
Wed Sep  3 21:08:34 2025
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 580.82.07              Driver Version: 580.82.07      CUDA
Version: 13.0     |
+-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile
Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util 
Compute M. |
|                                         |                        |           
   MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 5070        Off |   00000000:02:00.0  On |           
      N/A |
|  0%   41C    P0             35W /  250W |     578MiB /  12227MiB |     14%   
  Default |
|                                         |                        |           
      N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                   
          |
|  GPU   GI   CI              PID   Type   Process name                       
GPU Memory |
|        ID   ID                                                              
Usage      |
|=========================================================================================|
|  No running processes found                                                  
          |
+-----------------------------------------------------------------------------------------+


root@hexagon:~ # nv-sglrun clpeak
/usr/local/lib/libc6-shim/libc6.so: shim init

Platform: NVIDIA CUDA
  Device: NVIDIA GeForce RTX 5070
    Driver version  : 580.82.07 (FreeBSD)
    Compute units   : 48
    Clock frequency : 2610 MHz

    Global memory bandwidth (GBPS)
Segmentation fault (core dumped)


% vdpauinfo
display: :0.0   screen: 0
API version: 1
Information string: NVIDIA VDPAU Driver Shared Library  580.82.07  Wed Aug 27
17:59:36 UTC 2025

Video surface:

name   width height types
-------------------------------------------
420     8192  8192  NV12 YV12
422     8192  8192  UYVY YUYV
444     8192  8192  NV24 YV24
420_16  8192  8192  P010 P016
422_16  8192  8192  UYVY YUYV
444_16  8192  8192  Y_U_V_444_16

Decoder capabilities:

name                        level macbs width height
----------------------------------------------------
MPEG1                           0 65536  4096  4096
MPEG2_SIMPLE                    3 65536  4096  4096
MPEG2_MAIN                      3 65536  4096  4096
H264_BASELINE                  51 65536  4096  4096
H264_MAIN                      51 65536  4096  4096
H264_HIGH                      51 65536  4096  4096
VC1_SIMPLE                      1  8190  2048  2048
VC1_MAIN                        2  8190  2048  2048
VC1_ADVANCED                    4  8190  2048  2048
MPEG4_PART2_SP                  3  8192  2048  2048
MPEG4_PART2_ASP                 5  8192  2048  2048
DIVX4_QMOBILE                   0  8192  2048  2048
DIVX4_MOBILE                    0  8192  2048  2048
DIVX4_HOME_THEATER              0  8192  2048  2048
DIVX4_HD_1080P                  0  8192  2048  2048
DIVX5_QMOBILE                   0  8192  2048  2048
DIVX5_MOBILE                    0  8192  2048  2048
DIVX5_HOME_THEATER              0  8192  2048  2048
DIVX5_HD_1080P                  0  8192  2048  2048
H264_CONSTRAINED_BASELINE      51 65536  4096  4096
H264_EXTENDED                  51 65536  4096  4096
H264_PROGRESSIVE_HIGH          51 65536  4096  4096
H264_CONSTRAINED_HIGH          51 65536  4096  4096
H264_HIGH_444_PREDICTIVE       51 65536  4096  4096
VP9_PROFILE_0                   1 262144  8192  8192
VP9_PROFILE_1                  --- not supported ---
VP9_PROFILE_2                   1 262144  8192  8192
VP9_PROFILE_3                  --- not supported ---
HEVC_MAIN                      153 262144  8192  8192
HEVC_MAIN_10                   153 262144  8192  8192
HEVC_MAIN_STILL                --- not supported ---
HEVC_MAIN_12                   153 262144  8192  8192
HEVC_MAIN_444                  153 262144  8192  8192
HEVC_MAIN_444_10               153 262144  8192  8192
HEVC_MAIN_444_12               153 262144  8192  8192
AV1_MAIN                       16 262144  8192  8192
AV1_HIGH                       --- not supported ---
AV1_PROFESSIONAL               --- not supported ---

Output surface:

name              width height nat types
----------------------------------------------------
B8G8R8A8         32768 32768    y  Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8
R10G10B10A2      32768 32768    y  Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8

Bitmap surface:

name              width height
------------------------------
B8G8R8A8         32768 32768
R8G8B8A8         32768 32768
R10G10B10A2      32768 32768
B10G10R10A2      32768 32768
A8               32768 32768

Video mixer:

feature name                    sup
------------------------------------
DEINTERLACE_TEMPORAL             y
DEINTERLACE_TEMPORAL_SPATIAL     y
INVERSE_TELECINE                 y
NOISE_REDUCTION                  y
SHARPNESS                        y
LUMA_KEY                         y
HIGH QUALITY SCALING - L1        y
HIGH QUALITY SCALING - L2        -
HIGH QUALITY SCALING - L3        -
HIGH QUALITY SCALING - L4        -
HIGH QUALITY SCALING - L5        -
HIGH QUALITY SCALING - L6        -
HIGH QUALITY SCALING - L7        -
HIGH QUALITY SCALING - L8        -
HIGH QUALITY SCALING - L9        -

parameter name                  sup      min      max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH              y         1     8192
VIDEO_SURFACE_HEIGHT             y         1     8192
CHROMA_TYPE                      y
LAYERS                           y         0        4

attribute name                  sup      min      max
-----------------------------------------------------
BACKGROUND_COLOR                 y
CSC_MATRIX                       y
NOISE_REDUCTION_LEVEL            y      0.00     1.00
SHARPNESS_LEVEL                  y     -1.00     1.00
LUMA_KEY_MIN_LUMA                y
LUMA_KEY_MAX_LUMA                y



# sysctl -a | grep nvidia
nvidia0: <NVIDIA GeForce RTX 5070> on vgapci0
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: child nvidia0 requested pci_enable_io
<6>nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms
 580.76.05  Thu Aug  7 20:25:41 UTC 2025
nvidia0: <NVIDIA GeForce RTX 5070> on vgapci0
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: child nvidia0 requested pci_enable_io
<6>nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms
 580.82.07  Wed Aug 27 18:00:26 UTC 2025
NVRM: API mismatch: the client 'nvidia-smi' (pid 56294)
kern.geom.raid.nvidia.enable: 1
vm.uma.nvidia_stack_t.stats.xdomain: 0
vm.uma.nvidia_stack_t.stats.fails: 0
vm.uma.nvidia_stack_t.stats.frees: 81139
vm.uma.nvidia_stack_t.stats.allocs: 81227
vm.uma.nvidia_stack_t.stats.current: 88
vm.uma.nvidia_stack_t.domain.0.timin: 18
vm.uma.nvidia_stack_t.domain.0.limin: 0
vm.uma.nvidia_stack_t.domain.0.wss: 0
vm.uma.nvidia_stack_t.domain.0.bimin: 54
vm.uma.nvidia_stack_t.domain.0.imin: 54
vm.uma.nvidia_stack_t.domain.0.imax: 54
vm.uma.nvidia_stack_t.domain.0.nitems: 54
vm.uma.nvidia_stack_t.limit.bucket_max: 18446744073709551615
vm.uma.nvidia_stack_t.limit.sleeps: 0
vm.uma.nvidia_stack_t.limit.sleepers: 0
vm.uma.nvidia_stack_t.limit.max_items: 0
vm.uma.nvidia_stack_t.limit.items: 0
vm.uma.nvidia_stack_t.keg.domain.0.free_slabs: 0
vm.uma.nvidia_stack_t.keg.domain.0.free_items: 0
vm.uma.nvidia_stack_t.keg.domain.0.pages: 594
vm.uma.nvidia_stack_t.keg.efficiency: 99
vm.uma.nvidia_stack_t.keg.reserve: 0
vm.uma.nvidia_stack_t.keg.align: 7
vm.uma.nvidia_stack_t.keg.ipers: 1
vm.uma.nvidia_stack_t.keg.ppera: 3
vm.uma.nvidia_stack_t.keg.rsize: 12288
vm.uma.nvidia_stack_t.keg.name: nvidia_stack_t
vm.uma.nvidia_stack_t.bucket_size_max: 254
vm.uma.nvidia_stack_t.bucket_size: 1
vm.uma.nvidia_stack_t.flags: 0xa10000<VTOSLAB,OFFPAGE,FIRSTTOUCH>
vm.uma.nvidia_stack_t.size: 12288
hw.nvidia.gpus.0.type: PCIe
hw.nvidia.gpus.0.uuid: GPU-ce9d59d9-13aa-acd6-8ef9-58c4fe9408fc
hw.nvidia.gpus.0.firmware: 580.82.07
hw.nvidia.gpus.0.vbios: 98.05.28.00.65
hw.nvidia.gpus.0.irq: 159
hw.nvidia.gpus.0.model: NVIDIA GeForce RTX 5070
hw.nvidia.registry.dwords:
hw.nvidia.registry.GrdmaPciTopoCheckOverride: 0
hw.nvidia.registry.CreateImexChannel0: 0
hw.nvidia.registry.ImexChannelCount: 2048
hw.nvidia.registry.DmaRemapPeerMmio: 1
hw.nvidia.registry.OpenRmEnableUnsupportedGpus: 1
hw.nvidia.registry.EnableDbgBreakpoint: 0
hw.nvidia.registry.RmNvlinkBandwidthLinkCount: 0
hw.nvidia.registry.EnableGpuFirmwareLogs: 2
hw.nvidia.registry.EnableGpuFirmware: 1
hw.nvidia.registry.EnableResizableBar: 0
hw.nvidia.registry.EnablePCIERelaxedOrderingMode: 0
hw.nvidia.registry.RegisterPCIDriver: 1
hw.nvidia.registry.DynamicPowerManagementVideoMemoryThreshold: 200
hw.nvidia.registry.DynamicPowerManagement: 3
hw.nvidia.registry.S0ixPowerManagementVideoMemoryThreshold: 256
hw.nvidia.registry.EnableS0ixPowerManagement: 0
hw.nvidia.registry.PreserveVideoMemoryAllocations: 0
hw.nvidia.registry.RmProfilingAdminOnly: 1
hw.nvidia.registry.NvLinkDisable: 0
hw.nvidia.registry.EnableUserNUMAManagement: 1
hw.nvidia.registry.EnableStreamMemOPs: 0
hw.nvidia.registry.IgnoreMMIOCheck: 0
hw.nvidia.registry.VMallocHeapMaxSize: 0
hw.nvidia.registry.KMallocHeapMaxSize: 0
hw.nvidia.registry.MemoryPoolSize: 0
hw.nvidia.registry.EnablePCIeGen3: 0
hw.nvidia.registry.EnableMSI: 1
hw.nvidia.registry.UsePageAttributeTable: 4294967295
hw.nvidia.registry.InitializeSystemMemoryAllocations: 1
hw.nvidia.registry.DeviceFileMode: 438
hw.nvidia.registry.DeviceFileGID: 0
hw.nvidia.registry.DeviceFileUID: 0
hw.nvidia.registry.ModifyDeviceFiles: 1
hw.nvidia.registry.RmLogonRC: 1
hw.nvidia.registry.ResmanDebugLevel: 4294967295
hw.nvidia.version: NVIDIA UNIX x86_64 Kernel Module  580.82.07  Wed Aug 27
18:39:48 UTC 2025
dev.nvidia.0.%iommu:
dev.nvidia.0.%parent: vgapci0
dev.nvidia.0.%pnpinfo:
dev.nvidia.0.%location:
dev.nvidia.0.%driver: nvidia
dev.nvidia.0.%desc: NVIDIA GeForce RTX 5070
dev.nvidia.%parent:

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.