Forums

Community: Linux Support 2.0Thread is sticky

Quick find code: 409-410-916-65990459

of 24
Killbots2012
May Member 2019

Killbots2012

Posts: 61Iron Posts by user Forum Profile RuneMetrics Profile
Thanks @Hmm I was missing DXVK and Lutris, after I installed those it seems to work fine. Would be nice if they were able to create their own repository with the dependencies needed, we shouldn't have to go through a rigmarole to play. Support Linux

16-May-2019 20:16:46

Hmm
Jan Gold Premier Club Member 2016

Hmm

Posts: 11,761Opal Posts by user Forum Profile RuneMetrics Profile
I'm slightly confused there,

DXVK is a method of running DirectX over Vulkan, if installing this fixes the game, you were running the game Via Wine, and hence the Windows version of the game.

Looking at the Lutris installer, this DOES install the Linux NXT client, so wouldn't need DXVK.

Regardless, if it's working for you I suppose that's all that matters :).

16-May-2019 20:37:30

Killbots2012
May Member 2019

Killbots2012

Posts: 61Iron Posts by user Forum Profile RuneMetrics Profile
Not sure, I tried a few different methods, I'm thinking it's through wine do to a massive drop in fps, it's hitting my system pretty hard, Was getting play able fps on Ultra, with Windows, I've got an older i5-4750 with 8 GB ram Intel something on-board GPU

I'm still a newbie with Linux learning as I go
Support Linux

16-May-2019 22:10:06 - Last edited on 16-May-2019 22:26:04 by Killbots2012

Hmm
Jan Gold Premier Club Member 2016

Hmm

Posts: 11,761Opal Posts by user Forum Profile RuneMetrics Profile
Unfortunately, graphics performance on Linux in general tends to be lower than on Windows as a result of less investment into the graphics stack and less time spent on it by the game developers as an optimisation focus. I notice similarly that playing on Ultra has an FPS hit vs Windows, though it's not substantial, but that's because my GPU is still fairly high end. I can imagine the hit being much more notable on a lower end system.

I don't believe the Lutris installer runs the Wine version, though there's some ambiguity on what it is now that you are running. If you do install the snap though, which has party hats for the icons, that's definitely the Linux version, again if you're interested,

sudo snap install rslauncher

Incidentally, the Wine version might actually get better performance. Wine ran Firefox for Windows faster than Linux Native around 2006 or so, in some situations I can imagine Wine still beating windows for performance, although these days stability is more the concern so the Linux native version probably wins as long as Jagex keeps updating it.

And don't worry about being a noob, everythings a learning process and everyone gets there a different way. Just make sure to have backups if you have anything essential, and always have a safety USB/CD to reinstall in the worst case scenarios ;).

17-May-2019 01:49:04 - Last edited on 17-May-2019 01:50:14 by Hmm

Lucifer Char
Oct Gold Premier Club Member 2018

Lucifer Char

Posts: 14Bronze Posts by user Forum Profile RuneMetrics Profile
The snap is working wonderfully! :D
I'm new to Linux and RS was really the only thing still keeping me trapped in Windows. Is there something I should know about running the snap?
Other than that it's not official so I have to trust that the people/person making it isn't a meanie?

Was funny to first try and run it with open source drivers. The sky was full of trees, rocks were running around and npcs turned into iron ore rocks or trees. xD
Fire burns through lies and illuminates darkness. It rains destruction upon enemies and brings warmth to friends.

22-May-2019 11:51:37

Hmm
Jan Gold Premier Club Member 2016

Hmm

Posts: 11,761Opal Posts by user Forum Profile RuneMetrics Profile
I'm not a meanie, promise. So far, I'm the only person working on the snap, so you know who to blame! Mind, I'm only taking responsibility for the "rslauncher" snap in the snapstore, if anyone uploads any other snaps or distributes them outside of that store, I can't be held responsible for those. Currently rslauncher is the only one on the store however, aside from one that deals with OSRS exclusively which isn't related to me

There's not much to say really, in the event Jagex change the client substantially and the snap needs an update, it'd be nice if someone would message me so I could push that out, otherwise, I can't really advise running on Opensource NVidia drivers, I might have to add a warning for Nouveau users, it makes the game look like a bad LSD trip! Still, I assume if they're running Nouveau, it's by choice. Perhaps it's less choice and more a problem of lack of awareness of actual NVidia drivers, or disbelief they're that important. The latest Ubuntu 19.04 has started preinstalling those if you let it download from the internet during the first installation, but inbetween not knowing the drivers exist and not believing they're that helpful, maybe I'll just add a warning for Nouveau lol.

Edit: Though actually what you've described as happening on your end with Nouveau sounds pretty hilarious, I might have to karma farm NPC's turning into rocks on Reddit

22-May-2019 19:57:39 - Last edited on 22-May-2019 21:22:10 by Hmm

Hmm
Jan Gold Premier Club Member 2016

Hmm

Posts: 11,761Opal Posts by user Forum Profile RuneMetrics Profile
If you could test it Bronze I'd really appreciate it.

I doubt the game would run on Wayland natively, but Wayland itself can spawn off X servers on the fly for backwards compatability. Assuming that's enabled in your system, the snap would probably still work.

There is potentially one Wayland specific module I'd have to enable through the Snap sandboxing, I'll give it an investigation now on my own machine, though I am going off of Linux and back to Windows tomorrow, the snap should continue plodding along just fine though.

Edit: Testing now, the launcher window loads but the game doesn't seem to. I'll enable the wayland interface and see if it changes.

Edit2: OSRS works but doesn't actually use a GPU so is cheating.

Edit3: I now have RS3 running on Wayland and will update the snap later.

Edit4: The fix is... going to take some consideration on how it works. Meanwhile, the Wayland session on NVidia keeps crashing on me and having me reboot the whole system every 5 minutes.

Edit: I cannot determine a fix because the behaviour here makes no sense, additionally, the Wayland crashes on my system are hampering my ability to have a functional system.

If you do the following in the terminal, the snap will run in Wayland

snap run --shell rslauncher.rs3
source $SNAP/bin/sandbox-configure
^ Will give out a lot of errors, yet surprise
source $SNAP/bin/sandbox-configure
^ now it will give out no errors
$SNAP/bin/rs3-launcher

Now the game will load.

You'd think if I even lazily put the sandbox configure twice in a row in rs3-launcher, it'd at least fix the issue, if be a bit ugly? NOPE.

I can't work it out, and I'm now extremely tired. I'll look around tomorrow for more info, but the behaviour is... odd.

23-May-2019 05:32:07 - Last edited on 23-May-2019 07:28:07 by Hmm

Hmm
Jan Gold Premier Club Member 2016

Hmm

Posts: 11,761Opal Posts by user Forum Profile RuneMetrics Profile
So the previous message was on NVidia 418 / Ubuntu 19.04 / Gnome 3.32

Knowing NVidia is absolutely horrible with Linux, and Wayland doubly so. I went over to Fedora 30 on Nouveau.

Although the first time notification of the snap on Wayland is... rather inflated. (I.E, absolutely massive), aside from this, the snap works absolutely fine on it. The first time run takes longer to work for some reason, but subsequent runs start much faster.

The experience on Ubuntu I'm not treating as a bug, because Ubuntu does not support Wayland by default for good reason, unlike Fedora, where a failure would have been a valid bug because Fedora may as well be the Wayland flagship distribution. But I'm thinking that in reality, it was the NVidia proprietary drivers causing more issue than they're worth.

So I'm going to say that in general, the snap works on Wayland, and if it doesn't, it's likely not the snaps fault. The XWayland fallback is designed by your desktop environment, disro maintainers, and highly influenced by the quality of the driver stack you're running on. All of these factors are not my problem unless it's something directly about the snap preventing the XWayland fallback working.

Tl;Dr Wayland works fine, if the snap doesn't work on your wayland, I'm skeptical to say it's a snap bug.

23-May-2019 23:52:52 - Last edited on 23-May-2019 23:57:34 by Hmm

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