When I watch videos on YouTube, the computer starts freezing. Sometimes it unfreezes after 10 seconds or so, but sometimes it doesn't. It happens both in Firefox and Chromium, although in Chromium it's not as bad.
I searched through this question and none of the solutions I read about worked for me. Freezing still happens.
How do I solve it?
EDIT: Here's an output of lspci
variecs@variecs-N550JV:~$ lspci -k | grep -EA2 'VGA|3D'
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
Subsystem: ASUSTeK Computer Inc. Device 11cd
Kernel driver in use: i915
--
01:00.0 3D controller: NVIDIA Corporation GK107M [GeForce GT 750M] (rev a1)
Subsystem: ASUSTeK Computer Inc. Device 11cd
Kernel driver in use: nouveau
EDIT 2: turns out it was a NVIDIA driver issue, reinstalling it helped fix it.