AMD User Queue Mesa Support Merged For Linux - Submitting Work Directly To The GPU

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • coder
    Senior Member
    • Nov 2014
    • 8959

    #11
    Originally posted by pac2000 View Post
    The applications would need to either be rewritten, or the compiler might be able take advantage of it via libraries, depending on how it is implemented.
    Isn't the whole point of Mesa to abstract the details of how application code interacts with the hardware? If Mesa now enables this new submission mechanism, then I'd bet application code doesn't even need a recompile.

    Comment

    • coder
      Senior Member
      • Nov 2014
      • 8959

      #12
      Originally posted by patrick1946 View Post
      Is that like io_uring minimizing kernel switches or is this actually a driver in the firmware running on the GPU?
      I think dev_null just means the interaction protocol is like that of io_uring. FWIW, io_uring's circular buffers are inspired by a long history of how hardware typically implements FIFOs. So, I wouldn't infer a connection with io_uring based on superficial similarities, here. Maybe someone was indeed inspired by it, or the performance gains it enabled?

      Comment

      • marek
        X.Org Developer
        • Jan 2009
        • 1002

        #13
        Originally posted by Kjell View Post

        Understandable

        In the future, does it make sense to launch the entire Wayland compositor with AMD_USERQ to achieve the best 3D performance/latency with subsequent processes?
        AMD_USERQ is for developers only. It's unlikely to be enabled for current GPU generations.

        Originally posted by Mitch View Post

        Please excuse my stupid question.
        So if you have the Hardware, the Kernel, and the MESA versions, and the switches enabled, what's left? Does software (Desktops, Browsers, Videogames) need to purposefully use this new feature and potentially rewrite some things, or does this instead automatically change how existing things work under the hood?
        Firmware and performance optimizations are missing. There is no impact on apps and APIs. It just replaces the current way Mesa submits work to the GPU. It's a replacement of existing uAPI.

        Originally posted by nuetzel View Post

        Hello mareko ,

        starting with gfx8+ or later?
        gfx13+. gfx11-12 are maybe.

        Comment

        Working...
        X