Wine slow for DirectX games?

Debian_SuperUser

Active Member
Joined
Mar 18, 2024
Messages
136
Reaction score
33
Credits
1,606
Trying to play COD MW 2 (the old one) using Wine. Everything seemed to be working, except resolution scaling where I couldn't get lower resolution to scale up to native. That aside, I think I am definitely getting much lower performance. On a different machine, I have played COD MW 3, and that runs it much better on Windows, and specs is complicated but that is I would say a bit slower in gaming. The performance here doesn't even seem normally low, but buggy-ly low. When there are a lot of things to render, I get a huge fps hit. I thought to monitor GPU usage, but mangohud isn't working.

On the WineHQ website, I see that this game was tested with Wine 1.7.55 and Wine 4.x. Previously, I had already compiled Wine 7 because I had a problem playing a game, and that game was tested with Wine 7, and so Wine 7 worked well with it. But compiling Wine 1.7.55 and also Wine 4 is so difficult on a modern system. I want to know that if the performance drop because it is a DirectX game and nothing can be helped, or is it because of the Wine version?
 


Have you tried installing DirectX 9 into WINE

 
On the WineHQ website, I see that this game was tested with Wine 1.7.55 and Wine 4.x. Previously, I had already compiled Wine 7 because I had a problem playing a game, and that game was tested with Wine 7, and so Wine 7 worked well with it. But compiling Wine 1.7.55 and also Wine 4 is so difficult on a modern system. I want to know that if the performance drop because it is a DirectX game and nothing can be helped, or is it because of the Wine version?
I have no issues with COD last time I played it, however regarding Wine I suggest to install and use wine-staging from Wine-HQ.

It's also recommended to use Lutris to install game into Wine and to play because it comes with additional runtime, and it also lets you specify screen resolution for game if in-game settings don't work as expected.
 
Last edited:
Have you tried installing DirectX 9 into WINE

I installed it using winetricks (I couldn't install it through that exe package). I saw no difference. It makes sense. If DirectX wasn't installed or working at all, then how would the game even run, right?

Is there something else I want to install? DXVK? .NET?
 
Are you talking about this one?

Or this one?

Off-topic: I can't believe they are still selling 3 for that amount for such an old game, even 2 I still find overpriced.
 
Are you talking about this one?

Or this one?

Off-topic: I can't believe they are still selling 3 for that amount for such an old game, even 2 I still find overpriced.
The first one.
 
Trying to play COD MW 2 (the old one) using Wine. Everything seemed to be working, except resolution scaling where I couldn't get lower resolution to scale up to native. That aside, I think I am definitely getting much lower performance.
So if I understand correctly you are not getting your monitors native resolution but lower? What do you mean when you say "lower performance", lower fps count?
 
I would try installing playonlinux with it you can choose what ever version of wine works best for your program. from very old to very newest. Most distro have it available. but it won't work in kde 6.
 
I would try installing playonlinux with it you can choose what ever version of wine works best for your program.
I wouldn't use PlayOnLinux anymore, last release was 4 years ago and it's not in the Arch repository anymore. I would go with either Lutris or Heroic Games Launcher, since those two are the most used when it comes to gaming on Linux, other option is to just play it on Steam with Proton.
 
I know it is obsolete but it does allow you to install many versions of wine at the same time. I have never use the other ones you mentioned so can't say anything about them. I'm not a gamer though.
 
So if I understand correctly you are not getting your monitors native resolution but lower? What do you mean when you say "lower performance", lower fps count?
No, if I choose a lower resolution, I can't span it to my native resolution. It runs in a smaller windows. Native resolution works fine. But that is least of my problems so let's not try to fix that.

Yes, I get much lower performance than what I would expect. I tried so much trying to enable cheats and getting fps to display, but I couldn't. Based on what I am seeing, it's probably not normally low, but kind of buggy-ly low where the fps drops more when more is rendering on the screen.
 
I installed it using winetricks (I couldn't install it through that exe package). I saw no difference. It makes sense. If DirectX wasn't installed or working at all, then how would the game even run, right?

Is there something else I want to install? DXVK? .NET?
You should be able to install it using the exe file - I did on my machine and it works just fine - did you associate the exe file with WINE ?? Right click the exe file select properties and then select Wine Windows Program Loader - Plus I see you are running WINE 7 that is old you need to be running WINE 9 - https://gitlab.winehq.org/wine/wine/-/wikis/Download
 
You should be able to install it using the exe file
Yeah so I was just having a problem which I fixed it and made a fresh wineprefix. I installed it through the exe file. Strangely, it feels it is a little bit improved, but I doubt so (still a lot lower performance than I would expect). I tried monitoring through intel_gpu_top (I only have integrated graphics), and what I so that the GPU utilization wasn't even max, and the clock frequencies were much lower. The GPU power usage was also quite low, but the package power was quite high, meaning the CPU is taking a lot of the power. This just shows that there is a huge CPU bottleneck.

Plus I see you are running WINE 7 that is old you need to be running WINE 9
I just had compiled Wine 7 for another game. I do have the latest Wine installed as well, which is what I am using to run the game. I did try Wine 7 and the same results.
 
@kc1di :-

I know it is obsolete but it does allow you to install many versions of wine at the same time. I have never use the other ones you mentioned so can't say anything about them. I'm not a gamer though.

Heh. Been there, done that....

I build 'portable', self-contained versions of WINE for the Puppy community, based around AppImages created by a guy over at Github who goes by the handle of mmtrt .


Because an AppImage is much, MUCH simpler to 'install/uninstall' - like, you DON'T, since it merely unpacks itself into /tmp, then runs from there for the session - it's also far simpler to swap between different versions of WINE.....

So; I built my own 'swap' utility to allow me to manage multiple builds of WINE. And since all you're actually doing with my set-up is to create a bunch of sym-links, then delete 'em again, it really doesn't take much time at all. It's not like you're performing a full system-install of WINE, along with creating the 'prefix' every time.....each 'portable' WINE has its own 'prefix' within, already set-up with whatever programs you're running. The individual Menu entries I create are all linking to a completely external WINE environment, and that's where your Windows apps are actually running. Totally outside the system...


Mike. ;)
 
Last edited:
For on top games, written for Win, I would prefer Win.
A short story. some times ago, I did buy an AMD rx560, its like a small motherboard.
I have found a bug, try to indicate it, I got the option by AMD, which game ???
 
Similar to PlayOnLinux, Bottles (preferred deployment method of the developers of the program being the official Flatpak on FlatHub rather than distro repositories) is also a good option.

It is a wrapper for Wine that allows you to create Bottles, which are essentially self-encapsulated Wine prefixes and drives, and comes with functionality similar to Winetricks for your Bottles as well, in addition to supporting non-standard versions of Wine such as Wine-GE.
 


Members online


Latest posts

Top