After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 771311 - Disable animations on systems without GPU acceleration
Disable animations on systems without GPU acceleration
Status: RESOLVED OBSOLETE
Product: gnome-shell
Classification: Core
Component: general
3.21.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2016-09-12 17:49 UTC by Christian Stadelmann
Modified: 2021-07-05 14:30 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Stadelmann 2016-09-12 17:49:48 UTC
Steps to reproduce:
1. run gnome-shell inside an environment with no GPU acceleration. This could be a virtual machine. Try running a Fedora 25 Alpha ISO inside a virtual machine with libvirt/virt-manager for example.

What happens:
Very high CPU load causing lags and stutters

What should happen:
No lags, no animation stutters

Additional information:
This might be an issue in gnome-settings-daemon instead of gnome-shell. Feel free to reassign since you probably know better.
Comment 1 Florian Müllner 2016-09-12 21:41:35 UTC
Mmmh, that should already be the case - what's the output if you type the following into looking glass (alt+f2 lg):

Gtk.Settings.get_default().gtk_enable_animations
Comment 2 Christian Stadelmann 2016-09-12 22:14:18 UTC
(In reply to Florian Müllner from comment #1)
> Mmmh, that should already be the case - what's the output if you type the
> following into looking glass (alt+f2 lg):
> 
> Gtk.Settings.get_default().gtk_enable_animations

I can't use Alt+F2 due to this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1285770

But I can _see_ the animations, so yes, they are enabled.
Comment 3 Florian Müllner 2016-09-12 22:25:10 UTC
(In reply to Christian Stadelmann from comment #2)
> But I can _see_ the animations, so yes, they are enabled.

That is assuming that animations correctly follow that setting.

An alternative way to confirm the value that doesn't require looking glass is running the following in a terminal:
gdbus call --session --dest org.gnome.Shell \
           --object-path /org/gnome/Shell \
           --method org.gnome.Shell.Eval \
           'imports.gi.Gtk.Settings.get_default().gtk_enable_animations'
Comment 4 Christian Stadelmann 2016-09-12 22:32:52 UTC
(In reply to Florian Müllner from comment #3)
> 
> An alternative way to confirm the value that doesn't require looking glass
> is running the following in a terminal:
> gdbus call --session --dest org.gnome.Shell \
>            --object-path /org/gnome/Shell \
>            --method org.gnome.Shell.Eval \
>            'imports.gi.Gtk.Settings.get_default().gtk_enable_animations'

returns
(true, 'true')
Comment 5 GNOME Infrastructure Team 2021-07-05 14:30:51 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of  gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/

Thank you for your understanding and your help.