Bug 790008 - System freezes when recording screencast
System freezes when recording screencast
Status: NEW
Product: gnome-shell
Classification: Core
Component: general
3.26.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2017-11-07 09:28 UTC by Brianna Laugher
Modified: 2017-12-07 12:31 UTC (History)
6 users (show)

See Also:
GNOME target: ---
GNOME version: 3.25/3.26


Attachments

Description Brianna Laugher 2017-11-07 09:28:23 UTC
I first noticed this with Green Recorder but can also reproduce with Ctrl+Alt+Shift+R. This was reported by 2 other users on Green Recorder ( https://github.com/foss-project/green-recorder/issues/75 ) and suggested to report here.

The system freezes, doesn't respond to Ctrl+Alt+F3 or any other keys or mouse.

I am running GNOME 3.26.1 on Ubuntu 17.10 with Wayland on a Dell XPS 13-9333. The other reports are on a Razer Blade laptop and Dell XPS 15 (with NVIDIA).

I couldn't find any references to screencast in the journalctl. Not sure what else to look for.

<pre>
$ echo $XDG_SESSION_TYPE
wayland
brianna@
$ uname -a
Linux montreal 4.13.0-16-generic #19-Ubuntu SMP Wed Oct 11 18:35:14 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
$ sudo lspci -v -s 02
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
	Subsystem: Dell Haswell-ULT Integrated Graphics Controller
	Flags: bus master, fast devsel, latency 0, IRQ 43
	Memory at f0000000 (64-bit, non-prefetchable) [size=4M]
	Memory at e0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at 3000 [size=64]
	[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [d0] Power Management version 2
	Capabilities: [a4] PCI Advanced Features
	Kernel driver in use: i915
	Kernel modules: i915
$ journalctl --boot=-1  | grep -i screencast
$ journalctl --boot=-1  | grep -i gstreamer
$ journalctl --boot=-1  | grep -i i915
Nov 07 19:42:49 montreal kernel: i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
Nov 07 19:42:49 montreal kernel: [drm] Initialized i915 1.6.0 20170619 for 0000:00:02.0 on minor 0
Nov 07 19:42:49 montreal kernel: i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
Nov 07 19:42:50 montreal kernel: snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
</pre>
Comment 1 Willy Schott 2017-11-08 15:25:28 UTC
I can confirm this issue, using Peek (https://github.com/phw/peek) on Dell XPS 13-9360.

$ echo $XDG_SESSION_TYPE
wayland

$ uname -a
Linux xps 4.13.0-16-generic #19-Ubuntu SMP Wed Oct 11 18:35:14 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

sudo lspci -v -s 02
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02) (prog-if 00 [VGA controller])
	Subsystem: Dell HD Graphics 620
	Flags: bus master, fast devsel, latency 0, IRQ 288
	Memory at db000000 (64-bit, non-prefetchable) [size=16M]
	Memory at 90000000 (64-bit, prefetchable) [size=256M]
	I/O ports at f000 [size=64]
	[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: [40] Vendor Specific Information: Len=0c <?>
	Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
	Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [d0] Power Management version 2
	Capabilities: [100] Process Address Space ID (PASID)
	Capabilities: [200] Address Translation Service (ATS)
	Capabilities: [300] Page Request Interface (PRI)
	Kernel driver in use: i915
	Kernel modules: i915

02:02.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015] (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 129
	Bus: primary=02, secondary=39, subordinate=39, sec-latency=0
	Memory behind bridge: d9f00000-d9ffffff
	Capabilities: [80] Power Management version 3
	Capabilities: [88] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [ac] Subsystem: Device 2222:1111
	Capabilities: [c0] Express Downstream Port (Slot+), MSI 00
	Capabilities: [100] Device Serial Number 5f-b1-3d-51-29-e9-07-00
	Capabilities: [200] Advanced Error Reporting
	Capabilities: [300] Virtual Channel
	Capabilities: [400] Power Budgeting <?>
	Capabilities: [500] Vendor Specific Information: ID=1234 Rev=1 Len=0d8 <?>
	Capabilities: [700] #19
	Kernel driver in use: pcieport
	Kernel modules: shpchp
Comment 2 Anthony Bilinski 2017-11-12 21:13:50 UTC
Can confirm this using every screen recorder I've tried:
    Built-in screen recorder (Ctrl+Alt+Shift+R)
    EasyScreenCast gnome shell extension
    Green screen recorder

Total graphical freeze when starting capture. EasyScreenCast freezes on install.

echo $XDG_SESSION_TYPE
wayland

uname -a
Linux abilinski-desktop 4.13.0-16-generic #19-Ubuntu SMP Wed Oct 11 18:35:14 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

sudo lspci -v -s 1:
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii PRO [Radeon R9 290/390] (rev 80) (prog-if 00 [VGA controller])
	Subsystem: Gigabyte Technology Co., Ltd Hawaii PRO [Radeon R9 290/390]
	Flags: bus master, fast devsel, latency 0, IRQ 28
	Memory at e0000000 (64-bit, prefetchable) [size=256M]
	Memory at f0000000 (64-bit, prefetchable) [size=8M]
	I/O ports at e000 [size=256]
	Memory at f7e00000 (32-bit, non-prefetchable) [size=256K]
	Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [58] Express Legacy Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [150] Advanced Error Reporting
	Capabilities: [200] #15
	Capabilities: [270] #19
	Capabilities: [2b0] Address Translation Service (ATS)
	Capabilities: [2c0] Page Request Interface (PRI)
	Capabilities: [2d0] Process Address Space ID (PASID)
	Kernel driver in use: radeon
	Kernel modules: radeon, amdgpu

01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii HDMI Audio [Radeon R9 290/290X / 390/390X]
	Subsystem: Gigabyte Technology Co., Ltd Hawaii HDMI Audio [Radeon R9 290/290X / 390/390X]
	Flags: bus master, fast devsel, latency 0, IRQ 29
	Memory at f7e60000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [48] Vendor Specific Information: Len=08 <?>
	Capabilities: [50] Power Management version 3
	Capabilities: [58] Express Legacy Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Capabilities: [150] Advanced Error Reporting
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
Comment 3 Jonas Ådahl 2017-11-13 04:52:35 UTC
Does it freeze immediately or after some moments? I have experienced "freezes" that are actually the video encoding eating up all available memory causing the computer enter a swap-of-death situation, effectively freezing the session.
Comment 4 Anthony Bilinski 2017-11-13 05:25:35 UTC
Immediately. For EasyScreenCast it's the second I hit the switch to activate the shell extension, for Ctrl+Alt+Shift+R it's the second I hit the keys, for Green screen recorder it opens correctly, then as soon as I click record it freezes.

I'm still able to SSH and the system is responsive.
Comment 5 Kross 2017-11-28 08:55:13 UTC
Same for me using Peek :(

It freezes every time the recording starts on my Dell XPS 13 9360 (4.13.0-16-generic #19-Ubuntu SMP Wed Oct 11 18:35:14 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux).

But I experienced the problem also occasionally with a Lenovo Thinkpad Edge E540.
Comment 6 Kross 2017-11-28 08:57:42 UTC
p.s.

00:02.0 VGA compatible controller: Intel Corporation Device 5917 (rev 07) (prog-if 00 [VGA controller])
	Subsystem: Dell Device 082a
	Flags: bus master, fast devsel, latency 0, IRQ 281
	Memory at db000000 (64-bit, non-prefetchable) [size=16M]
	Memory at 90000000 (64-bit, prefetchable) [size=256M]
	I/O ports at f000 [size=64]
	[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: [40] Vendor Specific Information: Len=0c <?>
	Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
	Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [d0] Power Management version 2
	Capabilities: [100] Process Address Space ID (PASID)
	Capabilities: [200] Address Translation Service (ATS)
	Capabilities: [300] Page Request Interface (PRI)
	Kernel driver in use: i915
	Kernel modules: i915
Comment 7 Brianna Laugher 2017-12-07 12:31:04 UTC
Still experiencing this under GNOME 3.26.2.

Note You need to log in before you can comment on or make changes to this bug.