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 - noggin - 2015-07-08 (2015-07-07, 21:01)FernetMenta Wrote:(2015-07-07, 19:36)noggin Wrote:(2015-07-07, 16:25)jjslegacy Wrote: okay so I am a little confused. Yes - that is the other benefit - though well mastered content should only have over/undershoot transients <16 and >235 and shouldn't have 'real' content present. (The headroom and footroom is there to avoid clipping over and undershoot on transients - particularly on older analogue sources that have been digitised. If you don't preserve them and process them you can end up with ringing etc. due to clipped transients. Of course if your display is scaling, processing etc. and you have clipped transients in your output from Kodi, you could see artefacts introduced I guess, so preserving <16 and >235 is definitely a good thing.) RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - lmyllari - 2015-07-08 (2015-07-07, 04:49)jjslegacy Wrote: I first tried to just remove all the xrandr settings I had in the openelec setup and unwind any settings I had in kodi.You could try lowering the dither bit depth to 7 or 6 to get rid of banding. Using xrandr to set GPU output to full range is the better option, but if you try this, please report here. Some users may not be able to get around the GPU like that. RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - jjslegacy - 2015-07-08 (2015-07-08, 01:22)lmyllari Wrote:(2015-07-07, 04:49)jjslegacy Wrote: I first tried to just remove all the xrandr settings I had in the openelec setup and unwind any settings I had in kodi.You could try lowering the dither bit depth to 7 or 6 to get rid of banding. Using xrandr to set GPU output to full range is the better option, but if you try this, please report here. Some users may not be able to get around the GPU like that. Some quick testing before my wife got bored and made me put the movie on showed that a bit depth of 6 looked pretty good. Will have to test a bit more RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - fritsch - 2015-07-08 Quote:This meant - chromebox would be at Limited ( I think?) and the projector was set at standard (16-235). I also turned off the use limited range I had set in kodi. This is problematic! As when chromebox is limited and kodi outputs FULL, which it does, when Limited in kodi is not set. It would be upscaled to 0 .. 255 and then again downscaled by the driver ... this is no good combination and should be avoided. The 6 / 7 bit would help a bit. But I would not suggest that combination - as we don't really know what "the auto limiting" by intel's driver does. RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - jjslegacy - 2015-07-08 makes perfect sense. I am going to stick with full on the chromebox,limited on kodi and the projector. Although I did really like the picture when I had full set across the board but it's hard to do a real a/b comparison of those setups although I suppose technically they shouldn't look any different for bluray content. Again thanks for all the work - great to see such enhancements on the vaapi side RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - wsnipex - 2015-07-09 has anyone here successfully built the EGL branch on i386? If yes, please provide OS, gcc version, mesa version RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - grantonstar - 2015-07-10 (2015-07-05, 08:28)fritsch Wrote: I want his Debug Log and the other logs from thread 1. Hi again, sorry I've been away travelling and wasn't able to access my system remotely. I've updated to the latest build (16.0-aplha1 from a few days ago). I was initially getting a blank screen on playing some videos but after fiddling with the rendering settings everything is OK. No crashes on stopping a video either. Thanks for replying and apologies for not getting this over to you earlier. Thanks also for the excellent work with these builds. RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - wsnipex - 2015-07-10 I've build packages of the EGL branch for ubuntu trusty and vivid. You need the following PPAs: ppa:wsnipex/mesa ppa:wsnipex/vaapi ppa:wsnipex/xbmc-fernetmenta-master run sudo apt-get dist-upgrade after adding the PPAs. RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - Brujo - 2015-07-10 First thanks for all the effort and time you spent on this EGL branch. @wsnipex - thanks for the ubuntu packages, anyhow in a first quick test / comparison between this packages and openelec package on the same hardware within the same sample files I can not reach the same good results (skip/drops) as I had with the openelec package. test within Openelec package So first I added the 3 repository updatet and did the dist-upgrade and also rebooted the device. I use the same sample files (from fritsch). In general high skip rate on the sample files. So what can / should I provide to narrow down. kind regards Brujo RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - fritsch - 2015-07-10 Mind providing the logfiles from thread 1? RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - Brujo - 2015-07-10 (2015-07-10, 16:39)fritsch Wrote: Mind providing the logfiles from thread 1? yepp your are full right fritsch... kodilog mesa dmesg the "strange" behaviour is, sometimes the skip increase fast and sometimes not within the same sample files. Changing for example from Madi - Maci, vaapi bob when the sample run - the movie stops and I have to stop start again the sample. kind regards Brujo RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - fritsch - 2015-07-10 How about upgrading to kernel 4.1 - which I also had in my build? Furthermore also bump xserver-xorg-video-intel on this one, here: https://dl.dropboxusercontent.com/u/55728161/xserver-xorg-video-intel_2.99.917%2Bgit1506041932.7d30cc%7Egd%7Ev_amd64.deb Btw. also revisit vs my last image that I posted - in the first images we had simply forgotten to activate lanczos 3 optimized ... it was not used at all :-) - which explained the nice results at the beginning. Resualts are still nice, but yeah - you know ... RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - Brujo - 2015-07-10 Ok will do the update of Kernel & xserver later on and give feedback. appreciate your support... looks fine with & Kernel 4.1.1 (will see if the Box freeze or not) Hardware: Intel BYT Celeron N2930 video scaling method: in general Lanczos3 is to heavy for this Celeron Bilinear 1080i50 with MADI / MCDI deinterlacing on a 1080p display: perfect 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: perfekt Lanczos3 576i50 & 720p50 skip a lot and not fluid (MADI / MCDI / VAAPI-BOB) until now I am very surprised with it - thanks a lot Guys - its somehow magic what you squeeze out of such cheap HW :-) RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - john321 - 2015-07-12 Tried to update 14.04 following the guide and the last set of PPAs http://forum.kodi.tv/showthread.php?tid=165707&pid=2049190#pid2049190 ppa:wsnipex/mesa ppa:wsnipex/vaapi ppa:wsnipex/xbmc-fernetmenta-master but must have got something wrong as I seem to get rendering ("o" shows whats going on but the display is black) and audio but no display with all VAAPi methods: I will reinstall from scratch as its probably my fault. To jump over local issues I: Tried Openelec image Latest ??) http://forum.kodi.tv/showthread.php?tid=165707&pid=2046231#pid2046231 OpenELEC-Generic.x86_64-6.0-devel-20150705085847-r21092-g61fac66 samples from http://forum.kodi.tv/showthread.php?tid=165707&pid=2039227#pid2039227 Results Hardware: Intel Baytrail Celeron j1900 Gigabyte -Brix 4Gb single channel and HDMI connected to 1080P display. Bilinear 1080i50 (serverus sample) with MADI / MCDI deinterlacing on a 1080p display: no skips or drops, skips when displaying "o" 1080i50 (BBC News sample) with MCDI deinterlacing on a 1080p display: no skips or drops, skips when displaying "o", tearing/artifacts on ticker. 1080i50 (BBC News sample) with MADI deinterlacing on a 1080p display: no skips or drops, skips when displaying "o", no noticable tearing/artifacts on ticker. 576i50 with MADI / MCDI deinterlacing scaling to 1080p: no drops or skips, smooth scrolling but obvious artifacts on both MCDI and MADI 4kp30 with MADI / MCDI scaling to 1080p: perfect 4kp60 with MADI / MCDI scaling to 1080p: perfect but occasional ( not noticeable) skips when playing, skips when "o" is pressed to give results or overlay displayed Lanczos3 576i50 & 720p50 Upscale & 4k downscale skip a lot and not fluid (MADI / MCDI / VAAPI-BOB) - BoB + Lanczos3 does not skip until "o" is pressed. couple of questions. I read a large number of the 1900 odd posts , but the story is so fast changing due to the excellent work going on, it is now hard to follow. I came to Kodi from mythtv as a frontend, ( for predominately 576i50 or 1080i50 off air recordings ), as I was "upgrading" from my old Acer revo to a shiny new nuc like BRIX. Mythtv has virtually no usable support for VAAPI and I had heard good things about kodi/openelec as a frontend. post #1 states "If you are running a Baytrail NUC or a 847 Celeron NUC or comparable - choose Scaling: Bilinear and Deinterlace-Method: BOB" "VAAPI-MCDI is not available on a Baytrail as this is an IVB based chip." [is post 1 just very out of date ? ] I was so disappointed with the j1900 display quality after ion. I was about to replace my new j1900 with a 2975U, or possibly a 3050 nuc, hoping to get back to decent (ion) video quality, but now am confused whether the video quality is the same on baytrail and on haswell and braswell, with the current state of this code. My use case is predominantly UK HD Freesat, so 1080i50. The story was quite clear ( buy a chromebox/2955u/2957u) before you inconveniently made the code so much better :-) :-) I know this is not the " what hardware thread" but a summary of current hardware dependent capabilities would be really useful in the first post. RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - fritsch - 2015-07-12 Hehe, yeah it's hard to follow I must admit. We got MCDI / MADI fixed for IVB and SNB. BYT is the same as IVB. With the EGL rewrite it seems that some BYTs are now able to do lanczos 3 optimized upscaling. The first post is nowhere near correct anymore and I should close this thread and start a new one - dedicated to this ongoing EGL work in special OE builds and on Ubuntu 15.04. So in one sentence: Since EGL was done, VAAPI is much, much, more useful then it ever was and even on Baytrail we now have very good results. Still the 2957U or 2955U in the chromebox are much more capable than a Baytrail. Same goes for the new Braswell GPUs, which are far superior to the BYTs, but those are still WIP and might not be as stable as one wants them to be. Does that clear it up? Quote:Lanczos3 the Deinterlacing method should only make a difference whenever you run interlaced! So in the above quoted test, it is only used in the 576i50 case. Make sure to have set Deinterlace = Auto, never to On. |