GNOME Bugzilla – Bug 789570
[about] Gnome-control-center does not detect AMD Radeon 520 dedicated card and does not list it in "Details -> About" under Wayland session
Last modified: 2021-06-09 16:26:16 UTC
Created attachment 362428 [details] gnome settings Details --> About does not list the 2 graphics cards in wayland session Hi developers, I have a new HP 15-BS576TX laptop which comes with the dynamic switching (Hybrid graphics) Intel HD 620 IGP and AMD Radeon 520 Dedicated graphics (GCN 1.2 OLAND chips). This is in a new installation of Ubuntu 17.10 with Gnome-3.26. The problem is, in wayland session of Gnome, the IGP and DGP are not listed. Only Intel integrated graphics is shown in default gnome-control-centre--->details>about. If I ran dedicated card using "DRI_PRIME=1 gnome-control-centre" It lists as AMD HAINAN though this Radeon 520 seems to be a re-branded OLAND chip. So, my problem is why Gnome does not list both the cards IGP and DGP? It does so in Xorg session. Without the listing of both cards, it is quite confusing whether the Gnome DE has autodetected and configured in dynamic hybrid graphics which many laptops are using especially in India, South-East Asia etc. Also, guide me if I need to report this to wayland bts (if any). Details: lspci -knnn shows that AMD Radeon 520 card is detected: 01:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430 / R7 M520] [1002:6660] (rev 83) Subsystem: Hewlett-Packard Company Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430] [103c:832b] Kernel driver in use: radeon Kernel modules: radeon, amdgpu and Integrated Intel HD 620 graphics: 00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 620 [8086:5916] (rev 02) Subsystem: Hewlett-Packard Company HD Graphics 620 [103c:832b] Kernel driver in use: i915 Kernel modules: i915 lshw -C video *-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:128 memory:b0000000-b0ffffff memory:a0000000-afffffff ioport:6000(size=64) memory:c0000-dffff *-display description: Display controller product: Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430 / R7 M520] vendor: Advanced Micro Devices, Inc. [AMD/ATI] physical id: 0 bus info: pci@0000:01:00.0 version: 83 width: 64 bits clock: 33MHz capabilities: pm pciexpress msi bus_master cap_list rom configuration: driver=radeon latency=0 resources: irq:129 memory:90000000-9fffffff memory:b1200000-b123ffff ioport:5000(size=256) memory:b1240000-b125ffff Now, if I run any app with DRI_PRIME=1 it works and shows below info: :~$ DRI_PRIME=1 glxinfo |grep -i Opengl* OpenGL vendor string: X.Org OpenGL renderer string: AMD HAINAN (DRM 2.50.0 / 4.13.0-16-generic, LLVM 5.0.0) OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.2.2 OpenGL core profile shading language version string: 4.50 So, I assumed Radeon 520 is working fine. Then, noticed that there is no mention of gallium 3d? I see that there is amdgpu driver module also loaded. From the list, R520 card seems to be supported by the radeon driver. lsmod |grep radeon radeon 1470464 0 ttm 94208 2 amdgpu,radeon i2c_algo_bit 16384 3 amdgpu,radeon,i915 drm_kms_helper 167936 3 amdgpu,radeon,i915 drm 356352 28 amdgpu,radeon,i915,ttm,drm_kms_helper CurrentDesktop: GNOME 3.26 Date: Fri Oct 27 03:50:59 2017 DistUpgraded: Fresh install DistroCodename: artful DistroVariant: ubuntu ExtraDebuggingInterest: Yes GraphicsCard: Intel Corporation HD Graphics 620 [8086:5916] (rev 02) (prog-if 00 [VGA controller]) Subsystem: Hewlett-Packard Company HD Graphics 620 [103c:832b] Subsystem: Hewlett-Packard Company Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330 / M430] [103c:832b] InstallationDate: Installed on 2017-10-22 (4 days ago) InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018) MachineType: HP HP Laptop 15-bs0xx ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.13.0-16-generic.efi.signed root=UUID=50b901ea-f329-4a72-ae11-f7203ae53c2e ro quiet splash vt.handoff=7 SourcePackage: xorg-server UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 07/24/2017 dmi.bios.vendor: Insyde dmi.bios.version: F.22 dmi.board.asset.tag: Type2 - Board Asset Tag dmi.board.name: 832B dmi.board.vendor: HP dmi.board.version: 23.38 dmi.chassis.asset.tag: Chassis Asset Tag dmi.chassis.type: 10 dmi.chassis.vendor: HP dmi.chassis.version: Chassis Version dmi.modalias: dmi:bvnInsyde:bvrF.22:bd07/24/2017:svnHP:pnHPLaptop15-bs0xx:pvrType1ProductConfigId:rvnHP:rn832B:rvr23.38:cvnHP:ct10:cvrChassisVersion: dmi.product.family: 103C_5335KV HP Notebook dmi.product.name: HP Laptop 15-bs0xx dmi.product.version: Type1ProductConfigId dmi.sys.vendor: HP version.compiz: compiz N/A version.libdrm2: libdrm2 2.4.83-1 version.libgl1-mesa-dri: libgl1-mesa-dri 17.2.2-0ubuntu1 version.libgl1-mesa-glx: libgl1-mesa-glx 17.2.2-0ubuntu1 version.xserver-xorg-core: xserver-xorg-core 2:1.19.5-0ubuntu2 version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.10.0-1 version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20170309-0ubuntu1 version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau N/A
Created attachment 362429 [details] dmesg details on the radeon 520 dgp and intel 620 igp
Created attachment 362430 [details] Xorg log under Xwayland session in Ubuntu
With amdgpu driver, the dedicated graphics card info appears in the gnome-control-centre > details > about window. But, wrong AMD device is listed - What I have in the laptop as dGPU is AMD Radeon 520, a GCN 1.0 card. What is listed is AMD Radeon R5 M330. Although, I would like to see the proper device name listed, if possible. Thank you. version.libdrm2: libdrm2 2.4.85-4 version.libdrm-amdgpu: libdrm-amdgpu 2.4.85-4 version.libgl1-mesa-dri: libgl1-mesa-dri 1:17.3.0 version.libgl1-mesa-glx: libgl1-mesa-glx 1:17.3.0 version.xserver-xorg-core: xserver-xorg-core 2:1.19.5-0ubuntu2 version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A version.xserver-xorg-video-amdgpu: xserver-xorg-video-amdgpu 1.4.0-1 version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20170309-0ubuntu1
Created attachment 364867 [details] AMD Radeon 520 is shown as AMD Radeon R5 M330
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new bug report at https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/ Thank you for your understanding and your help.