Running Tumbleweed on HP Laptop 15-aw0xxx

Installed Tumbleweed 20181029 on the latest laptop purchase from the local pawn shop, has A10-9600 quad core, 12GB of RAM, Dual GPU AMD system…

Laptop screen all confused and decided to rotate screen under wayland, had to remove the iio-sensor-proxy package and lock…

Update the system via zypper dup… that’s dup not up or patch or some GUI tool for tumbleweed :wink:


inxi -Fz

System:    Host: bert Kernel: 4.18.15-1-default x86_64 bits: 64 Desktop: Gnome 3.30.1 Distro: openSUSE Tumbleweed 20181103 
Machine:   Type: Laptop System: HP product: HP Pavilion Notebook v: N/A serial: <filter> 
           Mobo: HP model: 81FE v: 81.21 serial: <filter> UEFI: American Megatrends v: F.30 date: 07/27/2018 
Battery:   ID-1: BAT0 charge: 33.0 Wh condition: 33.0/33.0 Wh (100%) 
CPU:       Topology: Quad Core model: AMD A10-9600P RADEON R5 10 COMPUTE CORES 4C+6G bits: 64 type: MCP L2 cache: 1024 KiB 
           Speed: 1187 MHz min/max: 1200/2400 MHz Core speeds (MHz): 1: 1192 2: 1175 3: 1195 4: 1194 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Wani [Radeon R5/R6/R7 Graphics] driver: amdgpu v: kernel 
           Device-2: AMD Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445] driver: amdgpu v: kernel 
           Display: x11 server: X.Org 1.20.2 driver: amdgpu resolution: 1366x768~60Hz 
           OpenGL: renderer: AMD CARRIZO (DRM 3.26.0 4.18.15-1-default LLVM 6.0.1) v: 4.5 Mesa 18.1.7 
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] Kabini HDMI/DP Audio driver: snd_hda_intel 
           Device-2: Advanced Micro Devices [AMD] Family 15h Audio driver: snd_hda_intel 
           Sound Server: ALSA v: k4.18.15-1-default 
Network:   Device-1: Realtek RTL810xE PCI Express Fast Ethernet driver: r8169 
           IF: eno1 state: up speed: 100 Mbps duplex: full mac: <filter> 
           Device-2: Intel Wireless 3165 driver: iwlwifi 
           IF: wlo1 state: down mac: <filter> 
Drives:    Local Storage: total: 119.24 GiB used: 6.61 GiB (5.5%) 
           ID-1: /dev/sda vendor: OCZ model: VERTEX4 size: 119.24 GiB 
Partition: ID-1: / size: 40.00 GiB used: 4.60 GiB (11.5%) fs: btrfs dev: /dev/sda2 
           ID-2: /home size: 40.00 GiB used: 4.60 GiB (11.5%) fs: btrfs dev: /dev/sda2 
           ID-3: /opt size: 40.00 GiB used: 4.60 GiB (11.5%) fs: btrfs dev: /dev/sda2 
           ID-4: /tmp size: 40.00 GiB used: 4.60 GiB (11.5%) fs: btrfs dev: /dev/sda2 
           ID-5: /var size: 40.00 GiB used: 4.60 GiB (11.5%) fs: btrfs dev: /dev/sda2 
           ID-6: swap-1 size: 3.99 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda4 
Sensors:   System Temperatures: cpu: 58.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
           GPU: device: amdgpu temp: 59 C device: amdgpu temp: 40 C 
Info:      Processes: 262 Uptime: N/A Memory: 11.25 GiB used: 932.0 MiB (8.1%) Shell: bash inxi: 3.0.27 

Install and enable switcheroo-control since this system has dual GPU’s;


cat /sys/kernel/debug/vgaswitcheroo/switch

0:IGD:+:Pwr:0000:00:01.0
1:DIS: :DynOff:0000:04:00.0

cat /sys/kernel/debug/vgaswitcheroo/switch
0:IGD:+:Pwr:0000:00:01.0
1:DIS: :DynPwr:0000:04:00.0

Switch to bfq i/o scheduler;


cat /sys/block/sda/queue/scheduler 
noop [deadline] cfq

Added scsi_mod.use_blk_mq=1 to kernel bootloader options and reboot;


cat /sys/block/sda/queue/scheduler 
[mq-deadline] kyber bfq none

Thanks for the post. So how is the PC working for you after these modifications? All is well I presume?

On Wed 07 Nov 2018 11:26:03 AM CST, glistwan wrote:

Thanks for the post. So how is the PC working for you after these
modifications? All is well I presume?

Hi
All working good, fan spins up a bit at times. But CPU boosts up to
3.3Ghz when building packages which is it’s main job :wink:

With switcheroo-control running you get an option to use the
application with the discrete GPU, else just start with DRI_PRIME=1
<some_app> sets it off as well.

Looks like a new snapshot ready, time to zypper dup…


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
SLES 15 | GNOME Shell 3.26.2 | 4.12.14-25.25-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

That’s great to hear. Seems like the AMD opensource drivers have gone a long way :slight_smile: hope they can catch nvidia proprietry at some point.

Hi
New app called WattmanGTK to tweak, can’t get it to work yet, but maybe related to using an APU…
https://github.com/BoukeHaarsma23/WattmanGTK
https://build.opensuse.org/package/show/home:malcolmlewis:TESTING/WattmanGTK

