flathub / com.jagex.RuneScape

https://flathub.org/apps/details/com.jagex.RuneScape
19 stars 12 forks source link

Game crashes seemingly at random, flatpak only #194

Open WhosyVox opened 2 years ago

WhosyVox commented 2 years ago

And I have nothing to provide so far for debug. Nothing logged to terminal, nothing in strace. Mint 20.3, Nvidia 515.48.07 drivers.

At some point minutes or hours into play, the screen freezes, music loops and nothing happens. Never had this on the official deb version.

Help me debug this if you can. I do not know where to start.

A6GibKm commented 2 years ago

Seems this is an issue in mesa, the issue will go away when the app switches to the 22.08 runtime (to be released in the next 30 or so days). Can be fixed by installing the org.freedesktop.Platform.GL.mesa-git extension which can be used via FLATPAK_GL_DRIVERS=mesa-git com.jagex.RuneScape.

WhosyVox commented 2 years ago

Seems this is an issue in mesa, the issue will go away when the app switches to the 22.08 runtime (to be released in the next 30 or so days). Can be fixed by installing the org.freedesktop.Platform.GL.mesa-git extension which can be used via FLATPAK_GL_DRIVERS=mesa-git com.jagex.RuneScape.

So referencing the issue posted prior, I do not get a malloc error to terminal. I'm also unsure if there's any link between Nvidia drivers and mesa. Regardless I'd like to try out the solution you proposed, but do not know how to go about installing the extension.

If you could provide more information on how to perform these steps, I will test for myself to ensure this is indeed both the correct problem and solution.

A6GibKm commented 2 years ago

See https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/wikis/Mesa-git, but please note that you don't need the 32 bit variant.

WhosyVox commented 2 years ago

See https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/wikis/Mesa-git, but please note that you don't need the 32 bit variant.

As I somewhat suspected, that's not going to work here. (Likely because Nvidia does not use mesa.)

image

WhosyVox commented 2 years ago

Issue not resolved, game just crashed as per above.

com.jagex.RuneScape/x86_64/stable 2.2.10 org.freedesktop.Platform/x86_64/22.08

symo521 commented 1 year ago

I'm also experiencing the issue on Arch running the flatpak with an rtx 4080 on driver 535.86.05. Issue seems to be most present with large events such as King Black Dragon's rampage. I haven't been able to test on NXT because I am an absolute fool of a moron who signed up to a Jagex account.