Phoronix IRC Log: 2010-04-30
gohan: anyone installed Lucid Lynx ?
r4: he should use arch!
Megagun: New steamlinux update.
Megagun: After doing the mod-steam.sh trick (to bypass steamui.so error) I currently get:
Megagun: [----] !!! Fatal Error: Steam failed to load: *SteamStartEngine(0xffa0ce28) failed with error 1: Failed to create directory /home/megagun/Steamhttp:/store.steampowered.com
Ivanovic: remove the http:/ part
Megagun: Ah, yeah, my steam.cfg was bugged. Now it just closes without any error message.
zeroedout: I just wish valve would announce support already. The day I can play on linux, I'm buying cs: source and left 4 dead 2
jrr: I like this license idea
Flyser_: phoronix should report about this: http://0pointer.de/blog/projects/systemd.html
jrr: definitely, then I'd read phoronix's summary instead of this long thing =]
Flyser_: I am reading the long thing right now. sounds awesome
TheUni: michaellarabel: any idea what's up with lkml? it's been longer than this morning, down for ~2 days now.
mastertheknife: Current progress with Steam's closed linux client, after "forcing" it to update: http://paste2.org/p/802750
maligor: heh, so it actually exists?
maligor: I wonder when they're going to announce it
mastertheknife: no idea
mastertheknife: you can download the files in that file, but it refuses to update when launching it.. had to "trick" it to update
mastertheknife: but it fails launching
mastertheknife: for some reason
maligor: mastertheknife, does it give any errors?
mastertheknife: i ran it under gdb
mastertheknife: and it just stopped responding and had to be killed
mastertheknife: normal kill didnt kill it.. had to kill -9 gdb and then steam
maligor: maybe it's their drm system
mastertheknife: the updated version didnt hang and said launching new steam
andar: i wonder if they'll announce something when the osx version launches
mastertheknife: the problem is that everytime it updates it ruins the change i did
maligor: I doubt the linux version is far enough
andar: they could announce they are working on it though
mastertheknife: the reason update fails is because it tries to update from store.internal.steampowered.com, which doesn't resolve, so changing it to store.steampowered.com with hex editor gets it to work, kind of
andar: mastertheknife, why not just add it to your hosts file?
mastertheknife: it doesnt work when adding to hosts file
mastertheknife: because then that file is 404
mastertheknife: steam's http server is aware of the name \ virtual host
maligor: could use a http proxy server, but that's be unnessesarily complex
andar: i see
mastertheknife: i have no idea why they dont announce it :(
maligor: or modify the nat tracker module
maligor: err.. make on
maligor: make one I mean
maligor: I don't think http has any tracking now that I think about it
redeeman: or just not bother messing with ugly files from steam that they clearly arent ready or willing to properly release?
mastertheknife: I'm sure those files work, but only in Steam's internal network :P
mastertheknife: store.internal.steampowered.com is an evidence to that :)
redeeman: not really
mastertheknife: maybe some day some hacker will tell
redeeman: you cannot know what they have working or running
maligor: the updater clearly is
maligor: if I was working on a massive networked system and a prototype client, I wouldn't allow the prototype to connect to the public production server
redeeman: and why not?
redeeman: what possible reason could you have?
maligor: easier to isolate problems
redeeman: surely you're not saying you'd be afraid of trashing the production setup?
redeeman: i fail to see how
redeeman: the production server clearly work
maligor: you don't have logs full of idiots trying stuff
redeeman: thus all issues must be debugged in client
mastertheknife: I think Valve should have released a beta client of the Mac OS one, people could help them test
mastertheknife: same for linux one
monreal: they have released a mac beta
maligor: probably doesn't fit their public image
mastertheknife: wow, i found instructions in the phoronix forum how to get further
mastertheknife: without the need to even modify the steam binary :)
mastertheknife: the instructions can be found in phoronix forums, in gaming subforum in thread "there's no doubt steam is coming to linux", in page 3 & 4, in there you will find you need to add LD_PRELOAD for steamui.so and create steam.cfg for the updating to work
mastertheknife: anyways this error i get now is really weird...
Megagun: mastertheknife: remove http:// from the steam.cfg file
mastertheknife: Megagun: trying that
mastertheknife: Megagun: Seems to download fine without the http, lets see how it will proceed
mastertheknife: Megagun: Now it proceeds just fine but still exists for some reason, hmm..
r4: yep thats what i get
mastertheknife: seems to fail at Verifying installaton, maybe missing some files
mastertheknife: I found a string called "steam_dev.cfg" in steam_client.so
mastertheknife: Also in steamui.so
andar: it'd sure be easier if they would just release the source code
andar: plus reduce their development costs
maligor: it'd also reduce their income
maligor: steam is a online sales platform
andar: i'm pretty sure they don't sell steam
andar: how would having a free platform to purchase games reduce their income?
maligor: how would you implement drm in a free platform?
maligor: err... Free platform I mean
maligor: even DMCA/EUCD wouldn't protect them in that case
andar: i'm pretty sure there is no DMCA/EUCD in my country
mastertheknife: I found 2 new options.. -dev and -nocache but still nothing happens
maligor: what does that have to do with valve?
maligor: the EU has 500 million people, Canada has 40
andar: i think we have more than 40 people here
andar: last count anyways
maligor: and US has 300
maligor: andar, no man.. it's all an illusion outside the people you know
andar: peers out of his igloo
maligor: besides, even if EUCD/DMCA didn't exist, they'd still want to protect their straw house
andar: they could keep that portion closed
maligor: sure, maybe they will
maligor: I think they've made vague statements to that end
maligor: err..wrong channel :P
maligor: heh, mixed conversations
maligor: no, they couldn't do that
maligor: or rather they probably wouldn't want to
maligor: you'd need a strong separation
andar: oh yea, i don't think they would
andar: all i was saying is that it would make it easier for us if we had the source code
andar: we might be able to get it working
maligor: their new client is probably designed to be cross platform
maligor: they use CEF for the webbrowser
mastertheknife: the linux32 folder misses some libraries that the osx client got
mastertheknife: such as gameoverlay
mastertheknife: but i guess its because its not ready
mastertheknife: we're probably missing a few files or options to get it to start
mastertheknife: because it says "unlinking blah blah" which is something done as cleanup, and it says that right after Verifying installation.. hmm
sharky: cool vid
mastertheknife: The timestamp was just changed again this hour
mastertheknife: lets see how far this version goes
mastertheknife: Its surely smaller, 24 MB instead of 25 MB, hmm
mastertheknife: open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 4
Igneous: I observed that in an strace of an older version
Igneous: was curious why it was reading /etc/passwd :/
mastertheknife: but thats after saying Shutting down..
mastertheknife: the real problem seems to be missing libraries
mastertheknife: its trying to open some .so files that dont exist on my system
Igneous: I noticed it checks some pretty weird places
Igneous: like /usr/lib/i686
Igneous: for all the steam libs
Igneous: but even if they're there it ignores them
r4: well im going to be this weekend...when i come back on sunday you guys are going to have this working....right? :P
mastertheknife: another update.. weird
Igneous: I really need to sign up for the phoronix forums
Igneous: we need to start a thread documenting the workization process
Igneous: right now there are three steam-related threads with somewhat useful tidbits strewn about them :/.. would be nice if they were all in one place
mastertheknife: there is a one
mastertheknife: in gaming subforum called "There is no doubt steam is comign to linux"
Igneous: ah yeah I saw that
Igneous: but that's still mostly discussion
Igneous: I'm talking about a.. "Don't fucking post unless you can get the client to advance past the point of the previous poster" thread
Igneous: googles around for linux x86 disassemblers
Igneous: or I guess gdb will do disassembly
mastertheknife: heh in windows its all much easier
r4: so damned orphaned pipes!
r4: get a family already!
r4: those damned even
mastertheknife: I wonder whats missing to make it continue
mastertheknife: i wanna see the gui :)
Igneous: ..this is a shitload of asm
Igneous: [igneous@vostro:linux32]$ du -h steam.s
Igneous: 36M steam.s
mastertheknife: I believe the reason valve didnt announce a linux client is because they are not sure on their direction, so for now its an internal pet for them
mastertheknife: I'm really offended that Mac gets it before linux
mastertheknife: considering linux users cried years for it and suddenly they pop out a mac client
Igneous: I just hope they support it.. that's all I care about
Igneous: I don't want it to become like flash
Igneous: (closed, slow and buggy)
mastertheknife: I think steam trying to dynamicly load libGLcore.so is a good sign
r4: what about nvidia
r4: arent they closed?
mastertheknife: what do you mean
mastertheknife: Linux was held back as an alternative to windows because of gaming, barely any linux games. When steam comes to linux, so many people will finally ditch windows including me
mastertheknife: Its just like what happend with IE
mastertheknife: IE used to dominate until firefox, opera and chrome came out and smashed it
Igneous: well in this case nothing better is coming along, it's just becoming available on a *nixy platform
Igneous: more or less like microsoft IE for unix ;)
r4: after steam i only have 1 or two more things
mastertheknife: r4 and whats that?
Igneous: goddamnit I hate ubuntu users.. googled "internet explorer for u--" and the first suggested completion was "internet explorer for ubuntu"
r4: getting my mbox2 to work
r4: thats a BIG one
mastertheknife: 64bit gentoo :)
Igneous: aaaanyway: http://en.wikipedia.org/wiki/Internet_Explorer_for_UNIX
Igneous: 64bit arch here
r4: 32bit arch
Igneous: mastertheknife: do you ride ~amd64?
Igneous: highfives r4
mastertheknife: no, just amd64
mastertheknife: ~amd64 just for opera and wine i think
mastertheknife: KDE 3.5 (I dont like KDE4 for some reason, seems very dull) from kde-sunset overlay :)
Igneous: buuh, guis
Igneous: well.. sorry, "Desktop environments"
mastertheknife: how else would you surf.. with links? :P
Igneous: ever looked into a tiling window manager?
Igneous: uses ratpoison
Igneous: best wm ever
Igneous: I was pretty high when I made this, but it still shows off most of the functionality
r4: i like openbox
Igneous: openbox is good stuff
r4: it handles dual monitors really well
Igneous: I moved to a laptop with a touchpad, though.. and decided rather than carrying a mouse around, I'd just switch to a tiler
r4: you can setup two completely different X servers
Igneous: so spoiled on thinkpads
r4: i used to use fluxbox
r4: fluxbox is ok
r4: openbox is wayyy better though
Igneous: the funny thing is.. if I were to go back to a floating wm, even after using openbox for years.. now I would probably use fluxbox
Igneous: because the configuration is more or less plain-text-y, whereas openbox is xml.. which I've developed a hatred for
r4: i dont mind it
r4: i have some cool mouse functions that deal with windows that can make your system seem like a tiling manager
r4: or at least look :)
r4: thats my fake tile setup
r4: or one of htme i shoudl say
Igneous: allow me to show you how it is done
r4: http://img338.imageshack.us/img338/3609/201004301680x1050.png <---another way
Igneous: grr.. omploader is down
Igneous: aaaand they converted my pretty png to a low quality jpeg.. awesome :(
r4: still looks nice
r4: i should do that with this old computer i have
r4: 533mhz 64mb ram
Igneous: my boss does not understand my love for ratpoison
Igneous: he gave me this (more or less) high spec'd dell laptop, and I nuked the win7 install and installed arch with ratpoison
Igneous: Hostname: clug - OS: Linux 2.6.18-1-pve/i686 - CPU: Intel(R) Core(TM)2 Duo (2992.495 MHz) - Processes: 21 - Uptime: 19d 3h 3m - Load Average: 0.01 - Memory Usage: 105.57MB/512.00MB (20.62%) - Disk Usage: 0.82GB/4.50GB (18.20%)
r4: i wonder if i can run a decent setup with that old PC
Igneous: oh whoops.. forgot I'm on a vm
r4: do you think i could use arch on that system? or hsould i go for DSL
mastertheknife: Igneous: what diassembler have you used?
Igneous: aaaanyway, this laptop has a dual core turion tl58 (2ghz), 4gb of ram (ddr2-800), and a nice 250gb 7200rpm seagate drive
Igneous: r4: debian imo
r4: why deb?
Igneous: do a minimal debian install, just install the 'standard system' set, and build up from there, install x, and a wm
Igneous: metric fuckton of packages
Igneous: not limited like dsl
Igneous: and arch is too much effort for something that old
Igneous: mastertheknife: objdump
r4: ok time to head to KC for the weekend
r4: fun times!
Igneous: peace out dude
mastertheknife: ok ill try
mastertheknife: ok well
mastertheknife: I suspect its failing in CSteamUpdater::LaunchingSteam()
mastertheknife: trying to diassemble it now
mastertheknife: I think here: 0x8051292 <_ZN13CSteamUpdater17LoadLocalManifestEv>
mastertheknife: 0x0804ced3 in RunSteam(int, char**, bool) ()
Igneous: an empty function?
mastertheknife: It seems that RunSteam returns to main instead of continuing
mastertheknife: I got to the part where it creates a new instance of the GUI and allocates memory for it
Igneous: holy shit
Igneous: nice work
mastertheknife: it takes forever
mastertheknife: stepping in slowly
mastertheknife: with gdb
Igneous: I'd like to see a screenshot if you have the gui up
mastertheknife: but gdb doesnt let me see asm in the .so files
Igneous: dump it with objdump?
mastertheknife: theres no ebuild for it.. lazy to dl for now
Igneous: it's part of coreutils
Igneous: already in your system
Igneous: objdump -d or objdump -S I think
Igneous: objdump -d file.so > file.s
Igneous: takes a while though :P
mastertheknife: it goes like this for now.. main calls RunSteam, RunSteam calls SteamStartEngineEx, this creates a new UI class and now proceeds to Grid::GetGeneralDirectoryServer_FindServerIPAddrPorts() which is probably part of the CSDS thing
mastertheknife: it probably fails in it or something later
mastertheknife: causing it to return control to RunSteam and Runsteam performs cleanup and returns to main()
mastertheknife: Igneous: why -d, -S seems to work better
Igneous: I was just giving the --help a quick look, forgot which one I used
Igneous: didn't see it in my history
mastertheknife: Igneous: it seems to take a while, the file is over 40 MB now lol
Igneous: yeaaah.. sadly objdump isn't multithreaded :P
mastertheknife: It finished, libsteam is 50 MB :/
mastertheknife: but it will be MUCH easier to understand now whats going on
Igneous: disassembling steam took about 3 minutes and yeiled a 32mb file
Igneous: glad I could be of use