[mythtv-users] Colors distorted with Haswell NUC + VAAPI
Ted Romer
mythtv at romerfamily.com
Sat Apr 5 21:35:42 UTC 2014
Ugh, somewhere in the chain of copy/paste gmail swallowed the line breaks.
Same content, reformatted, HTH:
I'm using a Haswell i5 NUC (D54250WYK) as a frontend via HDMI. When I use
the "VAAPI Normal" profile with 720p or 1080i content the colors are all
wrong -- bright and very yellow. Playing the same recording via mpv
--hwdec=vaapi works fine.
Myth version: fixes/0.27 [v0.27-1-g5b917e8]
Video drivers, etc:
https://01.org/linuxgraphics/downloads/2014/2014q1-intel-graphics-stack-release
OS: Lubuntu 13.10
Any thoughts?
Thanks!
Ted
===
Filtered log messages, less filtered version of the same here:
http://pastebin.com/H1e65gm3
10:28:51.359105 I OpenGL: OpenGL renderer: Mesa DRI Intel(R) Haswell
Mobile x86/MMX/SSE2
10:28:51.359110 I OpenGL: OpenGL version : 3.0 Mesa 9.2.1
10:28:51.727981 I VDP: decoder<->render support: vaapi nullvaapi
openglvaapi
10:29:09.743834 I AFD: Stream #0, has id 0x11af codec id MPEG2VIDEO, type
Video, bitrate 0 at 0xa6e0f80
10:29:09.744930 I AFD: Selected track #0 (id 0x11af codec id MPEG2VIDEO,
type Video, bitrate 500000 at 0xa6e0f80)
10:29:09.747838 I VDP: Accepting: cmp(> 0 0) dec(vaapi) cpus(4)
skiploop(enabled) rend(openglvaapi) osd(opengl2) osdfade(enabled)
deint(vaapibobdeint,vaapionefield) filt()
10:29:09.751927 I VAAPI: Version: 0.34
10:29:09.751948 I VAAPI: Driver : Intel i965 driver - 1.2.2
10:29:09.751962 I VAAPI: Created VAAPI X11 display
10:29:09.752026 I VAAPI: Profile: MPEG2Simple Entrypoints: VLD EncSlice
(UNSUPPORTED)
10:29:09.752045 I VAAPI: Profile: MPEG2Main Entrypoints: VLD EncSlice
(UNSUPPORTED)
10:29:09.752063 I VAAPI: Profile: Unknown Entrypoints: VLD EncSlice
(UNSUPPORTED)
10:29:09.752081 I VAAPI: Profile: H264Main Entrypoints: VLD EncSlice
(UNSUPPORTED)
10:29:09.752098 I VAAPI: Profile: H264High Entrypoints: VLD EncSlice
(UNSUPPORTED)
10:29:09.752115 I VAAPI: Profile: VC1Simple Entrypoints: VLD
10:29:09.752134 I VAAPI: Profile: VC1Main Entrypoints: VLD
10:29:09.752148 I VAAPI: Profile: VC1Advanced Entrypoints: VLD
10:29:09.752163 I VAAPI: Profile: Unknown Entrypoints: Unknown
10:29:09.752176 I VAAPI: Profile: Unknown Entrypoints: VLD
10:29:09.752200 I VAAPI: Desired profile for 'MPEG2 VAAPI': MPEG2Main
10:29:09.752216 I VAAPI: Found profile MPEG2Main with entry VLD
10:29:09.752248 I VAAPI: Created context (1920x1080->1920x1080)
10:29:09.753338 I VAAPI: Deleting VAAPI display.
10:29:09.753354 I VAAPI: Deleted context
10:29:09.753402 I AFD: Using 1 CPUs for decoding
10:29:09.753429 I AFD: InitVideoCodec() 0xa6e11e0 id(MPEG2VIDEO) type
(Video).
10:29:09.753518 I AFD: Selected FPS is 29.97 (avg 29.97 codec 29.97
container 90000 estimated 29.97)
10:29:09.753589 I Player(0): SetFrameInterval ps:1 scan:3
10:29:09.753644 I Player(0): detectInterlace(Detect Scan, Interlaced Scan,
29.97, 1080) ->Interlaced Scan
10:29:09.753773 I AFD: Using vaapi for video decoding
10:29:09.753816 I AFD: Opened codec 0xa6e11e0, id(MPEG2VIDEO) type(Video)
libva info: VA-API version 0.34.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/i386-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_34
libva info: va_openDriver() returns 0
10:29:09.769616 I AFD: Successfully opened decoder for file:
"/home/ted/Video/videos/Suits - 3x15 - Know When to Fold 'Em.mpg".
novideo(0)
10:29:09.798083 I VDP: SetVideoRender(openglvaapi) == GetVideoRenderer()
10:29:09.798908 I VidOutGL: Using main UI painter
10:29:09.799089 I GLVid: Viewport: 1920x1080
10:29:09.799103 I ColourSpace: PictureAttributes:
10:29:09.832873 I GLVid: Creating resize filter.
10:29:09.832896 I GLVid: Using raw RGBA input textures.
10:29:09.832915 I GLVid: MMX: 1 PBO: 1
10:29:09.833863 I VAAPI: Created VAAPI GLX display
10:29:09.833880 I VAAPI: Desired profile for 'MPEG2 VAAPI': MPEG2Main
10:29:09.833889 I VAAPI: Found profile MPEG2Main with entry VLD
10:29:09.833899 I VAAPI: Created context (1920x1080->1920x1080)
10:29:09.833943 I VAAPI: Created 24 buffers
10:29:09.833961 I ColourSpace: PictureAttributes: Brightness, Contrast,
Colour, Hue,
10:29:09.916054 I Player(0): Video timing method: DRM
10:29:09.916086 I Player(0): Display Refresh Rate: 59.999 Video Frame
Rate: 29.970
10:29:09.916100 I Player(0): SetFrameInterval ps:1 scan:1
10:29:09.937855 I TV: Entering main playback loop.
10:29:09.939420 I Player(0): Waiting for video buffers...
10:29:09.951103 I Player(0): Enabled deinterlacing
10:29:09.957960 I VAAPI: Number of VAAPI GLX surfaces: 1
With --logLevel=debug I also see the following repeated 5 times:
11:21:45.023926 D ColourSpace: Brightness: -0.0000 Contrast: 1.0000
Saturation: 1.0000 Hue: 0.0000 StudioLevels: 0
11:21:45.023964 D ColourSpace: 1.1644 0.0000 1.5972 -0.8748
11:21:45.023994 D ColourSpace: 1.1644 -0.3916 -0.8128 0.5315
11:21:45.024018 D ColourSpace: 1.1644 2.0184 0.0000 -1.0862
ted at curiosity:~$ ^C
ted at curiosity:~$
ted at curiosity:~$ cat /tmp/grr
I'm using a Haswell i5 NUC (D54250WYK) as a frontend via HDMI. When I use
the "VAAPI Normal" profile with 720p or 1080i content the colors are all
wrong -- bright and very yellow. Playing the same recording via mpv
--hwdec=vaapi works fine.
Myth version: fixes/0.27 [v0.27-1-g5b917e8]
Video drivers, etc:
https://01.org/linuxgraphics/downloads/2014/2014q1-intel-graphics-stack-release
OS: Lubuntu 13.10
Any thoughts?
Thanks!
Ted
===
Filtered log messages, less filtered version of the same here:
http://pastebin.com/H1e65gm3
10:28:51.359105 I OpenGL: OpenGL renderer: Mesa DRI Intel(R) Haswell
Mobile x86/MMX/SSE2
10:28:51.359110 I OpenGL: OpenGL version : 3.0 Mesa 9.2.1
10:28:51.727981 I VDP: decoder<->render support: vaapi nullvaapi
openglvaapi
10:29:09.743834 I AFD: Stream #0, has id 0x11af codec id MPEG2VIDEO, type
Video, bitrate 0 at 0xa6e0f80
10:29:09.744930 I AFD: Selected track #0 (id 0x11af codec id MPEG2VIDEO,
type Video, bitrate 500000 at 0xa6e0f80)
10:29:09.747838 I VDP: Accepting: cmp(> 0 0) dec(vaapi) cpus(4)
skiploop(enabled) rend(openglvaapi) osd(opengl2) osdfade(enabled)
deint(vaapibobdeint,vaapionefield) filt()
10:29:09.751927 I VAAPI: Version: 0.34
10:29:09.751948 I VAAPI: Driver : Intel i965 driver - 1.2.2
10:29:09.751962 I VAAPI: Created VAAPI X11 display
10:29:09.752026 I VAAPI: Profile: MPEG2Simple Entrypoints: VLD EncSlice
(UNSUPPORTED)
10:29:09.752045 I VAAPI: Profile: MPEG2Main Entrypoints: VLD EncSlice
(UNSUPPORTED)
10:29:09.752063 I VAAPI: Profile: Unknown Entrypoints: VLD EncSlice
(UNSUPPORTED)
10:29:09.752081 I VAAPI: Profile: H264Main Entrypoints: VLD EncSlice
(UNSUPPORTED)
10:29:09.752098 I VAAPI: Profile: H264High Entrypoints: VLD EncSlice
(UNSUPPORTED)
10:29:09.752115 I VAAPI: Profile: VC1Simple Entrypoints: VLD
10:29:09.752134 I VAAPI: Profile: VC1Main Entrypoints: VLD
10:29:09.752148 I VAAPI: Profile: VC1Advanced Entrypoints: VLD
10:29:09.752163 I VAAPI: Profile: Unknown Entrypoints: Unknown
10:29:09.752176 I VAAPI: Profile: Unknown Entrypoints: VLD
10:29:09.752200 I VAAPI: Desired profile for 'MPEG2 VAAPI': MPEG2Main
10:29:09.752216 I VAAPI: Found profile MPEG2Main with entry VLD
10:29:09.752248 I VAAPI: Created context (1920x1080->1920x1080)
10:29:09.753338 I VAAPI: Deleting VAAPI display.
10:29:09.753354 I VAAPI: Deleted context
10:29:09.753402 I AFD: Using 1 CPUs for decoding
10:29:09.753429 I AFD: InitVideoCodec() 0xa6e11e0 id(MPEG2VIDEO) type
(Video).
10:29:09.753518 I AFD: Selected FPS is 29.97 (avg 29.97 codec 29.97
container 90000 estimated 29.97)
10:29:09.753589 I Player(0): SetFrameInterval ps:1 scan:3
10:29:09.753644 I Player(0): detectInterlace(Detect Scan, Interlaced Scan,
29.97, 1080) ->Interlaced Scan
10:29:09.753773 I AFD: Using vaapi for video decoding
10:29:09.753816 I AFD: Opened codec 0xa6e11e0, id(MPEG2VIDEO) type(Video)
libva info: VA-API version 0.34.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/i386-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_34
libva info: va_openDriver() returns 0
10:29:09.769616 I AFD: Successfully opened decoder for file:
"/home/ted/Video/videos/Suits - 3x15 - Know When to Fold 'Em.mpg".
novideo(0)
10:29:09.798083 I VDP: SetVideoRender(openglvaapi) == GetVideoRenderer()
10:29:09.798908 I VidOutGL: Using main UI painter
10:29:09.799089 I GLVid: Viewport: 1920x1080
10:29:09.799103 I ColourSpace: PictureAttributes:
10:29:09.832873 I GLVid: Creating resize filter.
10:29:09.832896 I GLVid: Using raw RGBA input textures.
10:29:09.832915 I GLVid: MMX: 1 PBO: 1
10:29:09.833863 I VAAPI: Created VAAPI GLX display
10:29:09.833880 I VAAPI: Desired profile for 'MPEG2 VAAPI': MPEG2Main
10:29:09.833889 I VAAPI: Found profile MPEG2Main with entry VLD
10:29:09.833899 I VAAPI: Created context (1920x1080->1920x1080)
10:29:09.833943 I VAAPI: Created 24 buffers
10:29:09.833961 I ColourSpace: PictureAttributes: Brightness, Contrast,
Colour, Hue,
10:29:09.916054 I Player(0): Video timing method: DRM
10:29:09.916086 I Player(0): Display Refresh Rate: 59.999 Video Frame
Rate: 29.970
10:29:09.916100 I Player(0): SetFrameInterval ps:1 scan:1
10:29:09.937855 I TV: Entering main playback loop.
10:29:09.939420 I Player(0): Waiting for video buffers...
10:29:09.951103 I Player(0): Enabled deinterlacing
10:29:09.957960 I VAAPI: Number of VAAPI GLX surfaces: 1
With --logLevel=debug I also see the following repeated 5 times:
11:21:45.023926 D ColourSpace: Brightness: -0.0000 Contrast: 1.0000
Saturation: 1.0000 Hue: 0.0000 StudioLevels: 0
11:21:45.023964 D ColourSpace: 1.1644 0.0000 1.5972 -0.8748
11:21:45.023994 D ColourSpace: 1.1644 -0.3916 -0.8128 0.5315
11:21:45.024018 D ColourSpace: 1.1644 2.0184 0.0000 -1.0862
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20140405/0e2c6420/attachment.html>
More information about the mythtv-users
mailing list