Open Sikeen opened 1 year ago
I have also tested the following versions:
and still with no success
PrefersNonDefaultGPU
is not advised as its behavior is poorly implemented across the board.
Prism behaves the same as Lutris and sets the right environment variables https://github.com/PrismLauncher/PrismLauncher/blob/ce5bb29c442cee3654c5f4287a999d5d6593032f/launcher/minecraft/MinecraftInstance.cpp#L520-L524
I've tested this on Prism 6.3 on my Laptop with a discrete Nvidia RTX GPU, and it works without a problem.
PrefersNonDefaultGPU
is not advised as its behavior is poorly implemented across the board.
i was aware, but as i was trying many different methods and options to try and solve this issue i did it anyway.
I have the same issue, I use prism flatpak
what's weird is when I set the global settings to use discrete GPU
the game do not launch and crash and if I only changed the instance
settings the game launches but not with discrete GPU
here are the logs https://pastebin.com/XjiKQN4i
Same issue here
What worked for me when I had a similar issue was creating my own prime-run:
alias prime-run='__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia'
then:
prime-run /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=prismlauncher org.prismlauncher.PrismLauncher
EDIT: now I just 'prime-run prismlauncher'
Or you can add javaw.exe to (Windows > Setting > Gaming > Game Mode > Graphics) and set High performance preference to it
^ this worked for me
There is simply no “use dedicated gpu” option
Or you can add javaw.exe to (Windows > Setting > Gaming > Game Mode > Graphics) and set High performance preference to it
This is a band-aid solution that works. Adding to the AMD software does not seem to work.
[image] ^ this worked for me
There is no "performance" tab at all on my launcher - I am on Windows
What worked for me when I had a similar issue was creating my own prime-run:
alias prime-run='__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia'
then:
prime-run /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=prismlauncher org.prismlauncher.PrismLauncher
EDIT: now I just 'prime-run prismlauncher'
I have the same Problem, and this worked for me.
Operating System
Linux
Version of Prism Launcher
Prism Launcher 6.3
Version of Qt
Qt 5.15.9
Description of bug
Prism launcher does not utilize the discrete (AMD) GPU, instead using the integrated (AMD)GPU even when setting use discrete GPU. i have also:
Put my PC in discrete GPU only mode from my OEM's hardware utilization software, and continued to have the setting on through the other experiments
I have used the official arch Minecraft launcher, which did use the discrete GPU.
Also played with the exact same mods and settings on windows, which DID use the dedicated gpu
Launched the launcher from Lutris and setting Lutris to also only use the discrete GPU in the settings(this usually works).
Set Prism to use feral gamemode and all native libraries.
I've also checked Flatseal for a setting to use the GPU.
Edited the .sh script in
/var/lib/flatpak/app/org.prismlauncher.PrismLauncher/current/active/export/bin/
to launch Prism with the default or none default GPU. using the commandPrefersNonDefaultGPU=true
andPrefersNonDefaultGPU=false
inxi:
Steps to reproduce
Steps to check whether or not Prism Launcher is using the dedicated GPU:
Suspected cause
Prism launcher not detecting the GPU
yeah that's pretty much all i could think of being the case, I've tried everything else
This issue is unique