Chromium leaks tens of gigabytes of pixmaps (in the Xorg process) after using hardware accelerated video
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
chromium-browser (Ubuntu) |
Fix Released
|
Critical
|
Unassigned | ||
xorg-server (Ubuntu) |
Opinion
|
Undecided
|
Unassigned |
Bug Description
---
chromium 118.0.5966.0 2604 latest/edge
Whenever I use chromium in a video session (meet, youtube) that used hardware acceleration, for a long time (like 20min or more), and then close it, the whole desktop freezes, and the laptop fan turns on. Logging in remotely I see that Xorg is at 100% CPU.
The rest of the system is operational, but nothing graphical is. Just the mouse cursor moves around.
SOMETIMES, if I wait a few minutes, Xorg resumes behaving normally, and I can use the desktop again, but most of the time I have to login remotely and kill -9 xorg (plain kill won't do it).
With wayland, this does not happen. This could very well be an Xorg bug, but filing here first for visibility.
$ lsgpu
card0 Intel Alderlake_p (Gen12) drm:/dev/dri/card0
└─renderD128
$ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 46 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 16
On-line CPU(s) list: 0-15
Vendor ID: GenuineIntel
Model name: 12th Gen Intel(R) Core(TM) i7-1270P
CPU family: 6
Model: 154
Thread(s) per core: 2
Core(s) per socket: 12
Socket(s): 1
Stepping: 3
CPU(s) scaling MHz: 41%
CPU max MHz: 4800,0000
CPU min MHz: 400,0000
BogoMIPS: 4992,00
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdp
Virtualization features:
Virtualization: VT-x
Caches (sum of all):
L1d: 448 KiB (12 instances)
L1i: 640 KiB (12 instances)
L2: 9 MiB (6 instances)
L3: 18 MiB (1 instance)
NUMA:
NUMA node(s): 1
NUMA node0 CPU(s): 0-15
Vulnerabilities:
Itlb multihit: Not affected
L1tf: Not affected
Mds: Not affected
Meltdown: Not affected
Mmio stale data: Not affected
Retbleed: Not affected
Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl
Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Spectre v2: Mitigation; Enhanced IBRS, IBPB conditional, RSB filling, PBRSB-eIBRS SW sequence
Srbds: Not affected
Tsx async abort: Not affected
ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: chromium-browser (not installed)
ProcVersionSign
Uname: Linux 6.2.0-27-generic x86_64
NonfreeKernelMo
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Tue Aug 29 16:47:30 2023
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: chromium-browser
UpgradeStatus: No upgrade log present (probably fresh install)
summary: |
- Xorg 100% CPU and frozen desktop after closing chromium + Chromium leaks tens of gigabytes of pixmaps (in the Xorg process) |
summary: |
- Chromium leaks tens of gigabytes of pixmaps (in the Xorg process) + Chromium leaks tens of gigabytes of pixmaps (in the Xorg process) after + using hardware accelerated video |
tags: | added: kivu |
Duly reproduced. I don't have SSH set up here and couldn't get out with Ctrl+Alt+Backspace either, had to resort to Sysrq.
The journal shows a nouveau fault at the time of the crash.