You are not logged in.

#1 2025-12-12 15:14:44

tema726
Member
Registered: 2023-02-28
Posts: 2

Changing GPU from Nvdia to AMD

Hello!

I have recently changed my gpu from Nvdia to AMD, and now I have a few issues I don't know how to address.

1) If I want to remove nvdia-utils, I see that it has a lot of dependencies. Can I make them depend on amd libraries instead?

pacaur -Rcsn nvidia-utils   
checking dependencies...
:: ffmpeg optionally requires nvidia-utils: Nvidia NVDEC/NVENC support
:: ffmpeg4.4 optionally requires nvidia-utils: Nvidia NVDEC/NVENC support
:: htop optionally requires lsof: show files opened by a process
:: libvdpau optionally requires nvidia-utils: driver for NVIDIA
:: lutris optionally requires lib32-vulkan-icd-loader: Vulkan support
:: sdl3 optionally requires vulkan-driver: vulkan renderer
:: vulkan-icd-loader optionally requires vulkan-driver: packaged vulkan driver
warning: dependency cycle detected:
warning: eglexternalplatform will be removed after its nvidia-utils dependency
warning: dependency cycle detected:
warning: lib32-pam will be removed after its lib32-systemd dependency

Packages (38) alsa-plugins-1:1.2.12-5  egl-gbm-1.1.2.1-1  egl-wayland-4:1.1.20-1  egl-x11-1.0.3-1  eglexternalplatform-1.2.1-1  lib32-alsa-lib-1.2.14-2
              lib32-alsa-plugins-1.2.12-1  lib32-audit-4.1.2-1  lib32-dbus-1.16.2-1  lib32-fontconfig-2:2.17.1-1  lib32-libcap-2.77-1
              lib32-libgcrypt-1.11.2-1  lib32-libgpg-error-1.57-1  lib32-libnm-1.54.2-1  lib32-libnsl-2.0.1-1  lib32-libpipewire-1:1.4.9-1
              lib32-libtasn1-4.20.0-1  lib32-libtirpc-1.3.7-1  lib32-libva-2.22.0-1  lib32-libxcrypt-compat-4.5.2-1  lib32-libxfixes-6.0.1-2
              lib32-libxinerama-1.1.5-2  lib32-libxss-1.2.4-2  lib32-nspr-4.38.2-1  lib32-nss-3.119.1-1  lib32-nvidia-utils-580.105.08-1
              lib32-p11-kit-0.25.10-2  lib32-pam-1.7.1-1  lib32-pipewire-1:1.4.9-1  lib32-sqlite-3.51.1-1  lib32-systemd-258.2-1
              lib32-vulkan-icd-loader-1.4.328.1-1  libxcrypt-compat-4.5.2-1  lsb-release-2.0.r55.a25a4fc-1  lsof-4.99.5-2  steam-1.0.0.85-1  usbutils-019-1
              nvidia-utils-580.105.08-5

Total Removed Size:  1220.96 MiB

2) My OBS studio from Flatpak doesn't see any hardware options for video encoding. I tried to follow the arch wiki page on Hardware video acceleration, it seems I pass verification stage, but nothing appears ion OBS:

vainfo
Trying display: wayland
vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: Mesa Gallium driver 25.3.1-arch1.2 for AMD Radeon RX 9070 XT (radeonsi, gfx1201, LLVM 21.1.6, DRM 3.64, 6.17.9-arch1-1)
vainfo: Supported profile and entrypoints
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointEncSlice
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointEncSlice
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointVLD
      VAProfileAV1Profile0            : VAEntrypointVLD
      VAProfileAV1Profile0            : VAEntrypointEncSlice
      VAProfileNone                   : VAEntrypointVideoProc
vulkaninfo | grep VK_KHR_video_
WARNING: radv is not a conformant Vulkan implementation, testing use only.
        VK_KHR_video_decode_av1                       : extension revision 1
        VK_KHR_video_decode_h264                      : extension revision 9
        VK_KHR_video_decode_h265                      : extension revision 8
        VK_KHR_video_decode_queue                     : extension revision 8
        VK_KHR_video_decode_vp9                       : extension revision 1
        VK_KHR_video_encode_av1                       : extension revision 1
        VK_KHR_video_encode_h264                      : extension revision 14
        VK_KHR_video_encode_h265                      : extension revision 14
        VK_KHR_video_encode_intra_refresh             : extension revision 1
        VK_KHR_video_encode_quantization_map          : extension revision 2
        VK_KHR_video_encode_queue                     : extension revision 12
        VK_KHR_video_maintenance1                     : extension revision 1
        VK_KHR_video_maintenance2                     : extension revision 1
        VK_KHR_video_queue                            : extension revision 8

Offline

#2 2025-12-12 15:26:20

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,142

Re: Changing GPU from Nvdia to AMD

Don't do a cascading removal, that removes everything that has a dependency even if it would be required by other packages, a plain -Rns should suffice. FWIW since this is mostly a hit on lib32 deps, do you perhaps not have lib32-mesa/lib32-radeon-vulkan?

Have you tried using OBS from the repos/any particular reason you're using flatpak? You probably need to install the relevant flatpak libraries/runtime for VAAPI and mesa. Since I don't use flatpak I'm somewhat unsure how to do that but you'll need to look into that direction.

Last edited by V1del (2025-12-12 15:27:29)

Offline

#3 2025-12-12 19:39:17

tema726
Member
Registered: 2023-02-28
Posts: 2

Re: Changing GPU from Nvdia to AMD

V1del wrote:

Don't do a cascading removal, that removes everything that has a dependency even if it would be required by other packages, a plain -Rns should suffice. FWIW since this is mostly a hit on lib32 deps, do you perhaps not have lib32-mesa/lib32-radeon-vulkan?

Have you tried using OBS from the repos/any particular reason you're using flatpak? You probably need to install the relevant flatpak libraries/runtime for VAAPI and mesa. Since I don't use flatpak I'm somewhat unsure how to do that but you'll need to look into that direction.

Thank you for the reply!

I do have lib32-mesa, and I just did a check, I did not have lib32-vulkan-radeon, I have just installed it.

I am using flatpack OBS because it comes with the browser source, and I could not make it work for obs from pacman, I remember I spent quite some time on it.

Offline

Board footer

Powered by FluxBB