Games on Linux lags. Windows smooth.

Anything related to gaming on Linux Mint including game discussion or questions concerning Steam or Wine.
Forum rules
Before you post please read how to get help
Post Reply
AjaySarwan
Level 1
Level 1
Posts: 2
Joined: Sun Jul 26, 2020 7:23 am

Games on Linux lags. Windows smooth.

Post by AjaySarwan »

I have dual boot of Mint 20 with cinnamon and Windows 10
Games that run smoothly on windows lags when on mint.

I mostly play KSP. I have got it on both windows and linux through stream.
Game runs better on windows than linux.
I tried disabling desktop composition and installing Mate DE.

Video playing is no issue on linux. Even 4k is good. It lags only when gaming.

Can anybody guess a fix for this?
I have i5-4670, integrated graphics only and 8 gb ram.

Thanks
//I posted this on a similar threadviewtopic.php?p=1851193#p1851193, but was asked to create a new topic//
OS: Linux Mint 20. Kernal: 5.4.0-42
HW: i5 - 4670 CPU, Xeon E3-1200 v3 Integrated Graphic Card
8 GB RAM
cretsiah
Level 2
Level 2
Posts: 60
Joined: Wed Jul 22, 2020 5:44 am

Re: Games on Linux lags. Windows smooth.

Post by cretsiah »

If I were you I would try XFCE given the low ram.

with intergrated graphics ram under 16gig is pushing the extreme.

when looking at games I always go by this maths formula:
- 4-8gig ram OS (doesnt matter windows or linux)
- 2-4gig ram video card (bearest minimum dedicated, 2gig if intergrated)
- 4-8gig ram game requirement

total ram = 16-24gig

hope this helps
mr_raider
Level 7
Level 7
Posts: 1889
Joined: Sun Jun 20, 2010 9:50 am
Location: Montreal, QC

Re: Games on Linux lags. Windows smooth.

Post by mr_raider »

KSP is kerbal space program?

Dont they recommend a 1gb VRAM card?

Try downgrading the texture and graphic settings and turn off anti-aliasing.

Also, I think KSPs Linux version may be an ugly implementation. You can actually force steam to play the windows version with proton compatibility layer.

FWIW it runs fine on my desktop (ryzen 2700, AMD rx 5700), and my laptop (AMD a12-8800 integrated graphics) at lower settings.
Image
AjaySarwan
Level 1
Level 1
Posts: 2
Joined: Sun Jul 26, 2020 7:23 am

Re: Games on Linux lags. Windows smooth.

Post by AjaySarwan »

All the graphics are kept at lowest settings. Resolution changed to 1366*786. Anti-aliasing is off. Games looks like the it is skipping frames.
But in windows, resolution is 1920*1080 with anti aliasing turned on with slight improved graphics settings. Kerbal Space Program runs very smooth in it.

I will try the XFCE and proton option.

Thanks.
OS: Linux Mint 20. Kernal: 5.4.0-42
HW: i5 - 4670 CPU, Xeon E3-1200 v3 Integrated Graphic Card
8 GB RAM
1000
Level 3
Level 3
Posts: 192
Joined: Wed Jul 29, 2020 2:14 am

Re: Games on Linux lags. Windows smooth.

Post by 1000 »

-> Sorry but I don't think integrated graphics card is good for games.
1. Because I don't seen yet good integrated graphics card for games.
2. One of the main reasons is that you share resources (CPU) and have less for games.
3. Integrated card also consumes RAM.
4. If you don't have enough RAM then the computer can use SWAP (hard drive) which is theoretically slower than RAM.
Out of memory can even freeze your computer's performance.

-> If you play games that weren't written from scratch for Linux then I doubt their full performance on Linux.
For example: for Warframe I need run
* Steam and Steam uses 32 bit and 64 bit libs on 64 bit system ( for example for games 32bit )
* xboxdrv to avoid breaking the game, because game want find additional hardware
* Steam also use Proton to run this game on Linux.

-> 64 bit & 32 bit -> 64 bit applications use more RAM because the memory address is longer.

-> Hardware compatibility and driver can be varied.
I no longer write about the system itself and what you have in it.
For example when:
* someone can using a heavy desktop environment with a stack of processes running in the background
* someone use graphic card AMD without Vulcan tools installed which improve performance when the game uses them
* The game Witcher 2 proved that sometimes there can be errors and deficiencies in the drivers.
* Open drivers can increase performance when optimizations are added, but also lose when new or old technologies / patents cannot be added

-> Also SSD hard drive can be slower when is full.

Something else.
4K picture can be optimized by better codecs.
But performance may also vary depending on the hardware or program.
For example Firefox can support newer hardware better than older hardware.
So it can be difficult to compare this to the games.
1000
Level 3
Level 3
Posts: 192
Joined: Wed Jul 29, 2020 2:14 am

Re: Games on Linux lags. Windows smooth.

Post by 1000 »

Maybe you will know how to run and check Vulkan. https://wiki.archlinux.org/index.php/Vulkan
If will working, you can check how working "Dota 2" and other games with Vulkan https://en.wikipedia.org/wiki/Vulkan_(API)#Games
Wine probably doesn't have the original Direct3D driver, so performance may be lower.
Proton incorporates several libraries that improve 3D performance. These include Direct3D-to-Vulkan translation layers.
So theoretically it has a better performance.
Edited: When you will Vulkan active, games which support Vulkan maybe will slightly greater efficiency.
1000
Level 3
Level 3
Posts: 192
Joined: Wed Jul 29, 2020 2:14 am

Re: Games on Linux lags. Windows smooth.

Post by 1000 »

About "Kerbal Space Program".

You didn't write how you run the game.
I see that Steam supports this game for Linux.
-> You can always debug the game and report any bugs to the right place, if are.
-> I have also seen tutorials on youtube how add some options when game running via Steam with "Proton".
One of these options maybe improve performance.
But this option comes from the Proton tutorial and not all games may work properly with this option.
Post Reply

Return to “Gaming on Linux Mint”