Minecraft framerate is lower in Ubuntu. Why

framerateminecraft-java-editionUbuntu

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

After some research, I found that my issue was that bumbleebee and primus was limiting my graphics card capability.

To resolve this issue, I followed the below steps:

  1. Remove Bumblebee by running:
    sudo apt-get purge bumblebee bumblebee-nvidia
  2. Install nvidia-prime by running:
    sudo apt-get install nvidia-prime
  3. Reboot the system
  4. Open the NVIDIA control panel and ensure that it's set to "NVIDIA".
  5. Check all files in /etc/modprobe.d to ensure that my NVIDIA driver is not blacklisted.
  6. Reboot yet again

After doing this, I'm back to my old framerate and no more screen tearing.