AMD Radeon R7 M265 Drivers for Ubuntu 20.04 on Acer Aspire V5-561G-6894  - Page 1
Forum section: electronics / general

author: edy
author_rank: Super Contributor
timestamp: August 30, 2020, 10:50:20 pm
content: I have an old Acer Core i5-4200U laptop (Aspire V5) on which I installed Ubuntu Studio 20.04. However it is using Intel onboard graphics (not Radeon which is clearly advertised on a sticker on the laptop). When I check the video cards installed (using lspci command as follows) I get the following:Code:edy@edy-Aspire-V5-561G:~$ lspci -nn | grep -E 'VGA|Display'00:02.0 VGA compatible controller : Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 09)03:00.0 Display controller : Advanced Micro Devices, Inc. [AMD/ATI] Opal XT [Radeon R7 M265/M365X/M465] [1002:6604]And here I'm listing the graphics hardware another way:Code:edy@edy-Aspire-V5-561G:~$ sudo lshw -C video -C cpu password for edy:*-cpudescription: CPUproduct: Intel(R) Core(TM) i5-4200U CPU @ 1.60GHzvendor: Intel Corp.physical id: 4bus info: cpu@0version: Intel(R) Core(TM) i5-4200U CPU @ 1.60GHzserial: To Be Filled By O.E.M.slot: U3E1size: 798MHzcapacity: 2600MHzwidth: 64 bitsclock: 100MHzcapabilities: lm fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp x86-64 constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt dtherm ida arat pln pts md_clear flush_l1d cpufreqconfiguration: cores=2 enabledcores=2 threads=4*-displaydescription: VGA compatible controllerproduct: Haswell-ULT Integrated Graphics Controllervendor: Intel Corporationphysical id: 2bus info: pci@0000:00:02.0version: 09width: 64 bitsclock: 33MHzcapabilities: msi pm vga_controller bus_master cap_list romconfiguration: driver=i915 latency=0resources: irq:46 memory:c0000000-c03fffff memory:b0000000-bfffffff ioport:4000(size=64) memory:c0000-dffff*-displaydescription: Display controllerproduct: Opal XT [Radeon R7 M265/M365X/M465]vendor: Advanced Micro Devices, Inc. [AMD/ATI]physical id: 0bus info: pci@0000:03:00.0version: 00width: 64 bitsclock: 33MHzcapabilities: pm pciexpress msi bus_master cap_list romconfiguration: driver=radeon latency=0resources: irq:49 memory:a0000000-afffffff memory:c0500000-c053ffff ioport:3000(size=256) memory:c0540000-c055ffffSo right now it is using the integrated graphics controller, but I am not taking advantage of this Radeon R7 M265 (with 2GB Dedicated VRAM). Graphics performance is therefore quite limited. I looked at Radeon's driver page but can only find R7 M265 drivers for older version of Ubuntu (like 14) and the new AMDGPU-PRO stuff apparently doesn't support R7, only R9 and better (see:https://www.amd.com/en/support/previous-drivers/graphics/amd-radeon-r7-series/amd-radeon-r7-200-series/amd-radeon-r7-m265). It seems to support Windows 10 though.I also looked at ROCm drivers here:https://github.com/RadeonOpenCompute/ROCmIt supports Ubuntu 20.04, but when I look down the page at non-supported Hardware GPU support (https://github.com/RadeonOpenCompute/ROCm#not-supported) it doesn't list R7 M265 anywhere.Not supported:"Tonga", "Iceland", "Vega M", and "Vega 12" GPUs are not supported in ROCm 2.9.xOn this page it lists it as being "Topaz":https://www.techpowerup.com/gpu-specs/?architecture=GCN+3.0&sort=generationRadeon R7 M265 Topaz May 20th, 2014 PCIe 3.0 x8 2 GB, DDR3, 64 bit 900 MHz 900 MHz 384 / 24 / 8So I'm at a loss to figure out why my graphics are showing up as Integrated Intel GPU only when I use "hardinfo" I get the following:Graphics:1366x768Mesa DRI Intel(R) HD Graphics 4400 (HSW GT2)The X.Org FoundationI don't think it is using the AMD GPU. It says driver=radeon but I don't see it. I've installed "MadShaders_0.4.1_linux" and "Phoronix Test Suite" and I can tell you my graphics performance isn't all that stellar. Any ideas would be greatly appreciated!I'm also getting the following error on boot, but then it continues on to load Ubuntu:Code:radeon 0000:03:00.0: VCE init error (-110).Note sure if this is a way to go:https://launchpad.net/~oibaf/+archive/ubuntu/graphics-driversI just don't want to brick my system and have to start all over.UPDATE:I've install glmark2 (sudo apt install glmark2) and run the following:Code:edy@edy-Aspire-V5-561G:~$ DRI_PRIME=1 glmark2=======================================================glmark2 2014.03+git20150611.fa71af2d=======================================================OpenGL InformationGL_VENDOR: X.OrgGL_RENDERER: AMD OLAND (DRM 2.50.0, 5.4.0-42-lowlatency, LLVM 10.0.0)GL_VERSION: 4.5 (Compatibility Profile) Mesa 20.0.8======================================================= use-vbo=false: FPS: 497 FrameTime: 2.012 ms=======================================================glmark2 Score: 497=======================================================Here's what I get when I just run glmark2 and it defaults to the Intel GL renderer:Code:edy@edy-Aspire-V5-561G:~$ glmark2=======================================================glmark2 2014.03+git20150611.fa71af2d=======================================================OpenGL InformationGL_VENDOR: Intel Open Source Technology CenterGL_RENDERER: Mesa DRI Intel(R) HD Graphics 4400 (HSW GT2)GL_VERSION: 3.0 Mesa 20.0.8======================================================= use-vbo=false: FPS: 448 FrameTime: 2.232 ms=======================================================glmark2 Score: 448=======================================================Here is the list of kernel modules and the error happening on 0000:3:00.0:Code:edy@edy-Aspire-V5-561G:~$ lspci -k00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 09)Subsystem: Acer Incorporated  Haswell-ULT DRAM ControllerKernel driver in use: hsw_uncore00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)Subsystem: Acer Incorporated  Haswell-ULT Integrated Graphics ControllerKernel driver in use: i915Kernel modules: i91500:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 09)Subsystem: Acer Incorporated  Haswell-ULT HD Audio ControllerKernel driver in use: snd_hda_intelKernel modules: snd_hda_intel00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)Subsystem: Acer Incorporated  8 Series USB xHCI HCKernel driver in use: xhci_hcd00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)Subsystem: Acer Incorporated  8 Series HECIKernel driver in use: mei_meKernel modules: mei_me00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)Subsystem: Acer Incorporated  8 Series HD Audio ControllerKernel driver in use: snd_hda_intelKernel modules: snd_hda_intel00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4)Kernel driver in use: pcieport00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4)Kernel driver in use: pcieport00:1c.4 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 5 (rev e4)Kernel driver in use: pcieport00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)Subsystem: Acer Incorporated  8 Series USB EHCIKernel driver in use: ehci-pci00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)Subsystem: Acer Incorporated  8 Series LPC ControllerKernel driver in use: lpc_ichKernel modules: lpc_ich00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)Subsystem: Acer Incorporated  8 Series SATA Controller 1 [AHCI mode]Kernel driver in use: ahciKernel modules: ahci00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)Subsystem: Acer Incorporated  8 Series SMBus ControllerKernel driver in use: i801_smbusKernel modules: i2c_i80101:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM57786 Gigabit Ethernet PCIe (rev 01)Subsystem: Acer Incorporated  NetXtreme BCM57786 Gigabit Ethernet PCIeKernel driver in use: tg3Kernel modules: tg301:00.1 SD Host controller: Broadcom Inc. and subsidiaries BCM57765/57785 SDXC/MMC Card Reader (rev 01)Subsystem: Acer Incorporated  BCM57765/57785 SDXC/MMC Card ReaderKernel driver in use: sdhci-pciKernel modules: sdhci_pci02:00.0 Network controller: Qualcomm Atheros AR9462 Wireless Network Adapter (rev 01)Subsystem: Foxconn International, Inc. AR9462 Wireless Network AdapterKernel driver in use: ath9kKernel modules: ath9k03:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Opal XT [Radeon R7 M265/M365X/M465]Subsystem: Acer Incorporated  Aspire V5 Radeon R7 M265Kernel driver in use: radeonKernel modules: radeon, amdgpuUPDATE 2:Turns out if I write DRI_PRIME=1 before any application, it uses the AMD GPU instead. Example:$ DRI_PRIME=1 ./madshaders.pyThis will launch MadShaders but will be using the AMD OLAND processor. This is the same effect as above when invoking glmark2. Seems like I need to specify that on the command line for the application to use the other GPU?There was significant improvement by the way using MadShaders with the AMD GPU versus the Intel Integrated Graphics. Looks like someone else figured this out:https://starbeamrainbowlabs.com/blog/article.php?article=posts%2F254-run-program-on-amd-dedicated-graphics-card.html

author: Benta
author_rank: Super Contributor
timestamp: August 31, 2020, 07:00:58 pm
content: Just to keep your drivers up to date, this is the way to go:sudo add-apt-repository ppa:oibaf/graphics-driverssudo apt-get updateThis probably won't solve your problem, though. The Ubuntu graphic drivers are embedded in the kernel. I suspect a BIOS setup issue during installation. A reinstall might be necessary with a thinking-hat look at the BIOS settings first.