View Full Version : Phoronix Test Suite 1.8 Released
phoronix
04-06-2009, 09:30 AM
Phoronix: Phoronix Test Suite 1.8 Released
Phoronix Media has today released Phoronix Test Suite 1.8 (codenamed "Selbu"), which is a sizable update to its very popular testing software. Phoronix Test Suite 1.8 introduces a graphical user-interface making it easier for end-users to test out their computer systems, adds support for reference system comparisons, is compatible with more *BSD operating systems, and adds a number of new test profiles and suites. The Phoronix Test Suite is designed to run benchmarks/tests atop Linux, Mac OS X, *BSD, and OpenSolaris systems in a clean, reproducible, and easy-to-use way.
http://www.phoronix.com/vr.php?view=13676
Nice to see a GUI for PTS.
joffe
04-06-2009, 11:35 AM
The GUI doesn't work in OpenSolaris, either I am retarded or there's something missing which I do not know how to add;
username@opensolaris:~# phoronix-test-suite gui
PHP Fatal error: Class 'GtkWindow' not found in /usr/share/phoronix-test-suite/pts-core/objects/gtk/pts_gtk_window.php on line 23
username@opensolaris:~#
Michael
04-06-2009, 11:43 AM
joffe: Do you have PHP-GTK installed? Is it available in OpenSolaris? I didn't even think it was packaged for OpenSolaris.
Ubuntu User
04-06-2009, 11:51 AM
Hello
Do you have a list of new tests?
I've looked at the history and it appears these are new since 1.6:
povray
c-ray
bwfirt
Is that right? Are there any more?
Thanks
Michael
04-06-2009, 11:52 AM
c-ray, pov-ray, and bwfirt are new. The vdrift test profile is also new, since it works now, and in previous releases it was marked as broken.
joffe
04-06-2009, 12:01 PM
joffe: Do you have PHP-GTK installed? Is it available in OpenSolaris? I didn't even think it was packaged for OpenSolaris.
Well, I suppose not. I saw that, and what I did was that I grabbed everything in the repository with 'gtk' or 'php' in it in the hopes that it had been labelled by a silly person to something else. I guess not.
Anyway, I guess I'll just have to figure out the CLI then. If anyone tries to tell me how to compile php gtk for opensolaris I might just self-immolate.
I found compiling php-gtk to be quite... hard. Still haven't accomplished it :( (hence no Glade yet. Sorry michael :()
It does look like your php-gtk is old or broken.
WSmart
04-06-2009, 12:52 PM
I get the same error in Ubuntu, 8.10, pre-release updates installed:
desktop:~$ phoronix-test-suite gui
Fatal error: Class 'GtkWindow' not found in /usr/share/phoronix-test-suite/pts-core/objects/gtk/pts_gtk_window.php on line 23
I don't see a PHP-GTK, searching Synaptic. I do have all the recommended requirements installed, as listed with Synaptic.
Be real, be sober.
WSmart
04-06-2009, 12:55 PM
Oh, that's right. Forget it. That has to be downloaded and compiled, for now. Thanks.
Melcar
04-06-2009, 12:55 PM
I get the same error in Ubuntu, 8.10, pre-release updates installed:
desktop:~$ phoronix-test-suite gui
Fatal error: Class 'GtkWindow' not found in /usr/share/phoronix-test-suite/pts-core/objects/gtk/pts_gtk_window.php on line 23
I don't see a PHP-GTK, searching Synaptic. I do have all the recommended requirements installed, as listed with Synaptic.
Be real, be sober.
I don't think Ubuntu has the package available.
WSmart
04-06-2009, 01:51 PM
Yeah. I looked at this before. I get a lot of errors when I try to ./buildconf the PHP-GTK. Apparently there's something with libtools or whatever being split up. I found a post. It's not for PHP-GTK, but it looks like the same issue.
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/262251
“It seems that libtool.m4 from the old libtool version was split into several files: libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4
I think it also works if you temporarily cat lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4 into libtool.m4”
Thanks.
Michael
04-06-2009, 02:38 PM
A 64-bit PHP5-GTK package for Ubuntu/Debian can be found @ http://www.phoronix-test-suite.com/misc/php5-gtk2_2.0.1-0_amd64.deb
GreatWalrus
04-06-2009, 02:44 PM
Hmm, php-gtk worked for me with 1.80b1, but now it is giving me the same "php-gtk module must be loaded" error. I will look into it some more and see if there's something I need to change for 1.80
Melcar
04-06-2009, 02:46 PM
I installed the php package but I keep getting the "must be loaded" bit as well:
The PHP GTK module must be loaded for the GUI.
This module can be found @ http://gtk.php.net/
Michael
04-06-2009, 02:49 PM
Oops, forgot to make one minor note:
In the /etc/php5/cli/conf.d folder (or something similar) create a gtk2.ini file and just do:
extension=php_gtk2.so
or just append that line to your php.ini file.
GreatWalrus
04-06-2009, 02:55 PM
Ok, I figured out what was wrong for me.
In /etc/php/php.ini, the php_gtk2 module was not loaded. I thought I loaded before - maybe I was dreaming or uninstalling PTS 1.8b1 removed it.
Anyways, to fix this I located the extensions part of /etc/php/php.ini (also sometimes /etc/php5/php.ini, the important thing is to find php.ini in /etc/) and added the php_gtk2 module.
; available extensions
;
;
;
;
;extension=pdo_sqlite.so
;extension=pgsql.so
extension=php_gtk2.so
extension=posix.so
;extension=pspell.so
extension=session.so
;extension=shmop.so
;extension=snmp.so
;
;
Note: There are more extensions, I just copied a small section of the list since it is fairly long.
Edit: Looks like Michael beat me to it. Anyways, I forgot to add that no restart is needed. Just append the file, save, and execute phoronix-test-suite gui.
Melcar
04-06-2009, 02:57 PM
Works now. Looks really nice.
WSmart
04-06-2009, 03:33 PM
There's a patch for the PHP-GTK, and also the edit Mike mentions above. Check out this post on the Ubuntu forum.
http://ubuntuforums.org/showthread.php?t=1108731&highlight=php-gtk
"Just spent a good chunk of my friday night (good thing I'm sick and have nothing better to do) installing the newest version of the Phoronix Test Suite." Go go, go Budluva04 go!
Thanks all.
It seems to have got some problems with Debian 4.0 - especially with the res detection, that worked with older releases.
Michael
04-06-2009, 09:11 PM
It seems to have got some problems with Debian 4.0 - especially with the res detection, that worked with older releases.
What is output of phoronix-test-suite system-info ?
There is no error with
phoronix-test-suite system-info
====================================
Phoronix Test Suite v1.8.0 (SELBU)
System Information
====================================
Hardware:
Processor: Intel Core 2 Quad CPU Q9300 @ 2.50GHz (Total Cores: 4), Motherboard: Gigabyte Co. Ltd. G33-DS3R, Chipset: Intel 82G33/G31/P35/P31 + ICH9R, System Memory: 2012MB, Disk: 200GB WDC WD1600JB-00GVA0, Graphics: GeForce 8800 GTS 512 512MB (650/972MHz)
Software:
OS: KANOTIX 2007 Thorhammer, Kernel: 2.6.28-11-generic (i686), Desktop: KDE 3.5.5, Display Server: X.Org Server 7.1.1, OpenGL: 3.0.0 NVIDIA 185.19, Compiler: GCC 4.1.2, File-System: ext3, Screen Resolution: 1680x1050
But when you run any test then you see
sh: line 0: export: `1680': not a valid identifier
sh: line 0: export: `1680x1050': not a valid identifier
b15hop
04-07-2009, 04:03 AM
There is no error with
phoronix-test-suite system-info
====================================
Phoronix Test Suite v1.8.0 (SELBU)
System Information
====================================
Hardware:
Processor: Intel Core 2 Quad CPU Q9300 @ 2.50GHz (Total Cores: 4), Motherboard: Gigabyte Co. Ltd. G33-DS3R, Chipset: Intel 82G33/G31/P35/P31 + ICH9R, System Memory: 2012MB, Disk: 200GB WDC WD1600JB-00GVA0, Graphics: GeForce 8800 GTS 512 512MB (650/972MHz)
Software:
OS: KANOTIX 2007 Thorhammer, Kernel: 2.6.28-11-generic (i686), Desktop: KDE 3.5.5, Display Server: X.Org Server 7.1.1, OpenGL: 3.0.0 NVIDIA 185.19, Compiler: GCC 4.1.2, File-System: ext3, Screen Resolution: 1680x1050
But when you run any test then you see
sh: line 0: export: `1680': not a valid identifier
sh: line 0: export: `1680x1050': not a valid identifier
b15hop@Enterprize $ ./phoronix-test-suite system-info
====================================
Phoronix Test Suite v1.8.0 (SELBU)
System Information
====================================
Hardware:
Processor: Unknown (Total Cores: 1), Motherboard: Unknown, Chipset: VIA VT8366/A/7, System Memory: UnknownMB, Disk: 160GB ST3160021A, Graphics: GeForce 7800 GS/AGP/SSE/3DNOW! 256MB (375/600MHz)
Software:
OS: Linux, Kernel: 2.6.26-ARCH (i686), Display Server: X.Org Server 1.4.0.90, OpenGL: 2.1.2 NVIDIA 177.80, Compiler: GCC 4.3.0, File-System: ext2/ext3, Screen Resolution: 1280x1024
b15hop@Enterprize $ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 6
model name : AMD Athlon(tm) XP 2100+
stepping : 2
cpu MHz : 1761.447
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow up
bogomips : 3526.45
clflush size : 32
power management: ts
b15hop@Enterprize $ cat /proc/meminfo
MemTotal: 2075672 kB
MemFree: 1668296 kB
Buffers: 18456 kB
Cached: 105980 kB
SwapCached: 0 kB
Active: 335840 kB
Inactive: 37048 kB
HighTotal: 1179584 kB
HighFree: 817036 kB
LowTotal: 896088 kB
LowFree: 851260 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 60 kB
Writeback: 0 kB
AnonPages: 248452 kB
Mapped: 35692 kB
Slab: 14840 kB
SReclaimable: 12080 kB
SUnreclaim: 2760 kB
PageTables: 1068 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 1037836 kB
Committed_AS: 518668 kB
VmallocTotal: 114680 kB
VmallocUsed: 54176 kB
VmallocChunk: 53748 kB
b15hop@Enterprize $
I'm not sure mine is still working properly either. I'm using 1.8.0. I can't seem to download packages, complains about md5 being incorrect.
ie: b15hop@Enterprize $ ./phoronix-test-suite install nexuiz
Checking For Needed External Dependencies.
====================================
Downloading Files For: nexuiz
Estimated Download Size: 636 MB
====================================
Downloading File: nexuiz-25.zip
No downloading application available.
The MD5 check-sum of the downloaded file is incorrect.
Attempting to re-download from another mirror.
Downloading File: nexuiz-25.zip
No downloading application available.
The MD5 check-sum of the downloaded file is incorrect.
Attempting to re-download from another mirror.
Downloading File: nexuiz-25.zip
No downloading application available.
The MD5 check-sum of the downloaded file is incorrect.
Attempting to re-download from another mirror.
Downloading File: nexuiz-25.zip
No downloading application available.
The MD5 check-sum of the downloaded file is incorrect.
Download of Needed Test Dependencies Failed! Exiting.
Installation of nexuiz test failed.
b15hop@Enterprize $
So I'm not having much luck either. =/
Michael
04-07-2009, 06:33 AM
b15hop: What happens if you try any other test? Say phoronix-test-suite install graphics-magick
b15hop
04-07-2009, 06:37 AM
b15hop: What happens if you try any other test? Say phoronix-test-suite install graphics-magick
b15hop@Enterprize $ ./phoronix-test-suite install graphics-magick
Checking For Needed External Dependencies.
====================================
Compiler / Development Libraries
Possible Package Names: gcc
====================================
The above dependencies should be installed before proceeding. Press any key when you're ready to continue.
================================================== ===================
Development Files For IJG JPEG Library
Possible Package Names: libjpeg62-devel, libjpeg62-dev, libjpeg-devel
================================================== ===================
The above dependencies should be installed before proceeding. Press any key when you're ready to continue.
====================================
2 Tests To Be Installed
Estimated Download Size: 35.25 MB
Estimated Install Size: 21.7 MB
====================================
====================================
Downloading Files For: photo-sample
Estimated Download Size: 29.4 MB
====================================
Downloading File: pts-sample-photos.tar.bz2
No downloading application available.
The MD5 check-sum of the downloaded file is incorrect.
Attempting to re-download from another mirror.
Downloading File: pts-sample-photos.tar.bz2
No downloading application available.
The MD5 check-sum of the downloaded file is incorrect.
Would you like to try downloading the file again (Y/n)? Y
Downloading File: pts-sample-photos.tar.bz2
No downloading application available.
The MD5 check-sum of the downloaded file is incorrect.
Would you like to try downloading the file again (Y/n)? Y
Downloading File: pts-sample-photos.tar.bz2
No downloading application available.
The MD5 check-sum of the downloaded file is incorrect.
Download of Needed Test Dependencies Failed! Exiting.
Installation of photo-sample test failed.
======================================
Downloading Files For: graphics-magick
Estimated Download Size: 35.25 MB
======================================
Downloading File: GraphicsMagick-1.3.3.tar.bz2
No downloading application available.
The MD5 check-sum of the downloaded file is incorrect.
Attempting to re-download from another mirror.
Downloading File: GraphicsMagick-1.3.3.tar.bz2
No downloading application available.
The MD5 check-sum of the downloaded file is incorrect.
Attempting to re-download from another mirror.
Downloading File: GraphicsMagick-1.3.3.tar.bz2
No downloading application available.
The MD5 check-sum of the downloaded file is incorrect.
Attempting to re-download from another mirror.
Downloading File: GraphicsMagick-1.3.3.tar.bz2
No downloading application available.
The MD5 check-sum of the downloaded file is incorrect.
Download of Needed Test Dependencies Failed! Exiting.
Installation of graphics-magick test failed.
b15hop@Enterprize $
I have that software installed by the way.
Michael
04-07-2009, 07:02 AM
Do you not have curl or wget installed? If you do, where are they located?
b15hop
04-07-2009, 08:42 PM
Do you not have curl or wget installed? If you do, where are they located?
b15hop@Enterprize $ wget
wget: missing URL
Usage: wget [OPTION]... [URL]...
Try `wget --help' for more options.
b15hop@Enterprize $ curl
curl: try 'curl --help' or 'curl --manual' for more information
b15hop@Enterprize $ whereis wget
wget: /usr/bin/wget /usr/share/man/man1/wget.1.gz
b15hop@Enterprize $ whereis curl
curl: /usr/bin/curl /usr/include/curl /usr/share/man/man1/curl.1.gz
b15hop@Enterprize $
Michael
04-07-2009, 08:45 PM
What is your echo $PATH output?
b15hop
04-07-2009, 09:11 PM
What is your echo $PATH output?
b15hop@Enterprize $ echo $PATH
/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/opt/bin:/usr/local/bin:/opt/java/jre/bin:/opt/kde/bin:/opt/mozilla/bin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/core:/opt/qt/bin:/opt/intel/cc/10.1.015/bin
b15hop@Enterprize $
Jimmy
04-13-2009, 08:33 PM
I give up. php-gtk isn't available from my distribution and the source for it won't build.
Has anyone successfully got it working on OpenSuse 11?
deanjo
04-13-2009, 08:55 PM
I give up. php-gtk isn't available from my distribution and the source for it won't build.
Has anyone successfully got it working on OpenSuse 11?
Jimmy it is available for suse (and yes it runs in suse fine). You need to add the PHP Extensions repository from the build service. (Add one of the following URL's into Yasts Repository.
http://download.opensuse.org/repositories/server:/php:/extensions/openSUSE_11.0/ <---- for 11.0
http://download.opensuse.org/repositories/server:/php:/extensions/openSUSE_11.1/ <---- for 11.1
The package that you are looking for is called php5-gtk.........rpm
Jimmy
04-14-2009, 04:23 PM
Jimmy it is available for suse
Mumble grumble grumble... I already looked there... or so I thought. Meh... wasn't the only thing I missed yesterday. Thanks deanjo.
sandalle
04-27-2009, 06:05 AM
I get the same error in Ubuntu, 8.10, pre-release updates installed:
desktop:~$ phoronix-test-suite gui
Fatal error: Class 'GtkWindow' not found in /usr/share/phoronix-test-suite/pts-core/objects/gtk/pts_gtk_window.php on line 23
I don't see a PHP-GTK, searching Synaptic. I do have all the recommended requirements installed, as listed with Synaptic.
I also have this issue on Source Mage GNU/Linux with PHP-GTK 2.0.1. I know PHP-GTK has GtkWindow support:
$ nm $(php-config --extension-dir)/php_gtk2.so |grep GtkWindow|wc -l
125
I even tried with php_gtk2.so (the only file php-gtk installs) in /usr/lib, with no success.
This gets me further:
Oops, forgot to make one minor note:
In the /etc/php5/cli/conf.d folder (or something similar) create a gtk2.ini file and just do:
extension=php_gtk2.so
or just append that line to your php.ini file.
but now I get:
PHP Warning: PHP Startup: Unable to load dynamic library './php_gtk2.so' - ./php_gtk2.so: cannot open shared object file: No such file or directory in Unknown on line 0
Fatal error: Class 'GtkWindow' not found in /usr/share/phoronix-test-suite/pts-core/objects/gtk/pts_gtk_window.php on line 23
So PHP doesn't seem sure it's extension are where `php-config --extension-dir` says it is? Apparently not, by modifying my /etc/php.ini to have extension_dir set to the value returned by $(php-config --extension-dir) then `phoronix-test-suite gui` now loads. :)
Looking at my /etc/php.ini (default install from PHP with the Phoronix upload requirements changed) I see:
; Directory in which the loadable extensions (modules) reside.
extension_dir = "./"
but this then breaks PHP (e.g. trying to recompile php-gtk gives this):
checking for gawk... gawk
checking for PHP-GTK support... yes, shared
checking for PHP executable in /usr/bin... found version 5.2.9
configure: error: PHP CLI version is required, found
! Problem Detected !
If I set my extension_dir back to "./" my PHP apps can now find PHP CLI when compiling, but `phoronix-test-suite gui` can no longer find './php_gtk2.so'.
another_sam
08-04-2009, 11:22 AM
Fatal error: Class 'GtkWindow' not found in /usr/share/phoronix-test-suite/pts-core/objects/gtk/pts_gtk_window.php on line 23
Got this for PTS 2.0.0 on Ubuntu 9.04 Desktop updated until today. Anyone with the same issue?
I installed it clicking
http://www.phoronix-test-suite.com/releases/repo/pts.debian/files/phoronix-test-suite_2.0.0_all.deb
and following the wizard. All the process went fine apparently.
Thank you.
Michael
08-04-2009, 11:23 AM
Got this for PTS 2.0.0 on Ubuntu 9.04 Desktop updated until today. Anyone with the same issue?
I installed it clicking
http://www.phoronix-test-suite.com/releases/repo/pts.debian/files/phoronix-test-suite_2.0.0_all.deb
and following the wizard. All the process went fine apparently.
Thank you.
Did you install php5-gtk?
another_sam
08-04-2009, 11:31 AM
Did you install php5-gtk?
nop.
should I download
http://gtk.php.net/do_download.php?download_file=php-gtk-2.0.1.tar.gz
compile and install?
does it exist another dumber way to install php-gtk on ubuntu?
thanks!
edit: I tried but I can't
http://forum.codecall.net/tutorials/5680-setting-up-php-gtk-ubuntu.html#post189668
make: *** No targets specified and no makefile found. Stop.
http://ubuntuforums.org/showthread.php?p=7732301#post7732301
Fatal error, aborting.
cvsread: no such user
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.