elFarto / nvidia-vaapi-driver

A VA-API implemention using NVIDIA's NVDEC
Other
1.2k stars 56 forks source link

Watching videos sometimes causes artifacts on the GPU #298

Open Monsterovich opened 4 months ago

Monsterovich commented 4 months ago

NVidia driver version: 550.67

dmesg log:

[ 3947.310901] NVRM: GPU at PCI:0000:05:00: GPU-039a34f7-087c-dc8f-a607-e0d937443d0f
[ 3947.310904] NVRM: Xid (PCI:0000:05:00): 109, pid='<unknown>', name=<unknown>, Ch 00000008, errorString CTX SWITCH TIMEOUT, Info 0x4ac003

[ 3952.499874] NVRM: Xid (PCI:0000:05:00): 109, pid='<unknown>', name=<unknown>, Ch 0000000a, errorString CTX SWITCH TIMEOUT, Info 0x50c003

[ 3952.557659] NVRM: Xid (PCI:0000:05:00): 44, pid='<unknown>', name=<unknown>, Ch 0000000a, intr 00000000
[ 3957.145379] NVRM: Xid (PCI:0000:05:00): 109, pid='<unknown>', name=<unknown>, Ch 0000000a, errorString CTX SWITCH TIMEOUT, Info 0x8c003

[ 3957.279047] NVRM: Xid (PCI:0000:05:00): 31, pid='<unknown>', name=<unknown>, Ch 0000000a, intr 00000000. MMU Fault: ENGINE GRAPHICS GPCCLIENT_GCC faulted @ 0x0_00000000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ
[ 3962.070017] NVRM: Xid (PCI:0000:05:00): 109, pid='<unknown>', name=<unknown>, Ch 00000009, errorString CTX SWITCH TIMEOUT, Info 0x3c004

I'm using the latest version from master.

vainfo 
libva info: VA-API version 1.14.0
libva info: User environment variable requested driver 'nvidia'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_1_0
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.14 (libva 2.12.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
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileVP8Version0_3          : VAEntrypointVLD
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileAV1Profile0            : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileHEVCMain12             : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointVLD
      VAProfileHEVCMain444            : VAEntrypointVLD
danilw commented 3 months ago

Try to put some hardware information in your bugreports...

Many bugreports on Nvidia forum for last few months I saw - related to "intel CPU bugs", if you use Intel 13 or 14-gen processor - try to turn off hyperthreading in bios and lower its performance/power use.