Screen freeze when performing memory stress in Wayland mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux |
New
|
Unknown
|
|||
Mutter |
Fix Released
|
Unknown
|
|||
OEM Priority Project |
Fix Released
|
Critical
|
jeremyszu | ||
mesa (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Jammy |
Fix Released
|
Medium
|
Unassigned | ||
Kinetic |
Won't Fix
|
Medium
|
Unassigned | ||
Lunar |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[Impact]
Running stress-ng freezes the screen under wayland on intel iris. Upstream has fixed it in
5aae8a05264c354
646cff13bca8a92
which need to be backported for 22.2.5
[Test case]
Install the update, then
1. stress-ng --stack 0 --timeout 300
2. check the screen
and note that it shouldn't freeze anymore.
[Where things could go wrong]
This moves checking ENOMEM to the right place, so it's hard to see how it might cause issues.
--
[Steps to reproduce]
(disable systemd-oomd or executing over ssh)
(below command allocates a lot of memory to stress kernel page fault)
1. stress-ng --stack 0 --timeout 300
2. check the screen
[Expected result]
Screen will update slowly when performing the stress-test.
but screen needs back to work after stress.
[Actual result]
Screen freeze after stress test.
[Additional information]
kernel version: vmlinuz-
kernel version: vmlinuz-
Mesa version: 22.0.5-0ubuntu0.1
Mutter version: 42.2-0ubuntu1
Gnome-shell version: 42.2-0ubuntu0.2
* Issue happens in Wayland only
* gnome-shell keeps issuing ioctl()
```
(gdb) bt
#0 __GI___ioctl (fd=fd@entry=14, request=
#1 0x00007fcacab0eb4f in intel_ioctl (arg=0x7fffc540
#2 iris_wait_syncobj (timeout_
#3 iris_wait_syncobj (bufmgr=<optimized out>, syncobj=<optimized out>, timeout_
#4 0x00007fcacab8beab in iris_get_
#5 iris_get_
#6 0x00007fcaca405e89 in tc_get_query_result (_pipe=<optimized out>, query=0x5577415
#7 0x00007fcaca0f0e64 in get_query_result (pipe=pipe@
#8 0x00007fcaca0f1b12 in _mesa_wait_query (q=0x557741a0c790, ctx=0x55773f8af980) at ../src/
#9 get_query_object (ctx=0x55773f8a
at ../src/
#10 0x00007fcaca0f2d65 in _mesa_GetQueryO
#11 0x00007fcadfa39b90 in ?? () from /usr/lib/
#12 0x00007fcadfa751b9 in cogl_frame_
#13 0x00007fcadf8819c4 in ?? () from /lib/x86_
#14 0x00007fcadfa6e7a2 in _cogl_onscreen_
#15 0x00007fcadf969cdd in ?? () from /lib/x86_
#16 0x00007fcadf96ec7b in ?? () from /lib/x86_
#17 0x00007fcadf969601 in ?? () from /lib/x86_
#18 0x00007fcadf98395e in ?? () from /lib/x86_
#19 0x00007fcadf96962d in ?? () from /lib/x86_
#20 0x00007fcae0743c24 in g_main_
#21 0x00007fcae07986f8 in ?? () from /lib/x86_
#22 0x00007fcae0743293 in g_main_loop_run () from /lib/x86_
#23 0x00007fcadf8d0849 in meta_context_
#24 0x000055773f1a4f12 in ?? ()
#25 0x00007fcadf429d90 in __libc_
#26 0x00007fcadf429e40 in __libc_
at ../csu/
#27 0x000055773f1a51b5 in ?? ()
```
Other discussion thread:
https:/
https:/
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: mutter (not installed)
Uname: Linux 5.18.0-rc2+ x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5json:
{
"result": "skip"
}
Date: Mon Sep 19 10:39:59 2022
DistributionCha
# This is the distribution channel descriptor for the OEM CDs
# For more information see http://
canonical-
InstallationDate: Installed on 2022-09-06 (12 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - somerville-
ProcEnviron:
TERM=rxvt-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: mutter
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | added: oem-priority |
tags: | added: originate-from-1982914 stella |
Changed in linux: | |
status: | Unknown → New |
Changed in mutter: | |
status: | Unknown → Fix Released |
tags: | added: originate-from-1983068 |
tags: | added: originate-from-1992116 |
tags: | added: originate-from-1992736 |
tags: | added: originate-from-1981168 somerville |
tags: | added: originate-from-1992399 |
Changed in linux (Ubuntu): | |
assignee: | nobody → Kai-Heng Feng (kaihengfeng) |
status: | Confirmed → In Progress |
Changed in linux (Ubuntu): | |
status: | In Progress → Invalid |
no longer affects: | linux (Ubuntu) |
Changed in mesa (Ubuntu Jammy): | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in mesa (Ubuntu Kinetic): | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in mesa (Ubuntu Lunar): | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in mesa (Ubuntu Lunar): | |
assignee: | nobody → Kai-Heng Feng (kaihengfeng) |
tags: | added: fixed-in-mesa-24 fixed-upstream |
no longer affects: | linux (Ubuntu Jammy) |
no longer affects: | linux (Ubuntu Kinetic) |
no longer affects: | linux (Ubuntu Lunar) |
no longer affects: | mutter (Ubuntu) |
no longer affects: | mutter (Ubuntu Jammy) |
no longer affects: | mutter (Ubuntu Kinetic) |
no longer affects: | mutter (Ubuntu Lunar) |
Changed in mesa (Ubuntu Lunar): | |
status: | Confirmed → In Progress |
Changed in mesa (Ubuntu Lunar): | |
status: | In Progress → Fix Released |
assignee: | Kai-Heng Feng (kaihengfeng) → nobody |
description: | updated |
description: | updated |
description: | updated |
Changed in mesa (Ubuntu Jammy): | |
status: | Confirmed → In Progress |
Changed in oem-priority: | |
status: | Incomplete → Fix Released |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1990089
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.