Video Playback Freeze Every Few Seconds / Minutes on Ubuntu

Sponsored Links

Just upgrading to Ubuntu 9.10 Karmic Koala this morning, overall I’m quite happy with it’s performance, it’s faster than previous version (Jaunty, etc). However I’m still facing some minor problem that is not solved correctly until this Karmic release, that is when I play video on Totem or VLC, after several minutes the video becomes freeze and this happen every several seconds / minutes.

So I decided to find the solution on the Ubuntu forums and found the solution:

STEPS: Compiz Configuration

1. Download CompizConfig Settings Manager from Ubuntu repository.
2. Navigate to.. System –> Prefences –> CompizConfig Settings Manager
3. Navigate to.. General –> General Options
4. Click “General Options” to open window
5. Click “Display Settings” tab
6. Uncheck “Detect Refresh Rate”
7. Move “Refresh Rate” slider to 60, or set 60 in the box
8. Check “Sync to VBlank”
9. Click back button to move back to main CompizConfig window
10. Navigate to.. Utility –> Video Playback
11. Uncheck “Video Playback” then exit the CompizConfig Settings Manager.

STEPS: Nvidia Configuration

1. Pull up nvidia-settings
.. Navigate to.. Applications –> System Tools –> nvidia-settings
.. or open a terminal, type “nvidia-settings” , press enter
2. Click “X Server XVideo Settings”
3. Check “Sync to VBlank” _IF_ not checked
4. Click “OpenGL Settings”
5. Uncheck “Sync to VBlank” _IF_ checked
6. click quit button
7. click quit button
8. Reopen nvidia-settings to verify that config changes were saved.
.. IF they were saved, you are done with step 8.
.. IF they were not saved, ~/.nvidia-settings-rc in your home directory
.. may be under root permissions. You will need to chown chgrp for the file.
.. Then you will need to start back at Step 1 and repeat all steps.

IMPORTANT: Reboot your machine when finished. The driver changes won’t function correctly until you reboot

This is the screenshot of my nvidia settings after fixed:

Video Playback Freeze Every Few Seconds / Minutes on Ubuntu

Video Playback Freeze Every Few Seconds / Minutes on Ubuntu

That’s it, now I can enjoy watching my movie collections without freezing… :)

Reference:

All incoming search terms for this post

w (2) - video freeze after a few seconds of playing on Ubuntu 9.10 (1) - ubuntu + compiz + freeze the video a few seconds and then continues (1) - karmic video playback freeze (1) - video playback settings ubuntu (1) - ubuntu nvidia freeze sync vblank (1) - koala ubuntu reboot video freeze (1) - video freezez every few minute (1) - ubuntu freezes for a few seconds (1) - e3500 ubuntu synchro problem (1) - video freeze ubuntu (1) - ubuntu karmic video freezes (1) - ubuntu 9.10 freeze with totem (1) - vlc freezes for a few seconds ubuntu (1) - ubuntu video playback freeze problem (1) -

Leave a Comment