Google Chrome does not render page after losing focus in AwesomeWM

1k views Asked by At

I have installed fresh Arch Linux with linux-ck and awesomewm. After that I have installed google-chrome and started it. Everything works well, but if I open other application (chrome lose focus) and then got back to the chrome, it freezes. Mouse cursor works as expected (cursor changes after hovering link, input field, etc) but view is not updated. Everything works well again if I change desktop to the second and go back to the first again (mod+2, mod+1). Chrome works, responses etc well.

I bet this issue has something in common with hardware acceleration. If I run some game (steam), lose focus, get back to the game - it shows last rendered screen before focus has been lost (sound is ok, game is responsible but does not update screen).

I use nvidia. Do I need some extra configuration to handle it ?

3

There are 3 answers

2
hsz On BEST ANSWER

The problem was xcompmgr which caused "freezing" view. I switched it to unagi and all of the problems have gone.

0
Liam Mayfair On

For me, disabling hardware acceleration as Alex pointed out solved the issue. This bug has been brought forward before in awesome's issues GitHub page.

Apparently, the problem is not awesome. Graphics drivers might be involved but the main suspect seems to be the compositing manager. Running awesome with the "--no-argb" flag and disabling the comp manager seems to solve the problem.

0
Alex Zaitsev On

You want to disable "Use hardware acceleration when available" in Chrome settings.