Score:0

Automatic switch between GPUs don't work

ar flag

I installed Ubuntu 22.10 on my Elitebook 840 G1 with these 2 graphic cards:

Graphics:
Device-1: Intel Haswell-ULT Integrated Graphics driver: i915
Device-2: AMD Mars [Radeon HD 8730M] driver: radeon

I downloaded the Superposition 2017 benchmark that uses the unreal engine https://benchmark.unigine.com/superposition

My problem is that the laptop does not automatically switch between the 2 GPUs. It always performs everything with the Intel. In fact at the benchmark I always get 400 points

The only way to run a program on the Radeon is to launch it with DRI_PRIME=1 Example:

DRI_PRIME=1 ./Superposition

In this way, I obtain circa 600 points.

DRI_PRIME is a settings of PRIME to force the GPU switching https://wiki.archlinux.org/title/PRIME

But in which way I can activate the automatic switching?

Pilot6 avatar
cn flag
You can add `DRI_PRIME=1` to application shortcuts, or set it for the whole system.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.