Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
CPU Verbrauch youtube im browser
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2601
Location: Heidelberg - Germany

PostPosted: Fri Jun 21, 2024 12:17 pm    Post subject: CPU Verbrauch youtube im browser Reply with quote

Moin,

ich habe festgestellt, dass ein im Brave-bin Browser abespieltes Youtube Video auf meinem Notebook mit AMD Vega Grafik bei 1080p um 100% CPU, also einen der 16 logischen Kerne, verbraucht. Das ist extrem viel. Zum Vergleich dazu braucht dasselbe Video auf dem Desktop mit ähnlicher CPU (Ryzen 9 statt Ryzen 7) und "nvidia-drivers" nur ungefähr 1/20 der CPU Last, es bewegt sich im einstelligen Prozentbereich.

Kann es sein, dass es irgendeine Form von Hardwarebeschleunigung für HTML5 Content gibt, welche auf dem Radeon Kern nicht verfügbar ist oder dass ich eine bestimmte Konfiguration machen muß, damit das auf dem Notebook besser läuft im Vergleich zur Nvidia Grafik auf dem Desktop?

Grüße
Erdie
_________________
Desktop AMD Ryzen 9 5900X 32GB RAM, Asus GF GTX 1060.
Notebook Tuxedo Pulse 15 Gen1 AMD Ryzen 7 4800H mit Radeon Vega 7
Raspberry Pi 1 + 2 + 3B+ + Zero W
Back to top
View user's profile Send private message
Christian99
Veteran
Veteran


Joined: 28 May 2009
Posts: 1686

PostPosted: Mon Jun 24, 2024 11:52 am    Post subject: Reply with quote

ja, grundsätzlich können browser hardwarebeschleunigung haben.
Die Grafikkarte muss aber für den Videocodec entsprechende dekodier funktionen haben.
(mit vainfo aus den media-video/libva-utils kann man sich anzeigen lassen, was die GraKa kann)
Youtube verwendet wohl häufig AV1 als Video codec, und für den hat meine AMD Graka wohl keine Unterstützung, evtl ist das bei dir auch so, und die NVIDIA GPU hat unterstützung.
Back to top
View user's profile Send private message
schmidicom
Veteran
Veteran


Joined: 09 Mar 2006
Posts: 1961
Location: Schweiz

PostPosted: Mon Jun 24, 2024 4:09 pm    Post subject: Reply with quote

Die Browser können auch eine eigene Whitelist haben welche GPUs sie für die Hardwarebeschleunigung akzeptieren.
https://www.khronos.org/webgl/wiki/BlacklistsAndWhitelists

Diese Liste kann bei Chrome und Firefox übergangen werden, allerdings riskiert man damit das die ganze Sache instabil wird.
_________________
Lenovo - ThinkPad P16s Gen 2 - 21K9CTO1WW
Back to top
View user's profile Send private message
Erdie
Advocate
Advocate


Joined: 20 May 2004
Posts: 2601
Location: Heidelberg - Germany

PostPosted: Mon Jun 24, 2024 5:19 pm    Post subject: Reply with quote

Das werde ich mir genauer anschauen. Etwas in die Richtung hatte ich schon vermutet.

Bei mir sieht das vainfo so aus:

Code:

Trying display: wayland
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
Trying display: x11
libva info: VA-API version 1.21.0
libva info: Trying to open /usr/lib64/va/drivers/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_21
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.21 (libva 2.21.0)
vainfo: Driver version: Mesa Gallium driver 24.0.9 for AMD Radeon Graphics (radeonsi, renoir, LLVM 17.0.6, DRM 3.54, 6.6.30-gentoo)
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointEncSlice
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointEncSlice
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointVLD
      VAProfileNone                   : VAEntrypointVideoProc


AV1 sehe ich da auch nicht.
_________________
Desktop AMD Ryzen 9 5900X 32GB RAM, Asus GF GTX 1060.
Notebook Tuxedo Pulse 15 Gen1 AMD Ryzen 7 4800H mit Radeon Vega 7
Raspberry Pi 1 + 2 + 3B+ + Zero W
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum