Issue with launching Rust from Steam (on Ubuntu 18.04)

Issue with launching Rust from Steam (on Ubuntu 18.04) - Aged rusty wooden building with stove heating and pot of boiling steaming food

I recently bought and installed Rust along with Steam onto my computer (running Ubuntu 16.04 LTS and now 18.04 LTS). After downloading, I tried to run Rust first from Steam and then from the desktop icon, but to no avail. Everytime I click PLAY a window pops up saying Preparing to launch Rust..., which then closes and supposedly stops (the STOP button turns back to PLAY). I found my way to the output_log.txt file to see if there were any issues, and have pasted to content below.

Found path: /home/main/.local/share/Steam/steamapps/common/Rust/rust
Mono path[0] = '/home/main/.local/share/Steam/steamapps/common/Rust/rust_Data/Managed'
Mono config path = '/home/main/.local/share/Steam/steamapps/common/Rust/rust_Data/MonoBleedingEdge/etc'
Preloaded 'ScreenSelector.so'
Preloaded 'libRakNet.so'
Preloaded 'libRenderer.so'
Preloaded 'libRustNative.so'
Preloaded 'libeac_server.so'
Preloaded 'libeasyanticheat.so'
Preloaded 'libsteam_api.so' 
Unable to preload the following plugins:
    libRenderer.so
    libRustNative.so
Display 0 '0': 1366x768 (primary device).
Desktop is 1366 x 768 @ 60 Hz
Vulkan detection: 0
No supported renderers found, exiting

(Filename: ./PlatformDependent/LinuxStandalone/main.cpp Line: 639)

eac_server.so [x64] :: OnLoad()
eac_server.so [x64] :: OnUnload()

I assume the error is that it didn't preload libRenderer.so and libRustNative.so, but when I tried to find a solution for this I couldn't. If this is the issue, does anyone know how to fix it, or how to preload the files another way?

EDIT: I'm not trying to run a server or anything fancy, just the base game.

EDIT: I figure more information can't hurt. This is the console output when trying to run the game:

ExecuteSteamURL: "steam://rungameid/252490"
GameAction [AppID 252490, ActionID 3] : LaunchApp changed task to ProcessingInstallScript with ""
GameAction [AppID 252490, ActionID 3] : LaunchApp changed task to SynchronizingCloud with ""
GameAction [AppID 252490, ActionID 3] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 252490, ActionID 3] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 252490, ActionID 3] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 252490, ActionID 3] : LaunchApp continues with user response "CreatingProcess"
Game update: AppID 252490 "", ProcID 20033, IP 0.0.0.0:0
ERROR: ld.so: object '/home/main/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/main/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
CreateDirectory '' failed:  (current dir: )
Starting app 252490
>>> Adding process 20033 for game ID 252490
GameAction [AppID 252490, ActionID 3] : LaunchApp changed task to WaitingGameWindow with ""
>>> Adding process 20034 for game ID 252490
>>> Adding process 20035 for game ID 252490
GameAction [AppID 252490, ActionID 3] : LaunchApp changed task to Completed with ""
Game removed: AppID 252490 "", ProcID 20033 
Uploaded AppInterfaceStats to Steam
Exiting app 252490
No cached sticky mapping in ActivateActionSet.


Best Answer

The error looks pretty straightforward.

Vulkan detection: 0
No supported renderers found, exiting

This may mean either that your Graphics card has no vulkan driver support (generally because it is too old to be supported), or simply that you don't have the necessary driver/support packages installed.

