Score:0

How to use amdgpu driver for GPU instead of Nvidia in Ubuntu 22.04?

tf flag

Apologies for the dummy question but I completely newbie regarding CPU/GPU drivers and Linux based OS. Here is what I want to achieve : I've a new laptop on which Ubuntu 22.04 has just been setup. It has :

  • AMD® Ryzen 7 6800h with radeon graphic for CPU (which IIUC is capable of GPU as well)
  • A NVIDIA GE Force RTX Graphic card

I want to use this laptop to do fullstack web development so I do not need it for gaming purposes or more generally, something which will require my laptop to do complicated graphical tasks (so I guess I do not need to setup CUDA or Rocm....). In addition, I want it to consume as less as power as possible (especially when CPU is not used).

To achieve that with my previous laptops on which I used to have Intel CPUs with NVIDIA GPU and I was doing the "dance" :

  • Setup nvidia drivers
  • Setup prime "profiles"
  • Select "Intel" Prime profile

Despite wide searches around web, I was unable to found an "equivalent" procedure for my AMD cpu. I ended up doing the same thing and select "intel" profile (which looks weird since I do not have Intel CPU...) and then my laptop was effectively consuming less power energy but the issue was that I could not saw my two other screens connected through HDMI anymore!

Without doing too complex things, how can I configure my laptop as better as possible to achieve my needs. In particular, which GPUs (with which driver) should I use by default ? How to configure that? Do I need to setup additional software so that when amdgpu driver is used HDMI screens can be visible?

Thanks in advance for your help.

Esther avatar
es flag
Possibly the HDMI ports on your laptop are connected directly to the Nvidia graphics, so it has to be running in order for the ports to work.
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.