Any games that run on Wine are laggy.

Questions about Wine on Linux
Locked
newguytryingames
Newbie
Newbie
Posts: 1
Joined: Sun Jun 16, 2024 9:07 pm

Any games that run on Wine are laggy.

Post by newguytryingames »

Greetings, as the title says, I use Wine to play Windows games. When I run a game and it works perfectly as if it has native support, Lutris makes it laggy. So I tried running a game with Bottles. And to my surprise, The issue persists. So I jumped to the conclusion that the problem was probably from my hardware not being good with Wine. System Information will be shown below:

Image

I've been told by many on the Linux Mint forums that my GPU is outdated and cannot run Vulkan. So I had no option but to use OpenGL. OpenGL as far as I know is what's causing this unjustified lag. If you're asking why I say unjustified, it's because these games ran with a solid 60 FPS back on Windows. If possible, give me tips on how to improve OpenGL performance or any other things you would like me to do. And just so you know, hardware changes are out of the window due to the economy of my country. I'm on the verge of switching back to Windows, so please. Give me a concrete answer to my requests. Whether I should keep Linux or just switch back to Windows. Of course, please don't have any bias causing you to request that I stay on Linux. If switching back to Windows is the best option, I'm willing to do it.

Best regards,
New
DrunkenJack
Level 2
Level 2
Posts: 17
Joined: Tue Nov 30, 2021 11:49 am

Re: Any games that run on Wine are laggy.

Post by DrunkenJack »

It could be interesting to know where the bottleneck is. (no pun intended) The problem can be on multiple layers like drivers, missing graphics libraries, Wine, Wine's DirectX translation layer and what not. The last two things can be the most likely reason because of performance overhead and slower implementations.
Do you see the same issues with native games? (Games made for GNU+Linux e.g.) And have you tried something like Proton? (GE-Proton if you want it outside of Steam) Proton is Valve's fork of Wine with gaming in mind.
https://www.gamingonlinux.com/2019/07/s ... team-deck/
Make sure to enable the OpenGL-based wined3d renderer when you use Proton (DXVK isn't an option without Vulkan).
aug
Level 3
Level 3
Posts: 75
Joined: Sat Oct 30, 2021 4:21 am

Re: Any games that run on Wine are laggy.

Post by aug »

How enable opengl wined3d rendered ?
User avatar
JoseskVolpe
Level 4
Level 4
Posts: 124
Joined: Sat Sep 04, 2021 9:35 pm

Re: Any games that run on Wine are laggy.

Post by JoseskVolpe »

aug wrote: Fri Jun 28, 2024 8:01 pm How enable opengl wined3d rendered ?
(On Proton or WineGE) Use the environment variable

Code: Select all

PROTON_USE_WINED3D=1
, or just uninstall DXVK with their official script. You can also easily disable DXVK from GUI with Lutris.
User avatar
JoseskVolpe
Level 4
Level 4
Posts: 124
Joined: Sat Sep 04, 2021 9:35 pm

Re: Any games that run on Wine are laggy.

Post by JoseskVolpe »

newguytryingames wrote: Sun Jun 16, 2024 9:24 pm OpenGL as far as I know is what's causing this unjustified lag.

OpenGL has often been a issue on my experiences, Direct3D often delivered best performance, even though i got some few experiences where OpenGL was actually better. Direct3D was specifically made and optimized for games in an Microsoft's partnership with Sega, while OpenGL is general-purpose and with many other tools, that's why the game industry has often chosen DirectX over the decade. An alternative you may use is Gallium Nine, it implements Direct3D 9 direct on Mesa Gallium, you'll still need OpenGL for Direct3D 10 and 11. But i'm not sure it'll work on your hardware, give it a try.


Also, if the game offers you the option to use OpenGL, switch to it, as it'll get rid of the graphics translation layer and you may feel a better experience.
Locked