Kodi Community Forum
WIP Windows DirectX 11 upgrade test thread - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
--- Thread: WIP Windows DirectX 11 upgrade test thread (/showthread.php?tid=218274)



RE: Windows DirectX 11 upgrade test thread - afedchin - 2015-02-14

@Martijn - got it! Just a little typo. Will be fixed in next build.

@da-anda - I mean what renderer uses values reported by video processor Min/Max and Default and then use two ranges Min-Default and Default-Max depend on current post processing settings. Why processor doesn't accept some values? I don't know. Need a more investigation.


New build 14/02/2015 - afedchin - 2015-02-14

New build:

Windows:
  • 14 February
  • please also download the .pdb file here, rename it to Kodi.pdb and place it alongside the Kodi.exe inside the installation folder (usually C:\Program Files (x86)\Kodi). Re-download the correct file each time you are install another test build. This helps us to identify possible crashes.

Added:
* Added more log messages to identify possible issues with dxva.

Fixed:
* Fixed crash on some older GPUs.

Known Issues
* Sometimes fonts are disappearing.


RE: Windows DirectX 11 upgrade test thread - Martijn - 2015-02-14

great, this one started. I'll let it run for a while.
note: don't forget to edit the first post with the new build


RE: Windows DirectX 11 upgrade test thread - afedchin - 2015-02-14

(2015-02-14, 15:23)Martijn Wrote: note: don't forget to edit the first post with the new build
I can't. I have no 'edit' button on OP


RE: Windows DirectX 11 upgrade test thread - da-anda - 2015-02-14

afedchin - now you can edit the post - just gave you moderator rights


RE: Windows DirectX 11 upgrade test thread - da-anda - 2015-02-14

(2015-02-14, 12:58)afedchin Wrote: @da-anda - I mean what renderer uses values reported by video processor Min/Max and Default and then use two ranges Min-Default and Default-Max depend on current post processing settings. Why processor doesn't accept some values? I don't know. Need a more investigation.
Ok, just tested the very same thing with Helix 14.1 and it's working there with DXVA2 enabled - so it seems to be related to your changes (or DX11). Here is a debug log of latest build (from today) where I tried to change the contrast setting.


RE: Windows DirectX 11 upgrade test thread - afedchin - 2015-02-14

(2015-02-14, 18:00)da-anda Wrote:
(2015-02-14, 12:58)afedchin Wrote: @da-anda - I mean what renderer uses values reported by video processor Min/Max and Default and then use two ranges Min-Default and Default-Max depend on current post processing settings. Why processor doesn't accept some values? I don't know. Need a more investigation.
Ok, just tested the very same thing with Helix 14.1 and it's working there with DXVA2 enabled - so it seems to be related to your changes (or DX11). Here is a debug log of latest build (from today) where I tried to change the contrast setting.
Thanks for latest log. It trows light on problem. So, processor reported what possible values of contrast is
Code:
Filter 1 has following params - max: 2, min: 0, default: 1
Processor accepts only integer values. See here https://msdn.microsoft.com/en-us/library/windows/desktop/hh447758(v=vs.85).aspx . So we have three possible values 0, 1, 2. I don't know how can we control this more accurately. And video processing in DX11 is more like DXVA-HD than "classic" DXVA. As I know ATI/AMD doesn't implement support of DXVA-HD in their drivers. And as we see AMD doesn't care about video processing in DX11.


RE: Windows DirectX 11 upgrade test thread - poplap - 2015-02-15

Ok so with the first build I disabled DXVA2 acceleration and the videos worked.

Log here: http://pastebin.com/SucArb8U (DXVA2 Disabled)

I installed the newer build and had the same issues.

Logs, dumps, etc. here: https://drive.google.com/folderview?id=0B7B-FIcwGkY5MkYybGE4Wm16VEU&usp=sharing

Though after relaunching it today kodi crashes when exiting, both versions, didn't happen last time and I don't know what changed.

Sorry can't test using the integrated gpu right now, maybe when I get more time later in the month.


RE: Windows DirectX 11 upgrade test thread - afedchin - 2015-02-15

(2015-02-15, 06:19)poplap Wrote: Ok so with the first build I disabled DXVA2 acceleration and the videos worked.

Log here: http://pastebin.com/SucArb8U (DXVA2 Disabled)
Thanks. One last test. Please disable harware acceleration (dxva2), select dxva render method and try with these settings.

(2015-02-15, 06:19)poplap Wrote: I installed the newer build and had the same issues.

Logs, dumps, etc. here: https://drive.google.com/folderview?id=0B7B-FIcwGkY5MkYybGE4Wm16VEU&usp=sharing

Though after relaunching it today kodi crashes when exiting, both versions, didn't happen last time and I don't know what changed.
Thanks. Will be fixed in next build.


RE: Windows DirectX 11 upgrade test thread - da-anda - 2015-02-15

(2015-02-14, 18:53)afedchin Wrote: Processor accepts only integer values. See here https://msdn.microsoft.com/en-us/library/windows/desktop/hh447758(v=vs.85).aspx . So we have three possible values 0, 1, 2. I don't know how can we control this more accurately. And video processing in DX11 is more like DXVA-HD than "classic" DXVA. As I know ATI/AMD doesn't implement support of DXVA-HD in their drivers. And as we see AMD doesn't care about video processing in DX11.
My ATI card is using their old driver model and won't get any support in their new driver stack - so it looks like with DX11 we'll get at least some regressions for older ATI cards. But as long as video playback and GUI rendering is fine, that shouldn't be that much of an issue.


RE: Windows DirectX 11 upgrade test thread - poplap - 2015-02-15

Ok so I first disabled DXVA2 and set the render to DXVA and there was still no video, same for disabling hardware acceleration all together with DXVA set in render.

Here is the log: http://pastebin.com/86AreLmL

Also it crashed when it was starting up, I think it was trying to load the movie covers, the ones that show up with recently added on Confluence. However it did not change of the file dumps only the log, kodi.old.

Here is the log: http://pastebin.com/GayBB2US

(everything is also in the google drive share)


RE: Windows DirectX 11 upgrade test thread - afedchin - 2015-02-16

New build:

Fixed:
  • Rebased to current master to include current fixes.
  • Fixed font disappearing issue. (Please confirm)
  • Fixed ffmpeg dxva decoding which was broken in previous build after rebase.

Download link in the first post.


RE: Windows DirectX 11 upgrade test thread - kricker - 2015-02-16

I can't believe I missed this thread (dang work sidetracking me). I am grabbing the latest build now for a thorough test on a Nvidia GPU system as well as a Intel GPU system.


RE: Windows DirectX 11 upgrade test thread - da-anda - 2015-02-16

I can confirm that the font flickering and missing parts are gone with the new build on my old AMD card. h264 playback of a 1080p movie was also fine - haven't tested MPEG2 and other stuff yet


RE: Windows DirectX 11 upgrade test thread - poplap - 2015-02-16

Ok so I am having the same issues with the 16 build. The disappearing text is not there so thats fixed but video is still broken with DXVA, can only get video with software and no hardware acceleration. Tested DXVA2 Auto render, Disabled DXVA2 DXVA render, and Software Auto render, only the last one working.

Here is the log: http://pastebin.com/XebmMTNy

Also I think kodi is taking longer to close but I'm not sure why, but I think it crashed last type because it was not responding when closing.