在Github上,亦有其它用户反映类似问题,譬如说
《Blur effect doesn't work properly in some conditions on Arch Linux》https://github.com/linuxdeepin/developer-center/issues/195
又如《Weird graphical glitches since qt5.8》https://github.com/linuxdeepin/qt5integration/issues/2
又如《[Archlinux] Graphic worries after fresh install》https://github.com/linuxdeepin/developer-center/issues/200
在第一个帖子中有人提到说
@gustavodlima Fixed in the deepin-clutter package, please replace clutter with the new package during a normal upgrade.
大家好,我是从Xubuntu 17.04 (Xubuntu和Ubuntu的区别主要就是默认桌面环境是gnome或是XFCE的区别)通过添加【 https://launchpad.net/~leaeasy/+archive/ubuntu/dde 】 这个PPA来得到深度桌面系统的。在使用时发现毛玻璃效果会因为玻璃所覆盖的范围之下的内容发生变化而导致阴影渲染有误。就是以下这样:
大家可以看到,随着命令行窗口被移往下方,其阴影所投射范围会进入任务栏的范围内。但阴影在消失的地方好像被画出了界限分明的边界,而正确渲染出来的结果不应该是这样子的。
在Github上,亦有其它用户反映类似问题,譬如说
《Blur effect doesn't work properly in some conditions on Arch Linux》https://github.com/linuxdeepin/developer-center/issues/195
又如《Weird graphical glitches since qt5.8》https://github.com/linuxdeepin/qt5integration/issues/2
又如《[Archlinux] Graphic worries after fresh install》https://github.com/linuxdeepin/developer-center/issues/200
在第一个帖子中有人提到说
所以可见因为深度系统自定义了 clutter 这个包,这个包在 Arch Linux 中被打包了 deepin-clutter 这个包,但是现在在 Ubuntu/Xubuntu 上还没有,所以需要手动重新编译【deepin-clutter】(也同时重新编译了 deepin-mutter,不确定是否必须。)
于是就下载了 deepin-clutter(https://github.com/sonald/clutter),然后进行编译
(1. 姑且把安装路径设定成 /usr/local/ 吧,不过其实不安装,只把系统内的符号连接改成指向在这里编译好的 so 文件亦可。)
(2. 注意最后的 --enable-wayland-compositor 应该是要加的,不然 deepin-mutter 可能会报错 undefined reference to `clutter_wayland_set_compositor_display')
(3. 编译,因为我用的是 i5-3210M 所以就用了四个线程)
(4. 把系统内原来的对 clutter 的符号链接改成链接到刚才编译好的 so 文件 --> 因为偷懒没有 make install ,所以就直接链到源代码目录下的 clutter/.libs 里面的库文件了)
(5. 再按照同样的步骤重新编译 deepin-mutter)
(这个好像没法编译成 debian package,需要直接覆盖,所以把安装路径设成了 /usr)
然后登出再登入,就会发现那些视觉瑕疵消失了的说
如果有同是从Ubuntu升级到DDE的同学若同样遇到了这个问题在等待官方把deepin-clutter打包之前也许也可以试试这个方法?
谢谢大家收看 XD
p.s. 也备份了一下这两个源码包
clutter: https://pan.baidu.com/s/1bBscjW
deepin-mutter: https://pan.baidu.com/s/1c2KrGdU