Hallo zusammen,
die "duped frames" gehen nach oben - etwa 30 pro Sekunde. Der 50 Hz-Modus ist eingestellt. Dieses Phänomen habe ich neben Kaby Lake auch bei Skylake und bei Braswell.
Das Log sieht so aus:
Jun 13 18:22:59 vdr2 vdr[1685]: [1699] VAAPI: video: 8:55:57.239 +110 530 0/\ms 7+3 v-buf
Jun 13 18:23:58 vdr2 vdr[1685]: [1699] VAAPI-ERROR: video: slow down video, duping frame
Jun 13 18:23:58 vdr2 vdr[1685]: [1699] VAAPI: video: 8:56:56.799 +90 542 0/\ms 10+5 v-buf
Jun 13 18:24:58 vdr2 vdr[1685]: [1699] VAAPI-ERROR: video: slow down video, duping frame
Jun 13 18:24:58 vdr2 vdr[1685]: [1699] VAAPI: video: 8:57:56.799 +90 542 0/\ms 10+5 v-buf
Jun 13 18:25:58 vdr2 vdr[1685]: [1699] VAAPI-ERROR: video: slow down video, duping frame
Jun 13 18:25:58 vdr2 vdr[1685]: [1699] VAAPI: video: 8:58:56.799 +90 542 0/\ms 14+5 v-buf
Jun 13 18:26:58 vdr2 vdr[1685]: [1699] VAAPI-ERROR: video: slow down video, duping frame
Jun 13 18:26:58 vdr2 vdr[1685]: [1699] VAAPI: video: 8:59:56.799 +89 542 0/\ms 11+5 v-buf
Folgende beiden Lösungen helfen weiter:
Lösung 1
Gebe ich auch der Konsole xrandr ein, dann zählt "duped frames" bis zum nächsten Senderwechsel nicht mehr weiter.
Lösung 2
Was ich aber auch schon gesehen hatte: Wenn ich über Menü den 60Hz Modus erst einschalte, und danach wieder aus, bleibt der duped/dropped Zähler auch stehen (total zählt weiter hoch) - bis zum nächsten Senderwechsel.
Jetzt ist eben die Frage, was ist hier los? Neuere vaapi-Versionen ändern auch nichts. Im Bios ist genügend RAM dem Grafikchip zugeordnet.
Für jede Hilfe oder Tipps bin ich sehr dankbar!
Stefan
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
EndSection
Section "ServerFlags"
Option "NoPM" "true"
Option "BlankTime" "0"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"
EndSection
Section "Monitor"
Identifier "DP1"
ModelName "Samsung SMT24A550"
HorizSync 26.0 - 81.0
VertRefresh 24.0 - 75.0
Modeline "1920x1080@50p" 148.50 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
# Option "DPMS" "true"
EndSection
Section "Device"
Identifier "Device0"
Driver "intel"
Option "AccelMethod" "sna"
# Option "TearFree" "true"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "DP1"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080@50p"
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Disable"
EndSection
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767xrandr
DP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 530mm x 300mm
1920x1080@50p 50.00*+
1920x1080 60.00 + 50.00 59.94 30.00 25.00 24.00 29.97 23.98
1920x1080i 60.00 50.00 59.94
1680x1050 59.88
1280x1024 75.02 60.02
1440x900 74.98 59.90
1280x960 60.00
1360x768 60.02
1280x800 59.91
1152x864 75.00
1280x720 60.00 50.00 59.94
1024x768 75.03 70.07 60.00
832x624 74.55
800x600 72.19 75.00 60.32 56.25
720x576 50.00
720x480 60.00 59.94
640x480 75.00 72.81 66.67 60.00 59.94
720x400 70.08
#### VAAPIDEVICE SYSTEM INFORMATION REPORT
##### inxi
```
System: Kernel: 4.12.14-lp150.12.4-default x86_64 bits: 64 gcc: 7.3.1 Console: tty 0
Distro: openSUSE Leap 15.0
Machine: Device: desktop System: Intel product: NUC7i3BNH v: J31191-312 serial: N/A
Mobo: Intel model: NUC7i3BNB v: J22859-312 serial: N/A
UEFI: Intel v: BNKBL357.86A.0062.2018.0222.1644 date: 02/22/2018
CPU: Dual core Intel Core i3-7100U (-HT-MCP-) arch: Kaby Lake rev.9 cache: 3072 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9600
clock speeds: max: 2400 MHz 1: 2400 MHz 2: 2400 MHz 3: 2400 MHz 4: 2400 MHz
Graphics: Card: Intel HD Graphics 620 bus-ID: 00:02.0
Display Server: X.org 1.19.6 driver: intel tty size: 131x34 Advanced Data: N/A out of X
Audio: Card Intel Sunrise Point-LP HD Audio driver: snd_hda_intel bus-ID: 00:1f.3
Sound: Advanced Linux Sound Architecture v: k4.12.14-lp150.12.4-default
```
##### vainfo
```
vainfo: VA-API version: 1.0 (libva 2.0.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Kaby Lake - 2.0.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
```
##### ffmpeg
```
ffmpeg version 3.4.2 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 7 (SUSE Linux)
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libavresample 3. 7. 0 / 3. 7. 0
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100
```
##### gcc
```
7
```
##### svdrpsend
```
220 <filter> SVDRP VideoDiskRecorder 2.4.0; Wed Jun 13 17:52:51 2018; UTF-8
900- Frames: missed(0) duped(41013) dropped(0) total(22734) PTS( 8:25:50.039) drift(121) audio(470) video(0)
900- Video: mpeg2video/vaapi_vld 720x576i 16:9 @ 1920x1080 - Intel i965 driver for Intel(R) Kaby Lake - 2.0.0
900- Audio: mp2 48000Hz 2 channels
900 Command: vaapidevice -a hw:0,3 -d :0.0 -f -v va-api -w alsa-driver-broken
221 <filter> closing connection
```