2018-03-16, 21:59
Hi,
I have a problem with getting smooth playback on my Samsung TV 1920x1080 at 60 Hz via HDMI attached to my MacMini (Intel® Core i7-3615QM CPU @ 2.30GHz) running Debian 9.
The problem occurs with some 30fps (29.674fps actually) 1080p content but not with 24fps (23.976 actually) 720p content. The problem occurs especially with camera panning. Some parts of the screen start to stutter when the panning is occurring. Here is an example: https://imgur.com/aXM9WTL. The faster the panning, the longer the lines that are not aligned to each other.
The problem did not exist with my previous installation on the MacMini using macOS and Kodi 17. So it must be a software or configuration issue.
I'm honestly out of ideas what caused this and how to fix it. I tried all the common settings - see below.
Thank you in advance for any ideas how to fix this.
Cheers
Peter
Debian GNU/Linux 9 (stretch)
Kodi Version: 2:17.1+dfsg1-3
inteldrmfb driver initializes i915 with version 1.6.0 20160919
I tried Kodi settings "sync playback to display" and "adjust display refresh rate".
I've tried variations of multiple X11 settings:
driver "intel"
Option "AccelMethod" "uxa" / "glamor" / "sna"
Option "DRI" "3"
Option "VSync" "true"
Option "TripleBuffer" "true"
Option "TearFree" "true"
because I read that the intel driver is buggy:
driver "modesetting"
I also tried this:
Section "Extensions"
Option "Composite" "Disable"
EndSection
I start Kodi without a window manager from lightdm:
/usr/sbin/lightdm
\_ /usr/lib/xorg/Xorg :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
\_ lightdm --session-child 12 15
\_ /bin/sh /usr/bin/kodi-standalone
Kodi indicates that VA-API (HW) is being used during playback:
decoder ff-h264-vaapi with 1.78 AR and 30.303 FPS (!= what mediainfo reports)
libva info: VA-API version 0.39.4
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_0_39
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.39 (libva 1.7.3)
vainfo: Driver version: Intel i965 driver for Intel® Ivybridge Mobile - 1.7.3
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
VAProfileH264StereoHigh : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
VAProfileJPEGBaseline : VAEntrypointVLD
Bad content 30fps:
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 49 min 0 s
Bit rate mode : Constant
Bit rate : 8 000 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 29.674 FPS
Original frame rate : 29.970 (30000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.130
Stream size : 2.66 GiB (98%)
Default : Yes
Forced : No
Good content 24fps:
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 44 min 24 s
Bit rate : 6 017 kb/s
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.272
Stream size : 1.87 GiB (92%)
Writing library : x264 core 155 r2901 7d0ff22
I have a problem with getting smooth playback on my Samsung TV 1920x1080 at 60 Hz via HDMI attached to my MacMini (Intel® Core i7-3615QM CPU @ 2.30GHz) running Debian 9.
The problem occurs with some 30fps (29.674fps actually) 1080p content but not with 24fps (23.976 actually) 720p content. The problem occurs especially with camera panning. Some parts of the screen start to stutter when the panning is occurring. Here is an example: https://imgur.com/aXM9WTL. The faster the panning, the longer the lines that are not aligned to each other.
The problem did not exist with my previous installation on the MacMini using macOS and Kodi 17. So it must be a software or configuration issue.
I'm honestly out of ideas what caused this and how to fix it. I tried all the common settings - see below.
Thank you in advance for any ideas how to fix this.
Cheers
Peter
Debian GNU/Linux 9 (stretch)
Kodi Version: 2:17.1+dfsg1-3
inteldrmfb driver initializes i915 with version 1.6.0 20160919
I tried Kodi settings "sync playback to display" and "adjust display refresh rate".
I've tried variations of multiple X11 settings:
driver "intel"
Option "AccelMethod" "uxa" / "glamor" / "sna"
Option "DRI" "3"
Option "VSync" "true"
Option "TripleBuffer" "true"
Option "TearFree" "true"
because I read that the intel driver is buggy:
driver "modesetting"
I also tried this:
Section "Extensions"
Option "Composite" "Disable"
EndSection
I start Kodi without a window manager from lightdm:
/usr/sbin/lightdm
\_ /usr/lib/xorg/Xorg :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
\_ lightdm --session-child 12 15
\_ /bin/sh /usr/bin/kodi-standalone
Kodi indicates that VA-API (HW) is being used during playback:
decoder ff-h264-vaapi with 1.78 AR and 30.303 FPS (!= what mediainfo reports)
libva info: VA-API version 0.39.4
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_0_39
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.39 (libva 1.7.3)
vainfo: Driver version: Intel i965 driver for Intel® Ivybridge Mobile - 1.7.3
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
VAProfileH264StereoHigh : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
VAProfileJPEGBaseline : VAEntrypointVLD
Bad content 30fps:
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 49 min 0 s
Bit rate mode : Constant
Bit rate : 8 000 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 29.674 FPS
Original frame rate : 29.970 (30000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.130
Stream size : 2.66 GiB (98%)
Default : Yes
Forced : No
Good content 24fps:
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 44 min 24 s
Bit rate : 6 017 kb/s
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.272
Stream size : 1.87 GiB (92%)
Writing library : x264 core 155 r2901 7d0ff22