![]() Open up the Minecraft launcher, and go to the Installations tab. The variable contains all the arguments passed to the script.ĭon't forget to make the script executable! chmod +x ~/.minecraft/launch.sh See instructions by your Linux distro on how to install them. ![]() I installed prime-run by installing the proprietary Nvidia drivers. Prime-run is used by Nvidia to launch any program using the GPU. To find them, simply type these into your terminal which java usr/bin/prime-run /usr/bin/java java or prime-run executables may be found somewhere else. Copy and paste the following: #!/bin/bash I personally put mine at ~/.minecraft/launch.sh. I've done it! I've found it! I found a hack that works! NOTE: This doesn't work all the time and has to be updated frequently because the PID changes. Use the terminal and type ps -U root -u root -NĬopy the PID number (in my case: 4307) and use that in the text entry labeled "Matches this String". In the rules tab, you can create a new rule with the Always Applies feature to the process ID of a running instance of Minecraft. If you have any questions pertaining to this thread or my post, or if you have any issues with this configuration please let me know. You may now close the NVIDIA Server Settings window, start Minecraft and Enjoy. Save the new configuration you just created by clicking the disk icon with the green down arrow. | 1 | Java | GLAllowFXAAUsage=true,GL.Ĭompleted Application Profile Example Lastly, If you have followed all these steps correctly your NVIDIA x Server Settings Application Profiles window on Rules tab should look something like this: | Priority | Pattern | Profile Settings If this is true for you click the green plus button at the bottom of the window to save. A list of all the NVIDIA GL settings you added should appear in the list space below. Click on that and select the Profile you just created. In a section called Rule Profile there should be a drop-down menu. In the drop-down menu select Always Applies and in the text entry field type Java. In a section of this window called Rule Pattern there's a drop-down menu and a text entry. ![]() We need to add rules to this profile such as, which process ID's can utilize it's power and if this rule applies to all programs that use the GPU.Ĭlick the rules tab and add a new rule using the green plus button. Once your list is complete and looks like mine, click the green plus button at the bottom of the window to save the current profile. Ubuntu generates this location for you by default.* DO NOT edit this. This is the location where these profile settings are saved. Select the setting from the drop-down menu under the "Source File" entry and click the green plus button to add it to the list. Name this profile what you want (something memorable) and add all listed settings (They're what Minecraft actually needs and avoids redundancies): Click the Profiles tab and then click the green plus button just beneath it to add a new profile. One called Rules, and the other called Profiles. Once in this window, you should see two tabs. )" there is an option for creating Application Profiles appropriately titled such. Inside your 'NVIDIA X Server Settings' window, underneath a drop-down menu called something like "GPU 0 (GeForce GTX. If I missed any specs, please tell me, I'm new to posting questions. If someone can just post a rule key that forces an application to use Nvidia (and actually works I found one, but it's "not recognized"), that would be great. I feel like the problem could be fixed with an Nvidia application profile for Java runtime, but I don't understand the documentation on Nvidia's website. The primusrun command seems to work, but now I can't make it run Minecraft specifically. As far as I can tell, this is a Bionic Beaver problem. It throws an error that the rvice is disabled, but trying to enable it reveals that the file doesn't exist. I'm using Bionic Beaver, and the optirun command is broken. As far as I can tell, Ubuntu default runs it with Intel because Minecraft runs inside of Java, which, obviously, is not generally GPU intensive. I want to run Minecraft on the Nvidia GPU in my laptop. I have ripped the web up trying to figure this out.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |