Kodi CPU oder GPU lastig

Slopestyle-1

Commander
Registriert
Aug. 2008
Beiträge
2.887
Mahlzeit,
ich habe die Frage ob Kodi mehr CPU oder GPU lastig ist?

Ich habe zur Zeit eine alte AMD X3 8650 mit Onboard GPU da fahre ich mit der Twitch App und 1080p Streams auf nahe zu 90% CPU last unter Debian System. Würde sich das Blatt ändern wenn ich eine Grafikkarte rein baue?


MfG.
 
Zuletzt bearbeitet:
Kommt wie immer drauf an. Was die GPU für Codecs in Hardware dekodieren kann und in welchen Codecs Deine Videos vorliegen.

Wenn die GPU das in Hardware kann und der Player das nutzt, dann hat die CPU nichts mehr zu tun.
 
Problematisch ist es ja auch, dass es ein Linux ist. Da kommt es auf den Treiber an, ob die Video-Beschleunigung überhaupt implementiert ist. Vielleicht wäre es besser, dann statt einer neuen Grafikkarte einen Player auf Androidbasis für 50 Euro zu kaufen, der dann auch schon 4k-fähig ist.
 
Player auf Androidbasis für 50 Euro zu kaufen, der dann auch schon 4k-fähig ist.
Auf dem man auch Debian installieren kann wenn man will.

Aber: Gnome Twitch sollte eigentlich vdpau nutzen können. Bitte starte Gnome Twitch via xterm und paste die Ausgabe.
Paste auch die Ausgabe von lspci -nn
 
Zuletzt bearbeitet:
Welchen Player gibt des den da zu kaufen?

Und was genau soll ich Kopieren [HominiLupus]?
 
$ lspci -nn
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] RS880 Host Bridge [1022:9601]
00:01.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (int gfx) [1022:9602]
00:11.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode] [1002:4390]
00:12.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397]
00:12.1 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller [1002:4398]
00:12.2 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller [1002:4396]
00:13.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397]
00:13.1 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller [1002:4398]
00:13.2 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller [1002:4396]
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller [1002:4385] (rev 3a)
00:14.1 IDE interface [0101]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 IDE Controller [1002:439c]
00:14.2 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) [1002:4383]
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller [1002:439d]
00:14.4 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge [1002:4384]
00:14.5 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI2 Controller [1002:4399]
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 10h Processor HyperTransport Configuration [1022:1200]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Address Map [1022:1201]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 10h Processor DRAM Controller [1022:1202]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Miscellaneous Control [1022:1203]
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Link Control [1022:1204]
01:05.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] RS880 [Radeon HD 4200] [1002:9710]
01:05.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] RS880 HDMI Audio [Radeon HD 4200 Series] [1002:970f]
02:05.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8169 PCI Gigabit Ethernet Controller [10ec:8169] (rev 10)


$ dpkg -l | grep vdpau
ii libvdpau1:amd64 0.8-3+deb8u2 amd64 Video Decode and Presentation API for Unix (libraries)
ii vdpauinfo 0.1-2 amd64 Video Decode and Presentation API for Unix (vdpauinfo utility)

$ vdpauinfo
display: :0.0 screen: 0
Failed to open VDPAU backend libvdpau_r600.so: cannot open shared object file: No such file or directory
Error creating VDPAU device: 1
 
Sieht aus wie ein AMD 785G Chipsatz (RS880) mit integrierter Radeon HD 4200 (RV620). Die sollte in der Tat Videobeschleunigung (vdpau) beherrschen, was sie aber offensichtlich nicht macht.

Poste mal eins davon, für den genauen Treiber.
Code:
lspci -nnk | grep -i vga -A3
lshw -c video

Edit: Falls es der geschlossene FGLRX/CATALYST Treiber ist, wechsel den mal gegen den offenen 'radeon'. Der sollte VDPAU beherrschen (R600). Danach noch mal 'vdpauinfo' ausführen (am besten mit code Tags posten) und wenn erfolgreich -> Twitch/CPU überprüfen.
 
