This error I had in Matlab. In fact it is only warning, but when you save image using e.g. print function your figure is just black. I had it working on Windows XP. The solution was to install Nvidia drivers to my GeForce FX 5200. Afterwards, saving images worked like it should.