Open AltinaXIV opened 4 years ago
Which GPU and drivers are you using?
I can try take a look into this but potential GPU issues like this are fairly difficult, as far as I'm aware, the only major problem at the moment is with the AMDGPU-PRO driver and it's a core infrastructure issue with snapd that's got work in progress but nothing currently usable.
As an aside, you might find https://flathub.org/apps/details/com.jagex.RuneScape to be helpful in the event I can't reproduce/fix this issue, and Jagex's official installation instructions probably work fine on the latest version of Kali too.
NVIDIA Driver Version: 440.64 Graphics Card: GeForce GTX 1080
Not sure if this helps, but here are the gl library pointers
libGL.so.1 (libc6,x86-64) => /lib/x86_64-linux-gnu/libGL.so.1
libGL.so.1 (libc6) => /lib/i386-linux-gnu/libGL.so.1
libGL.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libGL.so
I've done some searching and looked into how the NVidia drivers fit into snapd. My initial assumption here is that you might have hit a bug that's appeared lately in snapd itself. Since you're on Kali and effectively Debian, snapd is capable of updating itself but I'm not sure if that is the default in that specific environment, so I'd suggest firstly running sudo snap refresh
to update all snaps on the system, including hopefully "core" OR "snapd", and see if that fixes the issue. If there isn't a "core" or "snapd" snap to even refresh, I'd suggest installing one of the two, I think the "snapd" snap is preferred there, reboot again, and hopefully the libGL bug is gone.
To summarise, I think you need a newer version of snapd than apt provides, but snapd can provide that itself, and if configured to, I'm hoping this problem will go away. sudo snap install snapd
will likely do it, assuming refresh alone doesn't.
You seem to be right. I updated to 2.44.1 and I still get the same error, I've found that other people are having issues with libgl based snap packages using NVIDIA's 440 driver. I just filed a bug report on snappy, so hopefully that get resolved in a speedy manner.
From what I've seen, it should have been fixed in https://github.com/snapcore/snapd/pull/8067 which is the bug I'm assuming is happening here, you might want to reference that commit in your other report because it seems like it isn't reliably working.
Assuming it is a reappearance of the issue above, then unfortunately there's nothing I can do about the problem, because it's entirely up to snapd to be able to present the proprietary NVidia drivers in a way that other snaps can make use of them.
You'll probably still be able to use the Flatpak and native install on the website however as far as RuneScape goes, and assuming snapd gets a fix itself, it'll mean the RuneScape snap just starts working whenever that update happens.
Thanks James!
Foudn the bug: https://bugs.launchpad.net/snapd/+bug/1866855
Thanks for that, I didn't have any idea it was such a specific issue. I know the work they mentioned was a proposed solution to the AMDGPU-PRO issue I mentioned above, but I didn't think it was an issue with NVidia (on some distributions at least) as well.
When the work mentioned there drops, I think it will require manual intervention from snap authors to make use of it. I'm likely to be use it quickly from when its available, but it still might lag behind a few months if it's something that isn't backwards compatible because there's a few distributions that lag behind on snapd packaging and snapd can't update itself for whatever reason.
I'll keep an eye out on the progress of that. The only thing I could suggest is potentially using the NVidia provided driver installer might work, but, I'd generally never recommend anyone actually prefers it when the distributions provide NVidia packages themselves, it tends to cause a lot of issues. Potentially Debian/Kali could fix it on their end prior for their own distributions.
Otherwise, regretfully it doesn't look like something I can assist with regarding this specific package, other than I'll make use of the proper fix when it arrives, but we're realistically looking at several months wait in the best case.
Whenever I go to run
snap run runescape.rs3
I get this error: