Announcement

Collapse
No announcement yet.

Asahi Linux Continues Making Progress On Apple Silicon Graphics, Promising OpenGL Speed

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

  • #21
    Originally posted by mdedetrich View Post
    We will always have to deal with implicit sync somewhere, but the ideal situation is that we only deal with it in userspace.
    Zync.

    Comment


    • #22
      Originally posted by ssokolow View Post

      Zync.
      Sorry dont get this

      Comment


      • #23
        Originally posted by mdedetrich View Post

        Sorry dont get this
        OpenGL is implicit sync, Vulkan is explicit sync, and Zink is a userspace OpenGL-on-Vulkan implementation... thus the portmanteau of Zink and Sync.

        Comment


        • #24
          Originally posted by ssokolow View Post

          OpenGL is implicit sync, Vulkan is explicit sync, and Zink is a userspace OpenGL-on-Vulkan implementation... thus the portmanteau of Zink and Sync.
          Touché

          Comment


          • #25
            Originally posted by mdedetrich View Post

            Yeah I don't see what point he is making in his argument. Shifting it to userpsace is a good thing because you don't want these slow overhead workarounds on the driver level/kernel space. The fundamental issue with Linux wrt implicit/explicit sync is that part of its core in kernel graphics stack/drivers is still dealing with implicit sync. We will always have to deal with implicit sync somewhere, but the ideal situation is that we only deal with it in userspace.
            My point is that we still have implicit sync.. I totally agree that it is the right thing for a new kernel driver not having to care about older userspace to not deal with it in the kernel. But that as long as we have to deal with it somewhere the problem hasn't gone away and nothing has gotten faster. The net result is just the new driver has a tiny bit less code in the kernel. Certainly a good thing, but other drivers can still do explicit sync on the kernel side so the kernel side isn't holding anyone back. And dealing with implicit sync in userspace isn't any faster.

            Comment


            • #26
              Originally posted by GeneralZod View Post
              Now it does (just about ).

              Comment


              • #27
                Originally posted by robclark View Post
                And dealing with implicit sync in userspace isn't any faster.
                Of course it isn't, but dealing with implicit sync in kernel space is slower than explicit sync which is the point.

                Comment


                • #28
                  Originally posted by mdedetrich View Post

                  Of course it isn't, but dealing with implicit sync in kernel space is slower than explicit sync which is the point.
                  Sure.. CrOS and android are both all-explicit, so I'm well aware of the benefits.. and I'm also well aware that it is easy to allow userspace to ask to disable the implicit sync path on the kernel side (either globally or just the buffers which aren't shared with a window system that expects implicit sync[1]), getting all the same benefits. The only drawback is some legacy code-paths that are only hit for old userspace, but no real drawback for modern userspace. And eventually, years down the road, a new driver with no legacy code-paths today will earn it's own legacy codepaths ;-)

                  [1] https://lore.kernel.org/lkml/CAF6AEG...mail.com/T/​

                  Comment

                  Working...
                  X