You are not logged in.

#1 2014-04-28 16:57:44

Cadeyrn
Member
Registered: 2013-04-06
Posts: 170

Suddenly can't launch PlayOnLinux from Steam

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 14639

Meanwhile, 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 starting

I'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

#2 2014-05-27 11:57:27

fallchildren
Member
Registered: 2014-03-23
Posts: 9

Re: Suddenly can't launch PlayOnLinux from Steam

Same problem here. Would running steam without the steam-runtime solve the issue?

Offline

#3 2014-05-27 12:03:15

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,562

Re: Suddenly can't launch PlayOnLinux from Steam

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

#4 2014-05-27 18:02:28

Cadeyrn
Member
Registered: 2013-04-06
Posts: 170

Re: Suddenly can't launch PlayOnLinux from Steam

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:0

http://pastebin.com/PX4DQDcc

Last edited by Cadeyrn (2014-05-27 23:28:38)

Offline

#5 2014-05-28 07:01:52

fallchildren
Member
Registered: 2014-03-23
Posts: 9

Re: Suddenly can't launch PlayOnLinux from Steam

Cadeyrn wrote:

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

#6 2014-05-28 13:24:16

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,562

Re: Suddenly can't launch PlayOnLinux from Steam

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

#7 2014-05-28 17:33:10

Cadeyrn
Member
Registered: 2013-04-06
Posts: 170

Re: Suddenly can't launch PlayOnLinux from Steam

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 found

Last edited by Cadeyrn (2014-05-28 17:33:36)

Offline

#8 2014-06-01 10:54:53

fallchildren
Member
Registered: 2014-03-23
Posts: 9

Re: Suddenly can't launch PlayOnLinux from Steam

Cadeyrn wrote:

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

#9 2014-07-15 15:56:58

fallchildren
Member
Registered: 2014-03-23
Posts: 9

Re: Suddenly can't launch PlayOnLinux from Steam

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

#10 2014-07-15 23:31:16

Cadeyrn
Member
Registered: 2013-04-06
Posts: 170

Re: Suddenly can't launch PlayOnLinux from Steam

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

#11 2014-08-23 04:58:13

Cadeyrn
Member
Registered: 2013-04-06
Posts: 170

Re: Suddenly can't launch PlayOnLinux from Steam

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

#12 2014-08-23 12:23:06

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,562

Re: Suddenly can't launch PlayOnLinux from Steam

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).

https://wiki.archlinux.org/index.php/st … ve_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

#13 2014-08-23 22:01:50

Cadeyrn
Member
Registered: 2013-04-06
Posts: 170

Re: Suddenly can't launch PlayOnLinux from Steam

^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

#14 2014-08-31 00:41:53

Cadeyrn
Member
Registered: 2013-04-06
Posts: 170

Re: Suddenly can't launch PlayOnLinux from Steam

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

#15 2014-09-25 11:29:22

atheris84
Member
Registered: 2014-09-25
Posts: 2

Re: Suddenly can't launch PlayOnLinux from Steam

Not very neat but running "sudo su <username> -c "playonlinux --run Crusader2"" seems to work normally, it does break the steam overlay though.

Offline

#16 2014-09-25 16:41:27

Cadeyrn
Member
Registered: 2013-04-06
Posts: 170

Re: Suddenly can't launch PlayOnLinux from Steam

^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

#17 2014-09-26 05:36:07

atheris84
Member
Registered: 2014-09-25
Posts: 2

Re: Suddenly can't launch PlayOnLinux from Steam

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

Board footer

Powered by FluxBB