Troubleshooting my graphics drivers

hi ,
what would be some basic steps to trouble shoot my graphics cards on my laptop ?
I have a legion 5 with a 3050 ti and i am not sure what amd apu i have.
thank you

the issue iam currently having is that i can get no video out of my external monitor.
when it’s pluged in the system settings sees the monitor but clicking the enable button does nothing.
this laptop when booted up with windows works fine no issues.

Hi @666JTK666,

Please see, How to provide good information and, if applicable, please see [HowTo] post screenshots and links

 Kernel: 5.15.2-2-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
  root=UUID=1a5f5231-2ee7-44c9-aad6-a2c15bf94ec6 rw quiet apparmor=1
  security=apparmor resume=UUID=59c72ab7-e5db-4791-bc82-ac8722ef3182
  udev.log_priority=3
  Desktop: KDE Plasma 5.23.3 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM
  Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 82JW v: Legion 5 15ACH6
  serial: <superuser required> Chassis: type: 10 v: Legion 5 15ACH6
  serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0R32862 WIN
  serial: <superuser required> UEFI: LENOVO v: HHCN20WW date: 10/01/2021
Battery:
  ID-1: BAT0 charge: 62.2 Wh (99.0%) condition: 62.8/60.0 Wh (104.7%)
  volts: 16.6 min: 15.4 model: SMP L20M4PC0 type: Li-poly serial: <filter>
  status: Unknown cycles: 5
  Device-1: hidpp_battery_0 model: Logitech Wireless Mouse M525
  serial: <filter> charge: 100% (should be ignored) rechargeable: yes
  status: Discharging
Memory:
  RAM: total: 13.58 GiB used: 3.52 GiB (25.9%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: 8-Core model: AMD Ryzen 7 5800H with Radeon Graphics bits: 64
  type: MT MCP arch: Zen 3 family: 19 (25) model-id: 50 (80) stepping: 0
  microcode: A50000C cache: L1: 512 KiB L2: 4 MiB L3: 16 MiB bogomips: 102241
  Speed: 1703 MHz min/max: 1200/3200 MHz boost: enabled Core speeds (MHz):
  1: 1474 2: 1197 3: 1811 4: 1469 5: 1791 6: 1400 7: 2923 8: 1250 9: 2041
  10: 1668 11: 2486 12: 1462 13: 2578 14: 1522 15: 2130 16: 1193
  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 cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total cqm_occup_llc
  cr8_legacy cx16 cx8 de decodeassists erms extapic extd_apicid f16c
  flushbyasid fma fpu fsgsbase fsrm fxsr fxsr_opt ht hw_pstate ibpb ibrs ibs
  invpcid irperf lahf_lm lbrv lm mba mca mce misalignsse mmx mmxext monitor
  movbe msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx ospke osvw
  overflow_recov pae pat pausefilter pclmulqdq pdpe1gb perfctr_core
  perfctr_llc perfctr_nb pfthreshold pge pku 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 vaes vgif
  vmcb_clean vme vmmcall vpclmulqdq wbnoinvd wdt xgetbv1 xsave xsavec
  xsaveerptr xsaveopt xsaves
  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, IBRS_FW,
  STIBP: always-on, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GA107BM [GeForce RTX 3050 Ti Mobile] vendor: Lenovo
  driver: nvidia v: 495.44 alternate: nouveau,nvidia_drm bus-ID: 01:00.0
  chip-ID: 10de:25e0 class-ID: 0300
  Device-2: AMD Cezanne vendor: Lenovo driver: amdgpu v: kernel
  bus-ID: 06:00.0 chip-ID: 1002:1638 class-ID: 0300
  Device-3: Syntek Integrated Camera type: USB driver: uvcvideo bus-ID: 1-3:3
  chip-ID: 174f:2459 class-ID: fe01 serial: <filter>
  Display: x11 server: X.Org 1.21.1.1 compositor: kwin_x11 driver:
  loaded: amdgpu,ati,nvidia unloaded: modesetting,nouveau
  alternate: fbdev,nv,vesa display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2")
  s-diag: 582mm (22.9")
  Monitor-1: eDP res: 1920x1080 hz: 165 dpi: 142 size: 344x193mm (13.5x7.6")
  diag: 394mm (15.5")
  OpenGL: renderer: AMD RENOIR (DRM 3.42.0 5.15.2-2-MANJARO LLVM 13.0.0)
  v: 4.6 Mesa 21.2.5 direct render: Yes
Audio:
  Device-1: NVIDIA vendor: Lenovo driver: snd_hda_intel v: kernel
  bus-ID: 01:00.1 chip-ID: 10de:2291 class-ID: 0403
  Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Lenovo
  driver: N/A alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x
  bus-ID: 06:00.5 chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel
  v: kernel bus-ID: 06:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Sound Server-1: ALSA v: k5.15.2-2-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.19 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.40 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
  vendor: Lenovo driver: r8169 v: kernel port: 2000 bus-ID: 03:00.0
  chip-ID: 10ec:8168 class-ID: 0200
  IF: eno1 state: down mac: <filter>
  Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel 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: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 3-4:3
  chip-ID: 8087:0029 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 3 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 3.64 TiB used: 229.09 GiB (6.1%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
  model: SSD 970 EVO Plus 2TB size: 1.82 TiB block-size: physical: 512 B
  logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
  rev: 2B2QEXM7 temp: 35.9 C scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:1 vendor: Samsung
  model: SSD 970 EVO Plus 2TB size: 1.82 TiB block-size: physical: 512 B
  logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
  rev: 2B2QEXM7 temp: 25.9 C
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 1.8 TiB size: 1.78 TiB (98.37%) used: 229.09 GiB (12.6%)
  fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:3 label: N/A
  uuid: 1a5f5231-2ee7-44c9-aad6-a2c15bf94ec6
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
  used: 292 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:2
  label: NO_LABEL uuid: 64E1-98A3
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 14.87 GiB used: 0 KiB (0.0%) priority: -2
  dev: /dev/nvme0n1p3 maj-min: 259:4 label: swap
  uuid: 59c72ab7-e5db-4791-bc82-ac8722ef3182
Unmounted:
  Message: No unmounted partitions found.
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
  Hub-2: 1-2:2 info: Genesys Logic Hub ports: 3 rev: 2.1 speed: 480 Mb/s
  chip-ID: 05e3:0610 class-ID: 0900
  Device-1: 1-2.3:4 info: Logitech Unifying Receiver type: Keyboard,Mouse,HID
  driver: logitech-djreceiver,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s
  power: 98mA chip-ID: 046d:c52b class-ID: 0300
  Device-2: 1-3:3 info: Syntek Integrated Camera type: Video driver: uvcvideo
  interfaces: 3 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 174f:2459
  class-ID: fe01 serial: <filter>
  Device-3: 1-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:c101 class-ID: 0301
  Hub-3: 2-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
  chip-ID: 1d6b:0003 class-ID: 0900
  Hub-4: 2-2:2 info: Genesys Logic USB3.2 Hub ports: 3 rev: 3.2 speed: 5 Gb/s
  chip-ID: 05e3:0620 class-ID: 0900
  Hub-5: 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
  Device-1: 3-3:2 info: Integrated Express ITE Device(8295) type: Keyboard,HID
  driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s
  power: 100mA chip-ID: 048d:c965 class-ID: 0300
  Device-2: 3-4: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
  Hub-6: 4-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
  chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  Message: No sensor data found. Is lm-sensors configured?
Info:
  Processes: 346 Uptime: 1h 37m wakeups: 8 Init: systemd v: 249
  tool: systemctl Compilers: gcc: 11.1.0 Packages: pacman: 1264 lib: 357
  flatpak: 0 Shell: Zsh v: 5.8 default: Bash v: 5.1.8 running-in: konsole
  inxi: 3.3.09

i hope i did this correctly.

mhwd --list                                                                                                                                  ✔ 
> 0000:03:00.0 (0200:10ec:8168) Network controller Realtek Semiconductor Co., Ltd.:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
         network-r8168            2016.04.20                true            PCI


> 0000:01:00.0 (0300:10de:25e0) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-amd-nvidia-prime            2021.11.04               false            PCI
video-hybrid-amd-nvidia-470xx-prime            2021.11.04               false            PCI
          video-nvidia            2021.11.04               false            PCI
    video-nvidia-470xx            2021.11.04               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> 0000:06:00.0 (0300:1002:1638) Display controller ATI Technologies Inc:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-amd-nvidia-prime            2021.11.04               false            PCI
video-hybrid-amd-nvidia-470xx-prime            2021.11.04               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI
 mhwd --list                                                                                                                                  ✔ 
> 0000:03:00.0 (0200:10ec:8168) Network controller Realtek Semiconductor Co., Ltd.:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
         network-r8168            2016.04.20                true            PCI


> 0000:01:00.0 (0300:10de:25e0) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-amd-nvidia-prime            2021.11.04               false            PCI
video-hybrid-amd-nvidia-470xx-prime            2021.11.04               false            PCI
          video-nvidia            2021.11.04               false            PCI
    video-nvidia-470xx            2021.11.04               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> 0000:06:00.0 (0300:1002:1638) Display controller ATI Technologies Inc:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-amd-nvidia-prime            2021.11.04               false            PCI
video-hybrid-amd-nvidia-470xx-prime            2021.11.04               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


    ~  mhwd --listinstalled                                                                                                                         ✔ 
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI
video-hybrid-amd-nvidia-prime            2021.11.04               false            PCI


Warning: No installed USB configs!

ok try again

mhwd --listinstalled                                                                                        ✔ 
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI
video-hybrid-amd-nvidia-prime            2021.11.04               false            PCI


Warning: No installed USB configs!
mhwd --list                                                                                                 ✔ 
> 0000:03:00.0 (0200:10ec:8168) Network controller Realtek Semiconductor Co., Ltd.:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
         network-r8168            2016.04.20                true            PCI


> 0000:01:00.0 (0300:10de:25e0) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-amd-nvidia-prime            2021.11.04               false            PCI
video-hybrid-amd-nvidia-470xx-prime            2021.11.04               false            PCI
          video-nvidia            2021.11.04               false            PCI
    video-nvidia-470xx            2021.11.04               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> 0000:06:00.0 (0300:1002:1638) Display controller ATI Technologies Inc:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-amd-nvidia-prime            2021.11.04               false            PCI
video-hybrid-amd-nvidia-470xx-prime            2021.11.04               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI

Very good yes, please also provide the output of:

mhwd --list

and

mhwd --listinstalled

Thank you!

P.S.: Instead of replying, rather edit your post with the new details.

The second one should be the output for:

mhwd --listinstalled

and not,

mhwd --list

as it now, presumably mistakenly is. :wink:

I think what might be the case is that the hdmi port is tied to the nivida card and the laptop screen is tied to the amd apu. So how might i force the use of the nivida gpu for everything ?