Switch from Nvidia gpu to Amd gpu

sudo mhwd -r pci video-nvidia  :heavy_check_mark:

Removing video-nvidia…
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/local/pci/video-nvidia/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
Processing classid: 0302
checking dependencies…
error: failed to prepare transaction (could not satisfy dependencies)
:: removing nvidia-utils breaks dependency ‘nvidia-utils’ required by cuda
:: removing libxnvctrl breaks dependency ‘libxnvctrl’ required by psensor
Error: pacman failed!
Error: script failed!

It appears you have other nvidia-related packages installed.

sudo pacman -Rns cuda psensor

sudo mhwd -f -i pci video-linux  :heavy_check_mark:  50s 

Removing video-linux…
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/local/pci/video-linux/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
Processing classid: 0380
Processing classid: 0302
checking dependencies…
error: failed to prepare transaction (could not satisfy dependencies)
:: removing xf86-video-amdgpu breaks dependency ‘xf86-video-amdgpu’ required by amdgpu-experimental
Error: pacman failed!
Error: script failed!

Please remove that as well.

sudo pacman -Rns amdgpu-experimental

(note: the only thing this package does is flip some switches to enable amdgpu on early GCN cards [southern islands and sea islands])

About to reboot. I’ll switch to the Amd card and see if everything works.

We may want to finalize some things afterwards.

If for whatever reason the gfx is not functional please see

To drop to TTY or boot to runlevel 3 where we can still interact with the console.

I’m back. AMD gpu is in an all is good. What is the next step?

Lets just check inxi again

inxi -Fazy

(see the kernel, driver, etc)

  • Do you see grub ?
  • Does a live manjaro work ?
  • Tip: Try to look into your UEFI.
    Sometimes there is a switch to select primary graphics-card.
inxi -Fazy                                                                                                                                                                                           ✔ 
System:
  Kernel: 6.6.8-2-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.6-x86_64
    root=UUID=7fed2da7-3788-487f-9cab-16c56b8aff0a rw quiet apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: KDE Plasma v: 5.27.10 tk: Qt v: 5.15.11 wm: kwin_x11 vt: 2
    dm: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: Gigabyte model: B550 GAMING X v: x.x
    serial: <superuser required> UEFI: American Megatrends v: F10
    date: 09/18/2020
CPU:
  Info: model: AMD Ryzen 5 5600X bits: 64 type: MT MCP arch: Zen 3+ gen: 4
    level: v3 note: check built: 2022 process: TSMC n6 (7nm) family: 0x19 (25)
    model-id: 0x21 (33) stepping: 0 microcode: 0xA201006
  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: 32 MiB
    desc: 1x32 MiB
  Speed (MHz): avg: 2577 high: 3700 min/max: 2200/4650 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 3700 2: 2200
    3: 2224 4: 2200 5: 2200 6: 2200 7: 2200 8: 3700 9: 2200 10: 3700 11: 2200
    12: 2200 bogomips: 88673
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  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 status: Not affected
  Type: spec_rstack_overflow status: Vulnerable: Safe RET, no microcode
  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, IBRS_FW,
    STIBP: always-on, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT]
    vendor: XFX driver: amdgpu v: kernel arch: RDNA-2 code: Navi-2x
    process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 4 speed: 16 GT/s lanes: 16
    ports: active: HDMI-A-1 empty: DP-1,DP-2,DP-3 bus-ID: 0b:00.0
    chip-ID: 1002:73df class-ID: 0300
  Display: x11 server: X.Org v: 21.1.10 compositor: kwin_x11 driver: X:
    loaded: amdgpu unloaded: modesetting,radeon 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: HDMI-A-1 mapped: HDMI-A-0 model: VG27VQM serial: <filter>
    built: 2023 res: 1920x1080 dpi: 82 gamma: 1.2 size: 598x336mm (23.54x13.23")
    diag: 686mm (27") ratio: 16:9 modes: max: 1920x1080 min: 640x350
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast surfaceless: drv: radeonsi x11: drv: radeonsi
    inactive: gbm,wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 23.1.9-manjaro1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 6700 XT (navi22 LLVM
    16.0.6 DRM 3.54 6.6.8-2-MANJARO) device-ID: 1002:73df memory: 11.72 GiB
    unified: no
  API: Vulkan v: 1.3.274 layers: 6 device: 0 type: discrete-gpu
    name: AMD Radeon RX 6700 XT driver: amd v: 2023.Q4.2 (LLPC)
    device-ID: 1002:73df surfaces: xcb,xlib
Audio:
  Device-1: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel v: kernel pcie:
    gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 0b:00.1 chip-ID: 1002:ab28
    class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 0d:00.4 chip-ID: 1022:1487 class-ID: 0403
  Device-3: Jieli USB Composite Device
    driver: hid-generic,snd-usb-audio,usb-storage,usbhid type: USB rev: 1.1
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-1:3 chip-ID: 4c4a:4155
    class-ID: 0300 serial: <filter>
  API: ALSA v: k6.6.8-2-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: JACK v: 1.9.22 status: off tools: N/A
  Server-3: PipeWire v: 1.0.0 status: off with: pipewire-media-session
    status: active tools: pw-cli
  Server-4: PulseAudio v: 16.1 status: active with: 1: pulseaudio-alsa
    type: plugin 2: pulseaudio-jack type: module tools: pacat,pactl
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Gigabyte driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: f000 bus-ID: 08:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp8s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 4.09 TiB used: 951.08 GiB (22.7%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 970 EVO 500GB
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 2B2QEXE7 temp: 21.9 C
    scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST4000NM0035-1V4107
    size: 3.64 TiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: HDD rpm: 7200 serial: <filter> fw-rev: TN05 scheme: GPT
Partition:
  ID-1: / raw-size: 465.46 GiB size: 457.09 GiB (98.20%)
    used: 412.31 GiB (90.2%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 296 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 51.2 C mobo: 17.0 C gpu: amdgpu temp: 29.0 C
    mem: 28.0 C
  Fan Speeds (rpm): N/A gpu: amdgpu fan: 0
Info:
  Processes: 289 Uptime: 40m wakeups: 0 Memory: total: 64 GiB note: est.
  available: 62.72 GiB used: 2.72 GiB (4.3%) Init: systemd v: 254
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 clang: 16.0.6
  Packages: pm: pacman pkgs: 1688 libs: 452 tools: pamac pm: flatpak pkgs: 0
  Shell: Zsh v: 5.9 default: Bash v: 5.2.21 running-in: yakuake inxi: 3.3.31

Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text

Latest LTS Kernel :white_check_mark:


AMDGPU looks enabled and in use. :white_check_mark:


The root partition is still pretty full. :warning:


If my search is correct you have some BIOS updates available. :warning:
Important looking ones too.
https://www.gigabyte.com/Motherboard/B550-GAMING-X-rev-10/support#support-dl-bios

Alright. I also have to download AMD drivers, correct?

No, amdgpu is an in-kernel driver.
Only the assorted graphics software is required, like mesa and xf86-video-amdgpu which you have already.
As shown by your inxi output the driver is already being used.

We can reinstall video-linux again for good measure if you like.

sudo mhwd -f -i pci video-linux

What you do need to do is free up space.
If you cannot free very much by regular means (emptying trash, clearing browser profile, etc), then you might make use of qdirstat to visualize where space is being used.

That and do your BIOS updates. :wink:

1 Like

Thank you so much for everything. I will focus on deleting stuff and update Bios.
Quick question, how would I know which Bios to download, there is a few to choose from.

As long as the model matches yours and there are no specific caveats/warnings to do otherwise then the latest should be the one.

Cheers.
Happy linuxing. :penguin:

2 Likes

The OP has another post on the same overall topic.

Perhaps that can be deleted or merged with this one as appropriate.

I had it flagged to have be deleted. My deepest apologies.

I have no doubt you’re forgiven. :wink:

Having topics split over two (or more) threads just makes it harder for anyone else with a similar issue to follow it and hopefully find a solution. Cheers.

2 Likes

You mean a single topic, right? Because each topic gets it’s own thread. Like this one, which started out differently but evolved…

1 Like

Yes.

Pedantic Persbees.