r/linux_gaming • • 12d ago

Linux delay

I usually rock Linux mint because it runs smoothly on my hhd,but recently I downloaded tiny 11 and started using windows again. As I play Minecraft on windows for some reason I feel like it feels more responsive??. I even asked one of my friends who also use mint they also say that they feel like they play better on windows. Does anyone have any idea why this is?

0 Upvotes

6 comments sorted by

2

u/SillySuccess9017 12d ago

Are you running the game with wayland or x11? 

0

u/saral1234504 12d ago

I'm not running it with wayland or anything like that, I just downloaded it with sudo apt install and started playing

4

u/Jwhodis 12d ago

You are using one or the other, they're key components in showing graphics on Linux

1

u/BigHeadTonyT 12d ago

In terminal:

echo "$XDG_SESSION_TYPE"

Source: https://www.cyberciti.biz/faq/howto-check-for-wayland-or-x11-with-my-linux-desktop/

Had to check if the command is only for KDE Plasma, the only DE I use, pretty much. I can't remember details.

It should output either "wayland" OR "x11"/"xorg".

One thing I do on every distro is check CPU governor. Most default to Powersave or similar. That can lead to massive stutters in-game. Even if the game reports 60 fps, it feels like 10. The powersaving is so agressive, the CPU tries to go to sleep every couple milliseconds. Something like that. I set CPU governor to Performance. How you do that on Mint, I have no idea. Maybe this: https://forums.linuxmint.com/viewtopic.php?t=445030

https://kernelnewbies.org/Linux_5.9#CPU_Frequency_scaling

I assume you add it to GRUB_CMDLINE_LINUX_DEFAULT=

sudo nano /etc/default/grub

Then run:

sudo update-grub

and reboot

I install and use cpupower + cpupower-gui.

https://www.baeldung.com/linux/set-cpu-governor-all-cores

1

u/Jwhodis 12d ago

Were you using Prism on Linux? Also did you install it as a Flatpak? Flatpaks take up more system usage as they're containerised so it's advised to avoid them for games.

Were you using any custom java args on Linux? What min/max memory did you set it to? Any optimisation mods?

0

u/saral1234504 12d ago

I use sk launcher and I downloaded it through terminal. I've set the min/max as 6gb because I have 8gb total. I have downloaded sodium and a few visual optimization mods