~ echo "amdgpu" | sudo tee /etc/modprobe.d/amdgpu.conf ✔
[sudo] password for juba:
amdgpu
~ cat /etc/modprobe.d/amdgpu.conf ✔
amdgpu
then I rebooted the laptop but the amdgpu still loaded and the nvidia not
glxinfo | grep "OpenGL render" ✔
OpenGL renderer string: AMD Radeon Graphics (renoir, LLVM 15.0.7, DRM 3.49, 6.1.20-1-MANJARO)
~ nvidia-smi ✔
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
~ prime-run glxgears INT ✘
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 26
Current serial number in output stream: 27
sudo inxi --admin --verbosity=7 --filter --no-host --width ✔
System:
Kernel: 6.1.20-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
parameters: BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64
root=UUID=8b37ea05-3c60-4efd-bc6d-ae41c02a9515 rw quiet apparmor=1
security=apparmor udev.log_priority=3
Desktop: KDE Plasma v: 5.27.3 tk: Qt v: 5.15.8 info: latte-dock
wm: kwin_x11 dm: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Laptop System: LENOVO product: 82B5 v: Lenovo Legion 5 15ARH05
serial: <filter> Chassis: type: 10 v: Lenovo Legion 5 15ARH05
serial: <filter>
Mobo: LENOVO model: LNVNB161216 v: SDK0J40709 WIN serial: <filter>
UEFI: LENOVO v: EUCN37WW date: 04/14/2022
Battery:
ID-1: BAT0 charge: 53.4 Wh (99.1%) condition: 53.9/60.0 Wh (89.9%)
volts: 17.2 min: 15.4 model: SMP L19M4PC0 type: Li-poly serial: <filter>
status: not charging cycles: 113
Memory:
RAM: total: 22.85 GiB used: 2.51 GiB (11.0%)
Array-1: capacity: 64 GiB slots: 2 EC: None max-module-size: 32 GiB
note: est.
Device-1: DIMM 0 type: DDR4 detail: synchronous unbuffered (unregistered)
size: 8 GiB speed: 3200 MT/s volts: curr: 1.2 min: 1.2 max: 1.2 width (bits):
data: 64 total: 64 manufacturer: Kingston part-no: LV32D4S2S8HD-8
serial: <filter>
Device-2: DIMM 0 type: DDR4 detail: synchronous unbuffered (unregistered)
size: 16 GiB speed: 3200 MT/s volts: curr: 1.2 min: 1.2 max: 1.2
width (bits): data: 64 total: 64 manufacturer: Crucial
part-no: CT16G4SFRA32A.C16FJ serial: <filter>
CPU:
Info: model: AMD Ryzen 5 4600H with Radeon Graphics socket: FP6 bits: 64
type: MT MCP arch: Zen 2 gen: 3 level: v3 note: check built: 2020-22
process: TSMC n7 (7nm) family: 0x17 (23) model-id: 0x60 (96) stepping: 1
microcode: 0x8600106
Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB L3: 8 MiB
desc: 2x4 MiB
Speed (MHz): avg: 3000 min/max: 1400/3000 boost: disabled
base/boost: 3000/4000 scaling: driver: acpi-cpufreq governor: performance
volts: 1.2 V ext-clock: 100 MHz cores: 1: 3000 2: 3000 3: 3000 4: 3000
5: 3000 6: 3000 7: 3000 8: 3000 9: 3000 10: 3000 11: 3000 12: 3000
bogomips: 71898
Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
constant_tsc cpb cppc cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid
f16c flushbyasid fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibrs ibs
irperf lahf_lm lbrv lm mba mca mce misalignsse mmx mmxext monitor movbe
msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx osvw overflow_recov pae
pat pausefilter pclmulqdq pdpe1gb perfctr_core perfctr_llc perfctr_nb
pfthreshold pge pni popcnt pse pse36 rapl rdpid rdpru rdrand rdseed rdt_a
rdtscp rep_good sep sha_ni skinit smap smca smep ssbd sse sse2 sse4_1
sse4_2 sse4a ssse3 stibp succor svm svm_lock syscall tce topoext tsc
tsc_scale umip v_spec_ctrl v_vmsave_vmload vgif vmcb_clean vme vmmcall
wbnoinvd wdt xgetbv1 xsave xsavec xsaveerptr xsaveopt
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data status: Not affected
Type: retbleed mitigation: untrained return thunk; SMT enabled with STIBP
protection
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
sanitization
Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, STIBP:
always-on, RSB filling, PBRSB-eIBRS: Not affected
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA TU117M [GeForce GTX 1650 Ti Mobile] vendor: Lenovo
driver: N/A alternate: nouveau, nvidia_drm, nvidia non-free: 525.xx+
status: current (as of 2023-02) arch: Turing code: TUxxx
process: TSMC 12nm FF built: 2018-22 pcie: gen: 3 speed: 8 GT/s lanes: 8
link-max: lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:1f95 class-ID: 0300
Device-2: AMD Renoir vendor: Lenovo driver: amdgpu v: kernel arch: GCN-5
code: Vega process: GF 14nm built: 2017-20 pcie: gen: 4 speed: 16 GT/s
lanes: 16 ports: active: eDP-1 empty: none bus-ID: 05:00.0
chip-ID: 1002:1636 class-ID: 0300 temp: 38.0 C
Device-3: Syntek Integrated Camera type: USB driver: uvcvideo bus-ID: 1-3:3
chip-ID: 174f:244c class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org v: 21.1.7 with: Xwayland v: 22.1.8
compositor: kwin_x11 driver: X: loaded: amdgpu unloaded: modesetting
alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
s-diag: 582mm (22.93")
Monitor-1: eDP-1 mapped: eDP model: BOE Display 0x08e8 built: 2019
res: 1920x1080 hz: 120 dpi: 142 gamma: 1.2 size: 344x194mm (13.54x7.64")
diag: 395mm (15.5") ratio: 16:9 modes: max: 1920x1080 min: 640x480
API: OpenGL v: 4.6 Mesa 22.3.7 renderer: AMD Radeon Graphics (renoir LLVM
15.0.7 DRM 3.49 6.1.20-1-MANJARO) direct-render: Yes
Audio:
Device-1: NVIDIA driver: snd_hda_intel v: kernel bus-ID: 1-2:2 pcie:
chip-ID: 8086:0808 gen: 3 class-ID: 0300 speed: 8 GT/s lanes: 8 link-max:
lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:10fa class-ID: 0403
Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Lenovo driver: N/A
alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x,
snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps, snd_sof_amd_renoir,
snd_sof_amd_rembrandt pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 05:00.5
chip-ID: 1022:15e2 class-ID: 0480
Device-3: AMD Family 17h/19h HD Audio vendor: Lenovo driver: snd_hda_intel
v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 05:00.6
chip-ID: 1022:15e3 class-ID: 0403
Device-4: Intel USB PnP Sound Device type: USB
driver: hid-generic,snd-usb-audio,usbhid
Sound API: ALSA v: k6.1.20-1-MANJARO running: yes
Sound Server-1: JACK v: 1.9.22 running: no
Sound Server-2: PulseAudio v: 16.1 running: yes
Sound Server-3: PipeWire v: 0.3.67 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Lenovo driver: N/A modules: r8169, r8168 pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: 2000 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2
speed: 5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 8086:2723 class-ID: 0280
IF: wlp4s0 state: up mac: <filter>
IP v4: <filter> type: dynamic noprefixroute scope: global
broadcast: <filter>
IP v6: <filter> type: dynamic noprefixroute scope: global
IP v6: <filter> type: noprefixroute scope: link
WAN IP: <filter>
Bluetooth:
Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 3-3:3
chip-ID: 8087:0029 class-ID: e001
Report: rfkill ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
rfk-block: hardware: no software: yes address: see --recommends
Logical:
Message: No logical block device data found.
RAID:
Message: No RAID data found.
Drives:
Local Storage: total: 1.14 TiB used: 547.6 GiB (46.8%)
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: MZVLB256HBHQ-000L2
size: 238.47 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 type: SSD serial: <filter> rev: 3L1QEXH7 temp: 34.9 C scheme: GPT
SMART: yes health: PASSED on: 22d 1h cycles: 902
read-units: 15,434,233 [7.90 TB] written-units: 11,087,543 [5.67 TB]
ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital model: WD10SPSX-08A6W
family: Black (SMR) size: 931.51 GiB block-size: physical: 4096 B
logical: 512 B sata: 3.1 speed: 6.0 Gb/s type: HDD rpm: 7200
serial: <filter> rev: 1A01 temp: 25 C scheme: GPT
SMART: yes state: enabled health: PASSED on: 49d 3h cycles: 900
Message: No optical or floppy data found.
Partition:
ID-1: / raw-size: 69.16 GiB size: 67.52 GiB (97.63%) used: 32.26 GiB (47.8%)
fs: ext4 block-size: 4096 B dev: /dev/nvme0n1p5 maj-min: 259:5 label: N/A
uuid: 8b37ea05-3c60-4efd-bc6d-ae41c02a9515
ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%)
used: 49.8 MiB (19.5%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p1
maj-min: 259:1 label: SYSTEM_DRV uuid: A29E-C755
ID-3: /mnt/Data raw-size: 873.43 GiB size: 873.43 GiB (100.00%)
used: 393.17 GiB (45.0%) fs: ntfs block-size: 4096 B dev: /dev/sda2
maj-min: 8:2 label: Data uuid: 74846F02846EC668
ID-4: /mnt/Win-SSD raw-size: 168.06 GiB size: 168.06 GiB (100.00%)
used: 122.11 GiB (72.7%) fs: ntfs block-size: 4096 B dev: /dev/nvme0n1p3
maj-min: 259:3 label: Windows-SSD uuid: F8569F63569F2184
Swap:
Alert: No swap data was found.
Unmounted:
ID-1: /dev/nvme0n1p2 maj-min: 259:2 size: 16 MiB fs: N/A label: N/A uuid: N/A
ID-2: /dev/nvme0n1p4 maj-min: 259:4 size: 1000 MiB fs: ntfs
label: WINRE_DRV uuid: EA7C9FD17C9F96C3
ID-3: /dev/sda1 maj-min: 8:1 size: 16 MiB fs: N/A label: N/A uuid: N/A
ID-4: /dev/sda3 maj-min: 8:3 size: 58.07 GiB fs: ext4 label: N/A
uuid: 63f3d26a-8319-46e5-a052-f7879584fa49
USB:
Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 1-2:2 info: Intel USB PnP Sound Device type: Audio,HID
driver: hid-generic,snd-usb-audio,usbhid interfaces: 4 rev: 1.1
speed: 12 Mb/s power: 100mA chip-ID: 8086:0808 class-ID: 0300
Device-2: 1-3:3 info: Syntek Integrated Camera type: Video driver: uvcvideo
interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 174f:244c
class-ID: 0e02 serial: <filter>
Hub-2: 2-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Hub-4: 3-1:2 info: Genesys Logic Hub ports: 2 rev: 2.1 speed: 480 Mb/s
power: 100mA chip-ID: 05e3:0610 class-ID: 0900
Device-1: 3-1.1:4 info: USB OPTICAL MOUSE type: Mouse
driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 1.5 Mb/s
power: 100mA chip-ID: 30fa:0400 class-ID: 0301
Device-2: 3-3:3 info: Intel AX200 Bluetooth type: Bluetooth driver: btusb
interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA chip-ID: 8087:0029
class-ID: e001
Device-3: 3-4:5 info: Integrated Express ITE Device(8910) type: Keyboard
driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s power: 100mA
chip-ID: 048d:c100 class-ID: 0301
Hub-5: 4-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Hub-6: 4-1:2 info: Genesys Logic GL3523 Hub ports: 2 rev: 3.2 speed: 5 Gb/s
chip-ID: 05e3:0620 class-ID: 0900
Sensors:
System Temperatures: cpu: 39.8 C mobo: N/A gpu: amdgpu temp: 38.0 C
Fan Speeds (RPM): N/A
Info:
Processes: 315 Uptime: 3m wakeups: 1 Init: systemd v: 252 default: graphical
tool: systemctl Compilers: gcc: 12.2.1 clang: 15.0.7 Packages: 1460
pm: pacman pkgs: 1439 libs: 353 tools: pamac,yay pm: pkg pkgs: 0 pm: flatpak
pkgs: 15 pm: snap pkgs: 6 Shell: Zsh (sudo) v: 5.9 running-in: konsole
inxi: 3.3.25