Phoronix IRC Log: 2009-01-14
Dr_ST: hello folks
ndim: michaellarabel: Nope. I still have not actually tried it yet. :)
Kano: michaellarabel: did you ever use the ld preload trick for webcams?
Kano: LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so webcam-app-not-working
Kano: you can expect that skype is using the same as wrapper
Kano: xawtv and some other tools are directly linked agaonst libv4l
Kano: michaellarabel: did you notice the msn bugfix in pidgin 2.5.4
Kano: michaellarabel: you have to update the .Xauthory file everytime
Kano: or try a simple symlink
Kano: btw. the estimated install size you use is the downloaded size
Kano: for the single tests, for all combined you use the right one
Kano: if(($size = pts_estimated_download_size($identifier)) > 0)
Kano: {
Kano: $install_header .= "\nEstimated Install Size: " . $size . " MB";
Kano: }
Kano: that must be wrong
Kano: pts_test_estimated_environment_size
Kano: maybe...
Kano: michaellarabel: http://paste.debian.net/25972/
michaellarabel: Kano: with symlinking the download cache there is one check though that I need to setup first, since PTS does support specifying a download cache across HTTP, FTP, NFS, etc. So first it should check if it's on the local hard drive before determining whether to copy or symlink()
Kano: that should not be so hard
michaellarabel: right
Kano: as long as it is a simple file, symlnk it
Kano: but .Xauth should be a symlink
michaellarabel: k
Kano: and size check is correct that way i guess
Kano: at least it did not show dl size anymore ;)
Kano: michaellarabel: is it normal that the xplane9 bench freezes after 1 min?
michaellarabel: Yes, that's how it was designed by Laminar
michaellarabel: After 30 seconds of the "freeze" it will exit
Kano: thats crap
Kano: when it is desinged to run 1 min, then why wait 30s longer?
michaellarabel: There is another benchmark mode running for that 30 seconds or something along those lines, but PTS ignores that one.
Kano: ah
Kano: and what do you do against the kde bar being always on top
Kano: for some tests like specview
Kano: specially when you select a size
michaellarabel: The only time I've ever ran into a bar problem has been specviewperf when running at native resolution
Kano: thats what i mean
Kano: same for smokin-guns
Kano: there setting the size does not even work
michaellarabel: hmmm not sure about that problem
Kano: for a verified status thats bad
michaellarabel: It was working fine for me when I checked but yeah I will look into it.
Kano: the fix is trivial
michaellarabel: what is the fix for that?
Kano: you forgot one option to USE the custom res
Kano: +set r_mode -1 +set r_customwidth $VIDEO_WIDTH +set r_customheight $VIDEO_HEIGHT
Kano: without r_mode +1 it will never work
michaellarabel: Did you try it to confirm that fixes it?
Kano: sure
Kano: i know that because i use a custom res, but i usually change the fov too
Kano: the framerate is really high with my system, so benching is just for fun ;)
Kano: there was an override to use a new game.so file, i just dont remember it
michaellarabel: Did it work though? I thought in the stock config file I have it downloads that was set
Kano: it works when you set this together with custom res
michaellarabel: Did you try it though in the PTS file of adding +set r_mode -1
Kano: you basically dont need a configfile before
Kano: no need to download
Kano: seta r_mode "10" is in your config
Kano: didnt you see that?
michaellarabel: oops,
michaellarabel: I'll change that to -1 there then
Kano: hmm not really stable that framerate, 2x150 and 1x 220 fps...
Kano: maybe speedstep
Kano: without always > 220
michaellarabel: Kano: r_mode fixed in master
Kano: and the other changes?
michaellarabel: the ones from the pastebin? Yes, aside from the cache symlink until I add in the other check and likely a check to make sure it only symlinks files that will be extracted
Kano: the xauth symlink is a major fix
Kano: because after reboot it will not work
michaellarabel: I did that
Kano: ok
Kano: how did you specifiy nfs download positions?
michaellarabel: It just needs to be set in the user-config.xml. But with how PTS was designed plus how it's using PHP, it will transparently work across most protocols.
Kano: did not know that there was a userspace php client for nfs
Kano: usually you mount nfs
michaellarabel: IIRC, it works as long as fopen wrappers are enabled.
Kano: did you ever try?
michaellarabel: For NFS, no. Only HTTP and FTP
Kano: http + ftp is more easy than nfs
michaellarabel: RIght
Kano: sse2 gives only a slight boost from 217 to a bit over 220 fps with sg
Kano: testet with 1680x1050
Kano: well usually i play with vsync on...
Kano: merged results look always a bit wrong however
michaellarabel: Hmm?
Kano: some results merge,some dont
Kano: did you try to merge the results i gave you yesterday
michaellarabel: Example? It should permitting all of the criteria matches.
michaellarabel: Yes, all but one merged since for one of the tests, the other run didn't have that test
Kano: for that specview10 test in opengl-workstataion
Kano: it runs basially all tests, but takes only ugnx?
michaellarabel: ugnx was just what was selected for that suite
Kano: did you see how long that takes? it must be maybe 10 tests or so in 1?
Kano: michaellarabel: how about using is_file check?
Kano: when is_file true use symlink
chomwitt1: hi. are the any easy to use video card benchmarks to use in linux?
michaellarabel: chomwitt1: http://www.phoronix-test-suite.com/
Kano: michaellarabel: http://paste.debian.net/25980/
michaellarabel: Kano: That should work if is_file doesn't use fopen wrapper at all
Kano: please try
Kano: for local files it works
michaellarabel: "As of PHP 5.0.0, this function can also be used with some URL wrappers. Refer to List of Supported Protocols/Wrappers for a listing of which wrappers support stat() family of functionality."
michaellarabel: I could do is_file() && strpos($file, "://")
chomwitt1: michaellarabel: thanks!
chomwitt1: trying to run 'glmark' and 'bonnie' benchmark i get a warning './bonnie: line 6: ./bonnie_/sbin/bonnie++: this file or dir doesnt exist.
michaellarabel: chomwitt1: What distro? What if you try running anything else?
chomwitt1: michaellarabel: debian lenny
chomwitt_: sorry, bad connection. did i miss sth?
chomwitt_: i get the same warning with x11perf
maligor: I wonder if we'll see games using qt for stuff now with lgpl, seen bunch of games using wxwidgets for some unfathomable reason
samosa: amazing article...the one about $20 cpu + $30 gpu = hd
maligor: I've tested my 8600GT also
maligor: on a Athlon64 1.8GHz single core
maligor: it played 1080p fine
maligor: that thing runs windows for now tho, and it was connected to a tiny display
samosa: I wish you could do the same with integrated gpu tho...
maligor: you can
maligor: the geforce 9300 igp
samosa: sorry, mean integrated intel gpu
maligor: 9300 mgpu maybe also?
maligor: err.. 8300
Kano: michaellarabel: did you ever try http or ftp for a dl dir?
Kano: it definitely does NOT work
michaellarabel: What isn't working about it? Last time I tried it for a download cache was around PTS 0.6.0
Kano: i installed a local ftpserver - with anon. login
Kano: put a file into it, made sure that there is an xml file with it too,but dl started
Kano: tell me why
michaellarabel: hmmm I'll need to look into it
Kano: or does your cache check work differently
michaellarabel: That XML file should just hold the MD5sums for all of the files, since over those protocols I just can't do md5_file() of it, so it relies upon that file to look to see if the MD5 matches in there
Kano: it does not work with pure checkout
michaellarabel: pure checkout?
Kano: CacheDirectory>ftp://localhost/
Kano: unpatched
Kano: but as the is_file check is not even needed when this does not work...
michaellarabel: inside /localhost/ right there is it all of the files or is it localhost/download-cache/ inside there
Kano: no dir
Kano: i installed proftpd, uncommented the anony. options and put the files into /home/ftp
Kano: no special config
michaellarabel: I'll need to look into it then, though I think with PTS 1.4 it may have been working for some companies using it on their LAN, but none of that code has changed between 1.4 and 1.6.
Kano: i highly doubt that
Kano: also you could use curlftp to mount ftp via fuse
Kano: even inside your home dir
Kano: http does not work too
Kano: only read dir
Kano: real
michaellarabel: I'll look into the issue right now
michaellarabel: Kano: Should be fixed now for remote download caches. I just tried over HTTP and it worked after making a small fix due to a 1.6 regression.
Kano: michaellarabel: when you handle this before, why dont you use symlinks by default??
michaellarabel: I hadn't done it before just because I didn't want to assume all files were compressed and would be extracted.
Kano: it would work with not extracted files too
michaellarabel: Probably. I haven't thought about all of thest files though to be for certain if any of the test scripts would have problems.
Kano: well all tests i tested so far worked fine with symlink
Kano: why should a test not work?
Kano: best use it and if something breaks i guess somebody will cry loud ;)
michaellarabel: Kano: I'll make the change as soon as PTS 1.8 opens
Kano: just a little 1 line change?
michaellarabel: Yes, since 1.6 will be out in about a week, unless I do sufficient testing before hand to ensure no test breaks.
Kano: then test it, should be really easy
michaellarabel: Thinking about it some more, I'll also need to add in a check to ensure that the download cache isn't in /media/, since that could be removable and thus break.
Kano: not good, all is in media here ;)
Kano: maybe add an option
Kano: to force copy
Kano: or to force symlik
michaellarabel: Adding it as a user-config.xml option I could easily do pre-1.6
Kano: good
Kano: michaellarabel: if php works the same as bash then you dont need to test for a link
Kano: michaellarabel: a link to an existing file -> -f test returns of course true, a dangling links false
Kano: if(!is_file($download_destination) || (is_link($download_destination) && !is_file(readlink($download_destination))))
Kano: that looks like overkill
Kano: did you test it?
Kano: a link to a file is just like a file, the only think is that when delete it a symlink does not delete the orginal file (a hardlink would)
Kano: well only when you delete all hardlink
Kano: bye for now