batocera-linux / batocera.linux

batocera.linux
https://batocera.org
Other
1.96k stars 512 forks source link

Cant switch to descreet GPU #11656

Open C4rl0s79 opened 5 months ago

C4rl0s79 commented 5 months ago

Batocera build version

39 2024/03/04 10:11

Your architecture

X86

Your Graphic Processor Unit(s) (GPU)

AMD Integrated GPU, RX 6500M

Issue description

Tried all batocera-boot.conf edit to make RX6500m work in batocera, but all time is integreated gpu used witch impacts performance with shaders like megabezel. Everyting else works fine.

Detailed reproduction steps

jus install

Details of any attempts to fix this yourself

Editing batocera-boot.conf as described in troubleshoot, edited amd prime and amd driver both for tru and false in every configurtion.

Details of any modifications you have made to Batocera.

no mods

Logs and data

batocera-support-20240504112800.tar.gz

dmanlfc commented 5 months ago

can you try v40 please? do not change the batocera-boot.conf file.

C4rl0s79 commented 4 months ago

So. Updating to V40 made enter settings impossible, because I was always kick back to systems list . Going back to V39 there is small improvement, i can chose gpu in duckstation and pcsx2 but not in retroarch so no shaders for me anyway. There is no option for it displaying in retroarch, but it now displays in ducstation and pcsx2

dmanlfc commented 4 months ago

Come on Discord into the # butterfly-beta channel as it will be quicker to diagnose & fix.

iAno89 commented 4 months ago

I was able to solve the problem with the unrecognized GPU with the help of the Batocera forum.

Version 39 seems to contain a bug that causes Batocera to get confused if the iGPU and the GPU are from AMD.

Press F1 and then go to:

/etc/init.d/S30checkprime line 42

Added the " | head -n 1" at the end, so:

formattedinfo=.....pci-0000/' | head -n 1).

Afterwards just run "batocera-save-overlay" and be sure that "radeon-prime" is set to true in /boot/batocera-boot.conf

Reboot and it should work.

dmanlfc commented 4 months ago

head -n 1 is not the answer. choosing the first in the list is not the correct way to approach this.