For the moment, I use your first solution (commenting lines 340-344), because --indirect-rendering causes compiz to not use nvidia-settings config (anisotropic filter) even if you launch 'nvidia-settings -l' before.
For the moment, I use your first solution (commenting lines 340-344), because --indirect- rendering causes compiz to not use nvidia-settings config (anisotropic filter) even if you launch 'nvidia-settings -l' before.