Minecraft framerate is lower in Ubuntu. Why?

Recently, I moved over to Ubuntu for various performance reasons, but I've seen a major drop in my Minecraft framerate. Usually I get 100-250 in Windows, but Ubuntu is struggling to keep me at 60.
I have my graphics card drivers (Optimus) installed properly, and Optifine is working with the same settings as it was in Windows.
Are there any solutions to restore my old Windows framerate?
Best Answer
On Ubuntu, Bumblebee is installed by default. It allows you to choose between your integrated Intel chipset, or your Nvidia graphic card, in order to save energy. By default, everything runs on the chipset.
To launch Minecraft (or any software) using the Nvidia card, you have to use the command primusrun minecraft
. You can also modify the Desktop Entry, which should be a file named "Minecraft.Desktop" in /usr/share/applications
, so that when you click on the Minecraft icon in your launcher it automatically uses primusrun
.
Pictures about "Minecraft framerate is lower in Ubuntu. Why?"



Why is my FPS in Minecraft lower than usual?
Sometimes when playing Minecraft: Java Edition, you may experience a low FPS (frames per second) or frame rate. This may be caused due to applications running in the background or simply not having enough processing power to run the game smoothly at your current settings.How do you optimize Minecraft on Ubuntu?
Let's look at these Minecraft optimization tips in more detail.Minecraft on Ubuntu - Best OS for Low End PCs? (FPS Test)
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Barik5ive, Pixabay, SHVETS production, SHVETS production