尝试让 Blender/Steam 使用我的 AMD GPU 进行渲染,最终让它安装amdgpu-pro
驱动程序,以便它在 Blender/Steam 内部被识别。
但是对于我的驱动程序来说,它寻找的路径是错误的;
glxgears
libGL error: MESA-LOADER: failed to open radeonsi (search paths /snap/alacritty/14/usr/lib/x86_64-linux-gnu/dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open radeonsi (search paths /snap/alacritty/14/usr/lib/x86_64-linux-gnu/dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open swrast (search paths /snap/alacritty/14/usr/lib/x86_64-linux-gnu/dri)
libGL error: failed to load driver: swrast
X Error of failed request: GLXBadContext
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 46
Current serial number in output stream: 45
它看起来是在寻找/snap/alacritty/14/usr/lib/x86_64-linux-gnu/dri
我的驱动程序。但如果我运行以下命令;
locate swrast
/snap/alacritty/14/usr/lib/x86_64-linux-gnu/dri/kms_swrast_dri.so
/snap/alacritty/14/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
/snap/gnome-3-34-1804/24/usr/lib/x86_64-linux-gnu/dri/kms_swrast_dri.so
/snap/gnome-3-34-1804/24/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
/snap/gnome-3-34-1804/33/usr/lib/x86_64-linux-gnu/dri/kms_swrast_dri.so
/snap/gnome-3-34-1804/33/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
/usr/lib/x86_64-linux-gnu/dri/kms_swrast_dri.so
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
似乎应该看看/usr/lib/x86_64-linux-gnu/dri
也dpkg -l | grep radeonsi
没有返回任何内容。
我怎样告诉系统在正确的目录中查找?