Switch from AMD GPU to Nvidia GPU

Hello,

i have a Nvidia GPU and i dont know how to switch from AMD to Nvidia, because i cant install games?
signal-2022-08-15-152141_002
Thx for help.

Can we see the output of inxi -Fxxxz so we can see what we are dealing with?

sudo pacman -R vulkan-radeon lib32-vulkan-radeon amdvlk lib32-amdvlk steam
sudo pacman -S nvidia-dkms lib32-nvidia-utils steam

Power off, switch cards and power back on. I am assumimg that you have a Nvidia card compatible with newest drivers ie. 900 series or better and you will no longer use your old card. The Steam reinstallation may not be necessary but I have seen that Steam may pick wrong driver and needs a reinstall on driver change. If on first command some of the packages to uninstall cannot be found, remove them from the command and try again.

Ahh…are you sure we aren’t talking about “switching” in the prime sense. i.e. Use the dedicated nvidia GPU instead of the AMD APU?

I thought the OP was going to physically swap an AMD GPU and a Nvidia GPU :sweat_smile:

1 Like

This:

seems to be a different problem to this:

Yes, i want to use the dedicated nvidia GPU instead of the AMD APU.

OK, please provide inxi -Fxxxz as requested above.

The old switcheroo trick. Ahhhhh.

(Seriously though, check out the switcheroo service)

1 Like
System:
  Kernel: 5.19.1-arch2-1 arch: x86_64 bits: 64 compiler: gcc v: 12.1.1
    Desktop: GNOME v: 42.4 tk: GTK v: 3.24.34 wm: gnome-shell dm: GDM v: 42.0
    Distro: EndeavourOS base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 82EY v: IdeaPad Gaming 3 15ARH05
    serial: <superuser required> Chassis: type: 10 v: IdeaPad Gaming 3 15ARH05
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: NO DPK serial: <superuser required>
    UEFI: LENOVO v: FCCN16WW date: 01/05/2021
Battery:
  ID-1: BAT0 charge: 40.6 Wh (100.0%) condition: 40.6/45.0 Wh (90.1%)
    volts: 12.8 min: 11.4 model: SMP L19M3PF7 type: Li-poly serial: <filter>
    status: full cycles: 46
CPU:
  Info: 6-core model: AMD Ryzen 5 4600H with Radeon Graphics bits: 64
    type: MT MCP smt: enabled arch: Zen 2 rev: 1 cache: L1: 384 KiB L2: 3 MiB
    L3: 8 MiB
  Speed (MHz): avg: 1973 high: 3992 min/max: 1400/3000 boost: enabled
    cores: 1: 3992 2: 3991 3: 1774 4: 1773 5: 1774 6: 1400 7: 1544 8: 1397
    9: 1552 10: 1629 11: 1427 12: 1427 bogomips: 71900
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: NVIDIA TU117M [GeForce GTX 1650 Ti Mobile] vendor: Lenovo
    driver: nvidia v: 515.65.01 arch: Turing pcie: speed: 2.5 GT/s lanes: 8
    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.1 pcie: speed: 16 GT/s lanes: 16 ports: active: eDP-1
    empty: none bus-ID: 06:00.0 chip-ID: 1002:1636 class-ID: 0300
  Device-3: IMC Networks Integrated Camera type: USB driver: uvcvideo
    bus-ID: 1-3:3 chip-ID: 13d3:56ff class-ID: 0e02
  Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.3
    compositor: gnome-shell driver: X: loaded: amdgpu,nvidia
    unloaded: modesetting,radeon alternate: fbdev,nouveau,nv,vesa gpu: amdgpu
    display-ID: :1 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 res: 1920x1080
    hz: 120 dpi: 142 size: 344x194mm (13.54x7.64") diag: 395mm (15.5") modes:
    max: 1920x1080 min: 640x480
  OpenGL: renderer: AMD RENOIR (LLVM 14.0.6 DRM 3.47 5.19.1-arch2-1) v: 4.6
    Mesa 22.1.6 direct render: Yes
