Ubuntu 19.10 Minecraft Low FPS

I changed my OS to Ubuntu after seeing my GPU is working properly. Minecraft Version 1.8.9 Optifine Installed All low or disabled except fast render, fast math etc. FPS 40-60 Sometimes Drop To 10 For Half A Second. Using OpenJDK-JRE 8. Launcher command :
DRI_PRIME=1 sudo java -jar launcher.jar
Tried with and without sudo same performance. Smooth FPS disabled makes FPS low. System Info: Intel I3 6006U / HD Graphics 520 / AMD Radeon R5 M330 / 3.6 GB RAM (-Xmx1532M)
Minecraft uses GPU. GPU driver radeon. Never Tried amdgpu. Don't know how to use it.
Best Answer
You don't need to disable your boot logo, unlike what you wrote in your own answer. Instead, it's just the command in step 10 that makes Minecraft actually use the GPU instead of just the CPU.
I had the same problem, occasional bad performance, in my case in Vanilla Minecraft. The solution was to start the game with prime-run minecraft-launcher
instead of just minecraft-launcher
.
The specific Linux distribution also needs to support the GPU, for example Debian 9 did not support my NVIDIA GeForce GTX 1050, but Manjaro 19 did, using the driver "video-hybrid-intel-nvidia-440xx-prime" (installed by default).
Pictures about "Ubuntu 19.10 Minecraft Low FPS"



Why am I getting really low FPS in Minecraft?
RAM intensive tasks like web browsers and word processors can use a lot of memory and thus, might cause low FPS on your games. So you can end those tasks while gaming.How do I increase my FPS on Minecraft Linux?
If you want to increase your FPS on Minecraft in Linux, you will need to improve the game's graphical performance. The best way to do this is to install the Optifine mod. It can give you more FPS, as well as more control over the graphics in the game.How do I increase my minimum FPS in Minecraft?
There are many reasons why in some cases the FPS with OptiFine may be the same or lower than vanilla: you might have enabled some higher quality settings that can decrease the FPS (for example: Render Distance Extreme, Antialiasing, Anisotropic Filtering).Minecraft on Ubuntu - Best OS for Low End PCs? (FPS Test)
More answers regarding ubuntu 19.10 Minecraft Low FPS
Answer 2
Ok i think i found a solution. I am going to explain to everyone here step by step what to do.
- Use
sudo lshw -c video
on a terminal and look for your GPU. - Find configuration: driver=
- if after driver= you see radeon then you can skip 4. if don't read 4.
- if after driver= you see amdgpu or amdgpu-pro this will not solve your problem. Sorry.
- type
sudo gedit /etc/default/grub
to terminal (change gedit to your preffered text editor) - You need to find GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
- put
adeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1 modprobe.blacklist=radeon
next to thequiet splash
it should look likeGRUB_CMDLINE_LINUX_DEFAULT="quiet splash radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1 modprobe.blacklist=radeon"
- type
sudo update-grub2
to terminal - Restart
- When oppening an application that you want it to use GPU open a terminal and type
DRI_PRIME=1 yourapplicationstartthing
(in my exampleDRI_PRIME=1 java -jar launcher.jar
do this when you are at the location of launcher.jar like Desktop) - DO NOT USE SUDO WHEN LAUNCHING YOUR APPLICATION/GAME.
Hope it helps
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Pixabay, Leif Bergerson, Matteus Silva, 李昂軒