Desktop performance degradation when certain apps are running - after upgrade to Ubuntu Gnome 14.10

Bug #1385764 reported by Dawid Lorenz
122
This bug affects 25 people
Affects Status Importance Assigned to Milestone
Ubuntu GNOME
Undecided
Unassigned

Bug Description

After upgrading to Ubuntu Gnome 14.10 I have noticed desktop performance degradation when certain applications are running. By "performance degradation" I mean smoothness of usual animated activities like switching workspaces, opening overview (left super-key) etc. These animations are perfectly smooth until certain applications are executed and visible on the desktop, then animations are lagging and stuttering. However, once the "bogus" application is closed - animations are all fine again.

Two example applications that I have determined to cause this issue are:
- Google Chrome, ver. 38.0.2125.104 (Official Build 290379)
- Image Viewer ver. 3.12.2

Additionally, Image Viewer itself is extremely laggy, ie. clicking on menu items, loading next/prev images, opening/closing full-screen view... all of these activities are very slow and are barely usable. Using Google Chrome, however, is relatively smooth.

Interesting and potentially useful observation I made was that shortly after upgrading to 14.10 I've noticed that gedit has been left in version 3.10.4 (with "old" UI) and was presenting exactly same kind of laggy behaviour as Image Viewer. Once I've upgraded gedit to 3.12.2 (with new UI), it's working all fine again.

I have also recorded a screencast demonstrating this issue:
https://www.youtube.com/watch?v=0LhKhdgKHiQ

Few closing notes:
- my hardware is Dell XPS13 with Intel® Core™ i7-3537U CPU @ 2.00GHz × 4 + Intel® Ivybridge Mobile graphics
- I have upgraded from 14.04 to 14.10 using standard Software Updater GUI
- I have googled around and tried to tackle the problem by tweaking graphics driver (AccelMethod sna/uxa, TearFree true etc etc.) - no luck whatsoever
- I have posted this issue [1] in Ubuntu Gnome Google+ Community and it appears that more users are affected by the same issue

[1] https://plus.google.com/u/0/+DawidLorenz/posts/fjgF2Jw75me

Revision history for this message
Dawid Lorenz (adlorenz) wrote :

Added link to Google+ Community post

description: updated
Tim Lunn (darkxst)
Changed in ubuntu-gnome:
milestone: none → utopic
Revision history for this message
Honza Novak (jan-novak) wrote :

It is same for me. When I run app like nautilus, gedit then everything is ok with performance. But when I run chrome or gnome-terminal then performance is going down and switching windows / resize windows / sliding workspaces become very sluggy and choppy

Revision history for this message
Ed (eddgbn) wrote :

Same here, choppy video, slow windows resizing (in some programs like firefox or gedit), when I try to change wallpapers the system freezes for about 5-10 seconds, etc. (Ubuntu Gnome 14.10 64-bit, strange because I installed Ubuntu 14.10 64-bit on the same PC -i7 6gb RAM intel hd4000- and it runs perfectly)

Revision history for this message
Martin Wiebusch (mwiebusch78) wrote :

I'm having the same problem with Ubuntu Gnome and my inspiron 1525 laptop. When evolution is open all graphics related stuff becomes really slow. Even moving windows and typing is stuttery.

Revision history for this message
Rūdolfs Mazurs (rudolfs-mazurs) wrote :

Problem persists even when booting with older kernel — 3.13.0-37-generic

Revision history for this message
Martin Wiebusch (mwiebusch78) wrote :

I just noticed that when I compose a message in evolution and the corresponding window is visible on the screen the gnome-shell process uses more than 80% of my cpu (monitored with top).

Revision history for this message
Dawid Lorenz (adlorenz) wrote :

I have just made another interesting observation.

When hovering over opened tabs in a Google Chrome window, a small white artifact has appeared on top of Google Chrome and essentially on top of everything (visible on each workspace). This artifact has essentially blocked any interaction with Google Chrome which effectively has to be killed and restarted.

HOWEVER, this little artifact has somehow caused desktop animations to be smooth as butter again - despite Google Chrome running and being visible in the workspace! Can this be clue for the solution of the problem?

Attaching a screenshot.

Revision history for this message
Rūdolfs Mazurs (rudolfs-mazurs) wrote :

I tried to run Ubuntu Gnome 14.10 live cd, and there are no performace hits. Evolution, terminal and gedit are as snappy as expected.

When I tested the performance for brand new user on the upgraded machine, the lag was still present.

Reinstall is in order.

Revision history for this message
Dawid Lorenz (adlorenz) wrote :

