Hallo Zusammen.
Unter yavdr-ansible lief die Installation vorerst durch.
Es tauchen jedoch einige Probleme mit der Graka auf. Eventuell kann mir jemand weiter helfen.
Beim start (vermutlich GRUB) erhalte ich schon folgende Fehlermeldung:
Vorerst hatte ich den Standard softhddevice-vpp aktiviert.
Das Ergebnis waren Framedrops und und immer wieder Microruckler im Bild.
Komischerweise wird die Hardware erkannt aber der Treiber wurde nicht installiert. Laut der Doku sollte i965-va-driver installiert sein.
Jedoch hatte
das Paket neu installiert. Warum das so war kann ich jetzt nicht mehr rekonstruieren.
Folgendes meldet die /var/log/syslog:
Jun 17 18:25:36 atomic vdr: video: 11:47:33.598+1055 1272 0/\ms 1+3 v-buf
Jun 17 18:25:36 atomic vdr: video: slow down video, duping frame
Jun 17 18:25:36 atomic vdr: video: decoder buffer empty, duping frame (845/856) 0 v-buf
Jun 17 18:25:36 atomic vdr: video: 11:47:33.718+1175 1272 0/\ms 0+1 v-buf
Jun 17 18:25:36 atomic vdr: video: slow down video, duping frame
Jun 17 18:25:36 atomic vdr: video: decoder buffer empty, duping frame (847/856) 0 v-buf
Jun 17 18:25:36 atomic vdr: video: 11:47:33.718+1175 1272 0/\ms 0+1 v-buf
Jun 17 18:25:36 atomic vdr: video: slow down video, duping frame
Jun 17 18:25:36 atomic vdr: video: decoder buffer empty, duping frame (849/856) 0 v-buf
Jun 17 18:25:36 atomic vdr: video: 11:47:33.718+1159 1256 0/\ms 0+1 v-buf
Jun 17 18:25:36 atomic vdr: video: slow down video, duping frame
Jun 17 18:25:36 atomic vdr: video: 11:47:33.678 +906 1162 0/\ms 4+3 v-buf
Jun 17 18:25:36 atomic vdr: video: slow down video, duping frame
Jun 17 18:25:36 atomic vdr: video: decoder buffer empty, duping frame (852/880) 0 v-buf
Jun 17 18:25:36 atomic vdr: video: 11:47:34.198+8888 0 0/\ms 0+1 v-buf
Jun 17 18:25:36 atomic vdr: audio/alsa: avail underrun error? 'Broken pipe'
Jun 17 18:25:37 atomic vdr: video: slow down video, duping frame
Jun 17 18:25:37 atomic vdr: video: 11:47:34.158 +329 514 0/\ms 2+3 v-buf
Alles anzeigen
Anschließend habe ich mich mal auf die Suche begeben und einige Infos gefunden um vaapi in Betrieb zunehmen. Bin hier noch blutiger Anfänger.
1. Überprüfen der /etc/X11/xorg.conf.d/20-intel.conf (scheint soweit iO)
#
# *** ANSIBLE MANAGED FILE ***
# template: /home/atomic/yavdr-ansible/roles/yavdr-xorg/templates/20-intel.conf.j2
#
Section "Device" Identifier "Device0" Driver "intel" Option "TearFree" "true"
EndSection
Section "Screen" Identifier "Screen0" Device "Device0" Monitor "HDMI1" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1280x1024_60" EndSubSection
EndSection
Section "Monitor" Identifier "HDMI1" Modeline "1280x1024_60" 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
EndSection
Section "Monitor" Identifier "DP1" Option "Ignore" "true"
EndSection
Alles anzeigen
2. Details mit vainfo überprüfen
error: XDG_RUNTIME_DIR not set in the environment.
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns -1
libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)
vaInitialize failed with error code -1 (unknown libva error),exit
Sehr komisch.
Hier habe ich dann folgenden Hinweis gefunden wie ich diese Variable setze. Jedoch besitzt der vdr Benutzer die id 666 und der Nutzer mit dem ich mich normal anmelde (atomicpi) 1000.
Als vdr user erhalte ich dann folgendes Bild
vainfo
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) CherryView - 2.1.0
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Simple : VAEntrypointEncSlice
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
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
Alles anzeigen
Das sieht schonmal gut aus ändert jedoch nichts an meiner Errors die ich in der syslog sehe.
2. Anschließend habe ich mal das plugin "vdr-plugin-vaapidevice" umgestellt:
Anpassen der /etc/vdr/conf.avail/vaapidevice.conf
Deaktivieren von softhddevice und neustarten des vdrs
Syslog wird weiter geflutet
Jun 17 18:50:24 atomic vdr: [1852] VAAPI-ERROR: audio/alsa: avail underrun error? 'Broken pipe'
Jun 17 18:50:24 atomic vdr: [1823] VAAPI-ERROR: video: slow down video, duping frame
Jun 17 18:50:24 atomic vdr: [1823] VAAPI-ERROR: video: decoder buffer empty, duping frame (1157995760/0) 0 v-buf
Jun 17 18:50:24 atomic vdr: [1823] VAAPI: video: 25:43:46.224+1326 648 0/\ms 5+1 v-buf
Jun 17 18:50:24 atomic vdr: [1823] VAAPI: video: slow down video, duping frame
Jun 17 18:50:24 atomic vdr: [1823] VAAPI: video: 25:43:46.224+1326 672 0/\ms 4+2 v-buf
Jun 17 18:50:24 atomic vdr: [1852] VAAPI-ERROR: audio/alsa: avail underrun error? 'Broken pipe'
Jun 17 18:50:24 atomic vdr: [1823] VAAPI-ERROR: video: slow down video, duping frame
Jun 17 18:50:24 atomic vdr: [1823] VAAPI-ERROR: video: decoder buffer empty, duping frame (1157995760/0) 0 v-buf
Jun 17 18:50:24 atomic vdr: [1823] VAAPI: video: 25:43:46.684+8888 0 0/\ms 0+1 v-buf
Jun 17 18:50:25 atomic vdr: [1852] VAAPI-ERROR: audio/alsa: avail underrun error? 'Broken pipe'
Jun 17 18:50:25 atomic vdr: [1823] VAAPI: video: decoder buffer empty, duping frame (494/574) 0 v-buf
Jun 17 18:50:25 atomic vdr: [1823] VAAPI: video: slow down video, duping frame
Jun 17 18:50:25 atomic vdr: [1823] VAAPI: video: 25:43:46.904+1910 1320 0/\ms 8+1 v-buf
Jun 17 18:50:25 atomic vdr: [1823] VAAPI-ERROR: video: slow down video, duping frame
Jun 17 18:50:25 atomic vdr: [1823] VAAPI-ERROR: video: decoder buffer empty, duping frame (1157995760/0) 0 v-buf
Jun 17 18:50:25 atomic vdr: [1823] VAAPI: video: 25:43:47.404+8888 0 0/\ms 0+1 v-buf
Jun 17 18:50:25 atomic vdr: [1852] VAAPI-ERROR: audio/alsa: avail underrun error? 'Broken pipe'
Jun 17 18:50:25 atomic vdr: [1823] VAAPI: video: decoder buffer empty, duping frame (510/600) 0 v-buf
Jun 17 18:50:25 atomic vdr: [1823] VAAPI: video: slow down video, duping frame
Jun 17 18:50:25 atomic vdr: [1823] VAAPI: video: 25:43:47.424+1367 785 0/\ms 5+2 v-buf
Jun 17 18:50:25 atomic vdr: [1823] VAAPI-ERROR: video: slow down video, duping frame
Jun 17 18:50:25 atomic vdr: [1823] VAAPI-ERROR: video: decoder buffer empty, duping frame (1157995760/0) 0 v-buf
Jun 17 18:50:25 atomic vdr: [1823] VAAPI: video: 25:43:47.564+1154 528 0/\ms 7+1 v-buf
Jun 17 18:50:25 atomic vdr: [1823] VAAPI: video: slow down video, duping frame
Jun 17 18:50:25 atomic vdr: [1823] VAAPI: video: 25:43:47.564+1154 552 0/\ms 6+2 v-buf
Jun 17 18:50:25 atomic vdr: [1852] VAAPI-ERROR: audio/alsa: avail underrun error? 'Broken pipe'
Jun 17 18:50:25 atomic vdr: [1823] VAAPI-ERROR: video: slow down video, duping frame
Jun 17 18:50:25 atomic vdr: [1823] VAAPI-ERROR: video: decoder buffer empty, duping frame (1157995760/0) 0 v-buf
Jun 17 18:50:25 atomic vdr: [1823] VAAPI: video: 25:43:47.744+1238 552 0/\ms 0+1 v-buf
Jun 17 18:50:25 atomic vdr: [1823] VAAPI: video: slow down video, duping frame
Jun 17 18:50:25 atomic vdr: [1823] VAAPI-ERROR: video: decoder buffer empty, duping frame (1157995760/0) 0 v-buf
Jun 17 18:50:25 atomic vdr: [1823] VAAPI: video: 25:43:47.744+1238 552 0/\ms 0+1 v-buf
Jun 17 18:50:25 atomic vdr: [1823] VAAPI: video: slow down video, duping frame
Jun 17 18:50:25 atomic vdr: [1823] VAAPI-ERROR: video: decoder buffer empty, duping frame (1157995760/0) 0 v-buf
Jun 17 18:50:25 atomic vdr: [1823] VAAPI: video: 25:43:47.744+1238 552 0/\ms 0+1 v-buf
Jun 17 18:50:25 atomic vdr: [1823] VAAPI: video: slow down video, duping frame
Jun 17 18:50:25 atomic vdr: [1823] VAAPI: video: 25:43:47.744+1238 672 0/\ms 6+2 v-buf
Jun 17 18:50:26 atomic vdr: [1852] VAAPI-ERROR: audio/alsa: avail underrun error? 'Broken pipe'
Alles anzeigen
Wo könnte ich noch ansetzen?
Bin über jede Unterstützung dankbar.
Gruß