My dgpu is recognized on vulkan games but aint recognized on opengl

my dgpu is (01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Lexa [Radeon 540X/550X/630 / RX 640 / E9171 MCM] (rev c3)) isn’t recognized even when i set (DRI_PRIME=1), and yes, switcheroo was set up.
So, when i initialize a game with opengl, my igpu (vega8) is being used not my dgpu.

Hi @diego_7l, and welcome!

In order for us, or anyone for that matter, to be able to provide assistance, more information is necessary. To that end, please see:

Hope you manage!


Tip:

To provide terminal output, copy the text you wish to share, and paste it here, surrounded by three (3) backticks, a.k.a grave accents. Like this:

```
pasted text
```

This will just cause it to be rendered like this:

Portaest sed
elementum
cursus nisl nisi
hendrerit ac quis
sit
adipiscing
tortor sit leo commodo.

Instead of like this:

Portaest sed elementum cursus nisl nisi hendrerit ac quis sit adipiscing tortor sit leo commodo.

Thereby improving legibility and making it much easier for those trying to be of assistance.

Please edit your post accordingly.

Maybe try xrandr instead: PRIME - ArchWiki

Also keep sure that the modesetting driver is loaded so that DRI_PRIME=1 works.

1 Like

can u explain me what modesetting mean ?

Read this here: Kernel mode setting - ArchWiki

Check the xorg log:

journalctl --boot 0 --user --grep "\([A-Z][A-Z]\)" --no-hostname