[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: vdpau non configurato correttamente per default



Il 16/11/20 22:12, Johan Haggi ha scritto:
> lun 16 novembre 2020, alle 20:35 (GMT+0100), avevo scritto circa il
> firmware nvidia:
> 
>> Se non funziona in https://nouveau.freedesktop.org/VideoAcceleration.html
>> ci sono le istruzioni per estrarlo dal driver proprietario.
> 
> Confermo: ho un PC rigenerato con NVIDIA GK107GL [Quadro K2000] (NVE7)
> lo sto ancora sistemando e leggendo questo thread ho provato vdpauinfo:
> nessun errore ma sotto "Decoder capabilities:" tutte le voci erano
> --- not supported ---
> 
> e
> mpv --hwdec=vdpau --vo=vdpau file.mp4
> mi segnalava un errore
> 
> Ho seguito le istruzioni nella pagina citata:
> 
> $ mkdir /tmp/nouveau
> $ cd /tmp/nouveau
> $ wget https://raw.github.com/envytools/firmware/master/extract_firmware.py
> $ wget http://us.download.nvidia.com/XFree86/Linux-x86/325.15/NVIDIA-Linux-x86-325.15.run
> $ sh NVIDIA-Linux-x86-325.15.run --extract-only
> $ python2 extract_firmware.py  # this script is for python 2 only
> # mkdir /lib/firmware/nouveau
> # cp -d nv* vuc-* /lib/firmware/nouveau/

Ciao Lista,
Io ho seguito queste istruzioni, ma di Decoder non ne vede nessuno.
Perché per ora ho settato la libreria va_gl.
Forse si può provare a settare la scheda Nvidia con la libreria
proprietaria, per vedere se funziona. Poi si cerca di configurare quella
libera con nouveau ?
> 
> ed ora ho:
> MPEG1                           0 65536  4096  4096
> MPEG2_SIMPLE                    3 65536  4096  4096
> MPEG2_MAIN                      3 65536  4096  4096
> H264_BASELINE                  41 65536  4096  4096
> H264_MAIN                      41 65536  4096  4096
> H264_HIGH                      41 65536  4096  4096
> VC1_SIMPLE                      1 65536  4096  4096
> VC1_MAIN                        2 65536  4096  4096
> VC1_ADVANCED                    4 65536  4096  4096
> MPEG4_PART2_SP                  3 65536  4096  4096
> MPEG4_PART2_ASP                 5 65536  4096  4096
> DIVX4_QMOBILE                  --- not supported ---
> DIVX4_MOBILE                   --- not supported ---
> DIVX4_HOME_THEATER             --- not supported ---
> DIVX4_HD_1080P                 --- not supported ---
> DIVX5_QMOBILE                  --- not supported ---
> DIVX5_MOBILE                   --- not supported ---
> DIVX5_HOME_THEATER             --- not supported ---
> DIVX5_HD_1080P                 --- not supported ---
> H264_CONSTRAINED_BASELINE       0 65536  4096  4096
> H264_EXTENDED                  --- not supported ---
> H264_PROGRESSIVE_HIGH          --- not supported ---
> H264_CONSTRAINED_HIGH          --- not supported ---
> H264_HIGH_444_PREDICTIVE       --- not supported ---
> HEVC_MAIN                      --- not supported ---
> HEVC_MAIN_10                   --- not supported ---
> HEVC_MAIN_STILL                --- not supported ---
> HEVC_MAIN_12                   --- not supported ---
> HEVC_MAIN_444                  --- not supported ---

> 
> e
> mpv --hwdec=vdpau --vo=vdpau file.mp4
> funziona e secondo top sono passato dal 25~30% di uso della CPU al 5~10%
> (video h264 1280x720 24.948fps).
> 
Se provo un file con il comando mpv, da questo errore:

mpv --hwdec=vdpau --vo=vdpau Il_potere_delle_parole.mp4
Playing: Il_potere_delle_parole.mp4
 (+) Video --vid=1 (*) (h264 426x238 29.970fps)
 (+) Audio --aid=1 (*) (aac 2ch 44100Hz)
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared
object file: No such file or directory
[vo/vdpau] Error when calling vdp_device_create_x11: 1
Error opening/initializing the selected video_out (--vo) device.
Video: no video


Exiting... (Errors when loading file)

Grazie
Saluti


Reply to: