Pre-planning my GPU upgrade

Hi. I’m currently running an NVIDIA GeForce GT 710 GPU but am upgrading imminently to an AMD RX 580 4GB. Is there anything I should do to my EndeavourOS installation before swapping out the hardware?

It would be nice to be able to install drivers now and then have it work “out of the box” with the new card.

Remove any nvidia customizations from:

  • Your X11 configs
  • /etc/mkinitcpio.conf(If you find any here, run sudo mkinitcpio -P after changing this file
  • /etc/default/grub(If you find any here run sudo grub-mkconfig -o /boot/grub/grub.cfg after changing this file)

Make sure you have xf86-video-amdgpu installed. The AMD drivers are open source so they don’t take any special handling like the nvidia drivers do.

Ahh…that is a driver for network hardware…

1 Like

Just out of curiosity, could you run command

inxi -Gza | eos-sendlog

and show the returned URL here?

Sorry, I made a mess of that driver name. I’ll edit it from the original post.

1 Like

1 Like

As a newbie, I would need some more details on how to do this.

Share the contents of /etc/default/grub, /etc/mkinitcpio.conf, /etc/X11/xorg.conf and cat /etc/X11/xorg.conf.d/*

GRUB boot loader configuration

GRUB_CMDLINE_LINUX_DEFAULT=“loglevel=3 nowatchdog nvme_load=YES nvidia-drm.modeset=1”

Preload both GPT and MBR modules so that they are not missed

GRUB_PRELOAD_MODULES=“part_gpt part_msdos”

Uncomment to enable booting from LUKS encrypted devices


Set to ‘countdown’ or ‘hidden’ to change timeout behavior,

press ESC key to display menu.


Uncomment to use basic console


Uncomment to disable graphical terminal


The resolution used on graphical terminal

note that you can use only modes which your graphic card supports via VBE

you can see them in real GRUB with the command `vbeinfo’


Uncomment to allow the kernel use the same resolution used by grub


Uncomment if you want GRUB to pass to the Linux kernel the old parameter

format “root=/dev/xxx” instead of “root=/dev/disk/by-uuid/xxx”


Uncomment to disable generation of recovery mode menu entries


Uncomment and set to the desired menu colors. Used by normal and wallpaper

modes only. Entries specified as foreground/background.


Uncomment one of them for the gfx desired, a image background or a gfxtheme


Uncomment to get a beep at GRUB start

#GRUB_INIT_TUNE=“480 440 1”

Uncomment to make GRUB remember the last selection. This requires

setting ‘GRUB_DEFAULT=saved’ above.


Uncomment to disable submenus in boot menu


Probing for other operating systems is disabled for security reasons. Read

documentation on GRUB_DISABLE_OS_PROBER, if still want to enable this

functionality install os-prober and uncomment to detect and include other

operating systems.


vim:set ft=sh


The following modules are loaded before any boot hooks are

run. Advanced users may wish to specify all system modules

in this array. For instance:

MODULES=(piix ide_disk reiserfs)



This setting includes any additional binaries a given user may

wish into the CPIO image. This is run last, so it may be used to

override the actual binaries included by a given hook

BINARIES are dependency parsed, so you may safely ignore libraries



This setting is similar to BINARIES above, however, files are added

as-is and are not parsed in any way. This is useful for config files.



This is the most important setting in this file. The HOOKS control the

modules and scripts added to the image, and what happens at boot time.

Order is important, and it is recommended that you do not change the

order in which HOOKS are added. Run ‘mkinitcpio -H ’ for

help on a given hook.

‘base’ is required unless you know precisely what you are doing.

‘udev’ is required in order to automatically load modules

‘filesystems’ is required unless you specify your fs modules in MODULES


This setup specifies all modules in the MODULES setting above.

No raid, lvm2, or encrypted root is needed.


This setup will autodetect all modules for your system and should

work as a sane default

HOOKS=(base udev autodetect block filesystems)

This setup will generate a ‘full’ image which supports most systems.

No autodetection is done.

HOOKS=(base udev block filesystems)

This setup assembles a pata mdadm array with an encrypted root FS.

Note: See ‘mkinitcpio -H mdadm’ for more information on raid devices.

HOOKS=(base udev block mdadm encrypt filesystems)

This setup loads an lvm2 volume group on a usb device.

HOOKS=(base udev block lvm2 filesystems)

NOTE: If you have /usr on a separate partition, you MUST include the

usr, fsck and shutdown hooks.

HOOKS=“base udev autodetect modconf block keyboard keymap consolefont filesystems fsck”


Use this to compress the initramfs image. By default, zstd compression

is used. Use ‘cat’ to create an uncompressed image.



Additional options for the compressor


This file doesn’t exist on my system.

Only this file exists in this directory: 00-keyboard.conf

The only thing I see is this in /etc/default/grub

Change it to be:

Then run sudo grub-mkconfig -o /boot/grub/grub.cfg

OK, I’ll install the AMD driver and do this. Thanks!

1 Like

You will also need libva-mesa-driver package for hardware acceleration.

1 Like


Haven’t done a day’s work yet but everything seems to be working after the upgrade, thanks to the advice. Thanks!

Please use code tags to format the terminal output you paste into your replies to increase readability.

You could do so by clicking the pencil icon under the post to edit it. Higlight the text and press Ctrl-E. Save the edit.

Those posts don’t have edit buttons anymore, sorry.

1 Like