Intel iGPU UHD610 (Pentium G5400) Passthrough VRAM

Furzmulle

Ensign
Registriert
Juni 2012
Beiträge
177
Hallo CB'ler,

ich habe momentan folgendes Problem:

Ich möchte einen TVHeadend Server mit GPU Transcoding auf meiner vSphere ESXi 6.7U3 Maschine laufen lassen. Dazu habe ich einen Ubuntu Server (18.04 LTS) als GastOS in der VM aufgesetzt und die iGPU an die VM durchgereicht.

Auf dem Server habe ich TVH mit VAAPI installiert. Die GPU wir soweit erkannt und ich kann per GPU in TVH transkodieren. Allerdings weisen die Streams egal wie ich die Einstellungen wähle immer extreme Artefakte auf (H264 und H265) und sind so nicht genießbar.

Ich vermute es liegt am VRAM, mir werden für die iGPU nur 256MB angezeigt. Wie kann ich die VRAM Menge für iGPU erhöhen? Imm Gast OS? In vSphere? Ich komme nicht wirklich weiter. Die Einstellungen im Bios lassen bis zu 1,5 GB zu...

Hardware:
Fujitsu D3644-B
Intel Pentium G5400
16 GB ECC Samsung

Anbei noch einige Infos:
0b:00.0 VGA compatible controller: Intel Corporation Device 3e90 (prog-if 00 [VGA controller])
Subsystem: Fujitsu Technology Solutions Device 124a
Physical Slot: 192
Flags: bus master, fast devsel, latency 64, IRQ 60
Memory at fc000000 (64-bit, non-prefetchable) [size=16M]

Memory at d0000000 (64-bit, prefetchable) [size=256M]
I/O ports at 5000
[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: i915
Kernel modules: i915


error: can't connect to X server!
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_1
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.1 (libva 2.1.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Coffee Lake - 2.1.0
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Simple : VAEntrypointEncSlice
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointEncSliceLP
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointEncSliceLP
VAProfileH264MultiviewHigh : VAEntrypointVLD
VAProfileH264MultiviewHigh : VAEntrypointEncSlice
VAProfileH264StereoHigh : VAEntrypointVLD
VAProfileH264StereoHigh : VAEntrypointEncSlice
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointEncPicture
VAProfileVP8Version0_3 : VAEntrypointVLD
VAProfileVP8Version0_3 : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSlice
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointEncSlice
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileVP9Profile0 : VAEntrypointEncSlice
VAProfileVP9Profile2 : VAEntrypointVLD

Vielen Dank schonmal für eure Antworten!
 
Furzmulle schrieb:
ch vermute es liegt am VRAM,
Wieso - Wo hast du das gelesen? Ich glaube das ist überhaupt nicht dokumentiert, dass dieses eine Auswirkung auf das Encoding hat.
Ich hatte mal kurz mit VAAPI Encoding herumgespielt, und dort gab es keine Einstellungen zum VRAM soweit ich mich erinnere. Aber ich habe nur kurz rumgespielt, da ich eigentlich kein VAAPI Encoding nutze -

Du kann eigentlich ein paar Parameter der Komprimierung auch bei VAAPI und GPU Encoding einstellen und auch mal manuell die Komprimierung testen.
ich glaube hilfreich war dieser github-gist

Schau mal welche TVHeadend Version du verwendest oder welchen Code-Stand die Version in Ubuntu hat.
Auf dem Bug Tracker von TVHeadend bzw. dem Entwickler-Github sehe ich zB
https://github.com/tvheadend/tvheadend/pull/1294
"Fixed bad quality for vaapi transcoding h264 and hevc with bitrate #5607 #1294" - merged am 15.10.2019 im git master - also ist es vermutlich nicht im "stable" Paket enthalten - eine Unstable Version späteren Datums sollte einen Fix aber enthalten - oder eben direkt aus dem Master branch kompilierte Versionen.
 
Zurück
Oben