Zuletzt bearbeitet:
Also es ist der radeon Treiber aktiv und der zweite Befehl geht nicht.

lspci -nnk | grep -i vga -A3
01:05.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] RS880 [Radeon HD 4200] [1002:9710]
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:0000]
Kernel driver in use: radeon
01:05.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] RS880 HDMI Audio [Radeon HD 4200 Series] [1002:970f]
 
Der zweite Befehl war nicht wichtig.

Radeon Treiber hast du, das ist schon mal gut. Mesa/OpenGL scheint aber zu fehlen, bzw. scheint nicht die vdpau Version zu sein.
Installiere mesa-vdpau-drivers und versuche es dann noch mal mit vdpauinfo.
 
Hast du einen Befehl zum Installieren des Pakets?
 
Ich habe kein Debian hier. Kann sein, dass das nicht funktioniert.

Liste alle Mesa Pakete auf:
Code:
apt update
apt search mesa

Versuche 'mesa-vdpau-drivers' zu finden und installiere es mit 'apt-get install <paketname>'.
 
Zuletzt bearbeitet:
Ok Thx.
Ergänzung ()

So ich habe es fein installiert!

$ vdpauinfo
display: :0.0 screen: 0
API version: 1
Information string: G3DVL VDPAU Driver Shared Library version 1.0

Video surface:

name width height types
-------------------------------------------
420 8192 8192 NV12 YV12
422 8192 8192 UYVY YUYV
444 8192 8192 Y8U8V8A8 V8U8Y8A8

Decoder capabilities:

name level macbs width height
-------------------------------------------
MPEG1 0 9216 2048 1152
MPEG2_SIMPLE 3 9216 2048 1152
MPEG2_MAIN 3 9216 2048 1152
H264_BASELINE 41 9216 2048 1152
H264_MAIN 41 9216 2048 1152
H264_HIGH 41 9216 2048 1152
VC1_ADVANCED 4 9216 2048 1152

Output surface:

name width height nat types
----------------------------------------------------
B8G8R8A8 8192 8192 y NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8
R8G8B8A8 8192 8192 y NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8
R10G10B10A2 8192 8192 y NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8
B10G10R10A2 8192 8192 y NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8

Bitmap surface:

name width height
------------------------------
B8G8R8A8 8192 8192
R8G8B8A8 8192 8192
R10G10B10A2 8192 8192
B10G10R10A2 8192 8192
A8 8192 8192

Video mixer:

feature name sup
------------------------------------
DEINTERLACE_TEMPORAL y
DEINTERLACE_TEMPORAL_SPATIAL -
INVERSE_TELECINE -
NOISE_REDUCTION y
SHARPNESS y
LUMA_KEY -
HIGH QUALITY SCALING - L1 -
HIGH QUALITY SCALING - L2 -
HIGH QUALITY SCALING - L3 -
HIGH QUALITY SCALING - L4 -
HIGH QUALITY SCALING - L5 -
HIGH QUALITY SCALING - L6 -
HIGH QUALITY SCALING - L7 -
HIGH QUALITY SCALING - L8 -
HIGH QUALITY SCALING - L9 -

parameter name sup min max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH y 48 2048
VIDEO_SURFACE_HEIGHT y 48 1152
CHROMA_TYPE y
LAYERS y 0 4

attribute name sup min max
-----------------------------------------------------
BACKGROUND_COLOR y
CSC_MATRIX y
NOISE_REDUCTION_LEVEL y 0.00 1.00
SHARPNESS_LEVEL y -1.00 1.00
LUMA_KEY_MIN_LUMA y
LUMA_KEY_MAX_LUMA y
 
Sieht gut aus. Probiere es aus mit Twitch. :)
Ergänzung ()

Slopestyle-1 schrieb:
Ich habe zur Zeit eine alte AMD X3 8650 mit Onboard GPU da fahre ich mit der Twitch App und 1080p Streams auf nahe zu 90% CPU last unter Debian System.
Hat das denn jetzt Besserung gebracht?
 
Ja es hat schon was gebracht ich bin jetzt bei max. 150% von 300% CPU Last.
 
Zurück
Oben