(An OpenGL renderer hasn't been supported since some time early 2019, according to a youtube video I found.)

The output of the command vulkaninfo could give more info about your vulkan support. (If it doesn't exist, install the vulkan-tools or vulkan-utils package to get it.)

If that command doesn't exit with an error, such as VK_ERROR_INITIALIZATION_FAILED, then there is a chance you can get it to work.

And probably a simple internet search will already tell you whether your graphics card should have Vulkan support.


Bear in mind that, even if you can solve the renderer issue, the game may not work. There is the possibility that the EAC Anti-Cheat will kick you out, since they have stopped their Linux support (at least for this title).

Or, since Facepunch Studios themselves have stopped supporting Linux, there is the chance that it won't work simply because the Unity engine shipped with the Linux build has issues (Perhaps they still drop updates for Linux unofficially, perhaps they don't - I have no clue.) or they might even actively kick linux clients, since no adequate cheat protection might negatively influence the playerbase as a whole (dev reddit post).




Pictures about "Issue with launching Rust from Steam (on Ubuntu 18.04)"

Issue with launching Rust from Steam (on Ubuntu 18.04) - From above of unrecognizable female psychologist with crossed legs taking notes on clipboard while filling out questionnaire during psychotherapy appointment in cozy office
Issue with launching Rust from Steam (on Ubuntu 18.04) - Glass goblet on rusty corroded metal surface
Issue with launching Rust from Steam (on Ubuntu 18.04) - From above of blurred anonymous female psychologist reading documents on clipboard while sitting in office near table during session



Can you run Rust on Ubuntu?

Install Rust on Ubuntu using the RustUp Script While there are several different ways to install Rust on Linux, the most recommended method is using the rustup shell script. This is the recommended way to install Rust on Ubuntu on the official Rust website. So this would be the method we will be using in this tutorial.

Can you run Rust on Linux?

Rust used to be a native application for the Linux desktop. However, the game developer (Facepunch) said that not enough players used the Linux version and decided to retire it. However, you can still play RUST as a Linux user by way of the Steam Play tool.

Can u play Rust on Steam?

The survival video game Rust has seen a huge boom in popularity as top streamers like Pokimane, Myth, shroud, and more have begun to stream and upload content on the brutally hard survival game. Here's everything you need to know about Rust and how you can join in the fun.

Where SteamCMD install games?

in your favourite terminal emulator. A suggested install location would be ~/. steam/steamcmd to hide the program within your existing Steam installation, though SteamCMD is fully indepedent of the regular Steam client and can be installed anywhere you like.



Fix CSGO Doesn't Launch Error in Steam on Ubuntu 18.04




More answers regarding issue with launching Rust from Steam (on Ubuntu 18.04)

Answer 2

Linux and Mac were using a rather old version of OpenGL that didn't support many of the optimizations we were using on Windows and would regularly break shaders. In order to make future development easier for us and give the two people playing on those platforms a slightly better experience we decided to move Linux to Vulkan and Mac to Metal. This means that if you're on Linux you should install the absolute latest graphics drivers you can get your hands on and ensure that you are no longer adding the "-force-opengl" startup parameter since that will break the game. You can also give Vulkan a try on Windows with the "-force-vulkan" startup parameter, but on most graphics drivers there are still some issues so we generally recommend staying on DirectX for now.
Facepunch said on there site.

Answer 3

The combination of the original and your edit seems to have a small trail to an answer that sounds like an arduous journey:

In the original it has "eacserver [x64]". This implies you're running a 64-bit install. Also that Easy Anti-Cheat's server is running, but IDK if that happens when running the game itself or not -- are you sure you're launching the game?

In the edit it has "(wrong ELF class: ELFCLASS32)". ELF = Executable and Linkable Format. The 32 implies they're 32-bit, but the system wants 64-bit.

Relevant short answer on Ubuntu Stack Exchange under "12.04 - unable to load shared object wrong ELF class: ELFCLASS32". Too Link; DR: Can't run 32-bit libs on 64-bit system.

Finally, this Reddit post should help you install those missing dependencies. This ArchLinux Steam troubleshooting guide has a couple more complex scripts to find missing dependencies that could be useful, but they're not as easily understood without lots more reading documentation and experimentation than the short options.

Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Shirley Ho, Alex Green, Maria Orlova, Alex Green