Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Questions about deprecating DirectX 9

Discussion in 'General Graphics' started by forestrf, Jul 10, 2017.

  1. forestrf

    forestrf

    Joined:
    Aug 28, 2010
    Posts:
    229
    Currently I am using dx9 because dx10 is slower on the igpu of my laptop (i5 2540m, Intel® HD Graphics 3000)

    I don't care about dx9 being deprecated if opengl is really an option as the blog entry says (https://blogs.unity3d.com/2017/07/10/deprecating-directx-9), and if it is as fast as dx9.
    The problem is that I can't even check if the performance is comparable because switching to any opengl api (OpenGLCore, OpenGLES2 and OpenGLES3) crashes the editor.

    Is my only option to give up that performance?

    And here is a capture of opengl extensions viewer
    opengl extensions viewer.PNG

    Here is a comparison of dx9 and dx11 (on dx10 gpu)
    dx9 (~36fps)
    Unity_2017-07-11_00-45-34.png

    dx11 (~25fps)
    Unity_2017-07-11_00-46-14.png

    EDIT: I installed Ubuntu and tested it with the same version. The problem is that the linux editor is not stable
    opengl 3.3 (~43fps)
    Screenshot from 2017-07-12 01-32-12.png
     
    Last edited: Jul 12, 2017
  2. Matt-Roper

    Matt-Roper

    <Of The Graphics> Unity Technologies

    Joined:
    Oct 27, 2015
    Posts:
    106
    Hey,

    Is this a default project? Going to investigate, just want to be on the same page as you

    Cheers
     
    forestrf likes this.
  3. forestrf

    forestrf

    Joined:
    Aug 28, 2010
    Posts:
    229
    No, it isn't. I made a scene with cubes that use the Legacy diffuse shader, disabled static and dynamic batching, enabled soft shadows. If I can use an already prepared scene to do any test please tell me and I will run any test that you want.
    I know that this laptop is not a good one, but it is not that bad as I am using it to dev without problems.

    Thank you!