Search Unity

  1. Unity 2019.1 is now released.
    Dismiss Notice

Failed to initialize graphics

Discussion in 'Editor & General Support' started by Bachey, Nov 3, 2018.

  1. Bachey

    Bachey

    Joined:
    Jul 23, 2016
    Posts:
    4
    Hi!

    I'm trying to run Unity 5.3.4f (I need this version for project constraints), but it fails to run.
    I get this error message:
    upload_2018-11-3_21-35-27.png
    Log:
    "Initialize engine version: 5.3.4f1 (fdbb5133b820)
    GfxDevice: creating device client; threaded=1
    d3d11: failed to create D3D11 device (0x887a0004)
    GfxDevice: creating device client; threaded=1
    d3d: no support for this device type (accelerated/ref)
    GfxDevice: creating device client; threaded=1
    d3d11: failed to create D3D11 device (0x887a0004)
    GfxDevice: creating device client; threaded=1
    d3d: no support for this device type (accelerated/ref)
    Failed to initialize Direct3D.

    Make sure you have at least DirectX 9.0c installed, have drivers for your

    graphics card and have not disabled 3D acceleration

    in display settings.
    Failed to initialize unity graphics."


    I'm using a laptop Lenovo Legion Y520 with both Intel integrated card and Nvidia 1050 Ti. I updated the graphics card driver to latest, I even I tried to reinstall it many times. I ran dxdiag command, and directx looks fine... Any idea how should I fix this? This used to work a few months ago, but now it just doesn't.

    Ps: oddly enough after restart sometimes it lets starting unity, but after a few minutes it just crashes.
    Thank you for reading!
     
  2. Bachey

    Bachey

    Joined:
    Jul 23, 2016
    Posts:
    4
    Bump
     
  3. Lurking-Ninja

    Lurking-Ninja

    Joined:
    Jan 20, 2015
    Posts:
    3,414
  4. Bachey

    Bachey

    Joined:
    Jul 23, 2016
    Posts:
    4
    Thanks for your reply LurkingNinjaDev!
    Yes in the bios it is set to the correct setting and also in NVIDA control panel, I set unity to run on the dedicated card. What can be wrong?
     
  5. Lurking-Ninja

    Lurking-Ninja

    Joined:
    Jan 20, 2015
    Posts:
    3,414
  6. Bachey

    Bachey

    Joined:
    Jul 23, 2016
    Posts:
    4
    Hmm, strange... I uninstalled the nvidia drivers, so unity runs now with the integrated card without errors, but obviously it is slow... I can only imagine that there's something wrong with the new nvidia driver.
     
  7. Lurking-Ninja

    Lurking-Ninja

    Joined:
    Jan 20, 2015
    Posts:
    3,414
    Try the stock NVidia from the GeForce Experience, it works for me (although I have a GTX 1080 in an Alienware).