Announcement

Collapse
No announcement yet.

Tool for measuring FPS in games

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

  • #31
    I tried bugle and voglperf and I manage to have a log file with the fps. None of them stamps the time for each sample.

    But I did not manage to put libframetime to work it gives me a error: libframetime: Failed loading dlsym

    So my first question id why is libframetime giving me that error.

    And second what kind of performance drop will I have by using bugle, voglperf or libframetime?

    Comment


    • #32
      OSS drivers : GALLIUM_HUD?

      Comment


      • #33
        I so far tested libframetime only on 64-bit. If you're on 32-bit, please try again with today's git.
        If latest git "Support older 32-bit glibc" still fails, I'll need you to post the output of "readelf -a /lib*/libdl*.so | grep dlsym".

        The perf drop in libframetime is almost zero, should be unmeasurable. No idea of the other two, they do more, so they can have more overhead.

        Comment


        • #34
          Originally posted by {Serafean}
          OSS drivers : GALLIUM_HUD?
          Sorry did not understand the question. But if you want to know the OS and the drivers, the OS is Ubuntu based distro and the drivers depends on the graphic card (can be Nvidia, ATI, Intel)

          Originally posted by {curaga}
          I so far tested libframetime only on 64-bit. If you're on 32-bit, please try again with today's git.
          If latest git "Support older 32-bit glibc" still fails, I'll need you to post the output of "readelf -a /lib*/libdl*.so | grep dlsym".

          The perf drop in libframetime is almost zero, should be unmeasurable. No idea of the other two, they do more, so they can have more overhead.
          I tried to fetch you new changes but there were none so i can only test it next friday or so.
          By the way I ran the command that you mentioned and the result was:
          Code:
          $ readelf -a /lib*/libdl*.so | grep dlsym
          readelf: Error: '/lib*/libdl*.so': No such file
          Am I missing something in my installation? Or is your command that has some error? Is seams strange to be in root "/".
          I also tried this command it might have some extra information:
          Code:
          $ readelf -a ./lib* ./libdl*.so | grep dlsym
          readelf: Error: './libdl*.so': No such file
              22: 00000bf0   220 FUNC    GLOBAL DEFAULT   11 dlsym

          By the way thanks for your help it is much appreciated. Thank you...

          Comment


          • #35
            Sigh @ Ubuntu. Apparently they keep that lib in /lib/i386-linux-gnu/ not in /lib/.

            I see the new commit in https://github.com/clbr/libframetime/commits/master ?

            Comment


            • #36
              Do you know:



              Comment


              • #37
                Me? Sure, that's where I checked the path from. But it's two minutes of wasted time for a distro I do not use, when most distros have libs in standard paths.

                Comment


                • #38
                  Originally posted by priestnot View Post
                  Sorry did not understand the question. But if you want to know the OS and the drivers, the OS is Ubuntu based distro and the drivers depends on the graphic card (can be Nvidia, ATI, Intel)
                  Wasn't a question, was a suggestion to use GALLIUM_HUD (environment variable, google it) when using the opensource drivers. IMO nothing is more precise than the driver directly telling you.

                  Serafean

                  Comment


                  • #39
                    I just tested your new src (support older 32-bit glibc) and aparently it start working. At least it does not give me the same error.

                    The problem is that the output file is always empty. (I tried with a custon output and with the default)

                    HAPPY NEW YEAR by the way...

                    Comment


                    • #40
                      I do not know if it helps but here you have all the information I have gather:

                      Code:
                      $ readelf -a /lib/i386-linux-gnu/lib* /lib/i386-linux-gnu/libdl*.so |grep dlsym
                        2180: 00124550   106 FUNC    GLOBAL DEFAULT   12 __libc_dlsym@@GLIBC_PRIVATE
                      001a20e8  00003c07 R_386_JUMP_SLOT   00000000   dlsym
                          60: 00000000     0 FUNC    GLOBAL DEFAULT  UND dlsym@GLIBC_2.0 (9)
                        2180: 00124550   106 FUNC    GLOBAL DEFAULT   12 __libc_dlsym@@GLIBC_PRIVATE
                          33: 00000e40   136 FUNC    GLOBAL DEFAULT   13 dlsym@@GLIBC_2.0
                          33: 00000e40   136 FUNC    GLOBAL DEFAULT   13 dlsym@@GLIBC_2.0
                      00004038  00001007 R_386_JUMP_SLOT   00000000   dlsym
                          16: 00000000     0 FUNC    GLOBAL DEFAULT  UND dlsym@GLIBC_2.0 (6)
                      0002410c  00004b07 R_386_JUMP_SLOT   00000000   dlsym
                          75: 00000000     0 FUNC    GLOBAL DEFAULT  UND dlsym@GLIBC_2.0 (5)
                      0002410c  00004b07 R_386_JUMP_SLOT   00000000   dlsym
                          75: 00000000     0 FUNC    GLOBAL DEFAULT  UND dlsym@GLIBC_2.0 (5)
                      00036130  00005407 R_386_JUMP_SLOT   00000000   dlsym
                          84: 00000000     0 FUNC    GLOBAL DEFAULT  UND dlsym@GLIBC_2.0 (5)
                      00036130  00005407 R_386_JUMP_SLOT   00000000   dlsym
                          84: 00000000     0 FUNC    GLOBAL DEFAULT  UND dlsym@GLIBC_2.0 (5)
                      000160f8  00003f07 R_386_JUMP_SLOT   00000000   dlsym
                          63: 00000000     0 FUNC    GLOBAL DEFAULT  UND dlsym@GLIBC_2.0 (13)
                      000160f8  00003f07 R_386_JUMP_SLOT   00000000   dlsym
                          63: 00000000     0 FUNC    GLOBAL DEFAULT  UND dlsym@GLIBC_2.0 (13)
                      0000e09c  00002607 R_386_JUMP_SLOT   00000000   dlsym
                          38: 00000000     0 FUNC    GLOBAL DEFAULT  UND dlsym@GLIBC_2.0 (14)
                      0000e09c  00002607 R_386_JUMP_SLOT   00000000   dlsym
                          38: 00000000     0 FUNC    GLOBAL DEFAULT  UND dlsym@GLIBC_2.0 (14)
                      0007412c  00004e07 R_386_JUMP_SLOT   00000000   dlsym
                          78: 00000000     0 FUNC    GLOBAL DEFAULT  UND dlsym@GLIBC_2.0 (8)
                      0007412c  00004e07 R_386_JUMP_SLOT   00000000   dlsym
                          78: 00000000     0 FUNC    GLOBAL DEFAULT  UND dlsym@GLIBC_2.0 (8)
                      000170b8  00002d07 R_386_JUMP_SLOT   00000000   dlsym
                          45: 00000000     0 FUNC    GLOBAL DEFAULT  UND dlsym@GLIBC_2.0 (7)
                      000170b8  00002d07 R_386_JUMP_SLOT   00000000   dlsym
                          45: 00000000     0 FUNC    GLOBAL DEFAULT  UND dlsym@GLIBC_2.0 (7)
                      000190d0  00003807 R_386_JUMP_SLOT   00000000   __libc_dlsym
                          56: 00000000     0 FUNC    GLOBAL DEFAULT  UND __libc_dlsym@GLIBC_PRIVATE (19)
                         715: 00000000     0 FUNC    GLOBAL DEFAULT  UND __libc_dlsym@@GLIBC_PRIVA
                      000190d0  00003807 R_386_JUMP_SLOT   00000000   __libc_dlsym
                          56: 00000000     0 FUNC    GLOBAL DEFAULT  UND __libc_dlsym@GLIBC_PRIVATE (19)
                         715: 00000000     0 FUNC    GLOBAL DEFAULT  UND __libc_dlsym@@GLIBC_PRIVA
                      000080b0  00002f07 R_386_JUMP_SLOT   00000000   __libc_dlsym
                          47: 00000000     0 FUNC    GLOBAL DEFAULT  UND __libc_dlsym@GLIBC_PRIVATE (9)
                      000080b0  00002f07 R_386_JUMP_SLOT   00000000   __libc_dlsym
                          47: 00000000     0 FUNC    GLOBAL DEFAULT  UND __libc_dlsym@GLIBC_PRIVATE (9)
                      00021110  00004607 R_386_JUMP_SLOT   00000000   dlsym
                          70: 00000000     0 FUNC    GLOBAL DEFAULT  UND dlsym@GLIBC_2.0 (10)
                      000e619c  00006807 R_386_JUMP_SLOT   00000000   dlsym
                         104: 00000000     0 FUNC    GLOBAL DEFAULT  UND dlsym@GLIBC_2.0 (13)
                      000e619c  00006807 R_386_JUMP_SLOT   00000000   dlsym
                         104: 00000000     0 FUNC    GLOBAL DEFAULT  UND dlsym@GLIBC_2.0 (13)
                      000060a4  00002907 R_386_JUMP_SLOT   00000000   dlsym
                          41: 00000000     0 FUNC    GLOBAL DEFAULT  UND dlsym@GLIBC_2.0 (6)
                      000060a4  00002907 R_386_JUMP_SLOT   00000000   dlsym
                          41: 00000000     0 FUNC    GLOBAL DEFAULT  UND dlsym@GLIBC_2.0 (6)
                          33: 00000e40   136 FUNC    GLOBAL DEFAULT   13 dlsym@@GLIBC_2.0

                      Comment

                      Working...
                      X