0

This question already has an answer here:

When I watch movies I see annoying "artifacts". It looks like parts of video are slid a bit horizontally. Artifacts depend on how different is frame from next one, in other words on how much action is in a scene.

Checked videos frame by frame - no artifacts on stills. But transition between frames creates them.

On my phone videos play nice.

Got two GPUs :

  • VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
  • 3D controller: NVIDIA Corporation GK208M [GeForce GT 740M] (rev ff)

So decided to install Nvidia drivers and play using discrete GPU.

Drivers installed :

  • nouveau-firmware Version: 20091212-0ubuntu1
  • NVIDIA Driver Version: 384.130

Tried both of GPUs :

OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile 

and

OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GT 740M/PCIe/SSE2

Both ways the same type of artifacts. With Intel it's one obvious edge, with Nvidia - couple less obvious ones.

Players used mpv, parole and vlc - all the same.

ffmpeg version 2.8.14-0ubuntu0.16.04.1
 DEV.LS h264      H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_crystalhd h264_vdpau ) (encoders: libx264 libx264rgb )
 DEV.L. hevc      H.265 / HEVC (High Efficiency Video Coding) (encoders: libx265 )
 DEV.L. mpeg4     MPEG-4 part 2 (decoders: mpeg4 mpeg4_crystalhd mpeg4_vdpau ) (encoders: mpeg4 libxvid )

Looks like it doesn't depend on encoder. 3 videos Hevc and mpeg4 and h264 show the same problem.

So guys could you please point to possible solutions for the issue?

Running Linux version 4.13.0-45-generic (buildd@lgw01-amd64-011) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9)) #50~16.04.1-Ubuntu SMP Wed May 30 11:18:27 UTC 2018


Edit. Refresh rate for display from system menu 60.0Hz. Issue is true for frame rates of video 25fps and 23.98fps.

marked as duplicate by Community Jun 29 '18 at 18:49

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Please tell us the frame rate of the videos and the refresh rate of your display. – danzel Jun 29 '18 at 8:38
  • @danzel, should I test for some specific frame rate? – ngc3o34 Jun 29 '18 at 15:20
  • Have you tried this answer? – danzel Jun 29 '18 at 15:45
  • @danzel looks like screen tearing is my problem. Tried vertical sync in Xfwm, didn't help. What windows manager could be painless replacement for Xfwm? – ngc3o34 Jun 29 '18 at 16:49
  • Look, I disabled compositor. Heard people on KDE used to do so while playing games. It supposed to fix screen tearing. But it's still there. Windowed and full screen... – ngc3o34 Jun 29 '18 at 17:16