Page MenuHomeSolus

Cheese keeping CPU active even after close
Closed, ResolvedPublic

Description

I was recording some video today and noticed some odd behavior coming from Cheese while doing so today, and was wondering if anyone had a similar experience.

Starting Cheese seems to have the effect I would expect for an application making use of my Thinkpad's webcam. CPU % usage kicks up to around 10%, with increased activity on all cores while the application is in an idle state.

Where it gets interesting is when recording a video. CPU usage kicks up to slightly north of 25, with all cores workload being significantly. I expect that, however my thinking was the stoppage of recording would reduce the CPU back to a normal state. This did not happen, and the CPU remained taxed even after closing the application until such time that I killed to process from the System Monitor.

Terminal output upon opening cheese
[code]chas@thinkpad-x260 ~ $ cheese

(cheese:6022): Gtk-WARNING **: Theme parsing error: cheese.css:7:35: The style property GtkScrollbar:min-slider-length is deprecated and shouldn't be used anymore. It will be removed in a future version

(cheese:6022): GLib-GObject-CRITICAL **: g_object_ref_sink: assertion 'G_IS_OBJECT (object)' failed

(cheese:6022): GLib-GObject-CRITICAL **: g_object_ref_sink: assertion 'G_IS_OBJECT (object)' failed

(cheese:6022): GLib-GObject-CRITICAL **: g_object_ref_sink: assertion 'G_IS_OBJECT (object)' failed

(cheese:6022): GLib-GObject-CRITICAL **: g_object_ref_sink: assertion 'G_IS_OBJECT (object)' failed

(cheese:6022): GLib-GObject-CRITICAL **: g_object_ref_sink: assertion 'G_IS_OBJECT (object)' failed

(cheese:6022): GLib-GObject-CRITICAL **: g_object_ref_sink: assertion 'G_IS_OBJECT (object)' failed

(cheese:6022): GLib-GObject-CRITICAL **: g_object_ref_sink: assertion 'G_IS_OBJECT (object)' failed
chas@thinkpad-x260 ~ $
[/code]

Terminal Output upon ending the recording of my video, this repeated endlessly until the process was killed
[code] (cheese:5720): WARNING : Icon 'video-webm' not present in theme Moka

  • (cheese:5720): WARNING **: could not generate thumbnail for /home/chas/Videos/Webcam/2017-06-06-215808.webm (video/webm)

Killed
chas@thinkpad-x260 ~ $
[/code]

I was hoping that the fix that was pushed this evening for LibreOffice and CPU usage would fix Cheese as well but upon testing I have the same issue.

One final observation, The light which indicates that the webcam is on remains on even after Cheese has been closed. Only killing the cheese process from the System Monitor shuts it off and returns CPU usage to normal levels.

Related Objects

Event Timeline

baimafeima added a subscriber: baimafeima.

I was hoping that the fix that was pushed this evening for LibreOffice and CPU usage would fix Cheese as well but upon testing I have the same issue.

One final observation, The light which indicates that the webcam is on remains on even after Cheese has been closed.

I was hoping the same but the issue still persists. CPU usage is unusually high and the webcam light remains on. I did

pidof cheese

and then killed the PID.

Does this still persist after latest updates?

I just checked with the latest updates and unfortunately, the issue still persists.

I tried to reproduce this issue without success today. Running cheese version 3.24.0, rel. 9.
Tried this on a T430 Thinkpad. Hopefully the issue is resolved?

JoshStrobl claimed this task.
JoshStrobl added a subscriber: JoshStrobl.

Closing. If this issue persists after our GNOME 3.26.0 upgrade, feel free to reopen.