Monday, January 4, 2010

Incorrect colouring while playing videos on linux with nVidia driver

Recently, I noticed that all videos that I played, whether through mplayer, totem, or vlc, all played very blue.  However, video played in the browser was all fine colourwise.  At first I was inclined to think that this was due to a bug in the video driver.

However, it turns out that there is actually quite a simple fix for it all.  I remember playing around with the video card settings a while back, and I must have forgotten to reset some of them.  The problem was caused by the fact that the hue was turned all the way down.  For some reason, normal graphics weren't affected, only video playback.

Resetting everything to the hardware defaults fixed this problem.