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

[Bug] [Linux] GoldSrc games not opening on Fedora 41 with Flatpak Steam #169

Open
3 tasks done
CombineSoldier14 opened this issue Nov 15, 2024 · 9 comments
Open
3 tasks done
Labels
bug Something isn't working

Comments

@CombineSoldier14
Copy link

Before Reporting

  • I found no existing issues matching my bug
  • My issue is not caused by a theme
  • My issue is not caused by a plugin

Describe the Bug

When opening any GoldSrc game (half-life 1, cs 1.6, etc) on their linux ports, it immediatly crashes with nothing opening. I get this error in the console:

Adding process 15053 for gameID 70
STEAM /bin/bash: /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/libtinfo.so.6: no version information available (required by /bin/bash)
STEAM pid 15170 != 15166, skipping destruction (fork without exec?)
STEAM pid 15175 != 15166, skipping destruction (fork without exec?)
STEAM /bin/bash: /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/libtinfo.so.6: no version information available (required by /bin/bash)
STEAM /bin/bash: /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/libtinfo.so.6: no version information available (required by /bin/bash)
STEAM pid 15196 != 15166, skipping destruction (fork without exec?)
STEAM Adding process 15166 for gameID 70
STEAM /home/combinesoldier14/.local/share/Steam/steamapps/common/Half-Life/hl_linux: error while loading shared libraries: libpython-3.11.8.so: cannot open shared object file: No such file or directory
STEAM Adding process 15197 for gameID 70
STEAM Game Recording - game stopped [gameid=70]

When launching Steam without millennium, the games run fine. I tried to find this Python library but it seems to not exist anymore on the Fedora repos.

Expected Behavior

Games open and run fine as normal without millennium

Steps To Reproduce

  1. Use Fedora 41 KDE
  2. Install Steam flatpak
  3. Install Millennium with the shell script
  4. Run Millennium via the start.sh script
  5. Install and try to run any GoldSrc game

Operating System

Linux

Anything else?

No response

@CombineSoldier14 CombineSoldier14 added the bug Something isn't working label Nov 15, 2024
@Chorwacjen
Copy link

it seems close to what happened to me in #119 because libpython is also giving out an error here

@shdwmtr
Copy link
Owner

shdwmtr commented Nov 16, 2024

It might have something to do with the flatpak version of Steam. Millennium wasn't developed to be used in flatpak Steam

@CombineSoldier14
Copy link
Author

I'll try non flatpak steam

@CombineSoldier14
Copy link
Author

Tried it, still same error.

STEAM Adding process 5596 for gameID 70
STEAM pid 5600 != 5596, skipping destruction (fork without exec?)
STEAM pid 5605 != 5596, skipping destruction (fork without exec?)
STEAM /bin/bash: /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/libtinfo.so.6: no version information available (required by /bin/bash)
STEAM /bin/bash: /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/libtinfo.so.6: no version information available (required by /bin/bash)
STEAM pid 5626 != 5596, skipping destruction (fork without exec?)
STEAM /home/combinesoldier14/.local/share/Steam/steamapps/common/Half-Life/hl_linux: error while loading shared libraries: libpython-3.11.8.so: cannot open shared object file: No such file or directory
STEAM Adding process 5627 for gameID 70

@shdwmtr
Copy link
Owner

shdwmtr commented Nov 17, 2024

@CombineSoldier14 Are you also on Fedora? On arch I can't seem to reproduce the issue.

@CombineSoldier14
Copy link
Author

Yeah, this is all on Fedora 41.

@shdwmtr
Copy link
Owner

shdwmtr commented Nov 17, 2024

run ldd ~/.local/share/Steam/steamapps/common/Half-Life/hl_linux and share its output

@Chorwacjen
Copy link

I believe I personally found the issue, at least in my case, that was 100% the cause of #119
When launching millennium without Steam open, and trying to run a GoldSrc game, or any other games I mentioned in #119 , it gave me out this error in this case:

STEAM chdir "/home/melody/.local/share/Steam/steamapps/common/Half-Life"
STEAM Game Recording - would start recording game 70, but recording for this game is disabled
STEAM Adding process 24812 for gameID 70
STEAM Adding process 24813 for gameID 70
STEAM Adding process 24814 for gameID 70
STEAM setlocale "en_US.UTF-8": No such file or directory
STEAM pressure-vessel-locale-gen: Missing locale en_US.UTF-8
STEAM pressure-vessel-locale-gen: Generating locale pl_PL.UTF-8...
STEAM pressure-vessel-locale-gen: Generated locale pl_PL.UTF-8 successfully
STEAM pressure-vessel-locale-gen: Generating locale en_US.UTF-8...
STEAM pressure-vessel-locale-gen: Generated locale en_US.UTF-8 successfully
STEAM pressure-vessel-adverb[24878]: W: Container startup will be faster if missing locales are created at OS level
STEAM pid 24927 != 24923, skipping destruction (fork without exec?)
STEAM pid 24932 != 24923, skipping destruction (fork without exec?)
STEAM pid 24953 != 24923, skipping destruction (fork without exec?)
STEAM /home/melody/.local/share/Steam/steamapps/common/Half-Life/hl_linux: error while loading shared libraries: libpython-3.11.8.so: cannot open shared object file: No such file or directory
STEAM Adding process 24923 for gameID 70
STEAM Adding process 24954 for gameID 70
STEAM Game Recording - game stopped [gameid=70]
STEAM Removing process 24954 for gameID 70
STEAM Removing process 24923 for gameID 70
STEAM Removing process 24814 for gameID 70
STEAM Removing process 24813 for gameID 70
STEAM Removing process 24812 for gameID 70

The issues were fixed by me, personally, by launching steam normally and, when it was open, running millennium. This caused Steam to reset, and not only that, it injected millennium correctly (beforehand the logs looked different, as seen above, that what I normally get this way).
Because of this, I believe millennium injects really incorrectly causing .so errors if you do not launch it while Steam is open. I was able to run Half-Life this way.

@CombineSoldier14
Copy link
Author

Thanks! That works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants