You are not logged in.

#1 2017-11-12 18:08:48

kekc
Member
Registered: 2017-11-10
Posts: 15

[SOLVED] Chromium terrible performance after 3 seconds from start

In my adventurous campaign I moved from dummy > intel > modesetting driver and now face another super-strange hurdle: chromium.

For some reason it becomes superslow after 3 seconds from start - each keypress lags for like 3-4 seconds and only then shows up on the screen. But:
- It performs flawlessly in the beginning - I can even type in quickly and load some page
- Firefox works normally

What I did:
- Symptoms look quite similar to this: https://bbs.archlinux.org/viewtopic.php?id=220766. However, deleting everything from ~/.config/chromium did not help.
- I reinstalled chromium several times (pacman -Rsn)
- I reinstalled mesa and lib32-mesa, removed xf86-video-intel
- Starting chromium from shell does not show anything except typical warning about some env variable
- Nothing in syslog
- Same behavior in LXDE and XFCE
- Tried all the tips and tricks from arch-wiki pages for Chromium

What I didn't try but will:
- Chromium-dev (currently building, yawn)
- Chrome

Any ideas what else to try / what can cause this?

Last edited by kekc (2017-11-13 08:28:58)

Offline

#2 2017-11-12 18:39:57

lo1
Member
Registered: 2017-09-25
Posts: 584

Re: [SOLVED] Chromium terrible performance after 3 seconds from start

Have you tried disabling your extensions / using chromium with its default configuration?

Last edited by lo1 (2017-11-12 18:40:06)

Offline

#3 2017-11-12 19:21:34

kekc
Member
Registered: 2017-11-10
Posts: 15

Re: [SOLVED] Chromium terrible performance after 3 seconds from start

Yes, it's a fresh install - no extensions / addins, default config.

Last edited by kekc (2017-11-12 19:21:53)

Offline

#4 2017-11-12 21:47:29

kekc
Member
Registered: 2017-11-10
Posts: 15

Re: [SOLVED] Chromium terrible performance after 3 seconds from start

Okay, the cause is indeed the GPU and probably drivers:
- Chrome behaves exactly the same
- If run with "--disable-gpu" switch - everything works fine. Not sure it is enough to mark the thread as SOLVED though, as it means no hardware acceleration in chromium under modesetting.

GPU performance is clearly screwed:

$ glxinfo | grep -i render
direct rendering: Yes
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
Extended renderer info (GLX_MESA_query_renderer):
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 6000 (Broadwell GT3)
    GL_ARB_compute_shader, GL_ARB_conditional_render_inverted,
    GL_MESA_texture_signed_rgba, GL_NV_conditional_render, GL_NV_depth_clamp,
    GL_ARB_compute_shader, GL_ARB_conditional_render_inverted,
    GL_NV_conditional_render, GL_NV_depth_clamp, GL_NV_light_max_exponent,
    GL_OES_element_index_uint, GL_OES_fbo_render_mipmap,
$ glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
1087 frames in 5.1 seconds = 214.248 FPS
6 frames in 6.0 seconds =  1.000 FPS
5 frames in 5.0 seconds =  1.000 FPS
6 frames in 6.0 seconds =  1.000 FPS
6 frames in 6.0 seconds =  1.000 FPS
6 frames in 6.0 seconds =  1.000 FPS
5 frames in 5.0 seconds =  1.000 FPS
6 frames in 6.0 seconds =  1.000 FPS
6 frames in 6.0 seconds =  1.000 FPS
5 frames in 5.0 seconds =  1.000 FPS
6 frames in 6.0 seconds =  1.000 FPS
5 frames in 5.0 seconds =  1.000 FPS

Any thoughts on how to troubleshoot this further?

Last edited by kekc (2017-11-12 22:02:25)

Offline

#5 2017-11-12 23:13:46

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,868

Offline

#6 2017-11-13 08:24:47

kekc
Member
Registered: 2017-11-10
Posts: 15

Re: [SOLVED] Chromium terrible performance after 3 seconds from start

It worked! Thanks, Seth. How did you know?!
I mean I'm feeling dumb - the answer was in wiki all along, but I did not have a slightest clue that it could be relevant to my case.
Shall we put some symptoms to wiki?

Last edited by kekc (2017-11-13 08:27:17)

Offline

#7 2017-11-13 08:39:43

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,868

Re: [SOLVED] Chromium terrible performance after 3 seconds from start

This didn't look very random ....

6 frames in 6.0 seconds =  1.000 FPS
5 frames in 5.0 seconds =  1.000 FPS
6 frames in 6.0 seconds =  1.000 FPS
6 frames in 6.0 seconds =  1.000 FPS
6 frames in 6.0 seconds =  1.000 FPS
5 frames in 5.0 seconds =  1.000 FPS
...

This would belong into some "how to create a headless xvnc wiki", I assume - don't know anything about the wiki rules, but you could log your endeavor at least somewhere (and then move that into the arch wiki if appropriate)

Offline

#8 2017-11-13 10:20:09

kekc
Member
Registered: 2017-11-10
Posts: 15

Re: [SOLVED] Chromium terrible performance after 3 seconds from start

Anyway, thanks for pointing out! I amended the wiki article by putting symptoms.

Offline

Board footer

Powered by FluxBB