What does inxi -G
say about your system? If you're using nouveau, you may have to install the nvidia driver to get the kind of performance you want.
Minetest community
Minetest is an infinite-world block sandbox game and a game engine, inspired by Infiniminer, Minecraft and the like.
The community is about the great and open source sandbox game writed in Lua, Minetest.
Feel free to call players for a multiplayer game or publish your project of a mod and everthing related.
Download the game. Check out the wiki.
Echoing what others have said: what drivers are you using? If you're not running the Nvidia drivers then you're not going to see good performance.
Oops, I forgot to mention that. I am using the proprietary 535 drivers, in general playing with Wine/Proton I have the expected performance.
That's too bad... My kids play a lot of 3D games on Linux and they tell me that the 535 driver is terrible. They both run older drivers (470 and 525) to make some games work. Maybe try downgrading the 535 driver?
I'll add that one of my sons plays Minetest on Ubuntu 22.04 with Nvidia graphics and it works great. So it's definitely possible. I can check his computer later to see which driver he's on.
Update: His computer uses Nvidia GeForce GTX 1650 (pretty old) and it's running driver 525. I just tried Minetest and Mineclone at max settings and they seemed great. No input lag, and no detectable fps issues.
Minetest can’t use Wayland if I remember correctly, so it will be run in Xwayland, a special X11 implementation that runs X11 applications in a “wrapper”. This costs performance, so it likely runs worse there.
Stupid question, but: the drivers are installed and utilized?
For my GTX 1080 I have this X11 config file:
$ cat /etc/X11/xorg.conf.d/20-nvidia.conf
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 1080"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
Option "metamodes" "nvidia-auto-select +0+0 {ForceCompositionPipeline=On}"
Option "AllowIndirectGLXProtocol" "off"
Option "TripleBuffer" "on"
EndSection
You could also try to add the Nvidia DRM module to your kernel parameters (nvidia_drm.modeset=1
).
Yep, I am using the latest proprietary drivers available in the Ubuntu repos (535) and I will try what you suggest but what does that do?
I set the options because I had issues with screen tearing when moving around windows. It’s a very old setup, though.
- Enabling
ForceCompositionPipeline
andTripleBuffer
pevents screen tearing on my machine when moving windows around - Disabling
AllowIndirectGLXProtocol
is just a performance option. Indirect GLX protocol is slower.
Full options for the driver are available here: http://http.download.nvidia.com/XFree86/Linux-x86_64/535.113.01/README/xconfigoptions.html
Edit Here’s an exhaustive article on the DRM. It basically manages what and when applications can have access to the GPU instead of the applications “fighting” over it.