Switching video from nvidia to amd radeon

I have Leap 15.1 running fine, but I have an older nvidia card.

This week, I’m getting a new radeon 570.

Is there a guide or some instructions on how to deal with it without have to do a reinstall?

Thanks

Other than perfectly purging any installed proprietary NVidia driver according to its installation instructions, and having xf86-video-amdgpu installed (which normally it is by default), there should be nothing to do. Automagic X configuration normally works with FOSS.

> zypper se -i nvidia

Loading repository data...
Reading installed packages...

S  | Name                      | Summary                                                               | Type   
---+---------------------------+-----------------------------------------------------------------------+--------
i+ | nvidia-computeG05         | NVIDIA driver for computing with GPGPU                                | package
i+ | nvidia-gfxG05-kmp-default | NVIDIA graphics driver kernel module for GeForce 600 series and newer | package
i+ | nvidia-glG05              | NVIDIA OpenGL libraries for OpenGL acceleration                       | package
i+ | x11-video-nvidiaG05       | NVIDIA graphics driver for GeForce 600 series and newer               | package

  1. Should I remove them before or after installing the new card?
  2. Will I need to install xf86-video-amdgpu or will it be done automatically?

Thanks

More likely than not amdgpu is already installed. Check with zypper or yast and install whenever you’re in the mood if it isn’t.

I’d remove NV stuff after the swap in order to avoid https://bugzilla.opensuse.org/show_bug.cgi?id=1136978 but there’s really no nice way to disentangle from NVidia. You’ll mostly likely have to boot without GUI at some point to clean the initrds, but once that’s done, amdgpu should be free for automagic to do its work with. I’ve never had to go through this on my own hardware because I’ve never had any proprietary video software installed on Linux.

Thank you very much for the help