Repository navigation
Open
Description
LIBVA_DRIVER_NAME=nvidia NVD_LOG=1 LIBVA_MESSAGING_LEVEL=1 chrome --enable-features=Accelerated
VideoDecodeLinuxGL,AcceleratedVideoDecodeLinuxZeroCopyGL,VaapiOnNvidiaGPUs --ignore-gpu-blocklist --use-gl=angle --use-angle=gl --disable-features=Vulkan
4609.513880633 [110272-110272] ../src/vabackend.c:3982 __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver
4609.513887363 [110272-110272] ../src/vabackend.c:3990 __vaDriverInit_1_0 Got DRM FD: 1 41
4609.513892573 [110272-110272] ../src/vabackend.c:4002 __vaDriverInit_1_0 Now have 0 (0 max) instances
4609.513945143 [110272-110272] ../src/vabackend.c: 397 defaultMaxDetachedBackingImageBytes Detached backing-image cache ceiling: 195332096 bytes (total VRAM 12501254144 bytes)
4609.513947933 [110272-110272] ../src/vabackend.c:4035 __vaDriverInit_1_0 Selecting Direct backend
4609.536037821 [110272-110272] ../src/direct/nv-driver.c: 364 init_nvdriver Initing nvdriver...
4609.536054671 [110272-110272] ../src/direct/nv-driver.c: 382 init_nvdriver NVIDIA kernel driver version: 620.70.06, major version: 620, minor version: 70
4609.536057171 [110272-110272] ../src/direct/nv-driver.c: 389 init_nvdriver Got dev info: 900 1 2 6
4609.537243495 [110272-110272] ../src/direct/nv-driver.c: 358 query_ram_location Detected discrete GPU (IS_ZERO_FB=0, RAM_LOCATION=0x0)
4609.731211703 [110272-110272] ../src/vabackend.c:1007 nvCreateConfig Unable to determine surface type for VP9/AV1 codec due to no RTFormat specified.
4609.738700736 [110272-110272] ../src/vabackend.c:3856 nvTerminate Terminating 0xd8400972e00
4609.739091533 [110272-110272] ../src/vabackend.c:3902 nvTerminate Now have 0 (0 max) instances
Results in any HEVC video being played (it shows nothing while the video being played) crashing the system:
------------[ cut here ]------------
WARNING: nvidia-drm/nvidia-drm-crtc.h:371 at __nv_drm_handle_flip_event+0x1cf/0x1f0 [nvidia_drm], CPU#7: nvidia-modeset//2269
Modules linked in: tun snd_hrtimer rfcomm nvidia_uvm(O) msr nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nf_log_syslog vboxnetadp(O) vboxnetflt(O) nft_limit nft_ct nfnetlink_log nft_log nft_masq nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 vboxdrv(O) uinput algif_hash algif_skcipher af_alg bnep nf_tables squashfs lzo_decompress lz4_decompress nct6775 nct6775_core hwmon_vid nvidia_drm(O) nvidia_modeset(O) input_leds hid_generic usbhid hid btusb btintel btbcm bluetooth kvm_amd iwlmvm kvm ptp irqbypass sr_mod pps_core snd_hda_codec_alc882 ntfs3 snd_hda_codec_realtek_lib snd_hda_codec_nvhdmi ee1004 wmi_bmof aesni_intel gf128mul snd_hda_codec_generic cdrom mac80211 pcspkr efi_pstore ccp snd_hda_codec_hdmi k10temp led_class sha1 libarc4 nvidia(O) snd_hda_intel r8169 snd_intel_dspcfg snd_hda_codec 8250 i2c_piix4 realtek 8250_base snd_hda_core phy_package snd_hwdep serial_base iwlwifi snd_seq mdio_devres backlight snd_seq_device tpm_crb drm_client_lib cfg80211 snd_pcm drm_ttm_helper
libphy xhci_pci rfkill mdio_bus snd_timer ttm tpm_tis drm_kms_helper snd xhci_hcd tpm_tis_core wmi evdev fuse efivarfs tpm libaescfb ecdh_generic ecc kpp rng_core
CPU: 7 UID: 0 PID: 2269 Comm: nvidia-modeset/ Tainted: G W O 7.3.1-zen3 #1 PREEMPT(full)
Tainted: [W]=WARN, [O]=OOT_MODULE
Hardware name: System manufacturer System Product Name/TUF GAMING X570-PLUS (WI-FI), BIOS 5021 09/29/2024
RIP: 0010:__nv_drm_handle_flip_event+0x1cf/0x1f0 [nvidia_drm]
Code: ff ff 80 3d ca ad 85 fe 00 74 9a 4c 89 ef e8 48 d4 ae de eb 90 4c 8b 75 f0 4c 8b 7d f8 e9 b7 fe ff ff 48 89 df e8 e1 b7 dc de <0f> 0b e9 a0 fe ff ff 49 8d bd b0 00 00 00 e8 1e d4 ae de e9 3a ff
RSP: 0018:ffff9bed8493fd88 EFLAGS: 00010282
RAX: ffff8af81d53a818 RBX: ffff8af81d53a840 RCX: ffff8af81289a2c0
RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffff8af81d53a840
RBP: ffff9bed8493fdc8 R08: 0000000000000000 R09: ffffffffc1e10f72
R10: fffff3a044f1ce40 R11: ffff8af800042700 R12: ffff8af81d53a818
R13: ffff8af81d53a800 R14: 0000000000000246 R15: ffffffffc0b30260
FS: 0000000000000000(0000) GS:ffff8b074db13000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff16cdfe0a8 CR3: 000000024d794000 CR4: 0000000000b50ef0
Call Trace:
<TASK>
? up+0x39/0x70
nv_drm_handle_flip_occurred+0x4d/0x60 [nvidia_drm]
nv_drm_event_callback+0xb5/0xc0 [nvidia_drm]
nvKmsKapiHandleEventQueueChange+0xba/0x110 [nvidia_modeset]
? nvkms_kapi_event_kthread_q_callback+0x9/0x10 [nvidia_modeset]
? _main_loop+0x105/0x160 [nvidia_modeset]
? _q_flush_function+0x10/0x10 [nvidia_modeset]
? kthread+0xe5/0x120
? kthread_affine_node+0x100/0x100
? ret_from_fork+0x294/0x330
? kthread_affine_node+0x100/0x100
? kthread_affine_node+0x100/0x100
? ret_from_fork_asm+0x11/0x20
</TASK>
---[ end trace 0000000000000000 ]---
vainfo
Trying display: wayland
Trying display: x11
libva info: VA-API version 1.24.0
libva info: Trying to open /usr/lib64/dri-nonfree/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/dri-freeworld/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_1_0
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.24 (libva 2.24.0)
vainfo: Driver version: VA-API NVDEC driver [direct backend]
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointVLD
VAProfileVP8Version0_3 : VAEntrypointVLD
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileAV1Profile0 : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileHEVCMain12 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointVLD
VAProfileHEVCMain444 : VAEntrypointVLD
VAProfileHEVCMain444_10 : VAEntrypointVLD
VAProfileHEVCMain444_12 : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
Running Linux 7.3.1 on Fedora 45.
Tried NVD_BACKEND=direct to no avail as well. The same crash. The same no video.
Using libva-nvidia-driver-0.0.18-1.fc45.x86_64
No luck with NVD_BACKEND=egl:
5186.088459796 [118328-118328] ../src/vabackend.c:3982 __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver
5186.088464986 [118328-118328] ../src/vabackend.c:3990 __vaDriverInit_1_0 Got DRM FD: 1 41
5186.088469436 [118328-118328] ../src/vabackend.c:4002 __vaDriverInit_1_0 Now have 0 (0 max) instances
5186.088518165 [118328-118328] ../src/vabackend.c: 397 defaultMaxDetachedBackingImageBytes Detached backing-image cache ceiling: 195332096 bytes (total VRAM 12501254144 bytes)
5186.088521515 [118328-118328] ../src/vabackend.c:4032 __vaDriverInit_1_0 Selecting EGL backend
5186.110055677 [118328-118328] ../src/export-buf.c: 144 findGPUIndexFromFd Looking for DRM device index: 128
5186.113654499 [118328-118328] ../src/export-buf.c: 158 findGPUIndexFromFd Found 3 EGL devices
5186.113749338 [118328-118328] ../src/export-buf.c: 167 findGPUIndexFromFd Got EGL_CUDA_DEVICE_NV value '0' for EGLDevice 0
5186.113752238 [118328-118328] ../src/export-buf.c: 173 findGPUIndexFromFd Found drmDeviceIndex: 128
5186.113753728 [118328-118328] ../src/export-buf.c: 188 findGPUIndexFromFd Selecting EGLDevice 0
5186.116498484 [118328-118328] ../src/export-buf.c: 257 egl_initExporter Driver supports 16-bit surfaces
5186.283539493 [118328-118328] ../src/vabackend.c:1007 nvCreateConfig Unable to determine surface type for VP9/AV1 codec due to no RTFormat specified.
5186.291551862 [118328-118328] ../src/vabackend.c:3856 nvTerminate Terminating 0x2d2400972e00
5186.291555522 [118328-118328] ../src/export-buf.c: 63 egl_releaseExporter Releasing exporter, 0 outstanding frames
5186.291599292 [118328-118328] ../src/export-buf.c: 80 egl_releaseExporter Done releasing frames
5186.291601052 [118328-118328] ../src/vabackend.c:3902 nvTerminate Now have 0 (0 max) instances
5211.461450198 [118328-119154] ../src/vabackend.c:3982 __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver
5211.461453998 [118328-119154] ../src/vabackend.c:3990 __vaDriverInit_1_0 Got DRM FD: 1 41
5211.461456628 [118328-119154] ../src/vabackend.c:4002 __vaDriverInit_1_0 Now have 0 (0 max) instances
5211.461491878 [118328-119154] ../src/vabackend.c: 397 defaultMaxDetachedBackingImageBytes Detached backing-image cache ceiling: 195332096 bytes (total VRAM 12501254144 bytes)
5211.461494838 [118328-119154] ../src/vabackend.c:4032 __vaDriverInit_1_0 Selecting EGL backend
5211.461504488 [118328-119154] ../src/export-buf.c: 144 findGPUIndexFromFd Looking for DRM device index: 128
5211.461695977 [118328-119154] ../src/export-buf.c: 158 findGPUIndexFromFd Found 3 EGL devices
5211.461721207 [118328-119154] ../src/export-buf.c: 167 findGPUIndexFromFd Got EGL_CUDA_DEVICE_NV value '0' for EGLDevice 0
5211.461723597 [118328-119154] ../src/export-buf.c: 173 findGPUIndexFromFd Found drmDeviceIndex: 128
5211.461724857 [118328-119154] ../src/export-buf.c: 188 findGPUIndexFromFd Selecting EGLDevice 0
5211.461739837 [118328-119154] ../src/export-buf.c: 257 egl_initExporter Driver supports 16-bit surfaces
5211.641026313 [118328-119154] ../src/vabackend.c:1748 nvCreateContext Creating context with 0 render targets, at 7680x4320
5211.670866443 [118328-119154] ../src/vabackend.c:1832 nvCreateContext Creating decoder: 0x2d240472c000 for context id: 2
5211.670910583 [118328-119223] ../src/vabackend.c: 616 resolveSurfaces [RT] Resolve thread for 0x2d24051b9000 started
5211.670912413 [118328-119154] ../src/export-buf.c: 552 egl_realiseSurface No free surfaces found
5211.671046382 [118328-119154] ../src/export-buf.c: 464 egl_allocateBackingImage Presenting frame -1 7680x4320 (0x2d24047bd8c0, 0x2d24047ddf80, 0x2d24047de880)
5211.671091132 [118328-119154] ../src/export-buf.c: 465 egl_allocateBackingImage CUDA ERROR 'invalid resource handle' (400)
5211.671092672 [118328-119154] ../src/export-buf.c: 97 reconnect Reconnecting to stream
5211.671167531 [118328-119154] ../src/export-buf.c: 117 reconnect CUDA ERROR 'operation not supported' (801)
5211.671168961 [118328-119154] ../src/export-buf.c: 557 egl_realiseSurface Unable to realise surface: 0x2d24047bd8c0 (-1)
5211.671169781 [118328-119154] ../src/vabackend.c:3834 nvExportSurfaceHandle Unable to export surface
[118328:119154:1106/155026.863539:ERROR:media/gpu/vaapi/vaapi_wrapper.cc:2754] vaExportSurfaceHandle failed, VA error: resource allocation failed
5211.671212691 [118328-119154] ../src/export-buf.c: 359 egl_detachBackingImageFromSurface Cannot detach NULL BackingImage from Surface
5211.671742648 [118328-119154] ../src/vabackend.c:1874 nvDestroyContext Destroying context: 2
5211.671744808 [118328-119154] ../src/vabackend.c: 527 destroyContext Signaling resolve thread to exit
5211.671746148 [118328-119154] ../src/vabackend.c: 533 destroyContext Waiting for resolve thread to exit
5211.713776707 [118328-119223] ../src/vabackend.c: 669 resolveSurfaces [RT] Resolve thread for 0x2d24051b9000 exiting
5211.713814847 [118328-119154] ../src/vabackend.c: 535 destroyContext Finished waiting for resolve thread with 0
5211.713824097 [118328-119154] ../src/vabackend.c:3856 nvTerminate Terminating 0x2d24031be000
5211.713827027 [118328-119154] ../src/export-buf.c: 63 egl_releaseExporter Releasing exporter, 0 outstanding frames
5211.714929781 [118328-119154] ../src/export-buf.c: 80 egl_releaseExporter Done releasing frames
5211.714955311 [118328-119154] ../src/vabackend.c:3902 nvTerminate Now have 0 (0 max) instances
5214.913589895 [118328-119262] ../src/vabackend.c:3982 __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver
5214.913597955 [118328-119262] ../src/vabackend.c:3990 __vaDriverInit_1_0 Got DRM FD: 1 41
5214.913600715 [118328-119262] ../src/vabackend.c:4002 __vaDriverInit_1_0 Now have 0 (0 max) instances
5214.913640505 [118328-119262] ../src/vabackend.c: 397 defaultMaxDetachedBackingImageBytes Detached backing-image cache ceiling: 195332096 bytes (total VRAM 12501254144 bytes)
5214.913643435 [118328-119262] ../src/vabackend.c:4032 __vaDriverInit_1_0 Selecting EGL backend
5214.913652485 [118328-119262] ../src/export-buf.c: 144 findGPUIndexFromFd Looking for DRM device index: 128
5214.913871863 [118328-119262] ../src/export-buf.c: 158 findGPUIndexFromFd Found 3 EGL devices
5214.913894533 [118328-119262] ../src/export-buf.c: 167 findGPUIndexFromFd Got EGL_CUDA_DEVICE_NV value '0' for EGLDevice 0
5214.913896983 [118328-119262] ../src/export-buf.c: 173 findGPUIndexFromFd Found drmDeviceIndex: 128
5214.913898953 [118328-119262] ../src/export-buf.c: 188 findGPUIndexFromFd Selecting EGLDevice 0
5214.913914623 [118328-119262] ../src/export-buf.c: 257 egl_initExporter Driver supports 16-bit surfaces
5215.045103533 [118328-119262] ../src/vabackend.c:1748 nvCreateContext Creating context with 0 render targets, at 7680x4320
5215.066255956 [118328-119262] ../src/vabackend.c:1832 nvCreateContext Creating decoder: 0x2d2402700000 for context id: 2
5215.066304006 [118328-119268] ../src/vabackend.c: 616 resolveSurfaces [RT] Resolve thread for 0x2d24019ccc00 started
5215.066306826 [118328-119262] ../src/export-buf.c: 552 egl_realiseSurface No free surfaces found
5215.066429175 [118328-119262] ../src/export-buf.c: 464 egl_allocateBackingImage Presenting frame -1 7680x4320 (0x2d240183d1e0, 0x2d2402a12900, 0x2d24047de700)
5215.066480235 [118328-119262] ../src/export-buf.c: 465 egl_allocateBackingImage CUDA ERROR 'invalid resource handle' (400)
Probably a dupe of #5
Metadata
Metadata
Assignees
Labels
No labels
Activity