Ubuntu 14.04 freezes when watching youtube videos

13,054

You need to install a driver for your Nvidia adapter.

Run in terminal

sudo apt-get install nvidia-352 nvidia-prime

and reboot.

Share:
13,054

Related videos on Youtube

Variecs
Author by

Variecs

Updated on September 18, 2022

Comments

  • Variecs
    Variecs over 1 year

    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.

    • Mostafa Ahangarha
      Mostafa Ahangarha about 8 years
      In what kind of situation it happens? For me, it happens sometimes when I try to exit fullscreen mode.
    • Variecs
      Variecs about 8 years
      it happens even if i watch it in windowed mode, and is in no way related to switching between fullscreen and windowed mode. It just happens periodically by itself.
    • Olathe
      Olathe about 8 years
      What happens when you turn off hardware acceleration at the bottom of Chromium's advanced settings? Does that fix the problem?
    • Variecs
      Variecs about 8 years
      No, turning off hardware acceleration doesn't fix the problem
    • Pilot6
      Pilot6 about 8 years
      Please edit your question and add output of lspci -k | grep -EA2 'VGA|3D' terminal command.
    • Variecs
      Variecs about 8 years
      added lspci output
    • Pilot6
      Pilot6 about 8 years
      See my answer. A driver is required.
  • Variecs
    Variecs about 8 years
    It seems like i already play it on HTML5. It has "About HTML5" item
  • Fiksdal
    Fiksdal about 8 years
    Also, what if OP needs flash? Many sites still use it.
  • Olathe
    Olathe about 8 years
    It should be added as well that Chrome (not Chromium) on Linux includes the latest Flash player, updated the same as the Windows version (version 21 now versus Linux's 11).