FreeBSD 14.2 / Xorg hardware acceleration is not working on RTX 5070 Ti

Hello, i’m running FreeBSD 14.2p3 with RTX 5070 Ti and whenever i’m using a browser or trying to playback any video file, x11 starts stuttering. All X11 windows refresh rate drops to around 5 seconds, which makes desktop completely unusable. The issues occurs with official driver 570.144 as well with the driver from the BSD package “nvidia-driver-570.124.04.1402000” ( 2025Q2 ).

In the system console logs there are repeating Xid 16 errors:

NVRM: Xid (PCI:0000:01:00): 16, Head 00000003 Cound 000012a3
NVRM: Xid (PCI:0000:01:00): 16, Head 00000003 Cound 000012a4
NVRM: Xid (PCI:0000:01:00): 16, Head 00000003 Cound 000012a5

As well as locking error

[  1907.793] nvLock: client timed out, taking the lock
[  2626.289] (WW) NVIDIA: Wait for channel idle timed out.
[  2642.502] (WW) NVIDIA: Wait for channel idle timed out.

If I swap the GPU to RTX 4070 using the very same setup/driver, the issue is not present. Xorg logs and nvidia-smi outputs for 5070Ti and 4070 are attached.

I’ve tried to disable GSP firmware for 5070 Ti using hw.nvidia.registry.EnableGpuFirmware=0 flag in /boot/loader.conf, but this locks up the system when nvidia-smi and startx is used.

It looks like there is an issue with the driver firmware for 5070Ti, or in the driver logic that handles Blackwell GPUs.

Setup:
Motherboard: Gigabyte Aorus elite AX rev.1.2 (BIOS version: FB4)
GPU: Nvidia RTX 5070 Ti
CPU: AMD Ryzen 7900X
Display: LG C3 OLED TV (connected directly via HDMI)

Software:
nvidia-driver-570.124.04.1402000
xorg-server-21.1.16,1

How to reproduce:
Playing any video file using mpv on FreeBSD 14.2p3 using 5070Ti should reproduce the bug. On my setup, bug reproduces in 100% cases.

4070_nvidia-smi.log (10.8 KB)
4070_Xorg.0.log (12.7 KB)
5070Ti_nvidia-smi.log (10.4 KB)
5070Ti_Xorg.0.log (12.8 KB)

1 Like

BTW, I’ve seen some GLX/EGL fixes in the release notes of the 575.51.02 beta driver, but I’m unable to use this driver due to the following error:

NVRM: failed to wait for bar firewall to lower

Disabling resizable bar in the BIOS does not help.

I have exactly the same issue, same card: https://forums.developer.nvidia.com/t/rtx-5070-ti-hangs-with-any-transparent-windows-and-or-vulkan-apps-on-freebsd/334937

Are you still having the same issue?