JGCarroll / runescape-snap

MIT License
11 stars 2 forks source link

RuneScape crashing after loading splash screen #6

Closed invalidCards closed 3 years ago

invalidCards commented 3 years ago

Up until yesterday, RuneScape worked fine, but now it crashes after the splash screen finishes loading. When running via terminal, this is the output:

[invalidcards@onyx-linux ~]$ runescape.rs3

Launching RuneScape

Gtk-Message: 17:20:03.083: Failed to load module "canberra-gtk-module"
/home/invalidcards/snap/runescape/50/Jagex/launcher/rs2client: error while loading shared libraries: libOpenGL.so.0: cannot open shared object file: No such file or directory

No software packages on my system have updated since yesterday. Running on Manjaro Linux.

JGCarroll commented 3 years ago

Thanks for the report.

Could you try runescape.rs3 -s -d and see if this has any effect, and could I know what GPU you're running this on.

I haven't done any significant changes to the snap in a while so there's a chance Jagex have pushed a dodgy hotfix to the client, I can try take a look myself.

Edit 2: (Removed edit 1)

It seems this is most likely a Jagex problem, it seems to be affecting the normal packages too

https://secure.runescape.com/m=forum/forums?409,410,986,66205177

I can possibly fiddle around to try get it to work regardless, I'll take a look.

invalidCards commented 3 years ago

Interesting, seems to be a Jagex issue then.

For completeness, here is the output I get after running the command you requested. If I do this, additionally, I get the following pop-up: image

I just installed the flatpak version of the launcher and it works fine, FYI.

JGCarroll commented 3 years ago

Thanks for the info,

The error output there looks like you might be running the snap as root/sudo, this isn't expected to work, The corrupted text is unfortunate but is expected on Manjaro, I can technically fix it but Jagex is occasionally prone to making mistakes with libraries that mean I keep pushing it back since it doesn't effect the actual game.

I'll have a new build of the snap pushed out in 5 minutes that hopefully will fix this problem.

JGCarroll commented 3 years ago

It's live now,

For anyone experiencing this issue, try running sudo snap refresh and it might be fixed. I'd appreciate a confirmation if this is the case since I don't have access to a Linux bare metal machine for the time being.

invalidCards commented 3 years ago

The error output there looks like you might be running the snap as root/sudo

Sadly I am running it as a normal user without sudo privileges. I did try to run it as root earlier, but it ended up not giving any graphical output whatsoever (which I kind of expected to happen). This continues happening even after removing the runescape snap along with any snapshots, and re-installing it again.

JGCarroll commented 3 years ago

It failing in /tmp seems to be the strange bit, /tmp in the snap isn't the same /tmp as the normal system due to mount namespaces, so it seems like snapd itself is struggling with this for some reason. It's possible that trying to have run it as root earlier may have left some folders in a funny state.

It's probably worth trying sudo snap remove runescape --purge, doing a system reboot and trying again, the good old turn it off and on again can do wonders.

invalidCards commented 3 years ago

You were right :smile: purge-removing, rebooting and re-installing worked a charm. The game boots up again as well. Thank you for the quick response!