@hdm9527
这个我也报错,不过无伤大雅,程序正常运行。
明明 --dev /dev --dev-bind /dev/dri{,} --ro-bind /usr{,}
这几句已经把amd显卡引入了,还是出现报错,我也觉得匪夷所思。
wechat 报找不到 /usr/lib/dri/amdgpu_dri.so
,不过鉴于我 /usr/lib/dri
下也没有这个文件,程序有bug更有可能。
$> ls /usr/lib/dri
crocus_dri.so nouveau_drv_video.so s3g_drv_video.so
d3d12_dri.so nvidia_drv_video.so swrast_dri.so
d3d12_drv_video.so r300_dri.so vdpau_drv_video.so
i915_dri.so r600_dri.so virtio_gpu_dri.so
iris_dri.so r600_drv_video.so virtio_gpu_drv_video.so
kms_swrast_dri.so radeonsi_dri.so vmwgfx_dri.so
nouveau_dri.so radeonsi_drv_video.so zink_dri.so
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open amdgpu: /usr/lib/dri/amdgpu_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
failed to load driver: amdgpu
libpng warning: iCCP: known incorrect sRGB profile
libva error: vaGetDriverNames() failed with unknown libva error
libva error: vaGetDriverNames() failed with unknown libva error
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open amdgpu: /usr/lib/dri/amdgpu_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/dri, suffix _dri)
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
KMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission denied
...
Pinned Comments
7Ji commented on 2024-03-14 06:21 (UTC) (edited on 2024-12-08 08:59 (UTC) by 7Ji)
本软件包在Github上亦有仓库: https://github.com/7Ji-PKGBUILDs/wechat-universal-bwrap/ (仓库未启用issues,有问题请直接在此页面提出)
各位如有改进意见,欢迎在Github仓库页提交PR :)
抓取新版本的脚本和PKGBUILD在同一层。执行
python fetch_uos_wechat_release.py
获取UOS仓库内的重打包版本,执行./fetch_tencent_wechat_release.sh
获取腾讯官方的版本。如果发现软件过期,请善用本界面的标记过期功能。:)默认配置下,只有
~/Documents/WeChat_Data/home
作为容器内的~
,其他宿主文件和文件夹均不暴露在容器内可以编写
~/.config/wechat-universal/binds.list
来设置更多的被暴露到容器内的文件/文件夹,每行一个路径,绝对路径或相对于~
的相对路径要将微信文件的主要路径修改至
~/Documents/WeChat_Data
外的其他路径,请设置环境变量WECHAT_DATA_DIR
,同理为绝对路径或相对于~
的相对路径