Google Maps pegs CPU
Firefox 120.0 on openSUSE Tumbleweed.
Google Maps (https://www.google.com/maps) results in CPU being pegged at 100%. No other tabs open. All I have to do is load the URL and do nothing else. This behavior is repeatable. CPU stays at 100% until tab is closed or browser is shut down. Sometimes the browser will hang and its PID has to be killed.
Offending process:
username 4501 4416 76 11:40 ? 00:05:13 /usr/lib64/firefox/firefox -contentproc -childID 1 -isForBrowser -prefsLen 27513 -prefMapSize 244227 -jsInitLen 228948 -parentBuildID 20231116134553 -greomni /usr/lib64/firefox/omni.ja -appomni /usr/lib64/firefox/browser/omni.ja -appDir /usr/lib64/firefox/browser {659a1e89-c5da-416d-b720-558c24187847} 4416 true tab
被采纳的解决方案
The problem was fixed when Firefox was updated to version 120.0.1.
定位到答案原位置 👍 0所有回复 (10)
Probably Bug 1866409 which is fixed in the latest Nighty (122.0a1). You can avoid it by disabling canvas randomization fingerprinting protection with a few different methods:
- Disable Tracking Protection for the site.
- Use Standard protection.
- Use Custom protection and untick "Suspected fingerprinters".
- Set privacy.fingerprintingProtection.overrides to -CanvasRandomization in about:config.
Also make sure privacy.resistFingerprinting is default false.
This article may shed some light. A previous reply by another contributor is, it seems, being moderated.
https://support.mozilla.org/en-US/kb/firefox-uses-too-much-memory-or-cpu-resources
I've tried disabling all extensions and opening Maps in a private window but this did not help. Have tried shutting down Firefox, making sure all processes are gone, restarting Firefox, and loading only Google Maps; same fr problem, it immediately freezes.
I should have mentioned that this problem just started in the last day or so...up until then, Google Maps loaded just fine and had no memory issues on my machine.
Google Maps loads fine in the latest Chromium browser on the same machine. Problem is limited to Firefox. It could be something Google did in the Maps code that is breaking it. Hoping there is some debugging I can do that will shed some light on whatever is happening here. Would like any suggestions on gathering debug data that can be shared.
I have always enabled strict tracking in my Firefox settings...have not changed it recently...will try removing it temporarily to see if it makes a diff.
Can you provide similar info and screenshots? Let me boot up Tumbleweed. Also provide info from about:performance X11 or Wayland? What desktop? It would be nice if you could use OBS or simplescreenrecorder and post a video of the issue.
Operating System: openSUSE Leap 15.6 KDE Plasma Version: 5.27.9 KDE Frameworks Version: 5.110.0 Qt Version: 5.15.8 Kernel Version: 6.4.0-150600.1-default (64-bit) Graphics Platform: X11 Processors: 16 × AMD Ryzen 7 PRO 6850HS with Radeon Graphics Memory: 62.1 GiB of RAM Graphics Processor: AMD Radeon Graphics Product Name: HP EliteBook 865 16 inch G9 Notebook PC
由jonzn4SUSE于
Not able to replicate the issue on Tumbleweed with several windows and tabs open. see screenshot
Operating System: openSUSE Tumbleweed 20231127
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.11
Kernel Version: 6.6.2-1-default (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 5825U with Radeon Graphics
Memory: 62.1 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Product Name: HP ProBook 455 15.6 inch G9 Notebook PC
由jonzn4SUSE于
It is fixed in 120.0.1.
System info:
Name: Firefox Version: 120.0 Build ID: 20231116134553 Distribution ID: openSUSE User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:120.0) Gecko/20100101 Firefox/120.0 OS: Linux 6.6.2-1-default #1 SMP PREEMPT_DYNAMIC Mon Nov 20 11:22:36 UTC 2023 (263a855) OS Theme: Breeze / Adwaita Multiprocess Windows: 1/1 Fission Windows: 1/1 Enabled by default Remote Processes: 10 Enterprise Policies: Inactive Google Location Service Key: Missing Google Safebrowsing Key: Found Mozilla Location Service Key: Found Safe Mode: false Memory Size (RAM): 7.7 GB Disk Space Available: 889 GB indow Device Pixel Ratios: 1 Compositing: WebRender Asynchronous Pan/Zoom: wheel input enabled; scrollbar drag enabled; keyboard enabled; autoscroll enabled; smooth pinch-zoom enabled WebGL 1 Driver WSI Info: EGL_VENDOR: NVIDIA EGL_VERSION: 1.5 EGL_EXTENSIONS: EGL_EXT_buffer_age
Operating System: openSUSE Tumbleweed 20231128 KDE Plasma Version: 5.27.9 KDE Frameworks Version: 5.112.0 Qt Version: 5.15.11 Kernel Version: 6.6.2-1-default (64-bit) Graphics Platform: X11 Processors: 4 × Intel® Core™ i5-4590 CPU @ 3.30GHz Memory: 7.7 GiB of RAM Graphics Processor: NVIDIA GeForce GT 1030/PCIe/SSE2 Manufacturer: Dell Inc. Product Name: OptiPlex 3020 System Version: 00
Can you make a live usb stick and boot it up to see if you have the same issues? https://download.opensuse.org/tumbleweed/iso/openSUSE-Tumbleweed-KDE-Live-x86_64-Current.iso
For what it's worth...Chromium Version 119.0.6045.159 (openSUSE Build) stable (64-bit) on this same machine does NOT have the CPU issue on Google Maps....it loads and runs just fine.
I am looking for the Firefox 120.0.1 patch release; once it is available for Tumbleweed I will update and re-test.
选择的解决方案
The problem was fixed when Firefox was updated to version 120.0.1.