刚刚将我的 Nvidia 驱动程序从 396.24.0 升级到 396.24.02,重新启动后,Spotify 不再工作。它打开了一个窗口,但除了黑屏之外什么也没画出来。
cxf@PC:~$ snap run spotify
Gtk-Message: Failed to load module "gail"
Gtk-Message: Failed to load module "atk-bridge"
Gtk-Message: Failed to load module "canberra-gtk-module"
ATTENTION: default value of option force_s3tc_enable overridden by environment.
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
[0604/185738.869585:ERROR:gl_context_glx.cc(227)] Couldn't make context current with X drawable.
[0604/185738.869619:ERROR:gpu_info_collector.cc(62)] gl::GLContext::MakeCurrent() failed
[0604/185746.603499:ERROR:browser_gpu_channel_host_factory.cc(120)] Failed to launch GPU process.
答案1
在修复快照可用之前,您可以在没有 GPU 加速图形的情况下启动 Spotify
# snap run spotify --disable-gpu