Page 1 of 1

Does Supermodel prioritise integrated or discrete graphics?

PostPosted: Sat Aug 06, 2022 7:51 am
by k_rollo
Hi Bart,
I have an HP Omen 15 which has Ryzen7 4800H with integrated AMD Radeon Graphics and NVIDIA GTX 1650 Ti. Which one does Supermodel use by default in this case?
(Note: Laptop has no MUX switch.)

Re: Does Supermodel prioritise integrated or discrete graphi

PostPosted: Tue Aug 16, 2022 6:21 pm
by Bart
No idea. This might be a matter of driver policy and you can probably find out using some driver utility or Windows task manager.

Re: Does Supermodel prioritise integrated or discrete graphi

PostPosted: Wed Aug 17, 2022 2:26 am
by k_rollo
I see, some emulators explicitly allow choosing between integrated and discrete GPUs. If Supermodel doesn't have that feature, I'd just assume it prioritises the integrated (CPU) graphics by default. :D

Re: Does Supermodel prioritise integrated or discrete graphi

PostPosted: Wed Aug 17, 2022 1:28 pm
by Bart
It would be great to know whether this can be done with SDL2. Then we can add such an option.

Re: Does Supermodel prioritise integrated or discrete graphi

PostPosted: Wed Aug 17, 2022 5:47 pm
by k_rollo
If it helps, DuckStation, PCSX2, and Dolphin emulators have this feature. Whether they are SDL2-based is where I'm not sure how to confirm, so hoping these examples can point the devs somewhere. :)

Re: Does Supermodel prioritise integrated or discrete graphi

PostPosted: Thu Aug 18, 2022 3:05 am
by PDNEJOH
k_rollo wrote:If it helps, DuckStation, PCSX2, and Dolphin emulators have this feature. Whether they are SDL2-based is where I'm not sure how to confirm, so hoping these examples can point the devs somewhere. :)


GPU adapter selection in those emulators only works in DirectX mode. With OpenGL, it's not possible to select the gpu adapters manually from what I've read.

Re: Does Supermodel prioritise integrated or discrete graphi

PostPosted: Thu Aug 18, 2022 3:17 am
by Ian
It might be possible with some opengl extensions ..
but generally whatever adapter is driving the display is your default adapter

Re: Does Supermodel prioritise integrated or discrete graphi

PostPosted: Thu Aug 18, 2022 9:57 am
by k_rollo
Ian wrote:but generally whatever adapter is driving the display is your default adapter

Thanks, I was thinking the same and this does imply the answer. My laptop is connected to an external display via DisplayPort on the NVIDIA GPU and should bypass Optimus as default behaviour. If disconnected and only uses internal display, it reverts to the APU (integrated).

Re: Does Supermodel prioritise integrated or discrete graphi

PostPosted: Thu Aug 18, 2022 10:09 am
by k_rollo
PDNEJOH wrote:GPU adapter selection in those emulators only works in DirectX mode. With OpenGL, it's not possible to select the gpu adapters manually from what I've read.

I've recently switched to Vulkan backend which also allows the selection:
Screenshot_1.jpg
Screenshot_1.jpg (36.24 KiB) Viewed 169 times

Screenshot_2.jpg
Screenshot_2.jpg (38.69 KiB) Viewed 169 times

OGL may need certain extensions as Ian pointed. :)