Linux VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: Linux VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 (/showthread.php?tid=165707) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
|
RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - Klojum - 2015-07-05 (2015-07-04, 08:34)grantonstar Wrote: I'm getting a crash every time I stop playing a video. Using a gigabyte brix celeron 1037u running Ubuntu 14.04.Indeed interesting. Using a Gigabyte C1037UN-EU m-ITX board myself, also running Ubuntu 14.04 as well as OpenELEC. Not experiencing the crashes you mention. Pastebinit your kodi.log and/or crash log file(s). How about a clean install of Ubuntu 14.04 and of Kodi without additional addons (which build/ppa?), and try again. RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - fritsch - 2015-07-05 I want his Debug Log and the other logs from thread 1. RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - fritsch - 2015-07-05 https://dl.dropboxusercontent.com/u/55728161/OpenELEC-Generic.x86_64-6.0-devel-20150705085847-r21092-g61fac66.tar <- here is an update with the announced EGL fixes. RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - Matt Devo - 2015-07-05 (2015-07-05, 09:11)fritsch Wrote: https://dl.dropboxusercontent.com/u/55728161/OpenELEC-Generic.x86_64-6.0-devel-20150705085847-r21092-g61fac66.tar <- here is an update with the announced EGL fixes. same results as the previous build here: (2015-07-04, 19:31)Matt Devo Wrote: not seeing any crashes here on video stoppage, but am seeing an issue with SD interlaced content. I should note that the issue is present with interlaced SD content and any scaling method other than nearest neighbor or bilinear, not just lanczos3. RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - fritsch - 2015-07-05 @MattDevo - can I see your Debug Log, please? Same with this: http://solidrun.maltegrosse.de/~fritsch/576i50_mpeg2_samples.ts ? RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - Matt Devo - 2015-07-05 (2015-07-05, 11:55)fritsch Wrote: @MattDevo - can I see your Debug Log, please? http://sprunge.us/bDJD pretty sure it's related to my display's native output res being 1900x1200, since if I switch to 1080p everything looks good (except the colorspace, which appears to change from Full at 1200p to limited at 1080p) RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - Matt Devo - 2015-07-05 (2015-07-05, 11:55)fritsch Wrote: @MattDevo - can I see your Debug Log, please? I should also mention that 2160p60 content scaled/output at 1080p60 via lanczos3 was perfect on builds r21051-g505f665d and r21057-g565ca1a, but broken (30fps, tons of skips) on r21086-g7d85271 and r21092-g61fac66. Bilinear scaling works fine. debug log RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - fritsch - 2015-07-05 The older builds did not do Lanczos3 Optimized at all, it was bypassed ... we had a bug there, see: http://forum.kodi.tv/showthread.php?tid=165707&pid=2039320#pid2039320 RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - noggin - 2015-07-05 (2015-07-02, 19:34)AndyFurniss Wrote:(2015-07-02, 01:16)noggin Wrote: However whilst luminance heavy content has deinterlaced properly to 50p, saturated, chroma-heavy stuff has appeared to deinterlace to 25p. It's almost as if luminance and chrominance were being deinterlaced separately, and the luma was being deinterlaced to 50p but the chroma to 25p? Really interesting stuff Andy. Will muse. Certainly the saturated chroma deinterlacing to look more 25p than 50p could be explained by some of what you are talking about. I'm using both an Ivy Bridge i5 and a Haswell i5 to play this stuff, and YADIF 2x deinterlace, so both CPU decode and CPU deinterlace. My source material and my display resolution are the same though - so there shouldn't be a scale in the process? (unless there is 1080 vs 1088 oddness) My source material is 1920x1080 4:2:2 H264 50i (or ProRes or DNX HD) and my display resolution is 1920x1080/50p via HDMI, and output is either via Intel GPU or nVidia GPU. RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - AndyFurniss - 2015-07-06 (2015-07-05, 20:32)noggin Wrote: Really interesting stuff Andy. Will muse. Certainly the saturated chroma deinterlacing to look more 25p than 50p could be explained by some of what you are talking about. I'm using both an Ivy Bridge i5 and a Haswell i5 to play this stuff, and YADIF 2x deinterlace, so both CPU decode and CPU deinterlace. There is still a chroma scale to 420 then to rgb, the first of which is the cause of the problem you see. You could play 422 OK with say mpv --vo=opengl as it seems to be able to do 422 yuv -> rgb in opengl. You could also use ffmpeg yadif if you wanted --vf=lavfi=[yadif=1]. FWIW it may be possible to use your TV to de-interlace if you put it in an interlaced mode it may just do it. My 2010 Panasonic plasma does and it's my normal way of watching uk hd tv. I guess interlaced modes are GPU dependent - my baytrail and various radeons can do them. There is the issue of field sync, though, I don't think kodi can use ffmpegs tinterlacex2 filter even though I got the idea from this forum. So it's mpv again, if your source is 422 (planar) all you would need to do was put the TV into 1080i50 mode and do - mpv -vo opengl --display-fps=50 --vf=lavfi=[tinterlace=interlacex2] ... for most the source is going to be 420 so it needs an interlace aware conversion to 422 (as like everything mpvs yuv -> rgb would do progressive 420 -> rgb and mess things up, 422 -> rgb is the same whether it's progressive or interlaced) ) it would look like --vf=lavfi=[scale=interl=1,format=pix_fmts=yuv422p,tinterlace=interlacex2] tinterlace x2 could be considered a bit of a hack as you may be a field out sound wise. It works by placing a weaved frame on the display and updating half the lines at field rate, as long as you have vsync the fieldsync always sorts its self out even though it's not true field sync as you don't know what field the gpu is scanning out, it doesn't matter as each line stays on screen for 2 fields Anyway I think I am getting a bit off topic :-) quickly think of something byt related - I wonder if intel will ever do deep colour and yuv 422/444 for HDMI, radeonsi will do deep color and may do 422 one day (deep colour needs patched xserver) The idea of 422 is interesting - many TVs, including mine, sneakily turn rgb input back to 422 anyway - no idea how that would work with xserver, though. RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - Brujo - 2015-07-06 (2015-07-05, 09:11)fritsch Wrote: https://dl.dropboxusercontent.com/u/55728161/OpenELEC-Generic.x86_64-6.0-devel-20150705085847-r21092-g61fac66.tar <- here is an update with the announced EGL fixes. Hardware: Intel BYT Celeron N2930 video scaling method: in general Lanczos3 is to heavy for this Celeron, therefore using bilinear. 1080i50 with MADI / MCDI deinterlacing on a 1080p display: skips a lot 576i50 with MADI / MCDI deinterlacing scaling to 1080p: perfect 720p50 with MADI / MCDI scaling to 1080p: perfect 4kp30 with MADI / MCDI scaling to 1080p: perfect 4kp60 with MADI / MCDI scaling to 1080p: skips ~20 in 10 minutes RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - fritsch - 2015-07-06 Can you triple verify, that Lanczos3 Optimized does not work for the 576i to 1080? Perhaps with VAAPI-BOB? And also not for the 720p50? We are much more efficent with this EGL approach as we don't have to copy surfaces at all for display. RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - jjslegacy - 2015-07-06 just got back from vacation - can't wait to test this out tonight. I have a chromebox/Denon AVR / JVC projector and have had to run full on the chromebox and limited in kodi to get smooth scaling - looks like all this may go away - excellent! Thanks for all the work on this fritsch! RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - fritsch - 2015-07-06 I only packaged it! Code was done by fernetmenta and lauri ... besides some bug fixes I could not contribute anything this time. Have fun testing it. RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - jjslegacy - 2015-07-06 Well thank you fernetmenta and lauri also! Will definitely play with it tonight and report back on any issues. |