High cpu consumption on you tube playback with nvidia driver and webrender enabled on linux
Categories
(Core :: Graphics: WebRender, defect, P3)
Tracking
()
People
(Reporter: mar.kolya, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: nightly-community, power)
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0
Steps to reproduce:
Used latest firefox-tunk on Ubuntu 19.04
I have Quadro M2000M with latest nvidia binary driver (430.26) with 4 core E3-1505M CPU.
Enabled webrender.
Opened youtube video (HD).
Actual results:
During playback 'top' shows 'GPU process' constantly consuming 150% and video gets 'choppy' at times.
This also results in fast battery drain.
Expected results:
CPU consumption during video playback with webrender enabled should not be drastically higher than with webrender disabled.
Updated•5 years ago
|
Updated•5 years ago
|
Comment 1•3 years ago
|
||
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0
$ uname -a
Linux servalWS 5.12.9-arch1-1 #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000 x86_64 GNU/Linux
Graphics Processor: NVIDIA GeForce RTX 2060
NVIDIA Driver Version: 465.31
Webrender is now enabled by default and whenever I scroll or play a youtube video I get usage as high as 1000%
Comment 2•3 years ago
|
||
(In reply to mike.liu.dev from comment #1)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0
$
uname -a
Linux servalWS 5.12.9-arch1-1 #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000 x86_64 GNU/LinuxGraphics Processor: NVIDIA GeForce RTX 2060
NVIDIA Driver Version: 465.31Webrender is now enabled by default and whenever I scroll or play a youtube video I get usage as high as 1000%
This actually turned out to be an issue with my display manager (lightdm) starting xorg before NVIDIA drivers load. This thread: https://bbs.archlinux.org/viewtopic.php?id=260293 contains the solution that I used which is to configure lightdm to wait for graphics drivers to load before the service is started. Changing this configuration option to "true" did the trick for me:
[LightDM]
logind-check-graphical=true
Updated•2 years ago
|
Description
•