Spotify 导致系统(UI)冻结

Spotify 导致系统(UI)冻结

正常情况下,您在安装了 Spotify 的 Ubuntu 14.04 / 16.04 上正常工作(尽管这也适用于其他程序)然后突然 UI 冻结了。

答案1

进入终端:

ctrl + alt + f1 (f1 -> f6 will get a terminal)

查找 spotify pid:

ps -ef | grep spotify | more

结果是这样的:

sergio   19510  1962  2 15:43 ?        00:00:02 /usr/share/spotify/spotify
sergio   19515 19510  0 15:43 ?        00:00:00 /usr/share/spotify/spotify --type=zygote --no-sandbox --lang=en-US --log-file=/usr/share/spotify/debug.log --log-severity=disable --product-version=Spotify/1.0.28.89
sergio   19533 19510  0 15:43 ?        00:00:01 /usr/share/spotify/spotify --type=gpu-process --channel=19510.0.1439192124 --no-sandbox --lang=en-US --log-file=/usr/share/spotify/debug.log --log-severity=disable --product-version=Spotify/1.0.28
.89 --supports-dual-gpus=false --gpu-driver-bug-workarounds=2,51,63 --disable-gl-extensions=GL_ARB_occlusion_query GL_ARB_occlusion_query2 --disable-accelerated-video-decode --gpu-vendor-id=0x8086 --gpu-device-id=0x0a16 --gpu-driver-vendor --gp
u-driver-version --lang=en-US --log-file=/usr/share/spotify/debug.log --log-severity=disable --product-version=Spotify/1.0.28.89 --v8-natives-passed-by-fd --v8-snapshot-passed-by-fd
sergio   19548 19515  4 15:43 ?        00:00:06 /usr/share/spotify/spotify --type=renderer --disable-pinch --no-sandbox --lang=en-US --lang=en-US --log-file=/usr/share/spotify/debug.log --log-severity=disable --product-version=Spotify/1.0.28.89
 --disable-extensions --disable-spell-checking --num-raster-threads=2 --content-image-texture-target=3553,3553,3553,3553,3553,3553,3553,3553,3553,3553,3553,3553,3553 --video-image-texture-target=3553 --disable-accelerated-video-decode --channel
=19510.1.1432446137 --v8-natives-passed-by-fd --v8-snapshot-passed-by-fd
sergio   20233  7137  0 15:46 pts/1    00:00:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn spotify

您将获得可以终止它的进程 ID:

kill -9 19510

返回 UI:

ctrl + alt + f7

答案2

就我的情况而言,这是由于我的 GPU 发生了一些奇怪的冲突。尝试禁用 GPU 以排除 GPU 问题:

spotify %U --disable-gpu

相关内容