You are not logged in.
I have a bunch of PlayOnLinux shortcuts in my Steam. I have one for PlayOnLinux itself and several to directly launch games (with the --run "name" option IN the Steam shortcut). When I try to launch any of them, Steam's output is very noisy, but after I delete all the messages complaining about errors loading the game overlay and how the pid isn't 14640 so it's "skipping destruction", I get this:
Looking for python...
3.4.0 - unexpected version
Looking for python2.7...
2.7.6 - unexpected version
Looking for python2.6...
which: no python2.6 in (/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/vendor_perl:/usr/bin/core_perl)
Looking for python2...
2.7.6 - unexpected version
Please install python before trying to run PlayOnLinux
Game removed: AppID 0 "Guild Wars 2", ProcID 14639Meanwhile, here's how that part of the output looks if I launch PlayOnLinux outside of Steam:
Looking for python... 3.4.0 - skipped
Looking for python2.7... 2.7.6 - selected
[main] Message: PlayOnLinux (4.2.2) is startingI'm completely baffled as to what could be causing this. I poked around the /usr/share/playonlinux/playonlinux-bash and /usr/share/playonlinux/bash/find_python files, but I couldn't find anything broken. I just updated my system last night, so I'm probably running the latest versions of PlayOnLinux and Steam. The problem was here before I updated, too, so it's been present since mid-Februrary (the last time I updated).
I did try installing python26 in the AUR to see if Steam would play nice with that, but it doesn't finish compiling. It just gets stuck forever with no errors at the testing phase.
Last edited by Cadeyrn (2014-04-28 16:59:01)
Offline
Same problem here. Would running steam without the steam-runtime solve the issue?
Offline
cadeyrn,
i have a feeling that steam-runtime is telling playonlinux to use python 2.6 for some command, please post the full steam output.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Will do (by editing this post) as soon as I'm at my computer again.
In the meantime, is "steam-runtime" its collection of customized, out-of-date libraries? I didn't realize I can run Steam without it. How do I do that?
EDIT: Here's the file for the full output, from start to finish. I had to launch Steam in offline mode because I can't connect for some reason, but the ouput looks the same as it did last time. To help you sift through it, the first line where I launch PlayOnLinux is:
Game update: AppID 0 "Guild Wars 2", ProcID 5402, IP 0.0.0.0:0Last edited by Cadeyrn (2014-05-27 23:28:38)
Offline
In the meantime, is "steam-runtime" its collection of customized, out-of-date libraries? I didn't realize I can run Steam without it. How do I do that?
Yes it is. You can run "STEAM_RUNTIME=0 steam" to use the native libraries. But it never really worked for me because of missing 32bit-libs (I think it was lib32-sdl2-ttf) which I neither found in the official repositories nor the aur.
Here is a link to the wiki page: https://wiki.archlinux.org/index.php/st … ve_runtime
Best regards,
fallchildren
Offline
Cadeyrn, steam log doesn't give clues about why playonlinux would be looking for python 2.6, i suggest you try running without steam-runtime
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Oh, man, tracking down all these libraries and making sure they're x32 seems like it would be a mess. Is it not easier to just hack the Steam runtime to use native Python?
~/Steam/ubuntu12_32$ LD_LIBRARY_PATH=".:${LD_LIBRARY_PATH}" ldd $(file *|sed '/ELF/!d;s/:.*//g')|grep 'not found'|sort|uniq
libdbus-glib-1.so.2 => not found
libgcrypt.so.11 => not found
libgdk_pixbuf-2.0.so.0 => not found
libgdk-x11-2.0.so.0 => not found
libgtk-x11-2.0.so.0 => not found
libnm-glib.so.4 => not found
libnm-util.so.2 => not found
libnspr4.so => not found
libnss3.so => not found
libnssutil3.so => not found
libpango-1.0.so.0 => not found
libpangocairo-1.0.so.0 => not found
libpangoft2-1.0.so.0 => not found
libplc4.so => not found
libpng12.so.0 => not found
libsmime3.so => not found
libudev.so.0 => not found
libusb-1.0.so.0 => not found
libXinerama.so.1 => not foundLast edited by Cadeyrn (2014-05-28 17:33:36)
Offline
Oh, man, tracking down all these libraries and making sure they're x32 seems like it would be a mess. Is it not easier to just hack the Steam runtime to use native Python?
Hm I tried it with running native runtime but still PlayOnLinux is looking for python 2.6. So running steam with the steam-runtime is not the problem I think. I'm kinda clueless.
Offline
I think I now know why steam can't launch python. Steam is a 32bit app so it looks for a 32bit python and can't find it. Is there any way to tell steam to look for the 32bit libs for python which you can get through the aur?
Offline
Well, I want to try installing those libraries and seeing what happens, but I'm currently studying abroad. I'll post back when I can.
Offline
I'm gonna go ahead and bump this because I realize now that I wouldn't know how to force Steam to load said x32 libraries.
Offline
Caderyn,
according to the wiki that would be the easy part, just start steam like this : STEAM_RUNTIME=0 steam
That should force steam to skip the libraries it comes with and ships and only use system libraries (= libraries installed with pacman).
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
^Sorry, I meant the x32 version of Python 2.6. I understand how to load my own libraries and it would be a massive undertaking, and I doubt it would fix things as none of those libraries are Python.
Offline
I came across the steam-native package and got Steam running properly with STEAM_RUNTIME=0. Still, the PlayOnLinux shortcuts do not work. The output is exactly the same as my 1st post, except python's been updated to 3.4.1 and 2.7.8 now.
Offline
Not very neat but running "sudo su <username> -c "playonlinux --run Crusader2"" seems to work normally, it does break the steam overlay though.
Offline
^Confirmed! That fixed it for me, with or without Steam's runtime. But, it's certainly not a great fix. In my case, it's not even a valid workaround, because I have to run Steam in the terminal to use sudo, and for some reason, it doesn't work if I substitute sudo for kdesu (nothing happens after typing in my password) or if I just omit the sudo, just having su <username> -c. But, at least it's a lot of insight into why this is happening. But, I have no idea what to do with that knowledge.
Offline
I have sudo set to not ask me for a password, but for anyone just after a workaround you could use: echo '<password>' | sudo -S su <username> -c "playonlinux --run <game>"
or you could install ssh-askpass and use
SUDO_ASKPASS=/usr/bin/ssh-askpass sudo -A su <username> -c "playonlinux --run <game>"
ssh-askpass-gnome also works but ksshaskpass doesn't and seems to replace ssh-askpass if installed
Offline