I am running Ubuntu 20.04 on Dell Inspirion 15 5000 series which has a hybrid graphics system (Intel as integrated and AMD Radeon R7 M445 as dedicated). It appears however that only the integrated is used. Switching the GPU using the switcheroo mechanism, as described in https://help.ubuntu.com/community/HybridGraphics did not solve the problem. After each 'switch' back an forth the output of
sudo cat /sys/kernel/debug/vgaswitcheroo/switch
remained unchanged:
0:IGD:+:Pwr:0000:00:02.0
1:DIS: :DynOff:0000:01:00.0
I also gave the DRI_PRIME=1 environment a go (followed by running given application/software) but the discrete GPU was still not active.
There is a guide showing how to install AMD drivers on Ubuntu 20.04:
https://linuxconfig.org/amd-radeon-ubuntu-20-04-driver-installation
I am using the drivers that come installed by default. To check if the amdgpu driver is indeed installed I ran sudo lshw -c video
which resulted in
*-display
description: VGA compatible controller
product: HD Graphics 620
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 02
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:130 memory:de000000-deffffff memory:b0000000-bfffffff ioport:f000(size=64) memory:c0000-dffff
*-display
description: Display controller
product: Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445 / 530/535 / 620/625 Mobile]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:01:00.0
version: c3
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi bus_master cap_list rom
configuration: driver=amdgpu latency=0
resources: irq:132 memory:c0000000-cfffffff memory:d0000000-d01fffff ioport:e000(size=256) memory:df200000-df23ffff memory:df240000-df25ffff
Good news that the driver amdgpu is there but how to put it to work is still beyond my understanding. The problem doesn't seem to be unique for Ubuntu 20.04, since I had the same issue with 18.04 which I could not resolve. Suggestions?