Today's the day

向软件大牛炫耀我会焊单片机,向硬件大牛炫耀我会写 Rails,向软硬件大牛炫耀我生物,向软硬件生物大牛炫耀我会折腾期货 -_-bbb

启用 Compiz 的 Loose Binding

今天正好 Nvidia 的驱动更新到 180.29,顺便把很久不用的 Compiz 又翻出来耍耍。

日常没有用 Compiz 这个东西,倒不是说不好用,因为启用之后,CPU 的占用率就有点高,转转立方体,一个 CPU 核心就 50% 的占用率了,按说都是 GPU 的运算,CPU 应该不参与的才对。

一直都没找到原因,今天偶然在 Compiz 的设置菜单中看到了 Loose Binding 一项,不知道是干啥的,好奇的选择了一下,结果发现 CPU 占用率高的现象立马消失了~

lyanry 说这个 Loose Binding 选项似乎和 Nvidia 的显卡驱动有关,不过没有定论:

With strict binding textures are bound whenever they are enabled, with loose binding they are enabled when created. The Nvidia driver seems a bit slow when binding textures, that's why this option gives a heavy performance increase on Nvidia.

反正现在 Compiz 是流畅多了,再次回到 3D 桌面的怀抱~