Forums

Community: Linux Support 2.0 Thread is sticky

Quick find code: 409-410-916-65990459

I Eat Sub

I Eat Sub

Posts: 187 Iron Posts by user Forum Profile RuneMetrics Profile
I do not know much about linux but i do know app-image is universal packageing system that work on all linux distros. It would be great if Jagex would come out with app-image . People could put it on usb and run it on any linux distro

12-Feb-2022 20:16:35 - Last edited on 12-Feb-2022 20:16:53 by I Eat Sub

Alan
Nov Member 2007

Alan

Posts: 8,771 Rune Posts by user Forum Profile RuneMetrics Profile
Hi there, I figured I'd start here and get some knowledge before I go off the deep end. I currently normally game on windows but slowly trying to weed myself off and work on getting stuff running on my daily driver os (I use arch BTW). I figured with the current safe deaths now's a good time to try and tinker with it. From my understanding reading the recentish posts in here snap is the way to go. I've played around with is slightly and haven't really had any issues or random crashes but I also haven't done anything too "Dangerous" on the game in fear of that. Is there any "known" issues with any bosses that I should avoid that cause client crashes regularly? @RSNAlan
The Fallen
- Quit your clan today, Join today!

14-Feb-2022 19:48:47

wwwShadow7
Feb Member 2013

wwwShadow7

Posts: 156 Iron Posts by user Forum Profile RuneMetrics Profile
I use the snap under arch. A few quirks with snaps, regardless of which distro. If you start X with startx and not a display manager. And have multiple users. Be sure to startx as the user that you start the snap with. Otherwise it cannot access the pulse audio stuffs. Controlling the pulse audio output can also be quirky. What I do is load snd-aloop at index=0. Which creates a dummy soundcard who's output is it's input. And somehow (hopefully by default) have the snap use that sound card.

My setup is not typical though. I tend to have multiple users. X can be shared to all the users.

$ xhost local:
(from the user who started X to give permissions to other users)
(and export DISPLAY=":0"; before each app so it knows which display to use)

I also have a pulseaudio server on a networked computer (RPi 4b 4GB). With snd-aloop in use by the snap, I can use a different user who's setup to access the networked pulseaudio. And have that user route snd-aloop (hw:Loopback,1,0) to pulseaudio with alsaloop.

$ clear; export TEMPTEXT="Let's do this!"; while true; do echo $TEMPTEXT; alsaloop -C hw:Loopback,1,0 -P pulse -t 50000 2>&1 > /dev/null; sleep 1; export TEMPTEXT="Don't hurt me"; done

It'll crash on occasion. So in a loop to start it so it restarts. The setup for a networked pulseaudio output is simple. But snaps ignore it. So this is my work around.

FILE: $HOME/.config/pulse/client.conf
default-server = 192.168.1.2

Where the IP is the network address of the pulseaudio server.

Or ignore all that and just run the snap and maybe have audio. And maybe to the device you want it to go to. Sometimes laptop speakers (on a bookshelf many feet from me). Sometimes to my HDMI monitor (some of mine use DVI converters with no audio). Sometimes to my webcam, which is input only. Linux has it's joys and it's oddities.

17-Feb-2022 20:01:49

W hitey

W hitey

Posts: 1,037 Mithril Posts by user Forum Profile RuneMetrics Profile
I have just come back from a few months' absence and am having the same crashes that everyone above has been describing...

I had been using the Steam client through Proton which had been both giving better performance than the Linux client and no crashes, but as of today this crashes as soon as I try to enter the game from the lobby (it sits on a black screen with "loading please wait" for a few seconds before crashing). Tried clearing the game cache to no avail so I'm assuming it's something that's come in with last night's update.

The Linux client crashes after a few seconds to a couple of minutes playing, with an error message relating to corrupted doubly linked lists. (The actual error message varies).

I have tried installing the snap as recommended here, but having trouble getting it to work - I've never used snap before. I'm getting DNS resolution errors when it tries to download the game data (failing to resolve runescape's domain). I'm not sure if this is an issue with how I've set up snapd, or an issue with the snap itself. I'm using Arch Linux with snapd installed from the AUR.

Edit: I fixed the DNs issues and the game is now running through snap; will have to see if it continues to crash.

22-Feb-2022 05:38:03 - Last edited on 22-Feb-2022 05:49:01 by W hitey

Bagill

Bagill

Posts: 16 Bronze Posts by user Forum Profile RuneMetrics Profile
After switching the Snap version on Ubuntu just over a week ago, I didn't have any crashes until tonight.

Tonight, while playing on the Snap version I crashed a few times and got some error messages.
What seemed to resolve it (so far or at least reduce the error messages) was updating Ubuntu.

First set of error logs... when crashing often.

10:59:40 PM rs2client: If they do, bad things may happen!

10:57:01 PM rs2client: malloc(): unsorted double linked list corrupted

10:41:08 PM rs2client: If they do, bad things may happen!

10:40:38 PM rs2client: double free or corruption (fasttop)

10:19:41 PM rs2client: If they do, bad things may happen!

10:04:37 PM rs2client: If they do, bad things may happen!

So, I restarted the system because in the morning I had an Ubuntu base update. It didn't ask me to restart but figured it could be related.
After the restart... got these messages and crashed less but still crashed a few times.

11:27:30 PM rs2client: double free or corruption (fasttop)
11:25:30 PM rs2client: If they do, bad things may happen!

Then, after those crashed a NEW Ubuntu update came up - 2 in one day. Installed it, restarted. Again, it did not ask me to restart.

After that installation and restart I didn't crash but didn't play but for about 15 min. This was the only message it gave - the other two stopped (for that session).

11:32:01 PM rs2client: If they do, bad things may happen!

This is in the logs pretty regularly so reporting. It seems to log every few minutes of gameplay. The xxxx in the PIDs below is obfuscation but was numbers.

11:39:31 PM dbus-daemon: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/org/freedesktop/ScreenSaver" interface="org.freedesktop.ScreenSaver" member="SimulateUserActivity" mask="send" name="org.freedesktop.ScreenSaver" pid=xxxx label="snap.runescape.rs3" peer_pid=xxxx peer_label="unconfined"

24-Feb-2022 05:15:41 - Last edited on 24-Feb-2022 05:20:50 by Bagill

Bagill

Bagill

Posts: 16 Bronze Posts by user Forum Profile RuneMetrics Profile
The Snap refresh has improved the crashing issue. I just played for an hour straight without any of those 'malloc' type log messages.

Thanks for the quick response, @Hmm - and the solution!

On a side note:
It looks like the natural refresh rate for Snaps updated before I could apply the fix manually because when I ran this ... sudo snap refresh runescape ... it gave this message ... snap "runescape" has no updates available

Then I checked it and it showed an update was going on every 4 hrs. in the background so it applied your fix without my intervention. That's good news for anyone who may have had an issue - to get it fixed before you even notice it.

snap refresh --time
...
timer: 00:00~24:00/4
last: today at 13:39 EST
next: today at 18:52 EST

25-Feb-2022 01:18:25

Tenblade
Jan Member 2021

Tenblade

Posts: 4,118 Adamant Posts by user Forum Profile RuneMetrics Profile
I've been dealing with constant crashes since around the time dxp started. I use radeon and thus mesa. Could this possibly be causing my crash? I use the standard client, not snap.

I literally am unable to play. My client can crash as much as 4 times in 5 minutes.

01-Mar-2022 16:10:32

Quick find code: 409-410-916-65990459 Back to Top