LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-16-2022, 08:08 AM   #1
nooobeee
Member
 
Registered: Oct 2004
Distribution: Debian
Posts: 72

Rep: Reputation: 1
Disable discreet AMD GPU with Dedicated AMD GPU


I have a laptop that, for various reasons, I would like to disable the discreet graphics and solely use the dedicated GPU. It is a Ryzen laptop with both Renior and Radeon RX. I'm on updated Arch and running X11 Plasma.

Code:
$ lspci | grep ATI
01:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch (rev c2)
02:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch
03:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] (rev c2)
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 HDMI Audio
07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir (rev c6)
07:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition Audio Controller
I've verified that the Renior graphics is active:

Code:
$ glxinfo|egrep "OpenGL vendor|OpenGL renderer"
OpenGL vendor string: AMD
OpenGL renderer string: AMD RENOIR (LLVM 13.0.1, DRM 3.44, 5.17.2-arch3-1)
I've read numerous articles and forum posts on this topic but the steps being suggested seem to break down either because my dedicated GPU isn't NVIDIA or because my integrated GPU isn't intel (eg. I can't use bumblebee because that's for NVIDIA and I can't blacklist ATI drivers because that's also my dedicated GPU).

Following: https://wiki.archlinux.org/title/hybrid_graphics
I attempted to use the acpi_call and provided turn_off_gpu.sh script but all of the devices failed.

How do I disable the discreet AMD/ATI graphics without breaking my dedicated AMD/ATI graphics?
 
Old 04-16-2022, 02:11 PM   #2
Jan K.
Member
 
Registered: Apr 2019
Location: Esbjerg
Distribution: Windows 7...
Posts: 773

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Surely it can be disabled in BIOS?
 
Old 04-16-2022, 07:32 PM   #3
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,851
Blog Entries: 1

Rep: Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074
Discreet graphics and dedicated GPU generally refer to the same thing. Consequently, what you're asking is unclear. iGPU (integrated GPU) or IGP (integrated graphics processor) generally provide a clear reference to a GPU provided on a CPU die, a combination which AMD calls an APU.
 
Old 04-17-2022, 07:13 AM   #4
nooobeee
Member
 
Registered: Oct 2004
Distribution: Debian
Posts: 72

Original Poster
Rep: Reputation: 1
No place to disable in BIOS. I apologize for the confusion. What I'm looking for is a way to disable the integrated gpu (renior) and use only the dedicated gpu (radeon).
 
Old 04-17-2022, 11:45 AM   #5
Jan K.
Member
 
Registered: Apr 2019
Location: Esbjerg
Distribution: Windows 7...
Posts: 773

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Quote:
Originally Posted by nooobeee View Post
No place to disable in BIOS...
That can't be right. What's the make and model of laptop, if I may ask?


For a bunch of MBs here https://itigic.com/disable-integrate...herboard-bios/
 
Old 04-17-2022, 01:51 PM   #6
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,851
Blog Entries: 1

Rep: Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074
It might be worth trying suse-prime. I just asked about it here.
 
Old 04-17-2022, 02:09 PM   #7
Arnulf
Member
 
Registered: Jan 2022
Location: Hanover, Germany
Distribution: Slackware
Posts: 270

Rep: Reputation: 89
It is very common that integrated GPUs and this annoying shared memory can completely be disabled on mainboards for desktop computers.

Unfortunally, it is uncommon that integrated GPUs can be disabled in laptops. Laptops with a dedicated GPU normally use switchable graphics to save power by using integrated GPU especially in battery mode and to provide maximum performance if required by using dedicated GPU especially in AC power supply mode. Both GPUs write to the same framebuffer that is located in shared memory. This means that shared memory can't disabled too.
 
Old 04-18-2022, 08:05 AM   #8
nooobeee
Member
 
Registered: Oct 2004
Distribution: Debian
Posts: 72

Original Poster
Rep: Reputation: 1
@Arnulf, you are correct, this is a laptop and (I suspect) the reason you mentioned is likely the reason there is no option for disabling in the bios.

@Jan_K., This is a dell G5s (5505 I think). I can appreciate your surprise as, historically, there used to be options in the bios to control these things. But now everything seems to be baked into the "secret sauce" of the drivers. And, as we all know, linux is treated as 2nd class by manufacturers when it comes to drivers.

@mrmazda, Thanks for the link. I'm not going to hold my breath since many of those sorts of projects have specific hooks and what-not that only apply to nvidia (eg. bumblebee) but I'll definitely do some digging on that.
 
Old 04-18-2022, 05:58 PM   #9
Jan K.
Member
 
Registered: Apr 2019
Location: Esbjerg
Distribution: Windows 7...
Posts: 773

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
You do not want to disable anything... *waves hand jedi style*

Have a look at AMD SmartShift, like here https://www.windowscentral.com/amd-smartshift


Old rules don't count anymore, gpus are cpus, bios executes own apps, the world's gone mad!

Got the idea that maybe AMD used the two gpus in a crossfire-like setting and stumbled on that SmartShift thing.

I would just make sure SmartShift is enabled and carry on.


Nice piece of kit, btw.
 
Old 04-18-2022, 06:44 PM   #10
nooobeee
Member
 
Registered: Oct 2004
Distribution: Debian
Posts: 72

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by Jan K. View Post
You do not want to disable anything... *waves hand jedi style*

