Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game dev tycoon libgtk-x11-2.0.so.0: No such file or directory #206

Closed
user5145 opened this issue Sep 1, 2018 · 57 comments
Closed

Game dev tycoon libgtk-x11-2.0.so.0: No such file or directory #206

user5145 opened this issue Sep 1, 2018 · 57 comments

Comments

@user5145
Copy link

user5145 commented Sep 1, 2018

TagLib: ID3v2.4 no longer supports the frame type TDAT. It will be discarded from the tag.
TagLib: ID3v2.4 no longer supports the frame type TDAT. It will be discarded from the tag.
GameAction [AppID 239820, ActionID 2] : LaunchApp changed task to ProcessingInstallScript with ""
GameAction [AppID 239820, ActionID 2] : LaunchApp changed task to SynchronizingCloud with ""
GameAction [AppID 239820, ActionID 2] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 239820, ActionID 2] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 239820, ActionID 2] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 239820, ActionID 2] : LaunchApp continues with user response "CreatingProcess"
Opted-in Controller Mask: 70
Game update: AppID 239820 "", ProcID 340, IP 0.0.0.0:0
>>> Adding process 340 for game ID 239820
GameAction [AppID 239820, ActionID 2] : LaunchApp changed task to WaitingGameWindow with ""
GameAction [AppID 239820, ActionID 2] : LaunchApp changed task to Completed with ""
ERROR: ld.so: object '/home/user5145/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/user5145/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/user5145/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/user5145/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/user5145/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
>>> Adding process 341 for game ID 239820
ERROR: ld.so: object '/home/user5145/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
./gamedevtycoon64-bin: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
>>> Adding process 342 for game ID 239820
>>> Adding process 343 for game ID 239820
Game removed: AppID 239820 "", ProcID 340
>>> Adding process 344 for game ID 239820
No cached sticky mapping in ActivateActionSet.

Flatpak version 1.0.1
driver: nvidia 396.54
I bought it today, so I don't know if it has worked before, but i works without a sandbox.

@nanonyme
Copy link
Collaborator

nanonyme commented Sep 1, 2018

May wish to run locate libgtk-x11-2.0.so.0

@user5145
Copy link
Author

user5145 commented Sep 1, 2018

if you meant

$ flatpak run --command=bash --devel com.valvesoftware.Steam
$ cd /
$ locate libgtk-x11-2.0.so.0

then it returns nothing

@nanonyme
Copy link
Collaborator

nanonyme commented Sep 1, 2018

Well, sort of. Though I mainly meant in the host. Sounds like you have this installed

@user5145
Copy link
Author

user5145 commented Sep 1, 2018

https://pastebin.com/cR4cQiy8
edit: i reproduced it on opensuse tw with flatpak 0.99.3. Logs are the same.

@nanonyme
Copy link
Collaborator

nanonyme commented Sep 1, 2018

Well, the problem is that the game is expected to bundle that library

@user5145 user5145 changed the title [game issue] Game dev tycon libgtk-x11-2.0.so.0: No such file or directory [game issue] Game dev tycoon libgtk-x11-2.0.so.0: No such file or directory Sep 1, 2018
@user5145 user5145 changed the title [game issue] Game dev tycoon libgtk-x11-2.0.so.0: No such file or directory Game dev tycoon libgtk-x11-2.0.so.0: No such file or directory Sep 1, 2018
@nanonyme
Copy link
Collaborator

nanonyme commented Sep 1, 2018

@valentindavid or am I misunderstanding ownership of the file?

@nanonyme
Copy link
Collaborator

nanonyme commented Sep 2, 2018

Note in either case, there's a very high danger this game stops working for you without the sandbox with some distro version upgrade.

@user5145
Copy link
Author

user5145 commented Sep 2, 2018

if you think it's better for flatpaked steam to let it be like it is then feel free to close this issue.

if there is a risk of breaking something by repairing this game then obviously I would prefer to keep the game broken. I don't want you to think that i'm complaining, I only wanted you to know about it and maybe we should report it to Greenheart Games (https://www.greenheartgames.com/app/game-dev-tycoon/)

edit: and thanks for creating this steam wrapper

@nanonyme
Copy link
Collaborator

nanonyme commented Sep 2, 2018

That's actually not what I was trying to say. This application has dependencies on your distribution libraries that might go away at any time. Note that flagging something as game issue does not involve something cannot be worked around, it's just for internal issue tracking purposes

@Pixelnarium
Copy link

I have yet to figure out how the flatpak extension system works but would it be acceptable to make an optional extension to the flatpaked steam and put these libraries into it? At least if this is possible altogether since one would need 32bit and 64bit versions of it. I don't know how this is handled in this case.
ArchLinux does this with a steam-native-runtime meta-package. This package also includes Steam libraries since its main use is to run Steam without its (sometimes horribly outdated) runtime.

Not here on Steam but I had an interesting problem with the game "Victor Vran" from GOG. This game does ship the libraries it needs (even libX11)... but they are just broken. The game does not start. After deleting the library folder and adding the missing libraries (old version of libgcrypt and libcurl linked against gnutls) by hand it works well. The game is also linked against specific versions of the libraries. Such workaround is impossible in the current state of the flatpaked steam. But I don't know how the Steam version behaves.

While moving forward with newer flatpak runtimes this problem will grow I think. But this is a problem that also happens on Windows. Even Steam does not support all its games on Windows 10. So "leave it broken" is a common way.

@nanonyme
Copy link
Collaborator

nanonyme commented Sep 4, 2018

There's not currently a reasonable way to handle 32bit app extensions even if we could do optional app extensions sensibly. I recomment reporting the issue to the game vendor since as said, this will break with native Steam too at some point

@Pixelnarium
Copy link

As you already know this is not always possible. Don't get me wrong I am with you on this matter. But game developers are known for poor long-term-support on their games. And even with support they often say "your distribution is not supported". And instead of fixing issues they often just release a "remaster" you can buy again.

It does not need to be solved anytime soon but a possibility to fix these issues should be evaluated at some point. Maybe the flatpak extension system needs some additions. But I don't know much about this at this time.

@nanonyme

This comment has been minimized.

@user5145
Copy link
Author

user5145 commented Sep 4, 2018

I reported it to them and added a link to this issue
edit: and i agree that most developers don't care at all

@nanonyme
Copy link
Collaborator

nanonyme commented Sep 5, 2018

@Pixelnarium yes, that was a case of where user-driven workaround kept working all the way until the game vendor went out of business and there was no one left to do a proper fix.

@gasinvein
Copy link
Member

gasinvein commented Sep 17, 2018

@nanonyme

building 32bit libraries for 64bit apps is not supported

Sorry for possibly stupid question, but what's the problem with creating 32-bit extension?
As far as I know, 32-bit build of some flatpak can be "converted" to 64-bit one with another name via flatpak build-commit-from. If this is possible on Flathub, we can build a normal 32-bit extension, then create 64-bit ref from it, and use this as an extension for 64-bit app.

@nanonyme
Copy link
Collaborator

nanonyme commented Sep 20, 2018

The error is actually interesting because Steam runtime is supposed to have gtk 2 https://github.com/ValveSoftware/steam-runtime/blob/master/packages.txt

@nanonyme
Copy link
Collaborator

nanonyme commented Sep 20, 2018

See here, https://packages.ubuntu.com/trusty/amd64/libgtk2.0-0/filelist which Steam runtime has should contain libgtk-x11-2.0.so.0

There's some peculiarities though

  1. Above is from newer Ubuntu release than Steam is using
  2. The game is running as 64bit (I only just realized that)

Something still to try is find $XDG_DATA_HOME/Steam |grep libgtk-x11-2.0.so.0 inside the Flatpak

@nanonyme
Copy link
Collaborator

Ahhah. The library does exist in 32bit runtime but not in 64bit runtime. I would suspect the game vendor never properly validated the 64bit version of the game actually works.

@nanonyme
Copy link
Collaborator

nanonyme commented Sep 20, 2018

Asked upstream (Valve) what's actually going on. The situation seems confusing.

@user5145
Copy link
Author

user5145 commented Sep 20, 2018

if you still want the output
bash-4.4$ find $XDG_DATA_HOME/Steam | grep libgtk-x11-2.0.so.0
/home/user5145/.var/app/com.valvesoftware.Steam/data/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.10
/home/user5145/.var/app/com.valvesoftware.Steam/data/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
/home/user5145/.var/app/com.valvesoftware.Steam/data/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0.2400.10
/home/user5145/.var/app/com.valvesoftware.Steam/data/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
/home/user5145/.var/app/com.valvesoftware.Steam/data/Steam/ubuntu12_32/steam-runtime.old/amd64/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.10
/home/user5145/.var/app/com.valvesoftware.Steam/data/Steam/ubuntu12_32/steam-runtime.old/amd64/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
/home/user5145/.var/app/com.valvesoftware.Steam/data/Steam/ubuntu12_32/steam-runtime.old/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0.2400.10
/home/user5145/.var/app/com.valvesoftware.Steam/data/Steam/ubuntu12_32/steam-runtime.old/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0

edit: And i reported it once more because i suspected a spam filter to delete my first message but they ignore me. it was one week ago

@nanonyme

This comment has been minimized.

@nanonyme
Copy link
Collaborator

Wait wait wait. There is a difrectory amd64 which has that file

@nanonyme
Copy link
Collaborator

What does ldd /home/user5145/.var/app/com.valvesoftware.Steam/data/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 say?

@user5145
Copy link
Author

user5145 commented Sep 20, 2018

that libgdk-x11-2.0 is broken

ldd: warning: you do not have execution permission for `/home/user5145/.var/app/com.valvesoftware.Steam/data/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0'
linux-vdso.so.1 (0x00007fff9e3f4000)
libgdk-x11-2.0.so.0 => not found
libpangocairo-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0 (0x00007f02f9d6a000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f02f9c27000)
libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007f02f9c1e000)
libatk-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0 (0x00007f02f9bf5000)
libcairo.so.2 => /usr/lib/x86_64-linux-gnu/libcairo.so.2 (0x00007f02f9ad3000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0 (0x00007f02f9aa3000)
libgio-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 (0x00007f02f98fc000)
libpangoft2-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0 (0x00007f02f98e5000)
libpango-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0 (0x00007f02f989d000)
libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f02f9857000)
libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f02f9802000)
libglib-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f02f96e5000)
libm.so.6 => /usr/lib/x86_64-linux-gnu/libm.so.6 (0x00007f02f9552000)
libc.so.6 => /usr/lib/x86_64-linux-gnu/libc.so.6 (0x00007f02f939a000)
libfribidi.so.0 => /usr/lib/x86_64-linux-gnu/libfribidi.so.0 (0x00007f02f937c000)
libgthread-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0 (0x00007f02f9377000)
libharfbuzz.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007f02f92c9000)
libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f02f921b000)
libpthread.so.0 => /usr/lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f02f91fb000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f02f91d0000)
libdl.so.2 => /usr/lib/x86_64-linux-gnu/libdl.so.2 (0x00007f02f91cb000)
libpixman-1.so.0 => /usr/lib/x86_64-linux-gnu/libpixman-1.so.0 (0x00007f02f9124000)
libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f02f90ee000)
libxcb-shm.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0 (0x00007f02f90e7000)
libxcb-render.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-render.so.0 (0x00007f02f90d7000)
libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f02f90ca000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f02f90b5000)
libz.so.1 => /usr/lib/x86_64-linux-gnu/libz.so.1 (0x00007f02f909b000)
librt.so.1 => /usr/lib/x86_64-linux-gnu/librt.so.1 (0x00007f02f9091000)
libgmodule-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0 (0x00007f02f9089000)
libjpeg.so.62 => /usr/lib/x86_64-linux-gnu/libjpeg.so.62 (0x00007f02f901f000)
libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007f02f9014000)
libpcre.so.1 => /usr/lib/x86_64-linux-gnu/libpcre.so.1 (0x00007f02f8fcd000)
libresolv.so.2 => /usr/lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f02f8fb4000)
libmount.so.1 => /usr/lib/x86_64-linux-gnu/libmount.so.1 (0x00007f02f8f58000)
libexpat.so.1 => /usr/lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f02f8f19000)
libuuid.so.1 => /usr/lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f02f8f10000)
/lib64/ld-linux-x86-64.so.2 (0x00007f02fa3d3000)
libgraphite2.so.3 => /usr/lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007f02f8ee3000)
libbz2.so.1.0 => /usr/lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f02f8ed0000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f02f8ecb000)
libblkid.so.1 => /usr/lib/x86_64-linux-gnu/libblkid.so.1 (0x00007f02f8e75000)

@user5145
Copy link
Author

user5145 commented Sep 20, 2018

there are both gamedevtycoon64-bin and gamedevtycoon-bin and if i try to launch them without steam then they both give

error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory

edit: and only one libs folder with javascript
edit2: start.sh https://pastebin.com/rUxBe83j

@nanonyme
Copy link
Collaborator

nanonyme commented Sep 20, 2018

Could you please update Steam Flatpak, fully restart Steam and ensure the problem persists?

@nanonyme
Copy link
Collaborator

nanonyme commented Sep 20, 2018

Does chmod a+x /home/user5145/.var/app/com.valvesoftware.Steam/data/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 change anything?

@user5145
Copy link
Author

no, still the same (should be /home/user.....)

@nanonyme
Copy link
Collaborator

nanonyme commented Sep 20, 2018

libgdk-x11-2.0.so.0 => not found
However, Steam might be mangling library load paths anyway

@nanonyme
Copy link
Collaborator

I wonder if "LD_PRELOAD=/home/user5145/.var/app/com.valvesoftware.Steam/data/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0:/home/user5145/.var/app/com.valvesoftware.Steam/data/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 gamedevtycoon64-bin" changed anything

@user5145
Copy link
Author

yes it does :)
./gamedevtycoon64-bin: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory

@nanonyme
Copy link
Collaborator

nanonyme commented Sep 20, 2018

Ok, I'm really starting to get the feeling then that the game isn't properly using Steam runtime

@nanonyme
Copy link
Collaborator

I don't completely understand the Steam runtime mechanism but I suspect what the game is doing with LD_LIBRARY_PATH might be breaking things. Steam looks to be trying to use the same variable to tell the game where its libraries are https://github.com/ValveSoftware/steam-runtime/blob/master/runtime/run.sh#L42

@user5145
Copy link
Author

user5145 commented Sep 20, 2018

and when i use ./start.sh instead of ./gamedevtycoon64-bin or
do this
LD_PRELOAD=/home/user5145/.var/app/com.valvesoftware.Steam/data/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0:/home/user5145/.var/app/com.valvesoftware.Steam/data/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 LD_LIBRARY_PATH=./steamIntegration/64:$LD_LIBRARY_PATH ./gamedevtycoon64-bin
it gives
./gamedevtycoon64-bin: error while loading shared libraries: libdbus-glib-1.so.2: cannot open shared object file: No such file or directory

there are libraries in steamIntegration/64 and steamIntegration/32
greenworks-linux64.node libffmpegsumo.so libgconf-2.so.4 libgconf-2.so.4.1.5 libsteam_api.so nw.pak

edit: see that
https://pastebin.com/r2UmZUHU

@nanonyme
Copy link
Collaborator

nanonyme commented Sep 20, 2018

What about full-blown LD_LIBRARY_PATH=/home/user5145/.var/app/com.valvesoftware.Steam/data/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/:./steamIntegration/64:$LD_LIBRARY_PATH ./gamedevtycoon64-bin ?

@user5145
Copy link
Author

libpng12.so.0: cannot open shared object file: No such file or directory

@nanonyme
Copy link
Collaborator

That's a bit odd, that library should be in the runtime too

@nanonyme
Copy link
Collaborator

To be honest, I'd really recommend demanding refund if the game vendor doesn't answer anything. I'm not expecting this game can be made working without excessive amounts of hack.

@user5145
Copy link
Author

user5145 commented Sep 20, 2018

it was only $2 anyway
edit: $2,5

@user5145
Copy link
Author

user5145 commented Sep 20, 2018

after i cp -L libpng12 and libdbus-glib to /home/$USER/.var/app/com.valvesoftware.Steam/Desktop and add /home/user5145/Desktop to $LD_LIBRARY_PATH . it crashes
Gtk-Message: 19:36:18.794: Failed to load module "canberra-gtk-module"
[56:0920/193618:ERROR:breakpad_linux.cc(1249)] crash dump file written to /tmp/2a4ea79e-2768-75ca-318ce815-365078db.dmp
Segmentation fault (core dumped)

so seems like it is broken or those libraries are too new. My intention is only to improve flatpak'ed steam so i don't mind closing this issue and thanks for trying to fix it :)

@nanonyme
Copy link
Collaborator

I suspect that failure yet again is bogus, the dump might produce some useful output. I don't really see this game working out of the box with something that could be considered as low-risk for other games currently. Maybe if we had some facility to punch per-game preloads

@user5145
Copy link
Author

user5145 commented Sep 21, 2018

i will send that crash if it matters but i made it to work :), i found out that libpng isn't in ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu but in ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu and their start.sh overrides LD_LIBRARY_PATH=./steamIntegration/64 so steam-runtimes cannot be loaded

that allows to launch it
LD_LIBRARY_PATH=/home/user5145/.steam/steam/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu:/home/user5145/.steam/steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/:./steamIntegration/64:$LD_LIBRARY_PATH ./gamedevtycoon64-bin

but if i change their start.sh from LD_LIBRARY_PATH=./steamIntegration/64 to LD_LIBRARY_PATH=./steamIntegration/64:$LD_LIBRARY_PATH then it works too even via steam

edit: typo

@nanonyme
Copy link
Collaborator

Yeah, that's the exact fix they should do. It would allow everything to work. It's not really feasible to workaround from our side

@nanonyme
Copy link
Collaborator

Same for 32bit probably

@user5145
Copy link
Author

user5145 commented Sep 21, 2018

so should I close it?
edit: and if they ignore customers' emails can't valve send them an email to fix it if it's so easy and we know it works?

@nanonyme
Copy link
Collaborator

That's fine too. As long as these are all labeled correctly, I can always find them even if closed in case we get stronger magic from library loading side for handling these things

@user5145
Copy link
Author

32 bit doesn't work :<
if i do
LD_LIBRARY_PATH=/home/user5145/.steam/steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu:/home/user5145/.steam/steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/:./steamIntegration/32:$LD_LIBRARY_PATH ./gamedevtycoon-bin
then it gives
./gamedevtycoon-bin: error while loading shared libraries: libudev.so.1: cannot open shared object file: No such file or directory

and it's because steam runtime has only steam-runtime/i386/lib/i386-linux-gnu/libudev.so.0
so no fix for 32bit

@nanonyme
Copy link
Collaborator

Ah. Well, I suppose it won't hurt us any since this application only runs as 64bit

@user5145
Copy link
Author

user5145 commented Sep 21, 2018

now i see that their start.sh does something weird with
/usr/lib/libudev.so.0 and /lib/i386-linux-gnu/libudev.so.0
it tries to create a link to it as ./steamIntegration/32/libudev.so.1 but it ignores steam-runtime/i386/lib/i386-linux-gnu/libudev.so.0 where that file is

it works only for 64bit but i don't know why as it should fail too
edit: thanks
edit2: that should be added to paths in start.sh too
for 64bit
/home/$USER/.steam/steam/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu/libudev.so.0
for 32bit
/home/$USER/.steam/steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libudev.so.0

edit: and there are some permissions problems
ERROR:object_proxy.cc(539)] Failed to call method: org.gnome.SessionManager.Inhibit: object_path= /org/gnome/SessionManager: org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown
but everything works fine

@nanonyme
Copy link
Collaborator

Dbus looks likely caused by us blocking that call

@user5145
Copy link
Author

it precedes it
power_save_blocker_x11.cc(290)] No response to Uninhibit() request!
it seems that it's only for power saving
happens whenever i interact with the game but it's harmless

@nanonyme
Copy link
Collaborator

I suspect the point is inhibiting sleep while the game is running. This might well be more widely used

alatiera added a commit to alatiera/com.valvesoftware.Steam that referenced this issue Jul 14, 2021
@alatiera
Copy link
Member

Btw building a custom client with gtk2 and libdbus gets the game to work nicely

alatiera@be2c5b6

(ignore the permission change)

@alatiera
Copy link
Member

This seems to be working fine after the latest game update from October 2021:

Fixed start script for Linux: Instead of setting the LD_LIBRARY_PATH variable it gets appended.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants