Monday, June 11, 2018

Linux on AMD Ryzen 2500U powered laptop Acer Nitro 5 AN515-42-R3H6.

Tested out the AMD Ryzen 2500u based laptop on the latest Ubuntu 18.04.
Machine specs in the format it arrived here:

8GB of DDR4 RAM (1x8GB, second memory slot empty)
128GB M.2 SSD
1TB HDD
AMD Ryzen 2500U APU
AMD Radeon RX560X graphics
15.6" FullHD IPS Display, (viewing angles very fine)



Booting for install

In order to get the system even to boot i changed the grub line from
quite splash 
to 
nosplash pci=noacpi rcu_nocbs=0-7 processor.max_cstate=1
After setting the machine up then also add the keys to /etc/default/grub and run sudo grub-update.
 
 Something that i can't vouch for is the touchpad. It worked initially with linux but then suddenly disappeared and as i use external mouse anyway i wasn't bothered so far to track it down. 

 *UPDATE*
Time has moved on, on ubuntu 19.10 with kernel 5.3.0-24-generic the noacpi is no more the required workaround.
Now my kernel line looks like this :
 nosplash idle=nomwait pci=noaer iommu=pt ivrs_ioapic[4]=00:14.0 ivrs_ioapic[5]=00:00.2 rcu_nocbs=0-7 processor.max_cstate=1

Partitioning 

 Ubuntu proposed to me that let's install the linux onto the 1tb hdd instead of the windows carrying ssd. While very generous, i was going to have none of that and chose manual partitioning. Since the machine is already in the efi era you _have to_ create a separate partition for /boot/efi with fat32 , in my case i made it 300 megabytes big (doesn't really need that much). The rest i left for rest of Ubuntu as / and the terabyte hdd i will mount as a separate mount point.

Linux tools output for the common commands. 

$ cat /proc/cpuinfo
processor    : 0
vendor_id    : AuthenticAMD
cpu family    : 23
model        : 17
model name    : AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx
stepping    : 0
microcode    : 0x8101007
cpu MHz        : 1603.260
cache size    : 512 KB
physical id    : 0
siblings    : 8
core id        : 0
cpu cores    : 4
apicid        : 0
initial apicid    : 0
fpu        : yes
fpu_exception    : yes
cpuid level    : 13
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx hw_pstate sme vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf xsaveerptr ibpb arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif overflow_recov succor smca ssbd
bugs        : sysret_ss_attrs null_seg spectre_v1 spectre_v2 spec_store_bypass
bogomips    : 3992.42
TLB size    : 2560 4K pages
clflush size    : 64
cache_alignment    : 64
address sizes    : 43 bits physical, 48 bits virtual
power management: ts ttp tm hwpstate eff_freq_ro [13] [14]

processor    : 1
vendor_id    : AuthenticAMD
cpu family    : 23
model        : 17
model name    : AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx
stepping    : 0
microcode    : 0x8101007
cpu MHz        : 1572.750
cache size    : 512 KB
physical id    : 0
siblings    : 8
core id        : 0
cpu cores    : 4
apicid        : 1
initial apicid    : 1
fpu        : yes
fpu_exception    : yes
cpuid level    : 13
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx hw_pstate sme vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf xsaveerptr ibpb arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif overflow_recov succor smca ssbd
bugs        : sysret_ss_attrs null_seg spectre_v1 spectre_v2 spec_store_bypass
bogomips    : 3992.42
TLB size    : 2560 4K pages
clflush size    : 64
cache_alignment    : 64
address sizes    : 43 bits physical, 48 bits virtual
power management: ts ttp tm hwpstate eff_freq_ro [13] [14]

processor    : 2
vendor_id    : AuthenticAMD
cpu family    : 23
model        : 17
model name    : AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx
stepping    : 0
microcode    : 0x8101007
cpu MHz        : 1468.217
cache size    : 512 KB
physical id    : 0
siblings    : 8
core id        : 1
cpu cores    : 4
apicid        : 2
initial apicid    : 2
fpu        : yes
fpu_exception    : yes
cpuid level    : 13
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx hw_pstate sme vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf xsaveerptr ibpb arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif overflow_recov succor smca ssbd
bugs        : sysret_ss_attrs null_seg spectre_v1 spectre_v2 spec_store_bypass
bogomips    : 3992.42
TLB size    : 2560 4K pages
clflush size    : 64
cache_alignment    : 64
address sizes    : 43 bits physical, 48 bits virtual
power management: ts ttp tm hwpstate eff_freq_ro [13] [14]

processor    : 3
vendor_id    : AuthenticAMD
cpu family    : 23
model        : 17
model name    : AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx
stepping    : 0
microcode    : 0x8101007
cpu MHz        : 1461.133
cache size    : 512 KB
physical id    : 0
siblings    : 8
core id        : 1
cpu cores    : 4
apicid        : 3
initial apicid    : 3
fpu        : yes
fpu_exception    : yes
cpuid level    : 13
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx hw_pstate sme vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf xsaveerptr ibpb arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif overflow_recov succor smca ssbd
bugs        : sysret_ss_attrs null_seg spectre_v1 spectre_v2 spec_store_bypass
bogomips    : 3992.42
TLB size    : 2560 4K pages
clflush size    : 64
cache_alignment    : 64
address sizes    : 43 bits physical, 48 bits virtual
power management: ts ttp tm hwpstate eff_freq_ro [13] [14]

processor    : 4
vendor_id    : AuthenticAMD
cpu family    : 23
model        : 17
model name    : AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx
stepping    : 0
microcode    : 0x8101007
cpu MHz        : 1399.344
cache size    : 512 KB
physical id    : 0
siblings    : 8
core id        : 2
cpu cores    : 4
apicid        : 4
initial apicid    : 4
fpu        : yes
fpu_exception    : yes
cpuid level    : 13
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx hw_pstate sme vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf xsaveerptr ibpb arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif overflow_recov succor smca ssbd
bugs        : sysret_ss_attrs null_seg spectre_v1 spectre_v2 spec_store_bypass
bogomips    : 3992.42
TLB size    : 2560 4K pages
clflush size    : 64
cache_alignment    : 64
address sizes    : 43 bits physical, 48 bits virtual
power management: ts ttp tm hwpstate eff_freq_ro [13] [14]

processor    : 5
vendor_id    : AuthenticAMD
cpu family    : 23
model        : 17
model name    : AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx
stepping    : 0
microcode    : 0x8101007
cpu MHz        : 1432.112
cache size    : 512 KB
physical id    : 0
siblings    : 8
core id        : 2
cpu cores    : 4
apicid        : 5
initial apicid    : 5
fpu        : yes
fpu_exception    : yes
cpuid level    : 13
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx hw_pstate sme vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf xsaveerptr ibpb arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif overflow_recov succor smca ssbd
bugs        : sysret_ss_attrs null_seg spectre_v1 spectre_v2 spec_store_bypass
bogomips    : 3992.42
TLB size    : 2560 4K pages
clflush size    : 64
cache_alignment    : 64
address sizes    : 43 bits physical, 48 bits virtual
power management: ts ttp tm hwpstate eff_freq_ro [13] [14]

processor    : 6
vendor_id    : AuthenticAMD
cpu family    : 23
model        : 17
model name    : AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx
stepping    : 0
microcode    : 0x8101007
cpu MHz        : 1415.625
cache size    : 512 KB
physical id    : 0
siblings    : 8
core id        : 3
cpu cores    : 4
apicid        : 6
initial apicid    : 6
fpu        : yes
fpu_exception    : yes
cpuid level    : 13
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx hw_pstate sme vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf xsaveerptr ibpb arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif overflow_recov succor smca ssbd
bugs        : sysret_ss_attrs null_seg spectre_v1 spectre_v2 spec_store_bypass
bogomips    : 3992.42
TLB size    : 2560 4K pages
clflush size    : 64
cache_alignment    : 64
address sizes    : 43 bits physical, 48 bits virtual
power management: ts ttp tm hwpstate eff_freq_ro [13] [14]

processor    : 7
vendor_id    : AuthenticAMD
cpu family    : 23
model        : 17
model name    : AMD Ryzen 5 2500U with Radeon Vega Mobile Gfx
stepping    : 0
microcode    : 0x8101007
cpu MHz        : 1300.565
cache size    : 512 KB
physical id    : 0
siblings    : 8
core id        : 3
cpu cores    : 4
apicid        : 7
initial apicid    : 7
fpu        : yes
fpu_exception    : yes
cpuid level    : 13
wp        : yes
flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx hw_pstate sme vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf xsaveerptr ibpb arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif overflow_recov succor smca ssbd
bugs        : sysret_ss_attrs null_seg spectre_v1 spectre_v2 spec_store_bypass
bogomips    : 3992.42
TLB size    : 2560 4K pages
clflush size    : 64
cache_alignment    : 64
address sizes    : 43 bits physical, 48 bits virtual
power management: ts ttp tm hwpstate eff_freq_ro [13] [14]

$ lspci -v
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15d0
    Subsystem: Acer Incorporated [ALI] Device 125c
    Flags: fast devsel

00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 15d1
    Subsystem: Acer Incorporated [ALI] Device 125c
    Flags: bus master, fast devsel, latency 0, IRQ 16
    Capabilities:

00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge
    Flags: fast devsel

00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15d3 (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0, IRQ 17
    Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
    Memory behind bridge: fef00000-feffffff
    Prefetchable memory behind bridge: 0000000250000000-0000000267ffffff
    Capabilities:
    Kernel driver in use: pcieport
    Kernel modules: shpchp

00:01.6 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15d3 (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0, IRQ 18
    Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
    Memory behind bridge: ff200000-ff2fffff
    Capabilities:
    Kernel driver in use: pcieport
    Kernel modules: shpchp

00:01.7 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15d3 (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0, IRQ 19
    Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
    Memory behind bridge: ff000000-ff1fffff
    Capabilities:
    Kernel driver in use: pcieport
    Kernel modules: shpchp

00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge
    Flags: fast devsel

00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15db (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0, IRQ 20
    Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
    Memory behind bridge: ff300000-ff6fffff
    Prefetchable memory behind bridge: 0000000268000000-000000027fffffff
    Capabilities:
    Kernel driver in use: pcieport
    Kernel modules: shpchp

00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15dc (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0, IRQ 21
    Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
    Memory behind bridge: ff700000-ff7fffff
    Capabilities:
    Kernel driver in use: pcieport
    Kernel modules: shpchp

00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61)
    Subsystem: Acer Incorporated [ALI] FCH SMBus Controller
    Flags: 66MHz, medium devsel
    Kernel driver in use: piix4_smbus
    Kernel modules: i2c_piix4, sp5100_tco

00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
    Subsystem: Acer Incorporated [ALI] FCH LPC Bridge
    Flags: bus master, 66MHz, medium devsel, latency 0

00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15e8
    Flags: fast devsel

00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15e9
    Flags: fast devsel

00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ea
    Flags: fast devsel

00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15eb
    Flags: fast devsel

00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ec
    Flags: fast devsel

00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ed
    Flags: fast devsel

00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ee
    Flags: fast devsel

00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ef
    Flags: fast devsel

01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Baffin [Radeon RX 460] (rev c0)
    Subsystem: Acer Incorporated [ALI] Baffin [Radeon RX 460/560D / Pro 450/455/460/560]
    Physical Slot: 0
    Flags: bus master, fast devsel, latency 0, IRQ 41
    Memory at 250000000 (64-bit, prefetchable) [size=256M]
    Memory at 260000000 (64-bit, prefetchable) [size=2M]
    I/O ports at [disabled]
    Memory at fef00000 (32-bit, non-prefetchable) [size=256K]
    Expansion ROM at fef40000 [disabled] [size=128K]
    Capabilities:
    Kernel driver in use: amdgpu
    Kernel modules: amdgpu

02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411B PCI Express Card Reader (rev 01)
    Subsystem: Acer Incorporated [ALI] RTL8411B PCI Express Card Reader
    Flags: bus master, fast devsel, latency 0, IRQ 38
    Memory at ff214000 (32-bit, non-prefetchable) [size=4K]
    Expansion ROM at ff200000 [disabled] [size=64K]
    Capabilities:
    Kernel driver in use: rtsx_pci
    Kernel modules: rtsx_pci

02:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12)
    Subsystem: Acer Incorporated [ALI] RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
    Flags: bus master, fast devsel, latency 0, IRQ 40
    I/O ports at 0000
    Memory at ff215000 (64-bit, non-prefetchable) [size=4K]
    Memory at ff210000 (64-bit, non-prefetchable) [size=16K]
    Capabilities:
    Kernel driver in use: r8169
    Kernel modules: r8169

03:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)
    Subsystem: Lite-On Communications Inc QCA6174 802.11ac Wireless Network Adapter
    Flags: bus master, fast devsel, latency 0, IRQ 43
    Memory at ff000000 (64-bit, non-prefetchable) [size=2M]
    Capabilities:
    Kernel driver in use: ath10k_pci
    Kernel modules: ath10k_pci

04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Vega [Radeon Vega 8 Mobile] (rev c4) (prog-if 00 [VGA controller])
    Subsystem: Acer Incorporated [ALI] Vega [Radeon Vega 8 Mobile]
    Flags: bus master, fast devsel, latency 0, IRQ 42
    Memory at 270000000 (64-bit, prefetchable) [size=256M]
    Memory at 268000000 (64-bit, prefetchable) [size=2M]
    I/O ports at 0000
    Memory at ff600000 (32-bit, non-prefetchable) [size=512K]
    Capabilities:
    Kernel driver in use: amdgpu
    Kernel modules: amdgpu

04:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 15de
    Subsystem: Acer Incorporated [ALI] Device 125c
    Flags: bus master, fast devsel, latency 0, IRQ 44
    Memory at ff688000 (32-bit, non-prefetchable) [size=16K]
    Capabilities:
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel

04:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Device 15df
    Subsystem: Acer Incorporated [ALI] Device 125c
    Flags: fast devsel
    Memory at ff300000 (32-bit, non-prefetchable) [size=1M]
    Memory at ff68c000 (32-bit, non-prefetchable) [size=8K]
    Capabilities:

04:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15e0 (prog-if 30 [XHCI])
    Subsystem: Acer Incorporated [ALI] Device 125c
    Flags: bus master, fast devsel, latency 0
    Memory at ff400000 (64-bit, non-prefetchable) [size=1M]
    Capabilities:
    Kernel driver in use: xhci_hcd

04:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15e1 (prog-if 30 [XHCI])
    Subsystem: Acer Incorporated [ALI] Device 125c
    Flags: bus master, fast devsel, latency 0
    Memory at ff500000 (64-bit, non-prefetchable) [size=1M]
    Capabilities:
    Kernel driver in use: xhci_hcd

04:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Device 15e3
    Subsystem: Acer Incorporated [ALI] Device 125c
    Flags: bus master, fast devsel, latency 0, IRQ 45
    Memory at ff680000 (32-bit, non-prefetchable) [size=32K]
    Capabilities:
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel

05:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 61) (prog-if 01 [AHCI 1.0])
    Subsystem: Acer Incorporated [ALI] FCH SATA Controller [AHCI mode]
    Flags: bus master, fast devsel, latency 0, IRQ 39
    Memory at ff700000 (32-bit, non-prefetchable) [size=2K]
    Capabilities:
    Kernel driver in use: ahci
    Kernel modules: ahci
 
$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 0408:a060 Quanta Computer, Inc.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 04ca:3016 Lite-On Technology Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 $ xvinfo
X-Video Extension version 2.2
screen #0
  Adaptor #0: "GLAMOR Textured Video"
    number of ports: 16
    port base: 100
    operations supported: PutImage
    supported visuals:
      depth 24, visualID 0x46
    number of attributes: 5
      "XV_BRIGHTNESS" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_CONTRAST" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_SATURATION" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_HUE" (range -1000 to 1000)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_COLORSPACE" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 0)
    maximum XvImage size: 8192 x 8192
    Number of image formats: 2
      id: 0x32315659 (YV12)
        guid: 59563132-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x30323449 (I420)
        guid: 49343230-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)


$ glxinfo
name of display: :1
display: :1  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile,
    GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float,
    GLX_ARB_framebuffer_sRGB, GLX_ARB_multisample,
    GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile,
    GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB,
    GLX_EXT_import_context, GLX_EXT_libglvnd, GLX_EXT_texture_from_pixmap,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_INTEL_swap_event,
    GLX_MESA_copy_sub_buffer, GLX_OML_swap_method, GLX_SGIS_multisample,
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
    GLX_SGI_make_current_read, GLX_SGI_swap_control
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_context_flush_control, GLX_ARB_create_context,
    GLX_ARB_create_context_profile, GLX_ARB_create_context_robustness,
    GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB,
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_buffer_age,
    GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile,
    GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB,
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info,
    GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer,
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
    GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGIX_visual_select_group, GLX_SGI_make_current_read,
    GLX_SGI_swap_control, GLX_SGI_video_sync
GLX version: 1.4
GLX extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile,
    GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float,
    GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample,
    GLX_EXT_buffer_age, GLX_EXT_create_context_es2_profile,
    GLX_EXT_create_context_es_profile, GLX_EXT_fbconfig_packed_float,
    GLX_EXT_framebuffer_sRGB, GLX_EXT_import_context,
    GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer,
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
    GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGIX_visual_select_group, GLX_SGI_make_current_read,
    GLX_SGI_swap_control, GLX_SGI_video_sync
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: X.Org (0x1002)
    Device: AMD RAVEN (DRM 3.23.0 / 4.15.0-22-generic, LLVM 6.0.0) (0x15dd)
    Version: 18.0.0
    Accelerated: yes
    Video memory: 991MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 3.0
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.1
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 991 MB, largest block: 991 MB
    VBO free aux. memory - total: 3067 MB, largest block: 3067 MB
    Texture free memory - total: 991 MB, largest block: 991 MB
    Texture free aux. memory - total: 3067 MB, largest block: 3067 MB
    Renderbuffer free memory - total: 991 MB, largest block: 991 MB
    Renderbuffer free aux. memory - total: 3067 MB, largest block: 3067 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 991 MB
    Total available memory: 4059 MB
    Currently available dedicated video memory: 991 MB
OpenGL vendor string: X.Org
OpenGL renderer string: AMD RAVEN (DRM 3.23.0 / 4.15.0-22-generic, LLVM 6.0.0)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.0.0-rc5
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
... snipped the rest ....

20 comments:

Anonymous said...

Thanks so much for posting your Grub options on this device!

Anonymous said...

Also -- if you want to enable touchpad, change the touchpad option from Advanced to Basic in the BIOS & reboot -- works great.

Anonymous said...

Thank you! It very helpful to me.

Anyway, have you fn+left or fn+right brigtness keys worked?

Unknown said...

Though cpu fans are always running and it heats even when kept idle. Same model (nitro 5 an515-42)
Please help

Anonymous said...

great its work for me, but i get some bug after i suspend the laptop it cant wake up. any advice about this ?

Anonymous said...

Also adding parameter i8042.nopnp to boot parameter makes mu touchpad usable.

