Hey all!

So I’ve been wanting to get into Linux gaming for a while thanks to inspiration from this community, but I’ve struggled to get it working, and after a final try today I’m starting to lose hope. I haven’t gotten a single game working, most of them using Steam and Proton, but I also tried League of Legends through Lutris. I don’t know what to try next, other than maybe installing a different Linux operating system and trying again. Anyone with some advice on what I can do, or where I can turn for help? I’ve searched online as best I can but didn’t find anything that seemed relevant.

Some details of what I’ve tried if anyone is curious: on Steam I tried Trine 4 and Jusant today, previously also Baldur’s Gate 3 a few months ago. The games simply don’t launch, though for BG3 and LoL at least the launcher starts. Usually no error message, but Trine did for once tell me “GPU error detected” today. I’ve tried both Proton Experimental and whatever the newest version is at the time, today Proton GE-Proton8-14. Some system details:

Distro: Ubuntu 22.04.3 LTS RAM: 16GB CPU: AMD Ryzen 5 1600 six-core GPU: Nvidia GeForce GTX 1070 GPU Driver: Nvidia 545.29.06 (proprietary)

  • hperrin@lemmy.world
    link
    fedilink
    English
    arrow-up
    40
    arrow-down
    1
    ·
    edit-2
    1 year ago

    One thing that would be good to check is to make sure the Nvidia proprietary driver is actually controlling your video card.

    Run

    sudo lshw -c video
    

    in the terminal, and make sure that under “configuration” you see “driver=nvidia” and not “driver=nouveau”.

    Also make sure there’s only one entry that comes up. I’m pretty sure your CPU doesn’t have an iGPU, but good to make sure.

  • LoopDigger@lemmy.world
    link
    fedilink
    English
    arrow-up
    26
    arrow-down
    1
    ·
    1 year ago

    Try setting proton to version 7 in steam. I had a similar issue and it was down to having an older gpu that wasn’t compatible with stuff the newer proton releases were doing.

    • LoopDigger@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      ·
      1 year ago

      Oh yeah, I also had to change the nvidia driver to the legacy version. Yes, my computer is ancient.

      • Lemmilicious@feddit.nuOP
        link
        fedilink
        English
        arrow-up
        5
        ·
        1 year ago

        Ah, Proton 7 didn’t seem to help, but I haven’t tried using older drivers yet, I should probably try that next! Thanks!

        • fedev@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 year ago

          Check the documentation to see which driver supports your hardware before trying.

          Once you have the correct driver, test to see if it is working properly, there are a few commands to do this.

  • Caveman@lemmy.world
    link
    fedilink
    English
    arrow-up
    16
    ·
    edit-2
    1 year ago

    Sounds like a driver Nvidia driver issue. Have you tried running a natively supported game like Counter Strike?

    See if you can update/install the nvidia proprietary drivers and see if anything works.

    See also if there’s a recommended diagnostics program to see if you can get more clues if the above doesn’t work.

    • Lemmilicious@feddit.nuOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      I haven’t tried a natively supported game, I’ll go ahead and see if I can do that.

      I have tried updating the Nvidia drivers. I’m not sure I understand what you mean by recommended diagnostics problem? Thank you for the tips!

  • youmaynotknow
    link
    fedilink
    English
    arrow-up
    15
    arrow-down
    1
    ·
    1 year ago

    In cases like this, because of the simplicity, I suggest installing PopOS! Nvidia ISO. Chances are, with that hardware, that it will just work. Good luck bud.

  • burgersc12@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    13
    arrow-down
    1
    ·
    edit-2
    1 year ago

    Imo distro doesn’t matter very much. Your best bet is to try either Lutris or Bottles in order to manage your games easier. Then you just need to install dependencies and the games should work. If not, try other wine versions, proton, proton-ge etc

  • angrymouse@lemmy.world
    link
    fedilink
    English
    arrow-up
    12
    ·
    1 year ago

    Try run steam from terminal, it will show more logs about the error, this is my best advice for now since I don’t use Nvidia for a while.

    • Lemmilicious@feddit.nuOP
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 year ago

      Ah it did indeed show much more info! I could pick out two things that seemed like error messages, I’ll search the internet for them later but gotta run for Christmas celebration in a minute.

      When starting Steam it told me “unable to init and enumerate GPUs with Vulkan” and “BInit - unable to initialize Vulkan!”, which sounds potentially serious.

      On trying to start the games (and maybe at other occasions too) it told me

      Glib-GIO-CRITICAL **: g_setting_schema_source_lookup: assertion ‘source != NULL’ failed

      I’ll look into them when I get the time, but I wanted to write them here anyway for completeness. Thank you for your help!

  • BananaTrifleViolin@kbin.social
    link
    fedilink
    arrow-up
    12
    ·
    edit-2
    1 year ago

    You may have the GPU drivers installed but are they active? Look in “Software & Updates” on the Additional Drivers tab and see which drivers are active.

    Installing the drivers is not enough, you have to select them to use them too.

    If the latest drivers are active then you may need to think about switching to a legacy version (you have a pretty old CPU and GPU by current standards; newest drivers are not always best). You may also want to look at using older versions of Proton than the latest for similar reasons - there may be features and changes in newer versions that are just not going to work with your set up or your set up just isn’t tested to work with.

    • Squiddles@kbin.social
      link
      fedilink
      arrow-up
      9
      ·
      1 year ago

      I’ve never had any issues on Hyprland. The Steam Deck also uses Wayland (Gamescope). Not saying there can’t be cases where unique bugs happen on Wayland, and maybe there’s something else I don’t know about, but Steam Wayland support seems to be fine as far as I can tell.

    • Limitless_screaming@kbin.social
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Does Steam even have any support for Wayland? There’s maybe one dialogue window that runs under native Wayland, and the rest of the UI uses XWayland. I’ve been running the few games I played under XWayland and they work just fine on KDE Plasma / Manjaro.

      • scutiger@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        By default, I don’t think so, but you can install gamescope and that supports Wayland.

        • Limitless_screaming@kbin.social
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          Gamescope is just a Wayland compositor. It’s like switching from Gnome to Plasma (or Mutter to KWin), I don’t think that would matter to Steam.

  • RiderExMachina
    link
    fedilink
    English
    arrow-up
    10
    ·
    edit-2
    1 year ago

    There are a lot of interesting things in your post.

    First, League typically doesn’t work well on Linux because Riot doesn’t care about Linux users. If League is going to be a deal breaker, I’d recommend getting a dedicated Windows system for the best time.

    Second, your CPU has a known hardware bug with C-states. If you’ve been noticing your computer freeze often under Linux, disable C-states in your BIOS.

    Third, are the games you’re trying to launch purchased through Steam, purchased through a different store, or pirated?

    Are you able to play any of your games, or is it just these few that have been giving you trouble? If it’s every game, you may not have the nvidia driver or vulkan installed. Just to be sure, you can try running nvidia-smi in a terminal, which will show you which driver the system is using. If you are unable to run the command at all, you’ll definitely need to install the nvidia driver

    • potajito@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      ·
      1 year ago

      As of today at least, lol is working using wine-ge (there is explicitly a version for lol)

    • Lemmilicious@feddit.nuOP
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 year ago

      I’ve heard that League is usually problematic on Linux, but it’s not a deal breaker, my computer is dual booted anyway so I could always play it on Windows.

      All the games, League aside, are purchased through Steam. I have only tried these games I mention, since they are the only games I’ve been playing since I set up my Linux partition, but since not a single one of them worked at all I have assumed that’s it’s probably not the games that are the problem.

      Nvidia-smi confirms I’m using 545.29.06. About Vulkan though, i l noticed now that when I launch Steam through the terminal it says “unable to enumerate GPUs with Vulkan” and “Unable to initialize Vulkan”. Could maybe that be the source of the issue then? Thanks a lot for your help either way!

      • Linus_Torvalds@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        League is actually working fine, it just had a bug last month. I’ve been playing for 2 years on Linux exclusively and it was unplayable for max 2 weeks.

    • Shaka@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 year ago

      This is important, if your games are installed in a drive formatted in NTFS you will have problems with Proton/Wine/etc. One way to discover the issue is to run Steam from terminal and it will tell you the details in an error message

      • Zaphod@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        The games can be installed on an NTFS drive, but the compatdata has to be on EXT4 (or some other well supported file system for Linux)

    • Lemmilicious@feddit.nuOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Yeah, my Linux partition is Ext4! I have dual-booted my computer since I didn’t trust myself to get Ubuntu up and running quickly, haha.

      • Shaka@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        But are your games installed in the Ext4 partition? See my other reply from before.

  • Lunch@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    1 year ago

    That’s odd, I installed Nobara as my OS and almost any game is just install and click play and it plays flawlessly. Using both steam to install and Heroic Launcher (which you could try) that has the capabilities to get the games you have on GOG, Epic and Amazon Prime*. Don’t forget that in steam you need to enable Linux/Proton in settings.

    Otherwise ProtonDB is a great resource to see what games run on Linux, how well they run and how each person ran the game.

    https://www.protondb.com/

    Edit: I do believe getting a dedicated gaming distro does help as it has a lot of necessary tweaks pre-configured. For that I’d recommend, Nobara, Garuda or PopOS!

    • Lemmilicious@feddit.nuOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      ProtonDB is great, I did look at it which is why I expected to be able to run those games! Even people on protonDB that had to tinker to get it working seemed to at least be able to start the games, so I couldn’t find anyone with problems matching my case. Thanks for the tip though! If I don’t manage to figure it out with all help in this thread I might try one of the gaming distros :)

  • wingsfortheirsmiles@feddit.uk
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 year ago

    I started using Pop OS at the start of the year and have managed to play the vast majority of games including Baldur’s Gate 3. My hardware was similar to yours (though I’ve recently upgraded): 3700X, 1080Ti. Downloaded the version of Pop with the Nvidia drivers and ensured Steam Play was enabled for all games (to automatically utilise Proton).

    I’d suggest trying the other Nvidia driver versions, as one of the other ones might work better with your 1070. Seem to recall I accidentally switched to one of the other versions Pop offers and had issues so maybe playing around with them will get some games working

  • CarlosCheddar@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    I’ve played most of those games on Linux and they work out of the box on my EndeavorOS setup with AMD. You may be missing some drivers or libraries specific to your setup.