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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-16-2022, 09:08 AM
|
#1
|
Member
Registered: Oct 2004
Distribution: Debian
Posts: 72
Rep:
|
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?
|
|
|
04-16-2022, 03:11 PM
|
#2
|
Member
Registered: Apr 2019
Location: Esbjerg
Distribution: Windows 7...
Posts: 773
|
Surely it can be disabled in BIOS?
|
|
|
04-16-2022, 08:32 PM
|
#3
|
LQ Guru
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,293
|
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.
|
|
|
04-17-2022, 08:13 AM
|
#4
|
Member
Registered: Oct 2004
Distribution: Debian
Posts: 72
Original Poster
Rep:
|
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).
|
|
|
04-17-2022, 12:45 PM
|
#5
|
Member
Registered: Apr 2019
Location: Esbjerg
Distribution: Windows 7...
Posts: 773
|
Quote:
Originally Posted by nooobeee
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/
|
|
|
04-17-2022, 02:51 PM
|
#6
|
LQ Guru
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,293
|
It might be worth trying suse-prime. I just asked about it here.
|
|
|
04-17-2022, 03:09 PM
|
#7
|
Member
Registered: Jan 2022
Location: Hanover, Germany
Distribution: Slackware
Posts: 301
Rep:
|
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.
|
|
|
04-18-2022, 09:05 AM
|
#8
|
Member
Registered: Oct 2004
Distribution: Debian
Posts: 72
Original Poster
Rep:
|
@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.
|
|
|
04-18-2022, 06:58 PM
|
#9
|
Member
Registered: Apr 2019
Location: Esbjerg
Distribution: Windows 7...
Posts: 773
|
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.
|
|
|
04-18-2022, 07:44 PM
|
#10
|
Member
Registered: Oct 2004
Distribution: Debian
Posts: 72
Original Poster
Rep:
|
Quote:
Originally Posted by Jan K.
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.
|
|
|
04-18-2022, 08:31 PM
|
#11
|
Member
Registered: Jul 2017
Location: King's Lynn, UK
Distribution: Nowt but Puppies....
Posts: 660
|
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 08:39 PM.
|
|
|
04-18-2022, 11:20 PM
|
#12
|
Member
Registered: Oct 2004
Distribution: Debian
Posts: 72
Original Poster
Rep:
|
Quote:
Originally Posted by Mike_Walsh
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.
|
|
|
04-19-2022, 01:45 PM
|
#13
|
LQ Guru
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,293
|
Quote:
Originally Posted by mrmazda
It might be worth trying suse-prime. I just asked about it here.
|
Worth a try suggested here.
|
|
|
04-19-2022, 09:48 PM
|
#14
|
Member
Registered: Jul 2017
Location: King's Lynn, UK
Distribution: Nowt but Puppies....
Posts: 660
|
Quote:
Originally Posted by nooobeee
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.
|
|
|
All times are GMT -5. The time now is 01:23 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|