Announcement

Collapse
No announcement yet.

Microsoft Achieves OpenGL 4.5 Atop Direct3D 12 With Mesa

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #11
    Originally posted by unwind-protect View Post
    How do I use this?

    I have an OpenGL app that doesn't work right on AMD graphics cards, and newer drivers make it worse.

    Is there a way that I can plug in this OpenGL to Direct3d driver myself? I don't have source code for the application.
    Pre-built Mesa3D drivers for Windows. Contribute to pal1000/mesa-dist-win development by creating an account on GitHub.

    Comment


    • #12
      Originally posted by unwind-protect View Post
      How do I use this?

      I have an OpenGL app that doesn't work right on AMD graphics cards, and newer drivers make it worse.

      Is there a way that I can plug in this OpenGL to Direct3d driver myself? I don't have source code for the application.
      It should be possible, you have to compile mesa on Windows with d3d12 enabled, and put the resulting OpenGL dll(s) in the right place so that it gets picked up by your application, at least that's how it worked when we started the development at Collabora, and it wouldn't make sense if it this would not be possible anymore.

      WSL was actually an afterthought.

      Comment


      • #13
        Yeah, let's run OpenGL on this insecure spying mess while it's working perfectly on Linux. Only good news about m$?

        Researchers uncover vulnerabilities in 34 Windows drivers that non-privileged hackers can exploit to take control of your device and execute code.

        Comment


        • #14
          Originally posted by skeevy420 View Post
          MS can't win for losing. Don't contribute to FOSS and they're walled garden bastards, contribute to FOSS and they're subversive EEE fucks.
          Right, I for one am glad that microsoft is making good progress on migrating to more foss stuff​

          Originally posted by unwind-protect View Post
          How do I use this?

          I have an OpenGL app that doesn't work right on AMD graphics cards, and newer drivers make it worse.

          Is there a way that I can plug in this OpenGL to Direct3d driver myself? I don't have source code for the application.
          wsl2 will already be having this, but if you want it on native windows, don't use it. it's not ready yet.​

          Originally posted by ViSU View Post

          Forgot to mention that you can, per usual, tell mesa to use d3d12 explicitly:

          GALLIUM_DRIVER=d3d12

          but of course, there also is

          GALLIUM_DRIVER=zink

          if your device supports Vulkan. This option should also be more performant
          zink is very buggy on windows, d3d12 just simply works better atm. Im not sure why, but zink crashes a lot more for me then d3d12

          EDIT: woops s/firefox/microsoft

          Comment


          • #15
            Congrats Microsoft !

            I think this move benefits everyone.

            On one side WSL will get better support from linux apps and make dev life easier.
            On the other side, this makes Mesa even more the OpenGL standard driver, and the one apps should check behaviour against. Thus guaranteeing better compatibility for Mesa drivers with new apps.

            Comment


            • #16
              The more pressing matter is when will they write an official directx1-12 state tracker for mesa so people don't have to use Vulkan as a middleman?

              Comment


              • #17
                Originally posted by bemerk View Post
                The more pressing matter is when will they write an official directx1-12 state tracker for mesa so people don't have to use Vulkan as a middleman?
                there is a d3d10 state tracker for gallium which can be expanded to d3d11. d3d12 would need it's own implementation however.

                Comment


                • #18
                  Originally posted by timofonic View Post
                  Microsoft is against OpenGL and boycott it.
                  Sony and Nintendo also have their own APIs. Are they also boycotting OpenGL?

                  It's just that Microsoft has been developing its own gaming API for 30 years.

                  Direct3D is part of the framework supporting DirectX games - uniform, object-oriented, convenient, with the support of the platform creator.

                  And as you can see, DrirectX is liked by developers because they often use it and many do, but they don't have to.

                  DirectX is not only Direct3D, but also:

                  DirectDraw (raster graphics library​),
                  Direct2D (2D vector graphics​),
                  Direct3D,
                  DirectWrite (text render library),
                  DirectInput (a library for using the mouse, keyboard, joysticks and gamepads​),
                  DirectPlay (network support in games​),
                  DirectSound (sound, effects, dsp support),
                  DirectMusic,
                  DirectShow (support for video),
                  DirectSetup (management of component, installation and deinstallation)​​

                  Comment


                  • #19
                    Originally posted by HEL88 View Post

                    Sony and Nintendo also have their own APIs. Are they also boycotting OpenGL?

                    It's just that Microsoft has been developing its own gaming API for 30 years.

                    Direct3D is part of the framework supporting DirectX games - uniform, object-oriented, convenient, with the support of the platform creator.

                    And as you can see, DrirectX is liked by developers because they often use it and many do, but they don't have to.

                    DirectX is not only Direct3D, but also:

                    DirectDraw (raster graphics library​),
                    Direct2D (2D vector graphics​),
                    Direct3D,
                    DirectWrite (text render library),
                    DirectInput (a library for using the mouse, keyboard, joysticks and gamepads​),
                    DirectPlay (network support in games​),
                    DirectSound (sound, effects, dsp support),
                    DirectMusic,
                    DirectShow (support for video),
                    DirectSetup (management of component, installation and deinstallation)​​
                    its worth noting directx is not just for games, a lot of their driver structure is around "DirectX" too, DXGI is for their graphics infrastructure for instance

                    Comment


                    • #20
                      Originally posted by HEL88 View Post

                      Sony and Nintendo also have their own APIs. Are they also boycotting OpenGL?

                      It's just that Microsoft has been developing its own gaming API for 30 years.

                      Direct3D is part of the framework supporting DirectX games - uniform, object-oriented, convenient, with the support of the platform creator.

                      And as you can see, DrirectX is liked by developers because they often use it and many do, but they don't have to.

                      DirectX is not only Direct3D, but also:

                      DirectDraw (raster graphics library​),
                      Direct2D (2D vector graphics​),
                      Direct3D,
                      DirectWrite (text render library),
                      DirectInput (a library for using the mouse, keyboard, joysticks and gamepads​),
                      DirectPlay (network support in games​),
                      DirectSound (sound, effects, dsp support),
                      DirectMusic,
                      DirectShow (support for video),
                      DirectSetup (management of component, installation and deinstallation)​​
                      So many people simply forget that much of the Windows user experience is built over the DirectX stack. And the biggest benefit of all this is that Microsoft directly manages and maintains every aspect of this stack so that DirectX as a whole. Just. Simply. Works. Properly.

                      Open source punks demanding Microsoft to surrender all three decades of development of these key technologies to them smacks of pure idiocy and sour grapes.

                      Going back to Windows last month after 16 years of Linux was the best thing I ever done for my mental health.
                      Last edited by Sonadow; 16 November 2023, 01:25 AM.

                      Comment

                      Working...
                      X