You are not logged in.
Pages: 1
Hello, I am struggling to get VDPAU and VAAPI hardware video decode acceleration working with nouveau and NV50 hardware.
The hardware is a quadro NVS 160m in a dell Latitude e6400. This is NOT a dual GPU laptop, the nvidia GPU is the only GPU in the laptop.
According to https://www.techpowerup.com/gpu-specs/q … 160m.c1475 , This GPU has a PureVideo HD: VP3
The feature matrix at https://nouveau.freedesktop.org/VideoAcceleration.html, VDPAU should be supported for my GPU.
I have installed mesa-vdpau and nouveau-fw, which is all that (I think) should be needed for VDPAU to work.
I tested if hardware acceleration works using MPV with the --hwdec=auto flag, playing a 720p h264 video downloaded from youtube using yt-dlp.
The player window opens but is stuck on the first frame of the video, and I get EGL and CUDA errors:
[max@archell ~]$ mpv --hwdec=auto The\ IBM\ 029\ keypunch\ mechanical\ keyboard :\ insanely\ complicated\!\ \[ZWLptl0cKSc\].mp4
(+) Video --vid=1 (*) (h264 1280x720 29.970fps)
(+) Audio --aid=1 (*) (aac 2ch 44100Hz)
libEGL warning: failed to get driver name for fd -1
libEGL warning: MESA-LOADER: failed to retrieve device information
libEGL warning: failed to get driver name for fd -1
Cannot load libcuda.so.1
[ffmpeg] AVHWDeviceContext: Cannot load libcuda.so.1
[ffmpeg] AVHWDeviceContext: Could not dynamically load CUDA
Using hardware decoding (vdpau-copy).
AO: [pipewire] 44100Hz stereo 2ch floatp
VO: [gpu] 1280x720 nv12
AV: 00:00:02 / 00:24:57 (0%) A-V: 0.000
Exiting... (Quit)I also get this nouveau error log in dmesg:
[ 78.154814] ------------[ cut here ]------------
[ 78.154825] irq 27 handler nvkm_intr+0x0/0x240 [nouveau] enabled interrupts
[ 78.155334] WARNING: CPU: 0 PID: 0 at kernel/irq/handle.c:161 __handle_irq_event_percpu+0x19a/0x1a0
[ 78.155342] Modules linked in: snd_seq_dummy snd_hrtimer snd_seq snd_seq_device ccm snd_hda_codec_idt snd_hda_codec_generic snd_hda_intel coretemp snd_intel_dspcfg joydev snd_intel_sdw_acpi iwldvm nouveau dell_rbtn kvm_intel snd_hda_codec mac80211 snd_hda_core dell_laptop snd_hwdep libarc4 kvm dell_wmi mxm_wmi snd_pcm sdhci_pci dell_smbios iTCO_wdt i2c_algo_bit cqhci iwlwifi sdhci snd_timer ledtrig_audio drm_ttm_helper dcdbas intel_pmc_bxt iTCO_vendor_support gpio_ich ttm sparse_keymap dell_smm_hwmon dell_wmi_descriptor wmi_bmof snd i2c_i801 firewire_ohci irqbypass cfg80211 sha512_ssse3 psmouse drm_display_helper i2c_smbus mmc_core firewire_core e1000e acpi_cpufreq rfkill intel_agp soundcore pcspkr cec crc_itu_t lpc_ich vfat fat intel_gtt video wmi mousedev mac_hid pkcs8_key_parser fuse dm_mod loop zram ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 usbhid serio_raw atkbd libps2 vivaldi_fmap sr_mod cdrom i8042 serio
[ 78.155431] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.5.2-arch1-1 #1 d2912f929551bc8e9b95af790b8285a77c25fa29
[ 78.155435] Hardware name: Dell Inc. Latitude E6400 /0G868N, BIOS A34 06/04/2013
[ 78.155437] RIP: 0010:__handle_irq_event_percpu+0x19a/0x1a0
[ 78.155441] Code: e4 5b 5d 44 89 e0 41 5c 41 5d 41 5e c3 cc cc cc cc 48 8b 13 44 89 ee 48 c7 c7 70 46 25 94 c6 05 e6 76 e7 01 01 e8 76 39 f6 ff <0f> 0b eb a0 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
[ 78.155444] RSP: 0018:ffffb65cc0003f60 EFLAGS: 00010282
[ 78.155446] RAX: 0000000000000000 RBX: ffff999b43a99680 RCX: 0000000000000027
[ 78.155448] RDX: ffff999b5bc216c8 RSI: 0000000000000001 RDI: ffff999b5bc216c0
[ 78.155450] RBP: 0000000000000001 R08: 0000000000000000 R09: ffffb65cc0003df0
[ 78.155451] R10: 0000000000000003 R11: ffffffff94aca068 R12: 0000000000000000
[ 78.155453] R13: 000000000000001b R14: ffff999b57228400 R15: 0000000000000000
[ 78.155454] FS: 0000000000000000(0000) GS:ffff999b5bc00000(0000) knlGS:0000000000000000
[ 78.155457] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 78.155458] CR2: 00007f66d8fe78d0 CR3: 0000000047420000 CR4: 00000000000406f0
[ 78.155461] Call Trace:
[ 78.155464] <IRQ>
[ 78.155466] ? __handle_irq_event_percpu+0x19a/0x1a0
[ 78.155469] ? __warn+0x81/0x130
[ 78.155476] ? __handle_irq_event_percpu+0x19a/0x1a0
[ 78.155480] ? report_bug+0x171/0x1a0
[ 78.155484] ? prb_read_valid+0x1b/0x30
[ 78.155487] ? handle_bug+0x3c/0x80
[ 78.155489] ? exc_invalid_op+0x17/0x70
[ 78.155491] ? asm_exc_invalid_op+0x1a/0x20
[ 78.155497] ? __handle_irq_event_percpu+0x19a/0x1a0
[ 78.155500] handle_irq_event+0x3b/0x80
[ 78.155503] handle_edge_irq+0x9a/0x260
[ 78.155506] __common_interrupt+0x46/0xc0
[ 78.155510] common_interrupt+0x81/0xa0
[ 78.155513] </IRQ>
[ 78.155514] <TASK>
[ 78.155515] asm_common_interrupt+0x26/0x40
[ 78.155518] RIP: 0010:cpuidle_enter_state+0xcc/0x440
[ 78.155522] Code: 2a f7 3a ff e8 d5 f3 ff ff 8b 53 04 49 89 c5 0f 1f 44 00 00 31 ff e8 13 fb 39 ff 45 84 ff 0f 85 56 02 00 00 fb 0f 1f 44 00 00 <45> 85 f6 0f 88 85 01 00 00 49 63 d6 48 8d 04 52 48 8d 04 82 49 8d
[ 78.155524] RSP: 0018:ffffffff94a03e28 EFLAGS: 00000282
[ 78.155526] RAX: 0000000000000000 RBX: ffff999b5bc3f220 RCX: 0000000000000020
[ 78.155528] RDX: 00004d92fd0eac30 RSI: 0000000000007cde RDI: ffffffff94a07a80
[ 78.155530] RBP: 0000000000000003 R08: ffffffffffcd2341 R09: 0000000000000018
[ 78.155531] R10: ffff999b5bc32944 R11: 0000000000000201 R12: ffffffff94b46040
[ 78.155533] R13: 000000123262b032 R14: 0000000000000003 R15: 0000000000000001
[ 78.155537] ? cpuidle_enter_state+0x323/0x440
[ 78.155539] cpuidle_enter+0x2d/0x40
[ 78.155544] do_idle+0x1d8/0x230
[ 78.155549] cpu_startup_entry+0x1d/0x20
[ 78.155552] rest_init+0xca/0xd0
[ 78.155555] arch_call_rest_init+0xe/0x30
[ 78.155561] start_kernel+0x704/0xa90
[ 78.155564] x86_64_start_reservations+0x18/0x30
[ 78.155568] x86_64_start_kernel+0x96/0xa0
[ 78.155571] secondary_startup_64_no_verify+0x17e/0x18b
[ 78.155577] </TASK>
[ 78.155578] ---[ end trace 0000000000000000 ]---Not sure what commands would give adequate system info, but here is a neofetch:
OS: Arch Linux x86_64
Host: Latitude E6400
Kernel: 6.5.2-arch1-1
Uptime: 22 mins
Packages: 756 (pacman)
Shell: bash 5.1.16
Resolution: 1280x800
DE: Xfce 4.18
WM: Xfwm4
WM Theme: Default
Theme: Adwaita-dark [GTK2/3]
Icons: elementary [GTK2], Adwaita [GTK3]
Terminal: xfce4-terminal
Terminal Font: Monospace 12
CPU: Intel Core 2 Duo P8700 (2) @ 2.535GHz
GPU: NVIDIA Quadro NVS 160M
Memory: 1026MiB / 3908MiB In most cases, the system (other than the mouse) hangs, and I cannot switch to a tty, forcing me to hard shut down the laptop.
So, Am I doing something wrong, is my hardware at fault, or is nouveau support for VDPAU flaky enough to cause issues like these?
This is my first post, so If you need any additional info about my device please ask!
Last edited by Max_UA (2023-09-13 05:41:49)
Offline
In most cases, the system (other than the mouse) hangs, and I cannot switch to a tty, forcing me to hard shut down the laptop.
So, Am I doing something wrong, is my hardware at fault, or is nouveau support for VDPAU flaky enough to cause issues like these?
This is my first post, so If you need any additional info about my device please ask!
Probably both of the latter. That hardware isn't good, wasn't good when it was released and additionally - apparantly - third generation PureVideo cards have a HW defect/limitation not allowing to decode most H264 ranges: https://en.wikipedia.org/wiki/Nvidia_Pu … reVideo_HD http://download.nvidia.com/XFree86/Linu … dix-h.html
Offline
Pages: 1