From my understanding, at least one other necessary component is dxvk, and that wine is not enough.

If I dont use lutris or some other manager, how can I game on linux? do I have to configure dxvk? do I need soemthing else too? vulkan?

Is there a guide that explains it?

  • Astaroth@lemm.ee
    ·
    edit-2
    9 months ago

    From my understanding, at least one other necessary component is dxvk, and that wine is not enough.

    dxvk is not necessary but it massively improves game performance on a lot of games, also keep in mind some games will actually not run if you use dxvk, so you sometimes (very rarely) have to use OpenGL instead and the only way I really found to do that was to have a wine prefix without dxvk. (I might've just been stupid though)

    for the record only games that I had to use open GL for so far was Starcraft 2's Galaxy Editor (although the actual game itself runs fine with dxvk) and I had some problems with alt tabbing in really old versions of Warcraft 3 (1.27 and older)

     

    Anyway, for a time I used Lutris a bit but now I always run wine through terminal because Lutris was great when it worked but there were seemingly no solutions for when it didn't (while running wine directly has never given me a problem).

    And what's great with running wine directly through the terminal is that either it will run and you're good or you'll get some error messages saying that some .dll or whatever is missing (usually .net, visual studio, msvcr100+.dll, mscvcp100+.dll, ms*.dll, etc.) and you just use winetricks and go through the list until you find what you need.

     

    One more thing that took a while for me to learn was that some games (if you're using mods) will need to be run along with WINEDLLOVERRIDES environment variable https://wiki.winehq.org/Wine_User's_Guide#WINEDLLOVERRIDES.3DDLL_Overrides

    for example when I play Need For Speed Most Wanted 2005 I start it with this command: WINEDLLOVERRIDES="dinput8=n,b" wine speed.exe

    another thing is sometimes you want to run games with some arguments, for instance before I got XCOM 2 on Steam and used AML I used to run it with this: wine XCom2.exe -noRedScreens -review


     

    Now here's a pretty big caveat, which is that I use FISH instead of Bash which adds some big QoL improvements (in this case it's mainly about tab completion).

    If I actually had to manually type in the commands or spend minutes going through history file every time I would never do it.

    Although I suppose you could make an alias for each game.

     

    Oh yeah and always run the games from the same directory as their .exe file is located in, more often than not it won't work if you just do wine /path/to/directory/game.exe instead of cd /path/to/directory && wine game.exe

     

    Edit: some typos, and I just want to note that the && aren't supposed to include the amp; parts

  • VHS [he/him]
    ·
    edit-2
    9 months ago

    dxvk is available through the distro, if you're on an ubuntu or debian-based distro just run sudo apt install dxvk. vulkan should come pre-installed on any modern distro.

    i'd highly recommend using some kind of manager, if you don't want lutris than use playonlinux which is more minimal. this keeps things organized and lets you use different wine versions and tweaks for each game. for example, some newer games need proton-experimental or an otherwise very recent version to run, but you may not want to replace your system wine with this.

    • Astaroth@lemm.ee
      ·
      9 months ago

      afaik you need dxvk in the actual wine prefix, just having it on your system doesn't do anything.

      I had installed dxvk from AUR and didn't get why it wasn't doing anything, turns out the point of having dxvk on your system is for symlinking it into your wine prefixes so you don't have to get a dxvk installation for each prefix individually.

      when I found that out I just removed dxvk package and got installed dxvk directly to the my prefix with winetricks, because I only use two wine prefixes anyway (one for vulkan and another for games that have to use opengl)

  • TPWitchcraft@lemmy.ml
    ·
    9 months ago

    Didn't use Wine much lately, but when I do i use usually 2 prefixes; one for 32, one for 64 bit. Winetricks is often helpful; so is the appdb on WineHQ.

    Have fun!

  • inode@lemmy.ml
    ·
    9 months ago

    Like others have posted, I use Lutris. I usually have to supplement it with game posts on the protondb website so I know what fixes might be needed. Often they have some environment variables that might be useful or they list certain items that need to be installed via winetricks(or in steam's case protontricks). Some games just don't run but you can usually get a lot of them to run.