this post was submitted on 12 Nov 2023
4 points (100.0% liked)

Linux Questions

1070 readers
1 users here now

Linux questions Rules (in addition of the Lemmy.zip rules)

Tips for giving and receiving help

Any rule violations will result in disciplinary actions

founded 1 year ago
MODERATORS
 

Wine works really well on popular games. But when I want to run a more obscure program I have spotty luck.

On a few of occasions I was able to get a few programs to run via Wine, but after an OS wipe I was unable to get them to work again. In those circumstances I know the programs CAN work, & I realize how terrible I am at troubleshooting Wine problems. Internet searches turn up very little advice for how to go about troubleshooting.

Do any of you have any procedures, rules of thumb, advice etc for troubleshooting Wine issues?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 3 points 1 year ago (1 children)

Thanks for the advice! I've made a habit of using individual prefixes for games & non-games alike (via Lutris), but I've rarely installed anything extra besides just the program/game in-question. Twice you mentioned dotnet48, vcrun2022, dxvk, and vkd3d. Are those particularly common "must haves" to include on the prefix in addition to the game/program?

[โ€“] [email protected] 3 points 1 year ago

Not all programs will need those but as a shotgun method it's a very easy first attempt at solving problems. If you're already using Lutris it's probably handling dxvk+vkd3d for you, so you can just add dotnet48 and vcrun2022 to see if that helps. You can also run winetricks through Lutris itself with this option, but there's no way to "force" it via the -f flag like you can in the CLI. The -f flag is currently required to install dotnet48 IIRC because Winetricks is confused about which versions of Wine can accept that install.

If you're specifically trying to get a game to work you can also try installing physx and xact, which are sometimes required for older games. Another tip for games is that occasionally certain games get freaked out about NVAPI being enabled, so you can try disabling NVAPI under the "runner options" tab in Lutris configuration to see if that helps. Also, try using the latest Wine-GE Wine version in Lutris, if you're currently just using stock system Wine. ProtonUp-Qt can download this into the right directory for you if you're not sure how.