Announcement

Collapse
No announcement yet.

SDL3 Introduces A Vulkan Renderer

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

  • SDL3 Introduces A Vulkan Renderer

    Phoronix: SDL3 Introduces A Vulkan Renderer

    The Simple DirectMedia Library that is commonly used as an abstraction layer by cross-platform games and other software is now introducing a Vulkan renderer with SDL3...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    What does it use to render right now?

    Will this allow Valve to re-enable Wayland for CS2?

    Comment


    • #3
      Originally posted by slagiewka View Post
      What does it use to render right now?

      Will this allow Valve to re-enable Wayland for CS2?
      SDL has a bunch of drivers depending on platform, it has direct3d, opengl, opengles2, opengles, metal, and software rendering. 99% of the time this isn't really relevant unless you're using raw SDL draw commands or interacting with the driver directly.

      Drivers don't matter to Wayland unless something freaky is going on; sounds it's another issue - possibly GTK/font related. I checked a report on it, it might be fixed already if you're looking to try again.

      Comment


      • #4
        Originally posted by slagiewka View Post
        What does it use to render right now?

        Will this allow Valve to re-enable Wayland for CS2?
        If you read the PR linked, you will find the answer to the first question ie) it can render using any of these API's https://github.com/libsdl-org/SDL/tree/main/src/render

        Vulkan is not a requirement for Wayland and these aren't related. In any case, refer to https://www.phoronix.com/news/SDL-3....Default-Prefer

        Comment


        • #5
          Originally posted by slagiewka View Post
          What does it use to render right now?

          Will this allow Valve to re-enable Wayland for CS2?
          This is change to SDL builtin renderer, and Source 2 (probably same for every other engine that depends on SDL) uses SDL only for handling platform stuff (like creating window, getting input etc.) and has its own renderer.

          Comment


          • #6
            Originally posted by Rccero
            Is vanilla Vulkan 1.0 enough for the programs that use SDL? Will they lose potential optimizations?
            The vast majority of older titles it is enough for, but the reality is most will stick with their own engines.

            Programs that use the built-in engine tend to not be games or are using these built-ins for debugging their own engines.

            And, you can always customize these for your game if you need to.

            Comment


            • #7
              Originally posted by slagiewka View Post
              What does it use to render right now?

              Will this allow Valve to re-enable Wayland for CS2?
              You can manually enable wayland for cs2 and dota2 right now and it works fine.

              Comment


              • #8
                Are there many systems that support exclusively Vulkan 1.0 nowadays ? I thought 1.2 was the common base.

                Comment


                • #9
                  Originally posted by rmfx View Post
                  Are there many systems that support exclusively Vulkan 1.0 nowadays ? I thought 1.2 was the common base.
                  Everything that supports Vulkan supports Vulkan 1.0. All editions afterward build on it.

                  Comment


                  • #10
                    Documentation and manuals how to use this old way is updated for year 2000 or is already something newer? And even some videocasts portals with maybe some examples for those a little gifted...

                    Comment

                    Working...
                    X