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 - tfouto - 2015-02-16

hi,

Have test it, and the fonts below on RSS become broken if i Alt+Enter (Make window not fullscreen).

Nvidia Gtx 670.
Windows 8.1.


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

(2015-02-16, 22:49)tfouto Wrote: hi,

Have test it, and the fonts below on RSS become broken if i Alt+Enter (Make window not fullscreen).

Nvidia Gtx 670.
Windows 8.1.
I am seeing the same thing on Nvidia GTX 750Ti with the Feb 16th build. I haven't tested on the Intel GPU yet.

Whenever Kodi is toggled from fullscreen to windows and back again, the RSS feed in fullscreen mode is really messed up. It stays messed up until the text "- Release candidate 3 - Kodi 14.0 Helix....." enters the screen. Then the text looks proper. Once the feed starts over, the first part is all messed up again. Toggling back to windowed mode, the feed always looks correct.

Image


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

I am not having any issues with the RSS feed in either full or window mode, at least the with most recent builds (never payed attention before).


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

@poplap
Seems like dxva renderer not working on your system/drivers. Just to make sure the issue is caused by dxva redenrer: Could you create file advancedsettings.xml with following content:
Code:
<advancedsettings>
  <video>
    <forcedxvarenderer>false</forcedxvarenderer>
  </video>
</advancedsettings>
and place it in %APPDATA%\Kodi\userdata folder.

Set enable dxva hardware acceleration and select Auto render method in the Kodi settings. Does this cure the issue?
Thanks.


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

Ok did as you asked and all I got when playing a video was a green screen with audio.

Log: http://pastebin.com/Y7WikJq7
Screenshot in my google drive under the latest build folder: https://drive.google.com/folderview?id=0B7B-FIcwGkY5MkYybGE4Wm16VEU&usp=sharing

Not sure what could be wrong, I have the lastest stable drivers.


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

New build:

Fixed:
  • Fixed PS/SW rendering with dxva decoding (i.e. forcedxvarenderer = false)
  • Removed dependency on d3d9_xx.dll. Now Kodi doesn't require DX9 installed.
  • Fixed VideoSyncD3D. now it uses DXGI functionality.
  • Fixed changing screen mode.
  • Rebased to current master to include current fixes.

Download link in the first post.

@poplap
Please check the new build with different combination of 'Render Method' and 'Allow harware acceleration (DXVA)' settings.


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

you can get rid of this as well then
https://github.com/afedchin/xbmc/blob/dx11/project/Win32BuildSetup/genNsisInstaller.nsi#L401
and the downloading of the package

btw i had a problem playing video on fullscreen with previous build and it worked fine on master branch. will get the logs tonight with this build


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

@Martijn
Thanks. I forgot about change instalation. I'll do this at my own risk Smile


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

@afedchin

http://pastebin.com/xrXWUnzB

Playing a video in fullscreen in side Kodi doesn't generate any picture. Doesn't matter if Kodi itslef is fullscreen or windowed. Gui overlay does show.
Only time when i do get video is either going back to main menu where video play in the background or when it plays in a smaller window in the GUI.
As said master has no problems. Same happens in this build and previous

Win10, Intel Iris 5200 GPU (Zotac EI730 mini pc)

Edit:
My win7 with NVIDIA GT275 doesn't have this issue


RE: Windows DirectX 11 upgrade test thread - tfouto - 2015-02-20

(2015-02-17, 03:38)kricker Wrote:
(2015-02-16, 22:49)tfouto Wrote: hi,

Have test it, and the fonts below on RSS become broken if i Alt+Enter (Make window not fullscreen).

Nvidia Gtx 670.
Windows 8.1.
I am seeing the same thing on Nvidia GTX 750Ti with the Feb 16th build. I haven't tested on the Intel GPU yet.

Whenever Kodi is toggled from fullscreen to windows and back again, the RSS feed in fullscreen mode is really messed up. It stays messed up until the text "- Release candidate 3 - Kodi 14.0 Helix....." enters the screen. Then the text looks proper. Once the feed starts over, the first part is all messed up again. Toggling back to windowed mode, the feed always looks correct.

Image

This problem on my NVIDIA gtx 670 still persists on 19 build. Do i have to reboot computer?


RE: Windows DirectX 11 upgrade test thread - orby - 2015-02-20

wanted to have a wee look at this and with a quick test all looks very nice and for me feels extremely smooth and snappy in response, windows 8.1 intel HD 4000 laptop

set to use dxva, blu-ray rip and mkv both playing fine


RE: Windows DirectX 11 upgrade test thread - tfouto - 2015-02-20

Do i have to unistall the profile folder before installing the new version?

I didn't wanted to loose all my configurations...


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

Ok so I removed the advancesettings file, auto render, hardware + DXVA2 and still a blank screen. Autorender, hardware but no DXVA2 and I get video playback just fine. DXVA render, software and its back to a blanks screen.

What does disabling DXVA2 do, what other hardware acceleration is it using, I'm just a little curious about what's going in the background.

Log: http://pastebin.com/JpZJTA7D


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

@Martijn
Thanks. I need more testing to find reason of issue. Please try next build (Febrary 20) which include rework of dxva renderer and a lot of debug messages.

@tfouto
You don't need to reboot computer. If you wanna not loose all setting, backup your %APPDATA%\Kodi folder or launch Kodi with -p parameter.

@orby
Thanks for feedback.

@poplap
It was not necessary to remove the ad.xml it required to test all rendering paths.

Let's me explain.
By default in the Kodi's settings the render method is Auto and DXVA2 acceleration is enabled. The Auto setting of render method means what will be used pixel shaders for rendering. But if DXVA2 acceleration is enabled and current video is supported by hardware decoder the Kodi forces the rendering method to DXVA and doesn't matter what is setted up in the settings. Using DXVA2 decoding and DXVA rendering is optimal way to display video content.

The flag <forcedxvarenderer>false</forcedxvarenderer> in your advancedsetting.xml disables default behavior and allows using any other rendering method with the dxva2 decoding. But this is not optimal and uses a more CPU/GPU and memory usage.


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

New build:

Fixed:
  • Try to solve dxva rendering on some systems.
  • Improve VideoSyncD3D to use less CPU time.
  • Remove DX9 from installation package.

Download link in the first post.