Smoothness issue 4 above I have tracked down to this clutter-gtk code:
-------------------------
static void
clutter_master_clock_gdk_update (GdkFrameClock *frame_clock,
ClutterMasterClockGdk *master_clock)
{
GList *stages, *l;
_clutter_threads_acquire_lock ();
/* Get the time to use for this frame */
master_clock->cur_tick = gdk_frame_clock_get_frame_time (frame_clock);
-------------------------
The problem is not in clutter-gtk though. It's a general lack of
precision in the GdkFrameClock logic. Despite my monitor running at
around 60Hz, the GDK frame_time interval is erratic and mostly varies
between 17 and 18 milliseconds. So the root cause is just poor timing
logic in GDK.
I have an experimental fix already for gdk so probably don't need to
propose changes to clutter-gtk any more.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to clutter-gtk in Ubuntu.
https://bugs.launchpad.net/bugs/1698270
Title:
Totem pauses and stutters during video playback even when CPU usage is
low
Status in Totem:
Incomplete
Status in clutter-1.0 package in Ubuntu:
Won't Fix
Status in clutter-gtk package in Ubuntu:
New
Status in gstreamer package in Ubuntu:
Triaged
Status in gtk+3.0 package in Ubuntu:
In Progress
Status in totem package in Ubuntu:
Fix Released
Bug description:
Totem pauses and stutters during video playback even when CPU usage is
low.
After figuring out how to play videos with full hardware accelerated
decoding (e.g. <= 10% CPU), I was surprised to find Totem still pauses
and stutters during playback. Other apps like Mplayer, VLC and even
gst-play-1.0 never have this problem.
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: totem 3.24.0-0ubuntu1
ProcVersionSignature: Ubuntu 4.10.0-22.24-generic 4.10.15
Uname: Linux 4.10.0-22-generic x86_64
ApportVersion: 2.20.5-0ubuntu4
Architecture: amd64
Date: Fri Jun 16 12:03:18 2017
InstallationDate: Installed on 2017-05-03 (44 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170502)
SourcePackage: totem
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/totem/+bug/1698270/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp