I have a new (second hand) HP zbook 15u G5, which has an AMD Radeon Pro WX 3100 GPU (and an integrated Intel UHD Graphics 630).
I have uninstalled the amdgpu
drivers as they were causing errors which prevented the machine from shutting down.
Machine details (inxi run after amdgpu was uninstalled):
inxi --admin --verbosity=7 --filter --no-host --width
System:
Kernel: 5.15.28-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
root=UUID=644d4eb6-d99d-41c6-81d2-a1d25a196aa1 rw quiet apparmor=1
security=apparmor udev.log_priority=3
Desktop: KDE Plasma 5.24.3 tk: Qt 5.15.3 wm: kwin_wayland vt: 2 dm: SDDM
Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Laptop System: HP product: HP ZBook 15u G5 v: N/A
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: HP model: 83B2 v: KBC Version 04.6D.00 serial: <superuser required>
UEFI: HP v: Q78 Ver. 01.18.01 date: 11/24/2021
Battery:
ID-1: BAT0 charge: 6.5 Wh (17.4%) condition: 37.3/56.3 Wh (66.3%)
volts: 10.4 min: 11.6 model: Hewlett-Packard Primary type: Li-ion
serial: <filter> status: Discharging cycles: 93
Memory:
RAM: total: 15.48 GiB used: 3.69 GiB (23.8%)
RAM Report:
permissions: Unable to run dmidecode. Root privileges required.
CPU:
Info: model: Intel Core i7-8550U bits: 64 type: MT MCP arch: Coffee Lake
family: 6 model-id: 0x8E (142) stepping: 0xA (10) microcode: 0xEC
Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
L3: 8 MiB desc: 1x8 MiB
Speed (MHz): avg: 718 high: 800 min/max: 400/4000 scaling:
driver: intel_pstate governor: powersave cores: 1: 700 2: 700 3: 700 4: 700
5: 700 6: 701 7: 800 8: 749 bogomips: 32012
Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
arch_capabilities arch_perfmon art avx avx2 bmi1 bmi2 bts clflush clflushopt
cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts
epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu fsgsbase fxsr
ht hwp hwp_act_window hwp_epp hwp_notify ibpb ibrs ida intel_pt invpcid
invpcid_single lahf_lm lm mca mce md_clear mmx monitor movbe mpx msr mtrr
nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pln
pni popcnt pse pse36 pti pts rdrand rdseed rdtscp rep_good sdbg sep smap
smep ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow
tsc tsc_adjust tsc_deadline_timer vme vmx vnmi vpid x2apic xgetbv1 xsave
xsavec xsaveopt xsaves xtopology xtpr
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf
mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
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: Retpolines, IBPB: conditional, IBRS_FW,
STIBP: conditional, RSB filling
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel UHD Graphics 620 vendor: Hewlett-Packard driver: i915
v: kernel ports: active: eDP-1 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2
bus-ID: 00:02.0 chip-ID: 8086:5917 class-ID: 0300
Device-2: AMD Lexa XT [Radeon PRO WX 3100] vendor: Hewlett-Packard
driver: N/A alternate: amdgpu pcie: gen: 3 speed: 8 GT/s lanes: 2 link-max:
lanes: 8 bus-ID: 01:00.0 chip-ID: 1002:6985 class-ID: 0380
Device-3: Chicony HP HD Camera type: USB driver: uvcvideo bus-ID: 1-9:5
chip-ID: 04f2:b5e7 class-ID: 0e02 serial: <filter>
Display: wayland server: X.org v: 1.21.1.3 with: Xwayland v: 22.1.0
compositor: kwin_wayland driver: X: loaded: modesetting
alternate: fbdev,vesa gpu: i915 display-ID: 0
Monitor-1: eDP-1 res: 1920x1080 size: N/A
OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa 21.3.7
direct render: Yes
Audio:
Device-1: Intel Sunrise Point-LP HD Audio vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel alternate: snd_soc_skl bus-ID: 00:1f.3
chip-ID: 8086:9d71 class-ID: 0403
Sound Server-1: ALSA v: k5.15.28-1-MANJARO running: yes
Sound Server-2: JACK v: 1.9.20 running: no
Sound Server-3: PulseAudio v: 15.0 running: yes
Sound Server-4: PipeWire v: 0.3.48 running: yes
Network:
Device-1: Intel Ethernet I219-V vendor: Hewlett-Packard driver: e1000e
v: kernel port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15d8 class-ID: 0200
IF: enp0s31f6 state: down mac: <filter>
Device-2: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel pcie:
gen: 1 speed: 2.5 GT/s lanes: 1 bus-ID: 02:00.0 chip-ID: 8086:24fd
class-ID: 0280
IF: wlp2s0 state: up mac: <filter>
IP v4: <filter> type: dynamic noprefixroute scope: global
broadcast: <filter>
IP v6: <filter> type: noprefixroute scope: link
WAN IP: <filter>
Bluetooth:
Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8
bus-ID: 1-7:3 chip-ID: 8087:0a2b class-ID: e001
Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Logical:
Message: No logical block device data found.
RAID:
Message: No RAID data found.
Drives:
Local Storage: total: 476.94 GiB used: 22.65 GiB (4.7%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
model: MZVLB512HAJQ-000H1 size: 476.94 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
rev: EXA72H1Q temp: 29.9 C scheme: GPT
Message: No optical or floppy data found.
Partition:
ID-1: / raw-size: 459.06 GiB size: 450.79 GiB (98.20%)
used: 22.65 GiB (5.0%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
label: root uuid: 644d4eb6-d99d-41c6-81d2-a1d25a196aa1
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 288 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p3 maj-min: 259:3 label: EFI
uuid: 44D8-B519
Swap:
Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 17.58 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/nvme0n1p1 maj-min: 259:1 label: swap
uuid: 3571369f-3bc9-4508-ad45-5a712ee41aba
Unmounted:
Message: No unmounted partitions found.
USB:
Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 12 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 1-7:3 info: Intel Bluetooth wireless interface type: Bluetooth
driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA
chip-ID: 8087:0a2b class-ID: e001
Device-2: 1-8:4 info: Validity Sensors type: <vendor specific> driver: N/A
interfaces: 1 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 138a:00ab
class-ID: ff00 serial: <filter>
Device-3: 1-9:5 info: Chicony HP HD Camera type: Video driver: uvcvideo
interfaces: 4 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 04f2:b5e7
class-ID: 0e02 serial: <filter>
Hub-2: 2-0:1 info: Super-speed hub ports: 6 rev: 3.0 speed: 5 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Hub-4: 4-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
System Temperatures: cpu: 41.0 C pch: 38.5 C mobo: 30.0 C
Fan Speeds (RPM): N/A
Info:
Processes: 260 Uptime: 52m wakeups: 1 Init: systemd v: 250 tool: systemctl
Compilers: gcc: 11.2.0 clang: 13.0.1 Packages: pacman: 1276 lib: 338
flatpak: 0 Shell: Bash v: 5.1.16 running-in: alacritty inxi: 3.3.13
Details of the Problem from before I uninstalled the amdgpu Driver
After install, when shutting down the laptop, it appears to reach the end of the shutdown process but does not power off. The last lines displayed in the shutdown process are
powering off
kvm: exiting hardware virtualisation
at which point the machine hangs.
Looking through the Journald log, I see
these errors occurring at startup
kernel x86/cpu: SGX disabled by BIOS.
kernel x86/cpu: SGX disabled by BIOS.
kernel ACPI BIOS Error (bug): AE_AML_BUFFER_LIMIT, Field [CAP1] at bit offset/length 64/32 exceeds size of target Buffer (64 bits) (20210730/dsopcode-198)
kernel ACPI Error: Aborting method \_SB._OSC due to previous error (AE_AML_BUFFER_LIMIT) (20210730/psparse-529)
systemd-udevd could not read from '/sys/module/pcc_cpufreq/initstate': No such device
kernel snd_hda_codec_conexant hdaudioC0D0: vmaster hook already present before cdev!
kernel amdgpu: Voltage value looks like a Leakage ID but it's not patched
kernel amdgpu: Voltage value looks like a Leakage ID but it's not patched
kernel amdgpu: Voltage value looks like a Leakage ID but it's not patched
kernel amdgpu: Voltage value looks like a Leakage ID but it's not patched
kernel amdgpu: Voltage value looks like a Leakage ID but it's not patched
kernel amdgpu: Voltage value looks like a Leakage ID but it's not patched
kernel amdgpu: Voltage value looks like a Leakage ID but it's not patched
kernel Bluetooth: hci0: Reading supported features failed (-16)
kernel amdgpu 0000:01:00.0: [drm:amdgpu_ring_test_helper [amdgpu]] *ERROR* ring uvd test failed (-110)
kernel [drm:amdgpu_device_init.cold [amdgpu]] *ERROR* hw_init of IP block <uvd_v6_0> failed -110
kernel amdgpu 0000:01:00.0: amdgpu: amdgpu_device_ip_init failed
kernel amdgpu 0000:01:00.0: amdgpu: Fatal error during GPU init
kernel BUG: unable to handle page fault for address: ffffbf7e80154000
kernel #PF: supervisor read access in kernel mode
kernel #PF: error_code(0x0000) - not-present page
systemd-udevd 0000:01:00.0: Worker [291] failed
systemd Failed to start Update XDG user dir configuration.
systemd Failed to start pkgfile database update.
And these errors at shutdown
pulseaudio Error opening PCM device front:0: No such file or directory
pulseaudio Error opening PCM device front:0: No such file or directory
systemd-logind Failed to start autovt@tty2.service: Transaction for getty@tty2.service/start is destructive (systemd-poweroff.service has 'start' job queued, but 'stop' is included in transaction).
I suspected the graphics driver errors could be the root problem. So I ran the following before uninstalling the driver:
Looking for some more information about my graphics configuration:
> lcpi
…
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
…
01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Lexa XT [Radeon PRO WX 3100]
…
> xrandr --listproviders
Providers: number : 0
> glxinfo | grep "OpenGL renderer"
OpenGL renderer string: Mesa Intel(R) UHD Graphics 620 (KBL GT2)
> DRI_PRIME=1 glxinfo | grep "OpenGL renderer" ✔
OpenGL renderer string: Mesa Intel(R) UHD Graphics 620 (KBL GT2)
> xrandr --setprovideroffloadsink radeon Intel ✔
Could not find provider with name radeon
The manjaro hardware configuration tool shows:
open-source installed
display controller
|
|--Lexa XT [Radeon PRO WX 3100] (ATI Technologies Inc)
| |---------------------------------video-linux ✅ ✅
|
|-- UHD Graphics 620 (Intel Corporation)
|---------------------------------video-linux ✅ ✅
|-------------------------------video-modesetting ✅ □
|---------------------------------video-vesa ✅ □
Current State
The laptop is working with only the integrated graphics card but I would really like to get the discrete card up and running. Any help gratefully received.