Fix for Chrome very slow behavior with NVidia card and UP5

Archived topics about LMDE 1
Forum rules
Level 1
Level 1
Posts: 10
Joined: Fri Sep 28, 2012 3:44 pm

Fix for Chrome very slow behavior with NVidia card and UP5

Postby DarkNova » Fri Sep 28, 2012 3:57 pm

Upon upgrading to UP5, Chrome was behaving terribly. It would take a second or two to switch tabs on a very fast machine. Each time a tab was clicked, X's CPU would spike to 100%. I tracked this to this debian bug: Basically, UP5 upgraded to libcairo2 1.12.2 and this version reverted a patch that had been in earlier versions to prevent this behavior. As of yet, libcairo2 has not been repatched in debian testing to address this problem. Some people have recompiled libcairo2 with the patch, with success.

In the bug I linked to I saw that several people claimed the NVidia driver 304.30 and higher fixed this problem, without having to patch libcairo2. I decided to go this route, and it worked.

Debian testing has already upgraded the NVidia driver. I decided to manually pull the .deb's from Debian testing and upgrade them, rather than mess around with apt sources. I think this is a pretty safe method as you are only upgrading a handful of NVidia-specific packages, and when the next version of Linux Mint comes out it will probably have newer versions than these and then will upgrade them automatically.

I went to and downloaded this deb for my machine (amd64) along with the packages it depends on that needed to be upgraded. So the packages I ended up downloading were:


nvidia-settings needs to be upgraded first so I ran "dpkg --install nvidia-settings_304.48-1_amd64.deb". Then I did "rm nvidia-settings_304.48-1_amd64.deb" and "dpkg --install *.deb" to install the rest. Reboot and everything worked fine.

If someone has a better method feel free to share it -- this is just what worked for me.

I'm not really sure what the official policy is for pushing packages outside a release pack, but it seems like one could make a case for this being pushed before UP6. As far as I can tell, this bug would probably affect anyone who is running Chrome & the nvidia driver, which seems like it would be a lot of people.

User avatar
Level 1
Level 1
Posts: 10
Joined: Fri Jul 06, 2012 1:19 pm

Re: Fix for Chrome very slow behavior with NVidia card and U

Postby bithir » Fri Sep 28, 2012 4:29 pm

I followed to resolve it.

It avoids pinning or replacing upgradable packages. This just puts a symlink to libcairo in the chrome directory so it loads it before it checks elsewhere. I found that to be a reasonable compromise until a fix is found. At that time, I will remove the libcairo symlink that I have in the chrome directory.

Level 1
Level 1
Posts: 10
Joined: Thu Nov 30, 2006 10:00 am

Re: Fix for Chrome very slow behavior with NVidia card and U

Postby uglyone » Fri Oct 12, 2012 2:09 pm

I use something found at a blog - and it works for me: just run ths command: nvidia-settings -a InitialPixmapPlacement=0

Return to “Archive”

Who is online

Users browsing this forum: No registered users and 0 guests