Anonymous said...

Where to add those parameters (as I was noob)

Unknown said...

After installation, the grub edit does not work for me,its gets stuck after loading purple screen.. Help.

Martini Rosso said...

If you get stuck after grub - you are missing the options pointed out in the post.

As for suspend - i had it disabled until now.

Today i found out however how to upgrade bios on the machine without installing windows back on the main hard disk.

1. Download windows 10 install iso from microsoft.
2. Download windows bios update from acer
3. Install virtualbox with extras into ubuntu
4. Get a big memory stick (64gb in my case)
5. Make the virtualbox use the usb stick as a disk directly (create the according virtualbox)
make sure which disk your usb disk is, mine was /dev/sdc

$sudo chmod a+rw /dev/sdc
$VBoxManage internalcommands createrawvmdk -filename "usdb-disk.vmdk" -rawdisk /dev/sdc

6. Intall windows 10 in virtualbox to the usb stick. Leave a few megabytes of the usb stick free
7. Run mbr2gpt in windows after install to make windows boot in uefi mode. Transport the bios update to the windows disk too. (I just downloaded it there in windows with Edge).
8. Restart machine. press F12 to choose boot disk, boot from usb, let the machine settle after windows start.
9. Run bios tool, it restarts once into a funky black-red screen, updates bios, restarts.
10. Linux boots up nicely after that. You will also notice a new behaviour with bios 1.11, the keyboard starts to turn off the lights dynamically if you are not typing. Fancy stuff.

my bios is now bumped from 1.5 to 1.11

Also would like to send greetings to Acer people making my life so fun.

Unknown said...

Dude, I can't do anything , I'm on bios v1.12. I want things to a bit clear because I'm new to this platform and what's all the code above, should I copy-paste it in my grub or else should I just leave it. Installation of Ubuntu, I'm stuck at purple screen which does not load or do anything. Please help me with a bit more detail in terms of the steps. Sorry if I've offended you but I'm kinda frustrated banging my head over this is for mostly this entire day .

Unknown said...

Please tell me how to install. From the primitive step .

Anonymous said...

I have been running Linux mint for sometime now @shruti swaroop. I would recommend that over Ubuntu. And you should probably learn basic Linux commands or your way around it first

Press E on the try Ubuntu option
Edit the grub
Ctrl + X to boot
Install Ubuntu
Edit the grub again as before before booting
Make changes in etc/default/grub
Run sudo update-grub ( might be different , just use google ;) )
Reboot.
You won't need to edit grub every time

I would also recommend following the manjaro forums thread for this device. There are some updated grub options there and more info

ozguy said...

ok, I am a newbee. dont quiet understand
After setting the machine up then "also add the keys to /etc/default/grub" and run sudo grub-update.

ozguy said...

ok, I am a newbee. dont quiet understand
After setting the machine up then "also add the keys to /etc/default/grub" and run sudo grub-update.

Anonymous said...

thank you very much, with that command everything goes smoothly and I finally managed to install ubuntu. Only, I have to re-insert it every time I boot the notebook. How do I save the commands?

Unknown said...

any new updates????

IS support for linux added to this laptop????

Anonymous said...


every time I come here I bless you

Melroy said...

I also have this issue with kernel 5 and Ryzen processor with Vega graphics chip (on board video)

GCC Gamers said...

"https://gccgamers.com/computer-parts-components/processors/amd%20ryzen%207%205800x%208%20cores,%2016%20threadsdesktop%20processor%20-%20tray%20%7C100-100000063.html
Are you looking for best AMD Ryzen 7 5800x in uae,amd processor in uae?"

PCDUBAI said...

Where can buy https://pcdubai.com/product/amd-ryzen-threadripper-pro-3975wx-processor-tray-100-100000086wof/ Here visit now AMD Ryzen Threadripper in UAE, Ryzen Threadripper PRO in UAE, 3995WX AMD Processor (TRAY) in UAE