Open comminux opened 2 years ago
This does get you somewhere, but I think there is an additional problem with glibc that is making Chromium misbehave. Arch recently updated their whole toolchain, jumping glibc from version 2.32 to 2.35. Downgrading seems to fix Chromium crashing.
[0215/234155.608043:VERBOSE1:gpu_init.cc(308)] gl::init::InitializeStaticGLBindingsOneOff failed [0215/234155.608688:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization [0215/234155.641249:VERBOSE1:sandbox_linux.cc(69)] Activated seccomp-bpf sandbox for process type: gpu-process. [0215/234155.752320:WARNING:gpu_process_host.cc(1165)] The GPU process has crashed 1 time(s) [0215/234155.779906:VERBOSE1:sandbox_linux.cc(69)] Activated seccomp-bpf sandbox for process type: gpu-process. [0215/234155.893544:WARNING:gpu_process_host.cc(1165)] The GPU process has crashed 2 time(s) [0215/234155.920039:VERBOSE1:sandbox_linux.cc(69)] Activated seccomp-bpf sandbox for process type: gpu-process. [0215/234156.034147:WARNING:gpu_process_host.cc(1165)] The GPU process has crashed 3 time(s) [0215/234156.034176:FATAL:gpu_data_manager_impl_private.cc(1034)] The display compositor is frequently crashing. Goodbye.
It seems like there is a sandbox related issue, and just anecdotally, I can confirm that some Electron applications broke and using --no-sandbox
restored their functionality (in a poor way of course).
Seems like this issue may be related.
Same thing for me. I can no longer play Garry's Mod on the chromium branch
The game starts, but all graphical elements of the main menu are no longer displayed.
Here's a workaround for this: echo -n "\xB8\x00\x00\x00\x00\x5D\xC3" | dd of=libcef.so oflag=seek_bytes seek=89138564 conv=notrunc
. It patches this function to return false.
Could you guys try GModCEFCodecFix on GMod's x86-64 branch and let us know if that fixes it?
Could you guys try GModCEFCodecFix on GMod's x86-64 branch and let us know if that fixes it?
@WinterPhoenix Yea it works. I did it + Rubat Lua Menu days ago and it works.
@WinterPhoenix Yea it works. I did it + Rubat Lua Menu days ago and it works.
You shouldn't need Rubat's Lua Menu anymore with this, unless that's just your preference
Could you guys try GModCEFCodecFix on GMod's x86-64 branch and let us know if that fixes it?
Thanks, this is much better than my workaround.
I confirm that using https://github.com/solsticegamestudios/GModCEFCodecFix fixes problems with starting the game and displaying the main menu.
Had an error where it couldn't find ~/.local/share/Steam/steamapps/common/GarrysMod/bin/linux64/swiftshader/libGLES.so
and ~/.local/share/Steam/steamapps/common/GarrysMod/bin/linux64/swiftshader/libGLESv2.so
, i just made a folder called swiftshader and made a copy of both files and put them in there. Fixed it for me!
Copying those .so files worked for me too, if only the developers could fix their own game and not rely on the users to do it for them
(8 months of broken 64bit part 2)
Thanks @ghost and @gmod64bit -- that worked. I documented my process here to help others:
# Install Garry's Mod native for Linux
# In Steam, set Garry's Mod to use "Channel":
# "[ x86_64 - Chromium + 64 bit binaries ]"
# Make sure Chromium is installed
sudo pacman -S chromium
# As seen in `https://github.com/Facepunch/garrysmod-issues/issues/5166#issuecomment-1199925475`
# CREATE DIRECTORY
mkdir -p $HOME/.local/share/Steam/steamapps/common/GarrysMod/bin/linux64/swiftshader/
# Symlink to the Chromium Library ( I don't have a v1 so I just link both to v2)
ln -s /usr/lib/chromium/libGLESv2.so $HOME/.local/share/Steam/steamapps/common/GarrysMod/bin/linux64/swiftshader/libGLES.so
# Symlink to the Chromium Library
ln -s /usr/lib/chromium/libGLESv2.so $HOME/.local/share/Steam/steamapps/common/GarrysMod/bin/linux64/swiftshader/libGLESv2.so
# Download & Unpack to $HOME ~/
# https://github.com/solsticegamestudios/GModCEFCodecFix/releases
# Change Permissions
chmod +x $HOME/GModCEFCodecFix-Linux
# Launch
$HOME/GModCEFCodecFix-Linux
# !!!!! !!!!! !!!!! !!!!! !!!!!
# !! WORKS, Tested 2022-10-15
# !!!!! !!!!! !!!!! !!!!! !!!!!
Over an year and the problem still persists... https://github.com/solsticegamestudios/GModCEFCodecFix still fixes the problem.
Will this issue get fixed at some point? Or at least have some official comment on it?
Still broken
Details
OS: Linux Distribution: Arch Linux x86-64 Enabled Steam Runtime: No, used native. (steam.sh[9866]: STEAM_RUNTIME is disabled by the user)
The x86-64 version (branch) of the game does not start when completely reinstalling. In the process of launching the game, you may encounter the problem of missing some libraries:
The crash dump has been sent to the required email address.
Workaround
Copy the required libraries (libEGL.so and libGLESv2.so) from your system to the game folder. (For the Arch Linux distribution, use the contents of the libglvnd package, because installing this package into the system is not enough to run the game. Just copy the 2 libraries (/usr/lib/libEGL.so.1.1.0 and /usr/lib/libGLESv2.so.2.1.0) to the GarrysMod/bin/linux64/swiftshader and rename them, removing the version from the name.) However, a few weeks ago, this workaround stopped providing full functionality of the game. The game starts, but all graphical elements of the main menu are no longer displayed.
Summary
Please add the required libraries to the x86-64 branch and solve the problem with displaying the graphical elements of the main menu.