剛剛將我的 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