[mythtv-users] Colors distorted with Haswell NUC + VAAPI
Ted Romer
mythtv at romerfamily.com
Sat Apr 5 21:00:35 UTC 2014
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-releaseOS:
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/SSE210:28:51.359110 I OpenGL: OpenGL version : 3.0 Mesa
9.2.110:28:51.727981 I VDP: decoder<->render support: vaapi
nullvaapi openglvaapi10:29:09.743834 I AFD: Stream #0, has id 0x11af codec
id MPEG2VIDEO, type Video, bitrate 0 at 0xa6e0f8010: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.3410:29:09.751948 I VAAPI: Driver : Intel i965 driver -
1.2.210:29:09.751962 I VAAPI: Created VAAPI X11 display10: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: Unknown10:29:09.752176 I VAAPI: Profile: Unknown Entrypoints:
VLD 10:29:09.752200 I VAAPI: Desired profile for 'MPEG2 VAAPI':
MPEG2Main10: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 context10:29:09.753402 I AFD:
Using 1 CPUs for decoding10: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:310:29:09.753644 I Player(0):
detectInterlace(Detect Scan, Interlaced Scan, 29.97, 1080) ->Interlaced
Scan10:29:09.753773 I AFD: Using vaapi for video decoding10:29:09.753816 I
AFD: Opened codec 0xa6e11e0, id(MPEG2VIDEO) type(Video)libva info: VA-API
version 0.34.0libva info: va_getDriverName() returns 0libva info: Trying to
open /usr/lib/i386-linux-gnu/dri/i965_drv_video.solibva info: Found init
function __vaDriverInit_0_34libva info: va_openDriver() returns
010: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
painter10:29:09.799089 I GLVid: Viewport: 1920x108010: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: 110:29:09.833863 I VAAPI:
Created VAAPI GLX display10:29:09.833880 I VAAPI: Desired profile for
'MPEG2 VAAPI': MPEG2Main10: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
buffers10:29:09.833961 I ColourSpace: PictureAttributes: Brightness,
Contrast, Colour, Hue, 10:29:09.916054 I Player(0): Video timing method:
DRM10:29:09.916086 I Player(0): Display Refresh Rate: 59.999 Video Frame
Rate: 29.97010:29:09.916100 I Player(0): SetFrameInterval ps:1
scan:110: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 deinterlacing10: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: 011:21:45.023964 D
ColourSpace: 1.1644 0.0000 1.5972 -0.874811:21:45.023994 D ColourSpace:
1.1644 -0.3916 -0.8128 0.531511: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/e394fb63/attachment.html>
More information about the mythtv-users
mailing list