this post was submitted on 13 Jul 2024
7 points (88.9% liked)

Linux Gaming

15226 readers
503 users here now

Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.

This page can be subscribed to via RSS.

Original /r/linux_gaming pengwing by uoou.

Resources

WWW:

Discord:

IRC:

Matrix:

Telegram:

founded 1 year ago
MODERATORS
 

Hello, I just installed Nobara as I thought it would be easier to play on Linux I had a bit of experience with KDE and manage to get a system running OK. Though I have now an issue with wine. When I tried to start an application (the installation is done at this point) it ask to have DirectX installed to get it running. How do I get it installed ? Also I think I have multiple wine installations as, if I start it through heroic or steam it ask for DirectX and vcrun (visual C++ if I remember correctly) and if I start it through the file browser, it only ask for DirectX

Do you know how to solve those issues ? If I get more information or solve the issue I'll post a comment about it.

Have a pleasant day you all and take care !

top 11 comments
sorted by: hot top controversial new old
[–] [email protected] 7 points 3 months ago (1 children)

You don't use DirectX on Linux, as it is a windows API.

Instead, you use DXVK or VKD3D which provide DirectX functionality, but while translating the actual GPU calls to Vulkan.

If you have installed the Linux version of Steam (not the windows version inside wine) Steam will handle everything for you after you enable steam play for all titles in settings.

In steam, you can choose a default proton/wine version to use, and also set one for each game in the game properties.

For Heroic, it should install these things automatically, but this may be broken. It wasn't working for me last I needed it.

Instead, you can use protonUP-QT to download additional versions of wine, which can then be used in Heroic. GE versions should come with DXVK and VKD3D already.

If you need a particular dependency (like vcrun), this can be installed using winetricks/protontricks.

When using protontricks, select the game, then select installing dependencies to the default prefix.

For Heroic, open the settings for a game. There should be a button to access winetricks, from there select default prefix, then install dependencies.

Find your dependency, and install it.

[–] [email protected] 3 points 3 months ago* (last edited 3 months ago)

Upvoted, but

You don't use DirectX on Linux, as it is a windows API.

But we are talking about wine, so we are using directx and there is even native implementation of directx 9 in mesa called gallium9.

Instead, you use DXVK

Not necessarily. Wine has its own implementation already built in, but it translates to opengl not vulcan (yet). You can even partially use the native directx, but it won't be very efficient, because wine has to translate more staff.

[–] [email protected] 2 points 3 months ago* (last edited 3 months ago)

Simplest way to install windows dependencies like vc++ redistribution to steam game is proton tricks or lutris.

edit: If you have some games from gog, also try bottles this is my daily carry.

[–] [email protected] 2 points 3 months ago* (last edited 3 months ago) (1 children)

Sounds like a problem I just had with a pirated game. In my case I was just trying to run the wrong exe file!

To install these dependencies you can use wine tricks to install dll to your prefix. But it'd help if you were more specific about the game

[–] [email protected] 2 points 3 months ago (1 children)

I'm pretty sure I ran the good exe file, the game is Still Wakes the Deep I'm not sure why it happened but the issue happened with kubuntu also I did found the vcrun and this issue disappeared, though for DirectX I don't know which DLL choose.

[–] [email protected] 1 points 3 months ago (1 children)

No way! I had the exactly same problem with the same game! (from Fitgirl) You're trying to launch the wrong exe friend. You need to select the Stillwakesthedeep.exe from Habitat/Binaries/Win64 folder.

[–] [email protected] 2 points 3 months ago (1 children)

OK I will try when I get time, I didn't download it from fitgirl though. I'll keep you in touch if I can get it working ! Thanks for your help :)

[–] [email protected] 1 points 3 months ago (1 children)

You're welcome, hope that works!

[–] [email protected] 1 points 3 months ago (1 children)

You were rights.. Bad exe files, even now I'm not sure I believe it. Thank you :) !

[–] [email protected] 1 points 3 months ago

Ha ha I'm glad it helped!

[–] [email protected] 1 points 3 months ago

Thank you for your answers, I swapped back to kubuntu and will see if I can get it working. Thank you for your time and sorry for the bother.