this post was submitted on 23 Aug 2023
25 points (93.1% liked)

Linux Gaming

15863 readers
1 users here now

Gaming on the GNU/Linux operating system.

Recommended news sources:

Related chat:

Related Communities:

Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.

founded 4 years ago
MODERATORS
 

This is driving me crazy. I'm trying to run BG3 and I'm running into a variety of errors:

My step up:

OS: Ubuntu 22.04.3 LTSKERNEL: 6.2.0-26-generic CPU: AMD Ryzen 9 7950X3D 16-Core GPU: AMD Radeon RX 7900 XTX (gfx1100, LLVM 15.0.7, DRM 3.49, 6.2.0-26-generic) GPU DRIVER: 4.6 Mesa 23.3~git2308230600.fbf3f6~oibaf~j (git-fbf3f64 2023-08-23 jammy-oi RAM: 63 GB

One seems to be this for which I feel I've tried every googable solution:

You must install .NET to run this application.

App: Z:\home\peafield.local\share\Steam\steamapps\common\Baldurs Gate 3\Launche r\LariLauncher.exe Architecture: x64 App host version: 6.0.18 .NET location: Not found

Learn about runtime installation: https://aka.ms/dotnet/app-launch-failed

Another is this:

ERROR: ld.so: object '/home/peafield/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.

But I'm not even sure what this points to now.

Can anyone help? Or is anyone going through something similar with a similar set up?

EDIT: The solution, as many of you suggested, was to just change distros. I'd heard good things about Fedora so I tried it and everything ran first time with no tweaking! Thank you everyone for the advice.

all 36 comments
sorted by: hot top controversial new old
[–] ulu_mulu@lemm.ee 5 points 1 year ago (1 children)

LTS is your problem, it has too old stuff (kernel, drivers) for the sake of stability, never good for games, especially new ones.

If you want to stick with Ubuntu, you need the normal one, or change distro as you said, Fedora is good, Linux Mint is also really good and based on Ubuntu, if you want something more similar to what you're used to.

[–] Peafield@programming.dev 7 points 1 year ago (1 children)

Yeah this is what I ended up doing. Switched to Fedora and everything works perfectly! I've only been using Linux for about 6 months so I'm still getting my feet wet.

[–] ulu_mulu@lemm.ee 2 points 1 year ago* (last edited 1 year ago)

That's ok, making mistakes is the best way to learn, we all made them :)

[–] zelifcam@lemmy.world 4 points 1 year ago* (last edited 1 year ago) (1 children)

BG3 works for me. Not one issue.

You can try:

  • deleting the game prefix
  • verify integrity of the game files
  • using the latest GE-Proton8

Are you able to play other games using proton or is your whole system messed up?

[–] Peafield@programming.dev 1 points 1 year ago (1 children)

So I've tested it thoroughly and it turns out I can't run any games except ones like FTL. It's very weird and I'm exhausted by it!

[–] zelifcam@lemmy.world 4 points 1 year ago* (last edited 1 year ago)

We could go back and forth for weeks on here. But it sounds to me like maybe LTS Ubuntu kernel is not helping with your relatively new hardware. Maybe try a newer kernel?

I would just take a step back. Install a distro that’s a bit more tuned for newer hardware and gaming. Because people are playing everyday with hardware like yours.

People seem to like https://nobaraproject.org/ although any OS with newer kernels and packages by default will work.

At a minimum I’d at least try a distro that targets newer hardware and use case (games). Maybe it will expose the exact reason why your Ubuntu install is not working for gaming.

Let me add, you shouldn’t have to do ANYTHING to play BG3. There’s no reason to use wine or bottles or Lutris. It’s a steam game. Just press play.

I use the latest proton-GE with the launch parameters “%command% —skip-launcher”. But I’m pretty sure after I first downloaded the game it ran by simply pushing play. You set up your comparability right?

[–] morgan_423@lemmy.world 3 points 1 year ago* (last edited 1 year ago) (1 children)

Here's what I did on launch day to bypass the .NET issue.

I'm on a Steam Deck running Steam OS, so you may have to adjust this a bit to your distro, but that is what worked for me.

[–] Peafield@programming.dev 2 points 1 year ago

Thank you, for some reason even that didn't work

[–] gerbilOFdoom@beehaw.org 3 points 1 year ago (1 children)

For the second one, try turning off steam overlay for this game. For the first, are you running the game with Proton enabled?

[–] Peafield@programming.dev 2 points 1 year ago (1 children)

Weirdly I cannot toggle the steam overlay on it is greyed out but I believe it is off. And I have Compatability > For the use of... ticked and proton experimental selected.

[–] gerbilOFdoom@beehaw.org 1 points 1 year ago

Try switching to a different proton? You'll also need to use Vulkan drivers

[–] simonced@lemmy.one 2 points 1 year ago (1 children)

I think I recall having issues with Proton Experimental.
I think I am using the last stable Proton 8.something.
Tried the last GE-Proton as well but also had some issues.

Another thing, I think during the first launch, some Directx installs did fail or took long and I killed the processes.
Though, the game always started fine for me, and I disabled the Launcher at the first occasion, now all is good.

Also, I had some other issues with Steam lately, and I tried the Beta version of the client, all my issues are fixed, you could try that as well.

[–] Peafield@programming.dev 1 points 1 year ago (1 children)

I think this is exactly the issue I'm having. The launcher is failing to launch. How did you get around this and kill the launcher and just start the game?

[–] simonced@lemmy.one 2 points 1 year ago* (last edited 1 year ago) (1 children)

I don't exactly remember, but I know that I had the launcher running for the first times, and in it, I disabled it so the game launches right away.

One thing I had in a different game, was a edge process (certainly to fetch news or something) that failed and that was the process I had to kill so I could see the launcher.
I use btop in the terminal to show processes and I filter with the approximate name of the process I want.
If you don't know the executable name, you can filter steam and it'll show steam and the sub-processes that are running.
From there, you can simply select edgeUpdate ( I think that was that) or DirectXInstall (both used to cause me problem when launching games for the first time) and use the kill button and see if the game launches.

[–] Peafield@programming.dev 1 points 1 year ago

Okay I'll try that too! Thanks!

[–] Fluid@aussie.zone 2 points 1 year ago

I presume you’ve already done the obvious like verifying file integrity and making sure proton experimental is set as the runner?

[–] rotopenguin@infosec.pub 2 points 1 year ago (1 children)

ProtonTricks may be the app for your problem. It can run Winetricks specifically targeting the prefixes that Steam sets up for each individual game. Soo, (I do not have BG3) run Protontricks, pick the game, wait, find that Winetricks starts off at a really awkward point in its UI, pick add an application, cancel, find yourself at a better menu, choose "Install a Windows DLL or component", and check off the appropriate dot net version.

[–] Peafield@programming.dev 1 points 1 year ago

I'm going to try this.

[–] Mastershelf@lemmy.one 1 points 1 year ago (1 children)

If you add --skiplauncher to the launch options it skips the launcher and boots straight to the game. That might solve your problem.

[–] Peafield@programming.dev 1 points 1 year ago (3 children)

so it turns out that no games run on steam! The only thing I can get to work is minecraft at the moment, and that doesn't use steam!

[–] flashgnash@lemm.ee 3 points 1 year ago (1 children)

Did you enable proton? I seem to remember sometimes having to enable it for all games manually

Minecraft runs because Minecraft is Java and runs natively

[–] zelifcam@lemmy.world 3 points 1 year ago* (last edited 1 year ago) (2 children)

This is an important question I’ve been trying to extract from OP. They talk about lutris and wine, which makes NO sense when trying to play a steam game. Are you using proton compatibility and have proton installed? If so, then I’d really try a more modern distro.

[–] flashgnash@lemm.ee 0 points 1 year ago

You can actually play steam games through lutris I think, last I checked there was an option for connecting steam

That said I think most people save for the most diehard FOSS people would probably rather use steam for steam games

[–] jaxwxboss@fosstodon.org -1 points 1 year ago* (last edited 1 year ago) (1 children)

@zelifcam Steam+Proton doesn't work out of the box for everyone. I have two laptops with different hardware/OSs, and I run into compatibility issues on one system that I don't encounter on the other when attempting to launch the same games.

While I do agree that Steam+Proton provides excellent support - there are cases when Lutris+Wine and Bottles run better into certain configurations.

[–] rotopenguin@infosec.pub 2 points 1 year ago

99% of the time, that means SteamOS is getting sleeby and needs a reboot. (Some component of wine or something is not very good at cleaning up itself. You could try to chase it down, but trust me just rebooting is easier. Welcome to Linux.)

[–] Rogueren@discuss.tchncs.de 1 points 1 year ago* (last edited 1 year ago)

Sounds like Steam and Proton may be broken. do sudo apt purge steam and then delete all your Proton prefixes in I think its ~/.steam/steam/steamapps/compatdata (the folders will all be game ID numbers) then reinstall Steam and try again. I'm running the game with the launcher on Pop!_OS 22.04 which is Ubuntu based and have no problems. However I set in the launcher to use Vulkan instead of DirectX

[–] wxboss@lemmy.sdf.org 1 points 1 year ago (1 children)

I don't have BG3 installed, but I have had some weird issues when using Steam lately. Have you tried using Lutris to launch the game?

[–] Peafield@programming.dev 2 points 1 year ago (1 children)

That was one of the things I tried today and I couldn't get Lutris to run! I'm wondering if something is fundamentally wrong with my Ubuntu install

[–] wxboss@lemmy.sdf.org 2 points 1 year ago (1 children)

We’re you able to download the game via Steam? And if so, what method did you use to launch it via Lutris? Did you try launching it by accessing a file?

Try looking in: ~/.steam/steam/SteamApps/common

[–] Peafield@programming.dev 2 points 1 year ago (1 children)

I could not get Lutris to run at all. It kept on crashing.

[–] wxboss@lemmy.sdf.org 2 points 1 year ago (1 children)

Did you download it via Snaps or Flatpak?

[–] Peafield@programming.dev 1 points 1 year ago (1 children)
[–] wxboss@lemmy.sdf.org 0 points 1 year ago* (last edited 1 year ago) (1 children)

Okay. Do you have Wine installed?

Wine can potentially help resolve the .exe and .NET errors that you’re experiencing.

[–] Peafield@programming.dev 1 points 1 year ago

I do have wine installed yeah