Screen temporarily freezes when watching a video

Whenever I'm watching a video the screen freezes for about 1 second and then goes back to normal, this happens every 30 seconds or so. Usually happens when showing a video on the screen (YouTube, Facebook, Twitch, VLC, Videos), while any other activities work ​normally. Are there any tips or tricks for fixing this? Note: I have dual boot on my machine (Ubuntu,Windows 10) and this issue doesn't happen on Windows.

  • Ubuntu version: 18.04.5 LTS (Desktop Environment: GNOME). OS: 64 bit. GNOME: 3.28.2
  • Graphics card: GeForce GTX 1050/PCIe/SSE2. Driver Version: 440.33.01. CUDA Version: 10.2. prime-select: nvidia
  • Processor: Intel® Core™ i5-8300H CPU @ 2.30GHz × 8
  • free -h
 total used free shared buff/cache available
Mem: 19G 5,6G 4,7G 312M 9,1G 13G
Swap: 2,0G 0B 2,0G
9

2 Answers

I also have 18.04 LTS with NVidia (GeForce GTX 1050 Ti), and I am using nvidia-driver-465. It might be worthwhile to upgrade to that driver.

If you need CUDA, there is nvidia-driver-460-server (I didn't try that one).

1

I've solved this issue by fixing the CUDA installation on my machine.

Note: some PPAs related to this toolkit had to be removed from my OS repository list (e.g., TensorRT), since they were conflicting with the overall process.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like