Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Chrome constantly freezes the whole system
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
sQu1rr
n00b
n00b


Joined: 26 Jan 2014
Posts: 24
Location: UK

PostPosted: Tue Mar 27, 2018 8:46 pm    Post subject: Chrome constantly freezes the whole system Reply with quote

After an update on 18th of March, my chrome started slowing down the whole system.
It becomes very obvious when I navigate to a website that has a lot of animations for example, like giphy.com. I tested Firefox and it performs as expected.
When these freezes happen - chrome's CPU usage is through the roof, and when moving the mouse fast, the cursor freezes for ~0.5 seconds and then jumps 200-300px at a time.
Looks like at least one other person has (or had) the same problem and confirmed that in this thread: https://forums.gentoo.org/viewtopic-t-1077690-highlight-chrome.html
Has anyone else seen anything like that or has any ideas?
Many thanks!
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Wed Mar 28, 2018 4:26 am    Post subject: Reply with quote

Is OpenGL working?
Back to top
View user's profile Send private message
sQu1rr
n00b
n00b


Joined: 26 Jan 2014
Posts: 24
Location: UK

PostPosted: Wed Mar 28, 2018 10:45 am    Post subject: Reply with quote

That's a good question! The OpenGL itself is definitely operational - I can play CS:GO and other games. How do I check if it works for chrome/system? WebGL seems to also work as expected when I try http://arodic.github.io/p/jellyfish/ with 9999 jellyfish (it gives me ~25fps, and no visible lag to the system/cursor/anything)
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Wed Mar 28, 2018 5:38 pm    Post subject: Reply with quote

If it's broken you'll see a lot of red text in chrome://gpu (along with other symptoms like laggy scrolling), but it sounds like that's not the root cause. Posting a glxinfo -B wouldn't hurt.
Back to top
View user's profile Send private message
sQu1rr
n00b
n00b


Joined: 26 Jan 2014
Posts: 24
Location: UK

PostPosted: Wed Mar 28, 2018 6:05 pm    Post subject: Reply with quote

chrome://gpu https://imgur.com/a/ujQUs

glxinfo -B
Code:

name of display: :0
display: :0  screen: 0
direct rendering: Yes
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 1080/PCIe/SSE2
OpenGL core profile version string: 4.5.0 NVIDIA 390.42
OpenGL core profile shading language version string: 4.50 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6.0 NVIDIA 390.42
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)

OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 390.42
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20


PS No laggy scrolling
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Wed Mar 28, 2018 7:28 pm    Post subject: Reply with quote

Ah nvidia, I suspected as much... can't help you there, but maybe someone else can.
Back to top
View user's profile Send private message
sQu1rr
n00b
n00b


Joined: 26 Jan 2014
Posts: 24
Location: UK

PostPosted: Wed Mar 28, 2018 7:31 pm    Post subject: Reply with quote

Ant P. wrote:
Ah nvidia, I suspected as much...


Is there a way to check if it is video-card/opengl related issue? Because I am not completely sold on that it is, after all, webgl works perfectly fine.

Ant P. wrote:
can't help you there, but maybe someone else can.


No worries, thanks for your help
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30822
Location: here

PostPosted: Wed Mar 28, 2018 7:37 pm    Post subject: Reply with quote

Try to disable 'Use hardware acceleration when available' option in settings
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
sQu1rr
n00b
n00b


Joined: 26 Jan 2014
Posts: 24
Location: UK

PostPosted: Wed Mar 28, 2018 8:04 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Try to disable 'Use hardware acceleration when available' option in settings

That worked, it will definitely do as a temporary workaround - thank you!! Any idea on what may be causing hardware acceleration to lag the system?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30822
Location: here

PostPosted: Wed Mar 28, 2018 8:13 pm    Post subject: Reply with quote

sQu1rr wrote:
That worked, it will definitely do as a temporary workaround - thank you!! Any idea on what may be causing hardware acceleration to lag the system?

Probably cause by nvidia-drivers
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
sQu1rr
n00b
n00b


Joined: 26 Jan 2014
Posts: 24
Location: UK

PostPosted: Wed Mar 28, 2018 8:19 pm    Post subject: Reply with quote

should i wait for the nvidia-drivers update, or try to rebuild it with different use flags or downgrade? I may try downgrading on the weekend
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30822
Location: here

PostPosted: Thu Mar 29, 2018 7:14 am    Post subject: Reply with quote

sQu1rr wrote:
should i wait for the nvidia-drivers update, or try to rebuild it with different use flags or downgrade? I may try downgrading on the weekend

First step is checking if a older version of nvidia-driver cause problem.

I finded this on nvidia forum https://devtalk.nvidia.com/default/topic/1029164/linux/chrome-tearing/
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
sQu1rr
n00b
n00b


Joined: 26 Jan 2014
Posts: 24
Location: UK

PostPosted: Thu Mar 29, 2018 9:25 am    Post subject: Reply with quote

fedeliallalinea wrote:
sQu1rr wrote:
should i wait for the nvidia-drivers update, or try to rebuild it with different use flags or downgrade? I may try downgrading on the weekend

First step is checking if a older version of nvidia-driver cause problem.

I finded this on nvidia forum https://devtalk.nvidia.com/default/topic/1029164/linux/chrome-tearing/


Thank you so much for the link provided. I will test downgrading chrome and/or nvidia-drivers on the weekend or next week and will post back the results.
Back to top
View user's profile Send private message
sQu1rr
n00b
n00b


Joined: 26 Jan 2014
Posts: 24
Location: UK

PostPosted: Mon Apr 23, 2018 10:04 am    Post subject: Reply with quote

installing google-chrome-unstable 67.0.3396.10 fixed it for me 8)
Thanks everyone for your help
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum