Announcement

Collapse
No announcement yet.

Gallium3D Gets A Heads-Up Display For Information

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

  • #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; 26 March 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


            • #16
              Originally posted by curaga View Post
              Cool, more user-focused features.
              Give an example of a warm non-userfocused feature implemented in mesa3d graphics library.

              Comment


              • #17
                It merged now!

                EDIT: in my PPA also.

                Comment


                • #18
                  With r300g:
                  Code:
                  $ GALLIUM_HUD=help glxgears
                  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
                      pixels-rendered
                  Testing 0 A.D. on r300g. Maybe graph scale should be adjusted to fit current line (see fps indicator). It looks it already scale up but not down.
                  Code:
                  GALLIUM_HUD=fps,cpu0+cpu1,pixels-rendered

                  Comment


                  • #19
                    Originally posted by glxextxexlg View Post
                    Give an example of a warm non-userfocused feature implemented in mesa3d graphics library.
                    Yeah, we shouldn't underestimate this. It looks like it'll be an extremely useful tool for the mesa developers to find perfomance bottlenecks.

                    Comment


                    • #20
                      Very interesting idea. I want that for intel too.

                      Comment

                      Working...
                      X