Search Unity

Feature Request Unity D3D12On7 support

Discussion in 'General Graphics' started by Nlk29, Sep 27, 2022.

  1. Nlk29

    Nlk29

    Joined:
    Jan 25, 2022
    Posts:
    39
    Dear Unity team,

    A while ago, Microsoft released D3D12On7 (https://devblogs.microsoft.com/directx/porting-directx-12-games-to-windows-7/) which allows game developers to utilize DX12 on Windows 7 (my OS of choice). As the guide Monopolysoft provided is only for games written in C++ and i couldn't find a guide for Unity and C#, i wanted to ask if doing this is even possible with Unity. And how if it is possible. It would be nice if there would be a package for it that you can install.
    Edit: Pls. no more comments about Windows 10. That is just counter-productive.

    Thanks,
    Niklas Köppl
     
    Last edited: Sep 28, 2022
  2. c0d3_m0nk3y

    c0d3_m0nk3y

    Joined:
    Oct 21, 2021
    Posts:
    665
    Windows 7 has reached end of life already almost 3 years ago (January 14, 2020).

    But you can use the DX11 renderer on Windows 7.
     
  3. warthos3399

    warthos3399

    Joined:
    May 11, 2019
    Posts:
    1,742
    How about stop being a dinosaur and get windows 10?. If you cant, then your stuck with DX11, simple.
     
  4. Nlk29

    Nlk29

    Joined:
    Jan 25, 2022
    Posts:
    39
    To the unproducitve comments:
    1.) yes ik that Windows 7 is old and out of mainstream support but you can still get ESU and Windows 10 just SUCKS.
    2.) The reason i want to include D3D12On7 is not that i can't use DX11. I of course do bc Win7 supprts it and the only reasons for DX12 are of course DXR and DLSS and i wanted to make a game which can use this on Windows 7. Again because Windows 10 JUST SUCKS!
     
  5. c0d3_m0nk3y

    c0d3_m0nk3y

    Joined:
    Oct 21, 2021
    Posts:
    665
    That's not exactly a productive or professional comment either.
     
  6. INedelcu

    INedelcu

    Unity Technologies

    Joined:
    Jul 14, 2015
    Posts:
    173
    DXR and DLSS require at least Windows 10. These are not Unity’s requirements.
    DXR requires at least Win10 ver 1809 and DLSS Win10 ver 2004.
     
  7. Nlk29

    Nlk29

    Joined:
    Jan 25, 2022
    Posts:
    39
  8. kripto289

    kripto289

    Joined:
    Feb 21, 2013
    Posts:
    505
    upload_2022-9-28_14-14-24.png

    no one will spend thousands of hours developing because you can't upgrade to windows 10/11.
    people on windows 7 are less than 3 percent.
     
  9. Nlk29

    Nlk29

    Joined:
    Jan 25, 2022
    Posts:
    39
    Ms
    Ms made an api for it and games like Wow use it so there cleary is a market for it. And also: it seems to me that you just have to import the DLL into your graphics API which seems to me like it is very easy.
     
  10. kripto289

    kripto289

    Joined:
    Feb 21, 2013
    Posts:
    505
    If it's very easy, just do that!
     
  11. Nlk29

    Nlk29

    Joined:
    Jan 25, 2022
    Posts:
    39
    I can’t write c++!
     
  12. Nlk29

    Nlk29

    Joined:
    Jan 25, 2022
    Posts:
    39
  13. kripto289

    kripto289

    Joined:
    Feb 21, 2013
    Posts:
    505
    It's not game statistics. Unity engine for gamers. According to the statistics of steam gamers, windows 7 has less than 3 percent.
    For you, the whole company will not waste time, because it is expensive. You can learn c++ and do it yourself.
     
  14. Nlk29

    Nlk29

    Joined:
    Jan 25, 2022
    Posts:
    39
    Linux has a gaming market share of <2% and still Unity supports Linux builds so why not Windows 7 DX12? Afaik when you can write code in C++ it's farely easy. Also: why do people even use Windows 10? It just feeels like Beta software.
     
  15. kripto289

    kripto289

    Joined:
    Feb 21, 2013
    Posts:
    505
    the developers added linux support a long time ago, and windows 7 support takes effort.
    But the main problem is that directx 12 is not officially supported on Windows 7, and no one can guarantee that all specifications can work. World of warcraft does not support shader 6.0 functions, raytracing and dlss. In this case, dx12 is just a renaming. Are there games on Windows 7 that use the dx12 specifications?
     
  16. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,674
    We will not support D3D12On7. D3D12On7 is mostly meant for engines that do not want to support DirectX 11 anymore, which Unity supports to its fullest extent. D3D12On7 does not give you any D3D12 features. Neither DLSS nor DXR works on it. It's limited to D3D11 features and just allows you to access them through a D3D12-like API. In other words, there's no point in us supporting it.
     
    warthos3399 likes this.
  17. Nlk29

    Nlk29

    Joined:
    Jan 25, 2022
    Posts:
    39
    Ok. Have found a workaround using dxvk which as far as i tested enables me to use DXR