I need to have a deeper look as can see some clock/voltage info as use this type of method (albeit in bash) with my amd gpu profile package.
https://github.com/malcolmlewis/amd_gpu_power_profile

Great to hear, never heard of the app. Will have to try it out some day once I have proper hardware.

Hi
Only been active for a few days :wink:

Check out the screenshots subforum, just posted a starter for November…

Attaching a Garmin eTrex to the 4130 and 6700K machines would freeze the device notifier and even the whole desktop for a considerable time. Switching the i/o scheduler fixed this.

erlangen:~ # inxi -D
Drives:    Local Storage: total: 6.39 TiB used: 3.25 TiB (50.8%) 
           ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 950 PRO 512GB size: 476.94 GiB 
           ID-2: /dev/sda vendor: Western Digital model: WD40EZRX-22SPEB0 size: 3.64 TiB 
           ID-3: /dev/sdb vendor: Samsung model: SSD 850 EVO 500GB size: 465.76 GiB 
           ID-4: /dev/sdc type: USB model: Garmin GARMIN Flash size: 3.69 GiB 
           ID-5: /dev/sdd type: USB model: Garmin GARMIN Card size: 7.32 GiB 
           ID-6: /dev/sde vendor: Western Digital model: WD20NMVW-11EDZS3 size: 1.82 TiB 
erlangen:~ #

I am very happy with 8250U performance: https://www.cpubenchmark.net/compare/AMD-A10-9600P-vs-Intel-i5-8250U-vs-Intel-i7-6700K/2793vs3042vs2565 and http://jalbum.net/forum/thread.jspa?messageID=330015&tstart=0#330015 But rsyncing data from the WD USB drive to notebook resulted in annoying freezes. Switching the i/o scheduler fixed this problem too.

Hi
I’ve been using bfq for awhile now :wink: Have four laptops with the AMD/Radeon APU’s all rock along nicely for me.

According to what you posted, you don’t have bfq configured, you have mg-deadline.
Before you go about doing the work to <maybe> configure bfq, you might want to skim the following article in its entirety, which includes some practical advice on how bfq and a few other choices <might> improve your disk performance (apparently latency but not throughput)

https://wiki.archlinux.org/index.php/improving_performance#Input.2Foutput_schedulers

All in all though, your system looks pretty cool…

TSU

On Thu 08 Nov 2018 01:46:04 AM CST, tsu2 wrote:

malcolmlewis;2885618 Wrote:
>
>
> Switch to bfq i/o scheduler;
> >
Code:

> >
> cat /sys/block/sda/queue/scheduler
> noop [deadline] cfq
>

> >
>
> Added scsi_mod.use_blk_mq=1 to kernel bootloader options and reboot;
> >
Code:

> >
> cat /sys/block/sda/queue/scheduler
> [mq-deadline] kyber bfq none
>

> >

According to what you posted, you don’t have bfq configured, you have
mg-deadline.
Before you go about doing the work to <maybe> configure bfq, you might
want to skim the following article in its entirety, which includes some
practical advice on how bfq and a few other choices <might> improve your
disk performance (apparently latency but not throughput)

http://tinyurl.com/yan3bqd5

All in all though, your system looks pretty cool…

Hi
I beg to differ :wink: It’s all part of block multi-queue mode, in my
case if you look at the output I’m running a SSD (hence mq-deadline),
the openSUSE kernel developers have all that sorted now and udev rules
are implemented for both rotating and non-rotating disks. In the past I
use to manually add the rule to setup (well still do for SLES 15)…

Yes, seems to be running fine :slight_smile: Also got WattmanGTK working, at least
as an indicator :wink:

Still need to tweak the power management…


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
SLES 15 | GNOME Shell 3.26.2 | 4.12.14-25.25-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

The Ryzen 5 2500U is a close competitor to the i5-8250U: https://www.cpubenchmark.net/compare/AMD-Ryzen-5-2500U-vs-Intel-Core-i5-8250U/3123vs3042 The high power consumption let me switch from AMD to Intel in 2014. Currently there is no such issue. Ryzen 5 has somewhat lower single thread performance, but better graphics. Being unsure whether it is already as mature as the competitor I decided to stay with Intel.

Yep. Sometimes, some advice is a bit over the top, irrelevant, and incorrect. rotfl!

Hi
So a bit of a followup with moving to the 4.19.x kernels and a couple of issues, lost the iwlwifi and acpi sensors, k10temp wasn’t working (this is sorted upstream), tested a fix for the other two sensors (lm_sensors issue 139 on github) and all is back to normal. Just need the fixes to hit Tumbleweed and all should be back to normal.

I also noticed some type of screen tearing at 60Hz, dropping it back to 40Hz sorted, but now have the amdgpu.dc=0 kernel option set and all is back to normal at 60Hz refresh rate.

Also playing with the vulkan lib, have vkquake running, built vkmark (vulkan equiv to glmark). Minecraft runs fine, but also built MultiMC5 as a minecraft frontend https://multimc.org/

Having vgaswitcheroo systemd service also enables an option in GNOME to run an application using the Dedicated Graphics Card, but have found using DRI_PRIME=1 also enables the card.