Announcement

Collapse
No announcement yet.

Phoronix Test Suite 2 GUI

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

  • Phoronix Test Suite 2 GUI

    Why is the GUI based on PHP-GTK? It's really old now, not present in any repositories and won't even install from source on Ubuntu. I believe there are newer alternatives for a GUI - as Phoronix Test Suite is meant to be compatible with many different systems, this makes the GUI a lot less compatible...
    I'll just use the command line for now, but I really like GUIs more...

  • #2
    GreatEmerald,

    What other GUI toolkits do you know of that have bindings available for PHP? And in which their status is better than that of PHP GTK? The PHP Qt project, for instance, is even in worse shape than PHP GTK. Hopefully PHP GTK will end up finding its way into an Ubuntu repository... There are a few Debian packages for it floating around.
    Michael Larabel
    http://www.michaellarabel.com/

    Comment


    • #3
      Yea, I was thinking about Qt... Why is it worse? And why does the GUI need PHP bindings anyway?

      Comment


      • #4
        The Phoronix Test Suite engine (pts-core) is written in PHP5...

        PHP Qt is not even maintained and I am not sure if there is even Qt4 support in it. http://www.php-qt.org/
        Michael Larabel
        http://www.michaellarabel.com/

        Comment


        • #5
          Why was it written in PHP in the first place anyway? As far as I know, PHP is used for internet pages, not programs...

          And yes, you're right, I can't install Qt as well... Though 2/5 steps worked...

          Comment


          • #6
            Originally posted by GreatEmerald View Post
            Why was it written in PHP in the first place anyway? As far as I know, PHP is used for internet pages, not programs...
            PHP5 CLI actually works quite well on the desktop, albeit it's not used nearly as much as Python or PERL by open-source desktop developers. I've discussed it many times over a year ago why PTS is written in PHP, but basically because 1. parts of the internal test suite prior to PTS were already written in PHP 2. so I could easily reuse much of the same code for Phoronix Global and other web components 3. it's very portable 4. I had already written image rendering libraries, XML parser, etc in PHP that ended up being used for PTS.
            Michael Larabel
            http://www.michaellarabel.com/

            Comment


            • #7
              Hmm... Ah well, guess we can live without a GUI until someone makes a PHP-GTK2 .deb for Ubuntu Jaunty.

              Comment


              • #8
                If you're using x86_64: http://phoronix-test-suite.com/misc/....1-0_amd64.deb

                There is also a i386 one on some Debian mentor page. Though note after installing the package you will need to add extension=php_gtk2.so to your php.ini file.
                Michael Larabel
                http://www.michaellarabel.com/

                Comment


                • #9
                  I'm using i386, and can't find it... And where's the php.ini file?

                  Comment


                  • #10
                    Check post #6:

                    http://ubuntuforums.org/showthread.php?t=1108731

                    The file is in /etc/php5/cli/php.ini. Just append extension=php_gtk2.so to the end of the file.

                    Comment


                    • #11
                      Ah, it works! Thanks! Though I have to say that the GUI isn't much better than the command line. Too bad there are no percentage complete indicators, so I can't say if some of the tests simply don't run or just take forever to complete... But I guess it's not possible to create those for each test...

                      Comment


                      • #12
                        Yeah, I find myself going with the command line most of the time. I guess I just got too used to it . Looks nice though:

                        Comment


                        • #13
                          2.0 didn't work I click on the application/System Tools/Phoronix Test Suite and it says Starting Phoronix Test Suite down at the bottom then the box disappears and nothing happens.
                          I tried running it in the terminal and this is the error I get.
                          Fatal error: Class 'GtkWindow' not found in /usr/share/phoronix-test-suite/pts-core/objects/gtk/pts_gtk_window.php on line 23
                          I'm running Jaunty 64 bit.

                          Comment


                          • #14
                            Originally posted by cliff View Post
                            2.0 didn't work I click on the application/System Tools/Phoronix Test Suite and it says Starting Phoronix Test Suite down at the bottom then the box disappears and nothing happens.
                            I tried running it in the terminal and this is the error I get.
                            Fatal error: Class 'GtkWindow' not found in /usr/share/phoronix-test-suite/pts-core/objects/gtk/pts_gtk_window.php on line 23
                            I'm running Jaunty 64 bit.
                            I used my old stand by from the command line which worked on the previous Phoronix test suite.
                            "phoronix-test-suite benchmark unigine-tropics"
                            It asked me to accept the user agreements and sell my first born ect.
                            Then I had to re-download Unigine even though I downloaded it before?
                            When it started I immediately noticed the option to run it 1920X1080 YES PROGRESS!!
                            IT ran great and looked even better than before. I'm not sure if that was the new Test Suite or the new Nvidia driver I'm using. 185.18.29
                            Hopefully some one smarter than me can figure out why the GUI didn't work.

                            Comment


                            • #15
                              Originally posted by cliff View Post
                              2.0 didn't work I click on the application/System Tools/Phoronix Test Suite and it says Starting Phoronix Test Suite down at the bottom then the box disappears and nothing happens.
                              I tried running it in the terminal and this is the error I get.
                              Fatal error: Class 'GtkWindow' not found in /usr/share/phoronix-test-suite/pts-core/objects/gtk/pts_gtk_window.php on line 23
                              I'm running Jaunty 64 bit.
                              Cliff, I found some detailed build instructions here that worked perfectly for me on Intrepid 64 bit:

                              http://ubuntuforums.org/showthread.php?t=1108731


                              Maybe they'll work for you? Good luck!

                              Comment

                              Working...
                              X