Nixos Version: 20.09
Linux Kernel: 5.4.95
Hello. I recently switched my graphics card from an Nvidia RTX 1050Ti to an AMD RX 5700XT. Kodi (version 18.9) was working fine before the switch, but after the switch, it won’t open. My drivers are amdgpu (not amdgpu-pro). When I invoke kodi on the command line, I get
amdgpu_device_initialize: amdgpu_query_info(ACCEL_WORKING) failed (-13)`
amdgpu: amdgpu_device_initialize failed.
libva info: VA-API version 1.8.0
libva info: Trying to open /run/opengl-driver/lib/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_8
libva info: va_openDriver() returns 0
and the kodi log has the following warnings/errors:
CDRMUtils::FindPlane - could not find plane
WARNING: CDRMUtils::InitDrm - failed to set drm master, will try to authorize instead: Permission denied
ERROR: CDRMUtils::InitDrm - failed to authorize drm magic: Permission denied
ERROR: CWinSystemGbm::InitWindowSystem - failed to initialize Atomic DRM
WARNING: CDRMUtils::FindPlane - could not find plane
WARNING: CDRMUtils::InitDrm - failed to set drm master, will try to authorize instead: Permission denied
ERROR: CDRMUtils::InitDrm - failed to authorize drm magic: Permission denied
ERROR: CWinSystemGbm::InitWindowSystem - failed to initialize Legacy DRM
My Ubuntu (20.04) distro running on the same system opens fine, as does my virtually identical nixos system running on my laptop. Any insights?