Have a look at AMD SmartShift, like here https://www.windowscentral.com/amd-smartshift


Old rules don't count anymore, gpus are cpus, bios executes own apps, the world's gone mad!

Got the idea that maybe AMD used the two gpus in a crossfire-like setting and stumbled on that SmartShift thing.

I would just make sure SmartShift is enabled and carry on.


Nice piece of kit, btw.
Thanks, you may be right. Perhaps there are other ways of accomplishing my objective. One of my objectives here is to passthrough the Radeon GPU to an OSX KVM in order to have a better experience with DaVinci Resolve. Apparently the free version of Resolve for OSX allows for GPU acceleration (which it doesn't on Windoze or Linux...not to mention the atrocious codec issues in the Linux variant of Resolve). Unfortunately I'm having issues booting OSX with the Radeon passed through and I think it's because Renior is not ceding to the GPU the VM is trying to use. It could be something else though.

I've been working with Shotcut and Kdenlive but I miss the "Noise Reduction" audio effect built into Resolve that allows me to take a sample and minimize/eliminate background noise from within the video editor. I'm getting by with Shotcut and Kdenlive for now but really wanted an environment I could boot into for a better video editing experience the one time every week I need it.
 
Old 04-18-2022, 07:31 PM   #11
Mike_Walsh
Member
 
Registered: Jul 2017
Location: King's Lynn, UK
Distribution: Nowt but Puppies....
Posts: 660

Rep: Reputation: 362Reputation: 362Reputation: 362Reputation: 362
Admittedly, most of the normally-referred-to "combos" are usually Intel/Nvidia. It's unusual for someone to add-in a discrete GPU of the same make as the iGPU; would you not run into driver issues of some kind (if you're wanting the AMD proprietary drivers)..?

Just a thought; would Lightworks be able to do what you want?


Mike.

Last edited by Mike_Walsh; 04-18-2022 at 07:39 PM.
 
Old 04-18-2022, 10:20 PM   #12
nooobeee
Member
 
Registered: Oct 2004
Distribution: Debian
Posts: 72

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by Mike_Walsh View Post
Admittedly, most of the normally-referred-to "combos" are usually Intel/Nvidia. It's unusual for someone to add-in a discrete GPU of the same make as the iGPU; would you not run into driver issues of some kind (if you're wanting the AMD proprietary drivers)..?

Just a thought; would Lightworks be able to do what you want?


Mike.
Thanks for the suggestion. I did some more digging and found a forum with some suggestions on audio plugins:
https://archived.forum.manjaro.org/t...-noise/86189/4

From a brief test project, it seems these give me the audio tools I need in Kdenlive but I won't really know until I try to produce a full project with them. If they work, then I'll just pull the compiled version of ffmpeg with gpu acceleration from Shotcut to use with Kdenlive and I should be good. Wish I had found that plugin suggestion earlier (probably should've asked here). Most (or at least many) posts relating to the lack of audio plugins just resign themselves to what comes with Kdenlive so I didn't dig as deep as I should have.
 
Old 04-19-2022, 12:45 PM   #13
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,851
Blog Entries: 1

Rep: Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074
Quote:
Originally Posted by mrmazda View Post
It might be worth trying suse-prime. I just asked about it here.
Worth a try suggested here.
 
Old 04-19-2022, 08:48 PM   #14
Mike_Walsh
Member
 
Registered: Jul 2017
Location: King's Lynn, UK
Distribution: Nowt but Puppies....
Posts: 660

Rep: Reputation: 362Reputation: 362Reputation: 362Reputation: 362
Quote:
Originally Posted by nooobeee View Post
Thanks for the suggestion. I did some more digging and found a forum with some suggestions on audio plugins:
https://archived.forum.manjaro.org/t...-noise/86189/4

From a brief test project, it seems these give me the audio tools I need in Kdenlive but I won't really know until I try to produce a full project with them. If they work, then I'll just pull the compiled version of ffmpeg with gpu acceleration from Shotcut to use with Kdenlive and I should be good. Wish I had found that plugin suggestion earlier (probably should've asked here). Most (or at least many) posts relating to the lack of audio plugins just resign themselves to what comes with Kdenlive so I didn't dig as deep as I should have.
Hm. Interesting.

I also do a fair bit of video-editing, and have on occasion found myself wishing for a method for reducing background hiss.

Thanks for the 'heads-up'. I'll do some investigating. Cheers!


Mike.
 
  


Reply

Tags
amdgpu, arch linux, ati, ati driver, gpu



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Default graphics card of Ubuntu 18.04.5 LTS shows llvmpipe (LLVM 10.0.0, 128 bits) instead of dedicated GPU (AMD/Nvidea combo). How to fix? harikumar27399 Ubuntu 4 06-08-2021 08:05 PM
How to Enable AMD Dedicated GPU Shown in glxinfo kresse CentOS 2 03-22-2018 06:12 AM
how can I setup the amd GPU as a default gpu instead of intel graphics? divinefishersmith Linux - Newbie 33 08-22-2015 06:03 PM
Dual graphics - switching to discreet card DupermanDave Linux - Hardware 2 10-18-2012 11:06 AM
LXer: Australian Post-Production Facility, Frame, Set & Match, Adopts Autodesk's Discreet Flame Visual Effects Systems Running Linux LXer Syndicated Linux News 0 06-30-2006 09:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration