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 790008 - System freezes when recording screencast
System freezes when recording screencast
Status: RESOLVED FIXED
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:
 
 
Reported: 2017-11-07 09:28 UTC by Brianna Laugher
Modified: 2018-08-12 08:25 UTC
See Also:
GNOME target: ---
GNOME version: 3.25/3.26



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.
Comment 8 Carl-Erik Kopseng 2018-01-30 15:04:22 UTC
Dell XPS seems to be a recurring theme. 

Experiencing this on a 
- Dell XPS 9350, Intel® Iris Graphics 540 (Skylake GT3e)
- Ubuntu 17.10
- kernel 4.13.0-32
- GNOME 3.26.2
Comment 9 Carl-Erik Kopseng 2018-01-30 15:20:25 UTC
You'll also find several people that might contribute logs, info, setups, etc on the Peek bug tracker where it has been reported by several people.
https://github.com/phw/peek/issues/202
Comment 10 Ray Strode [halfline] 2018-01-30 15:42:03 UTC
does this patch help? https://gitlab.gnome.org/GNOME/mutter/merge_requests/2
Comment 11 imyxhuang 2018-02-09 02:00:37 UTC
Same issue on a Sony VAIO SVT141190X, and looks like that patch is closed.
Comment 12 Carl-Erik Kopseng 2018-08-06 12:21:21 UTC
Is this still an issue? I saw from the Peek issues that this seemed to affect a lot of Dell XPS users, but as I am currently on holiday, I am unable to verify.
Comment 13 Brianna Laugher 2018-08-11 02:29:34 UTC
(In reply to Carl-Erik Kopseng from comment #12)
> Is this still an issue? I saw from the Peek issues that this seemed to
> affect a lot of Dell XPS users, but as I am currently on holiday, I am
> unable to verify.

I just upgraded to Ubuntu 18.04 and it is fixed there, screen recording works in both x11 and wayland. \o/

- GNOME version 3.28.2
- Ubuntu 18.04.1 LTS
- kernel 4.15.0-30-generic
Comment 14 Anthony Bilinski 2018-08-12 06:35:41 UTC
(In reply to Carl-Erik Kopseng from comment #12)
> Is this still an issue? I saw from the Peek issues that this seemed to
> affect a lot of Dell XPS users, but as I am currently on holiday, I am
> unable to verify.

I am no longer affected. I've upgraded to 18.04 as well, not sure if this is the fix or if it was something else. Thanks to whomever fixed this :)

$ uname -a
Linux abilinski-desktop 4.15.0-30-generic #32-Ubuntu SMP Thu Jul 26 17:42:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

$ echo $XDG_SESSION_TYPE
wayland

Same hardware as first comment.