Just received 3.16.0-24-generic kernel update, the issue still persists.

If I would have to make a guess, I'd say that some applications (like Chrome or Image Viewer) are using different library to render themselves on the screen, which are not hardware accelerated. A long shot but make sense maybe...?

Revision history for this message
Matriks (matriks) wrote :
Download full text (16.3 KiB)

the same here - lags has appeared right after update

$ glxinfo
name of display: :0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile,
    GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB, GLX_ARB_multisample,
    GLX_EXT_create_context_es2_profile, GLX_EXT_framebuffer_sRGB,
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info,
    GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer,
    GLX_OML_swap_method, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, GLX_SGI_swap_control
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile,
    GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float,
    GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample,
    GLX_EXT_buffer_age, GLX_EXT_create_context_es2_profile,
    GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB,
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info,
    GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer,
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
    GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGIX_visual_select_group, GLX_SGI_make_current_read,
    GLX_SGI_swap_control, GLX_SGI_video_sync
GLX version: 1.4
GLX extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile,
    GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB,
    GLX_ARB_get_proc_address, GLX_ARB_multisample,
    GLX_EXT_create_context_es2_profile, GLX_EXT_framebuffer_sRGB,
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info,
    GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
    GLX_OML_swap_method, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, GLX_SGI_make_current_read
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.5, 256 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.3.0
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
    GL_AMD_conservative_depth, GL_AMD_draw_buffers_blend,
    GL_AMD_seamless_cubemap_per_texture, GL_AMD_shader_trinary_minmax,
    GL_ANGLE_texture_compression_dxt3, GL_ANGLE_texture_compression_dxt5,
    GL_ARB_ES2_compatibility, GL_ARB_ES3_compatibility,
    GL_ARB_blend_func_extended, GL_ARB_clear_buffer_object,
    GL_ARB_compressed_texture_pixel_storage,
    GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth,
    GL_ARB_copy_buffer, GL_ARB_debug_output, GL_ARB_depth_buffer_float,
    GL_ARB_depth_clamp, GL_ARB_draw_buffers, GL_ARB_draw_buffers_blend,
    GL_ARB_draw_elements_base_vertex, GL_ARB_draw_indir...

Revision history for this message
Matriks (matriks) wrote :

looking at this article - http://www.hecticgeek.com/2014/10/change-disk-i-0-scheduler-cfq-ubuntu-14-10/ - and changing elevator to cfq hasn't fixed the issue completely, but at least i have much more better responsiveness. hope it helps someone as a temporary solution

Revision history for this message
yossarian_uk (morgancoxuk) wrote :

Same here....

Intel GPU.

Revision history for this message
macsociety (tj-d) wrote :

I have same slow UI issues. The two apps that seem to make the UI slow is Firefox and Evolution. If I quit these I can switch workspaces fine. TJ

Revision history for this message
ChangSeok Oh (changseok) wrote :

Same here. I clean installed ubutu gnome 14.10 into Lenovo T430s. Yes Intel chip is built in.

Revision history for this message
Matriks (matriks) wrote :

useful info for owners intel cards with i915 driver - i managed to resolve the issue with video lags by driver (installing xserver-xorg-video-intel) from https://launchpad.net/~xorg-edgers/+archive/ubuntu/ppa/+packages?field.name_filter=intel&field.status_filter=published&field.series_filter=
now all works smoothly and fast, similarly to 14.04

Revision history for this message
wmwmwm (index-html) wrote :

This bug could be related i guess.
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1386721

I am having both ubuntu 14.10 with gnome 3.10 and 3.12 on different hard drives on same laptop.

Gnome 3.10 working fine (nvidia chipset graphics adapter, both prop. driver both free driver.)

But in gnome 3.12 working very buggy (all drivers).

The bugs i noticed with 3.12:
gedit freezes sometimes while typing or deleting, and becomes responsive after some seconds.
poedit turkish characters does not input on keyboard. And backspace also does not work. (chars: ö,ç,ş,ı,ğ,ü etc.)

But those bugs are fixed when i upgraded gnome 3.12 to 3.14. But nautilus and some windows become unusable. So i had to downgrade again.

So; unity 3.10 and 3.14 is stable for me, but 3.12 is buggy. Some other glitches and problems could be related to this.

Like this:
https://bugs.launchpad.net/ubuntu/+source/poedit/+bug/1397116

Revision history for this message
wmwmwm (index-html) wrote :
Revision history for this message
svenmeier (sven-meiers) wrote :

As #1386721 was closed as 'invalid', this bug cannot be a duplicate. Please reopen it.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers