AMD rDNA2 setup on silverblue

I’m trying to figure out what is needed to get the most out of the rDNA2 SIENNA_CICHLID gfx on silverblue.

With recent kernel 5.9.15-200.fc33.x86_64 it works out of the box, it looks and feels good even on wayland.

However i tried to get hardware acceleration working on chrome/brave from within toolbox and I had to install mesa-libGL package to get it working.

So I have a few questions:

  • Do I need to install mesa-libGL using rpm-ostree
  • Is mesa-libGL the right thing to install in the first place or is there some other package to install
  • If I install the libva and glx-utils inside toolbox and it shows me that hardware acceleration is working… is it working only inside the container or on the host as well ?

I’m trying to avoid any changes to the core os using rpm-ostree entirely but how do I tell if my wayland session is hardware accelerated without installing necessary packages on the host?

⬢[user@toolbox ~]$ vainfo
libva info: VA-API version 1.9.0
libva info: Trying to open /usr/lib64/dri/
libva info: Found init function __vaDriverInit_1_9
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.9 (libva 2.9.0)
vainfo: Driver version: Mesa Gallium driver 20.2.6 for AMD SIENNA_CICHLID (DRM 3.39.0, 5.9.15-200.fc33.x86_64, LLVM 11.0.0)
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      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
      VAProfileNone                   :	VAEntrypointVideoProc

1 Like

Installing packages on the host for testing / validating is fine and won’t break your guarantee :slight_smile:.

In this case, you can list the packages included in the host image with rpm -qa and mesa-libGL is most probably included.

Remember that applications launched from the toolbox do not share the host installed packages (/usr). They share your home content, the kernel and devices.