I've noticed that I've been getting terrible performance on Minecraft and have narrowed it down to the fact that Minecraft is not able to switch from the Integrated graphics card to usisng my AMD Radeon Graphics card. I will leave my specs and software versions at the bottom of the page if you want to skip to that.
I've tried many other 'solutions' in other threads on multiple forums but unfortunately they all lie with the same problem that they're either too old to be compatible with the current version of Radeon Settings or don't actually answer the issue. (upgrading my drivers or disabling integrated graphics. I have updated my drivers and I'm not going to disable my integrated graphics because they're used for other software that are always open.)
Do notice that the Minecraft launcher is different from the actual minecraft game. The Minecraft launcher has been detected by the graphics card and I believe it's powering it but the actual game is powered by the integrated graphics card. The Minecraft game is a java environment which when I added it to the Radeon Settings showed me that it was another game called Jedi Academy or something along those lines. Even when Minecraft is running, the graphics card it uses is still the integrated one after adding the Javaw.exe environment to the Radeon settings.
Does anyone have any suggestions or fixes of their own? Thanks in advance.
Minecraft > Install > runtime > jre-x64 > bin > javaw.exe
Click on javaw.exe and you'll add it to your switchable graphics section. That's all! Just make sure it's on high performance and you're set.
Adding on to what you said. I had set java.exe. javaw.exe. Minecraft.exe. And a whole bunch of things to high performance in the graphics settings. It wasn't using my dedicated gpu still. If this helps anyone. I remembered doing research on this in the past and I checked my power options and set my power plan to high performance (Actually ultimate performance). Thus switching from those settings that focus on power saving and probably overwrite the command to use the dedicated gpu in my case.
I have an updated Radeon Software, and I added the javaw.exe, but it still uses the integrated GPU instead of my AMD GPU, while I try to add another app, it uses the AMD GPU, like for example, I add and opened up Minecraft, and it's using the Intel UHD Graphics GPU, while I add and open Roblox it's using the AMD GPU, which is weird, but I already updated the OpenGL and stuff, but it still doesn't work! I tried via the Settings app, it also doesn't work, help me pls
As stated previously using windows built-in Graphics settings you can force the applications to use the graphics card. The main applications that you are looking for are java.exe and javaw.exe.
You can find these files in a number of places:
For modded using the lastest Curse Forge launcher by Overwolf:
C:\Users\*ProfileName*\Twitch\MinecraftInstall\runtime\bin
C:\Users\*ProfileName*\Twitch\MinecraftInstall\runtime\jre-x64\bin
C:\Users\*ProfileName*\Twitch\MinecraftInstall\runtime\jre-legacy\windows-x64\jre-legacy\bin
(jre-legacy is probably the one you are looking for as they said they would continue to use the legacy launcher)
The latest (recently updated) Minecraft Launcher from Mojang:
C:\Users\*ProfileName*\AppData\Local\Packages\Microsoft.4297127D64EC6_8wekyb3d8bbwe\LocalCache\Local\runtime\jre-legacy\windows-x64\jre-legacy\bin
Feel free to add any other locations there might be as the install locations have changed from launcher to launcher
The legacy win32 launcher and I believe one older version exists. To find out where these files are just launch the game, open task manager and right-click the Java(TM) Platform SE binary program, and click the open file location to find out where it is running from.
You want to set those to the High-Performance setting.
-As of writing this may be optional.
In order for these files to be configured using Radeon, you have to go into your Radeon application and add the javaw.exe and maybe the java.exe files to your game, in the Gaming tab. To add a game go to the said tab and look for three dots on the right, click them. and press "Add A Game..."
You can then configure the game however you wish, with the exception of the "Anisotropic Filtering" setting, which you want to disable, This setting was causing white borders around blocks, which has to do with the texture filtering.
Also, the Anti-Aliasing setting needs to be set to "Use application settings."
And just finding one version of the file seems to set correctly for all other locations, so only one is needed in Radeon and only the javaw.exe file is needed.
that's a basic thing to do if u want to force use of gpu. Already did all of this and nothing is working, my integrated is giving me around 80-90 fps but after a while of playing the screen starts stuttering. I have tried vsync and all the video settings and they didn't work so i'm lost. any ideas?
The in game settings are not going to enable/disable gpu usage. From what I can tell it could only be a driver issue, I would make sure other games use the gpu. I would also make sure you have a currently supported gpu. I do not really see why the gpu would not be recognized and use for minecraft by windows if you followed the above steps. Therefore, it would have to be either the gpu itself or the game. Minecraft java can be a bit finicky to work with due to its age too.
d3342ee215