Announcement

Collapse
No announcement yet.

Gallium3D Gets A Heads-Up Display For Information

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

  • Gallium3D Gets A Heads-Up Display For Information

    Phoronix: Gallium3D Gets A Heads-Up Display For Information

    The latest accomplishment of Marek Olk is developing a "heads-up display" for Gallium3D DRI2 drivers for showing off various attributes of the current system state like the frame-rate and CPU load...

    http://www.phoronix.com/vr.php?view=MTMzNTI

  • #2
    Lower left corner says 6 FPS, game's top right corner says 13 FPS.

    Comment


    • #3
      In PTS?

      I'd love to see this integrated in PTS. Have it display the current expected run time and what test run # it's currently on, etc.

      Comment


      • #4
        Originally posted by mark45 View Post
        Lower left corner says 6 FPS, game's top right corner says 13 FPS.
        FPS isn't instantenuous, its averaged over time so I don't see why they have to make, except in average.

        Comment


        • #5
          Awesome! Unfortunately it doesn't apply clean to current git.

          For FPS 13 apparently is the mean value and matches the graph, see the original image:

          Comment


          • #6
            Pretty neat.

            Comment


            • #7
              Originally posted by oibaf View Post
              For FPS 13 apparently is the mean value and matches the graph, see the original image:
              Probably the drop is from calling printscren and the Haven number is behind by 1 frame.

              Comment


              • #8
                Originally posted by oibaf View Post
                Awesome! Unfortunately it doesn't apply clean to current git.
                You can get a working version on the hud branch:
                $ git clone -b hud git://people.freedesktop.org/~mareko/mesa

                Comment


                • #9
                  Cool, more user-focused features.

                  Comment


                  • #10
                    This is unexpected, but a great idea and the coolest thing I've seen today.

                    Comment


                    • #11
                      Or... (13 + 13 + 8 + 15 + 6 + 22 + 13 + 13 + 6) / 9 = 12.111

                      And there very well could be more 13s in there which might bring the mean (aka, average) up to 13 after rounding.

                      ..or it could be just a frame behind, as Ajenbo said.

                      Comment


                      • #12
                        This is very cool! I have never before seen anything like this implemented in graphics drivers, so once again a huge win for open source!

                        Comment


                        • #13
                          If this gets integrated into main git tree I'm sure it'll help optimise the driver in the future... Really nice piece of work.

                          Comment


                          • #14
                            Not working here (HD4670, HD4890)

                            Code:
                            $ GALLIUM_HUD=1 celestia -f
                            gallium_hud: unknown driver query '1'
                            Initializing ARB vertex programs . . .
                            Loading ARB vertex program: shaders/diffuse_arb.vp
                            Loading ARB vertex program: shaders/specular_arb.vp
                            Loading ARB vertex program: shaders/haze_arb.vp
                            Loading ARB vertex program: shaders/bumpdiffuse_arb.vp
                            Loading ARB vertex program: shaders/bumphaze_arb.vp
                            ...
                            Is this only implemented for >= Evergreen?

                            EDIT: Oops, it's not a boolean "ON/OFF" control.

                            Code:
                            $ GALLIUM_HUD=pixels-rendered celestia -f
                            does work.
                            Last edited by chrisr; 03-26-2013, 06:32 AM. Reason: Oops!

                            Comment


                            • #15
                              With built-in "help" feature!

                              Code:
                              $ GALLIUM_HUD=help celestia
                              Syntax: GALLIUM_HUD=name1[+name2][...][:value1][,nameI...][;nameJ...]
                              
                                Names are identifiers of data sources which will be drawn as graphs
                                in panes. Multiple graphs can be drawn in the same pane.
                                There can be multiple panes placed in rows and columns.
                              
                                '+' separates names which will share a pane.
                                ':[value]' specifies the initial maximum value of the Y axis
                                           for the given pane.
                                ',' creates a new pane below the last one.
                                ';' creates a new pane at the top of the next column.
                              
                                Example: GALLIUM_HUD="cpu,fps;primitives-generated"
                              
                                Available names:
                                  fps
                                  cpu
                                  cpu0
                                  cpu1
                                  cpu2
                                  cpu3
                                  cpu4
                                  cpu5
                                  cpu6
                                  cpu7
                                  pixels-rendered
                                  primitives-generated
                                  draw-calls
                                  requested-VRAM
                                  requested-GTT
                              
                              ...

                              Comment

                              Working...
                              X