Audio:
  Device-1: NVIDIA driver: snd_hda_intel v: kernel pcie: speed: 2.5 GT/s
    lanes: 8 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 pcie: speed: 16 GT/s lanes: 16 bus-ID: 06: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: speed: 16 GT/s lanes: 16
    bus-ID: 06:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Sound Server-1: ALSA v: k5.19.1-arch2-1 running: yes
  Sound Server-2: PulseAudio v: 16.1 running: no
  Sound Server-3: PipeWire v: 0.3.56 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1
    port: 2000 bus-ID: 03:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: eno1 state: down mac: <filter>
  Device-2: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter
    vendor: Lenovo driver: ath10k_pci v: kernel pcie: speed: 2.5 GT/s lanes: 1
    bus-ID: 04:00.0 chip-ID: 168c:003e class-ID: 0280
  IF: wlan0 state: up mac: <filter>
Bluetooth:
  Device-1: Qualcomm Atheros QCA61x4 Bluetooth 4.0 type: USB driver: btusb
    v: 0.8 bus-ID: 3-3:3 chip-ID: 0cf3:e300 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 4 state: down bt-service: disabled
    rfk-block: hardware: no software: yes address: see --recommends
Drives:
  Local Storage: total: 1.39 TiB used: 63.66 GiB (4.5%)
  ID-1: /dev/nvme0n1 vendor: SK Hynix model: HFM512GDHTNI-87A0B
    size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 11010C00 temp: 34.9 C scheme: GPT
  ID-2: /dev/nvme1n1 vendor: KIOXIA model: EXCERIA PLUS G2 SSD
    size: 931.51 GiB speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: ECFA11.3 temp: 32.9 C scheme: GPT
  ID-3: /dev/sda type: USB vendor: Kingston model: DataTraveler 2.0
    size: 14.42 GiB type: N/A serial: <filter> rev: PMAP scheme: MBR
Partition:
  ID-1: / size: 618.75 GiB used: 63.29 GiB (10.2%) fs: ext4
    dev: /dev/nvme1n1p5
  ID-2: /boot/efi size: 497 MiB used: 369 MiB (74.2%) fs: vfat
    dev: /dev/nvme1n1p1
Swap:
  ID-1: swap-1 type: partition size: 4 GiB used: 4.2 MiB (0.1%) priority: -2
    dev: /dev/nvme1n1p4
Sensors:
  System Temperatures: cpu: 49.0 C mobo: N/A gpu: amdgpu temp: 44.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 358 Uptime: 9h 49m wakeups: 7 Memory: 15 GiB used: 7.6 GiB
  (50.6%) Init: systemd v: 251 default: graphical Compilers: gcc: 12.1.1
  clang: 14.0.6 Packages: pacman: 1266 Shell: Bash v: 5.1.16
  running-in: gnome-terminal inxi: 3.3.20

inxi --recommends is

Test: recommended kernel modules:
 
GPU modules are only needed if applicable. NVMe drives do not need drivetemp 
but other types do. 
 
To load a module: modprobe <module-name> - To permanently load add to 
/etc/modules or /etc/modules-load.d/modules.conf (check your system paths for 
exact file/directory names). 
 
amdgpu: -s AMD GPU sensor data (newer AMD GPUs)................... Present
drivetemp: -Dx drive temperature (kernel >= 5.6).................. Missing
nouveau: -s Nvidia GPU sensor data (if using free driver)......... Present
 
The following recommended kernel modules are missing:
Kernel Module: drivetemp

It looks like you already what you need from a driver perspective. You just need to decide how you want to manage your GPUs.

This article lists out some of the options as well as how to install them:
https://discovery.endeavouros.com/nvidia/nvidia-optimus-notebooks-hybrid-graphics/2021/03/