Cheese take a long time to launch

Bug #1715375 reported by Charlie
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu MATE
Invalid
Undecided
Unassigned
cheese (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Loading Cheese from menu takes approx 15 seconds, works fine. From syslog:

Sep 6 12:06:07 charlie-PERSONAL-COMPUTER cheese[11182]: 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
Sep 6 12:06:23 charlie-PERSONAL-COMPUTER appmenu-mate[1738]: Failed to fetch property `_GTK_UNIQUE_BUS_NAME': GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface 'org.ayatana.bamf.window' on object at path /org/ayatana/bamf/window/10485790
Sep 6 12:06:23 charlie-PERSONAL-COMPUTER appmenu-mate[1738]: Failed to fetch path: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface 'org.ayatana.bamf.window' on object at path /org/ayatana/bamf/window/10485790
Sep 6 12:06:23 charlie-PERSONAL-COMPUTER appmenu-mate[1738]: instance with invalid (NULL) class pointer
Sep 6 12:06:23 charlie-PERSONAL-COMPUTER appmenu-mate[1738]: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
Sep 6 12:06:31 charlie-PERSONAL-COMPUTER cheese[11254]: 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
Sep 6 12:07:17 charlie-PERSONAL-COMPUTER cheese[11330]: 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
Sep 6 12:13:39 charlie-PERSONAL-COMPUTER pulseaudio[1729]: [pulseaudio] shm.c: mmap() failed: Cannot allocate memory
Sep 6 12:13:39 charlie-PERSONAL-COMPUTER pulseaudio[1729]: [pulseaudio] pstream.c: Failed to create permanent mapping for memfd region with ID = 1139249259
Sep 6 12:13:39 charlie-PERSONAL-COMPUTER pulseaudio[1729]: [pulseaudio] protocol-native.c: Failed to register memfd mempool. Reason: could not attach memfd SHM ID to pipe
Sep 6 12:13:39 charlie-PERSONAL-COMPUTER pulseaudio[1729]: [pulseaudio] shm.c: mmap() failed: Cannot allocate memory
Sep 6 12:13:39 charlie-PERSONAL-COMPUTER pulseaudio[1729]: [pulseaudio] protocol-native.c: Disabling srbchannel, reason: Failed to allocate shared writable memory pool.
Sep 6 12:13:39 charlie-PERSONAL-COMPUTER pulseaudio[1729]: [pulseaudio] shm.c: mmap() failed: Cannot allocate memory
Sep 6 12:13:39 charlie-PERSONAL-COMPUTER pulseaudio[1729]: [pulseaudio] pstream.c: Failed to create permanent mapping for memfd region with ID = 1999805095

Revision history for this message
Charlie (charlie1945) wrote :
Revision history for this message
Charlie (charlie1945) wrote :

Running Ubuntu Mate 17.10 Mate 1.18.0

Hardware: Memory 3.9GiB, Processor i3-4150 CPU @ 3.50GHz x 4

Changed in ubuntu-mate:
status: New → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in cheese (Ubuntu):
status: New → Confirmed
Revision history for this message
corrado venturini (corradoventu) wrote :
Download full text (7.1 KiB)

I have a similar problem on Ubuntu 17.10: cheese takes about 15 seconds to start using an UVC camera (046d:0990) on USB3 but start immediately using an old Philips 740 webcam.

corrado@corrado-p5-0930:~$ cheese

(cheese:5526): 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
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
corrado@corrado-p5-0930:~$

corrado@corrado-p5-0930:~$ inxi -Fx
System: Host: corrado-p5-0930 Kernel: 4.13.0-12-generic x86_64 bits: 64 gcc: 7.2.0
           Desktop: Gnome 3.26.0 (Gtk 3.22.21-0ubuntu1) Distro: Ubuntu Artful Aardvark (development branch)
Machine: Device: desktop Mobo: ASRock model: H110M-G/M.2 serial: N/A UEFI: American Megatrends v: P1.10 date: 05/11/2017
CPU: Dual core Intel Core i3-7100 (-HT-MCP-) arch: Skylake rev.9 cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 15648
           clock speeds: max: 3900 MHz 1: 3900 MHz 2: 3900 MHz 3: 3900 MHz 4: 3900 MHz
Graphics: Card: Intel HD Graphics 630 bus-ID: 00:02.0
           Display Server: x11 (X.Org 1.19.3 ) driver: i915 Resolution: 1920x1080@60.00hz
           OpenGL: renderer: Mesa DRI Intel HD Graphics 630 (Kaby Lake GT2)
           version: 4.5 Mesa 17.2.2 Direct Render: Yes
Audio: Card-1 Intel Sunrise Point-H HD Audio driver: snd_hda_intel bus-ID: 00:1f.3
           Card-2 Logitech QuickCam Pro 9000 driver: USB Audio usb-ID: 001-006
           Sound: Advanced Linux Sound Architecture v: k4.13.0-12-generic
Network: Card: Intel Ethernet Connection (2) I219-V driver: e1000e v: 3.2.6-k bus-ID: 00:1f.6
           IF: enp0s31f6 state: up speed: 100 Mbps duplex: full mac: 70:85:c2:44:7b:86
Drives: HDD Total Size: 1000.2GB (6.9% used)
           ID-1: /dev/sda model: TOSHIBA_DT01ACA1 size: 1000.2GB
Partition: ID-1: / size: 32G used: 4.7G (16%) fs: ext4 dev: /dev/sda5
           ID-2: swap-1 size: 8.59GB used: 0.00GB (0%) fs: swap dev: /dev/sda2
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 37.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info: Processes: 238 Uptime: 2:58 Memory: 1428.4/7684.1MB Init: systemd runlevel: 5 Gcc sys: N/A
           Client: Shell (bash 4.4.121) inxi: 2.3.37
corrado@corrado-p5-0930:~$

in the log i see:

15:36:02 systemd: Started Hostname Service.
15:36:02 dbus-daemon: [system] Successfully activated service 'org.freedesktop.hostname1'
15:36:02 systemd: Starting Hostname Service...
15:36:02 dbus-daemon: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service'
15:36:02 dbus-daemon: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service'
15:35:22 dbus-daemon: Successfully activated service 'org.gnome.Logs'
15:35:22 dbus-daemon: Activating service name='org.gnome.Logs'
15:35:05 gdm-x-session: (II) modeset(0): Modeline "1280x1024"x0.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
...

Read more...

Revision history for this message
corrado venturini (corradoventu) wrote :

ott 09 20:54:58 corrado-beta-4ott cheese[4667]: 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
ott 09 20:55:12 corrado-beta-4ott cheese[4667]: Device '/dev/video0' cannot capture in the specified format: gstv4l2object.c(3640): gst_v4l2_object_set_format_full (): /GstCameraBin:camerabin/GstWrapperCameraBinSrc:camera_source/GstBin:bin18/GstV4l2Src:v4l2src1:
... and a black screen with a message: There was an error playing video from the webcam

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.