Stevo wrote: ↑Sun May 24, 2020 12:10 amTHX
timkb4cq wrote: ↑Mon May 25, 2020 10:50 pm
Just a note, may or may not apply.
I discovered the motherboard for my Ryzen 7 2700u will only allow the kernel access to the amdgpu bios if MX is booted up using UEFI mode - a legacy boot produces an error in dmesg about no amdgpu BIOS found and reverts to the radeon driver.
Thank you all for the hints. After enabling buster ahs in MX Repo Manger, new drivers installed:
Code: Select all
System: Host: mix Kernel: 5.6.0-trunk-amd64 x86_64 bits: 64 compiler: gcc v: 8.3.0
parameters: BOOT_IMAGE=/vmlinuz-5.6.0-trunk-amd64
root=UUID=218bd48d-4600-423c-bdfd-f68b0ea8b1da ro quiet splash amdgpu.dc=1
Desktop: Xfce 4.14.2 tk: Gtk 3.24.5 info: xfce4-panel wm: xfwm4 dm: LightDM 1.26.0
Distro: MX-19.1_x64 patito feo February 15 2020 base: Debian GNU/Linux 10 (buster)
Machine: Type: Desktop System: ASUSTeK product: MINIPC PB50 v: 0602 serial: <filter>
Mobo: ASUSTeK model: PB50 v: Rev 1.xx serial: <filter> UEFI [Legacy]: ASUSTeK v: 0602
date: 07/04/2019
CPU: Topology: Quad Core model: AMD Ryzen 7 3750H with Radeon Vega Mobile Gfx bits: 64 type: MT MCP
arch: Zen+ family: 17 (23) model-id: 18 (24) stepping: 1 microcode: 8108102 L2 cache: 2048 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 36728
Speed: 1597 MHz min/max: 1400/2300 MHz boost: enabled Core speeds (MHz): 1: 1597 2: 1596
3: 3991 4: 3992 5: 1596 6: 1594 7: 1597 8: 1596
Vulnerabilities: Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2
mitigation: Full AMD retpoline, IBPB: conditional, STIBP: disabled, RSB filling
Type: tsx_async_abort status: Not affected
Graphics: Device-1: AMD Picasso vendor: ASUSTeK driver: N/A bus ID: 04:00.0 chip ID: 1002:15d8
Display: x11 server: X.Org 1.20.4 driver: vesa resolution: 2560x1440~N/A
OpenGL: renderer: llvmpipe (LLVM 9.0.1 128 bits) v: 3.3 Mesa 19.3.3 compat-v: 3.1
direct render: Yes
Audio: Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio driver: snd_hda_intel v: kernel
bus ID: 04:00.1 chip ID: 1002:15de
Device-2: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel
bus ID: 04:00.6 chip ID: 1022:15e3
Sound Server: ALSA v: k5.6.0-trunk-amd64
Network: Device-1: Realtek RTL8822BE 802.11a/b/g/n/ac WiFi adapter vendor: ASUSTeK driver: rtw_pci
v: N/A port: f000 bus ID: 02:00.0 chip ID: 10ec:b822
IF: wlan0 state: down mac: <filter>
Device-2: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: 5.6.0-k port: e000
bus ID: 03:00.0 chip ID: 8086:1539
IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives: Local Storage: total: 238.47 GiB used: 51.16 GiB (21.5%)
ID-1: /dev/sda vendor: SanDisk model: SD9SN8W256G1102 size: 238.47 GiB block size:
physical: 512 B logical: 512 B speed: 6.0 Gb/s serial: <filter> rev: 6002 scheme: MBR
Partition: ID-1: / raw size: 235.93 GiB size: 231.22 GiB (98.01%) used: 50.87 GiB (22.0%) fs: ext4
dev: /dev/dm-0
ID-2: /boot raw size: 512.0 MiB size: 487.9 MiB (95.30%) used: 299.0 MiB (61.3%) fs: ext4
dev: /dev/sda1
ID-3: swap-1 size: 1.98 GiB used: 0 KiB (0.0%) fs: swap swappiness: 15 (default 60)
cache pressure: 100 (default) dev: /dev/dm-1
Sensors: System Temperatures: cpu: 57.4 C mobo: N/A
Fan Speeds (RPM): N/A
Repos: No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://deb.debian.org/debian buster-updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://deb.debian.org/debian buster main contrib non-free
2: deb http://deb.debian.org/debian-security buster/updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb http://mirror.easyname.at/mxlinux-packages/mx/repo/ buster main non-free
2: deb http://mirror.easyname.at/mxlinux-packages/mx/repo/ buster ahs
Active apt repos in: /etc/apt/sources.list.d/skype-stable.list
1: deb [arch=amd64] https://repo.skype.com/deb stable main
Active apt repos in: /etc/apt/sources.list.d/teamviewer.list
1: deb http://linux.teamviewer.com/deb stable main
No active apt repos in: /etc/apt/sources.list.d/various.list
Active apt repos in: /etc/apt/sources.list.d/vivaldi.list
1: deb http://repo.vivaldi.com/stable/deb/ stable main
Info: Processes: 310 Uptime: N/A Memory: 29.40 GiB used: 770.6 MiB (2.6%) Init: SysVinit v: 2.93
runlevel: 5 default: 5 Compilers: gcc: 8.3.0 alt: 8 Shell: bash v: 5.0.3
running in: quick-system-in inxi: 3.0.36
Code: Select all
$ apt policy linux-firmware
linux-firmware:
Installed: 1.187mx19+1
Candidate: 1.187mx19+1
Version table:
*** 1.187mx19+1 500
500 http://mir...
Code: Select all
$ dmesg | grep amdgpu
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-5.6.0-trunk-amd64 root=UUID=218bd48d-4600-423c-bdfd-f68b0ea8b1da ro quiet splash amdgpu.dc=1
[ 0.020082] Kernel command line: BOOT_IMAGE=/vmlinuz-5.6.0-trunk-amd64 root=UUID=218bd48d-4600-423c-bdfd-f68b0ea8b1da ro quiet splash amdgpu.dc=1
Code: Select all
$ lspci -k | grep -A3 VGA
04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Picasso (rev c1)
Subsystem: ASUSTeK Computer Inc. Picasso
Kernel modules: amdgpu
04:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio Controller
--
04:00.7 Non-VGA unclassified device: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/Renoir Non-Sensor Fusion Hub KMDF driver
Subsystem: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/Renoir Non-Sensor Fusion Hub KMDF driver
Kernel driver in use: i2c_amd_mp2
Kernel modules: i2c_amd_mp2_pci
P.S. I've tested "tearfree option" in MX Tweak, started MX AHS live USB (older kernel), but no effect. These was the origin issue, installing MX first time with this AMD CPU+GPU.
But the issue still exists, high CPU load watching fullscreen video. I think "renderer: llvmpipe" should be replaced by "AMD RAVEN" like the one, when booting with MX live from USB. But it seems you are right, booting MX in Legacy BIOS mode, not in UEFI, switch amdgpu.dc=1 will not be activated. Unfortunately, I've installed in Legacy mode.. :(
Code: Select all
$ ls /sys/firmware/efi
ls: cannot access '/sys/firmware/efi': No such file or directory
Found a (debian) solution
https://blog.getreu.net/projects/legacy-to-uefi-boot/ to switch from Legacy to UEFI.
But I plan to use this case to check my backup/restore.. I will plan next time install MX with UEFI from scratch and restore my data. Will inform you about success about AMDGPU. Thanks all!