发新帖

Issue with Window Effects

marcosbarbosa031 / 2018-6-26 05:14
浏览: 3854 / 回复: 7
查看: 3854|回复: 7

Issue with Window Effects

[复制链接]
收藏
跳转到指定楼层
Edited by marcosbarbosa031 at 2018-6-26 05:14

Hello. I've Installed Deepin 15.6 in my works computer (Intel I5 4th generation without GPU and 8GB RAM). And it worked perfectly, And I fall in love with the beauty of this OS.
Then I've installed it in my own PC (AMD FX-8350 4 GHz, 8 GB DDR3 1600MHz with Gigabyte GTX 1050 TI 4GB GPU). And After the instalation I realized at first that something was different. The layout was all Dark Grey. Some visual effects wasn't showing. Then I realized that the Window Effects option wasn't enable in configs, so I tried to enable it, but the button just toogles on and off. and it shows a messagem in the middle of the screen: "failed to enable window effects".
After some research I've found just 2 topics regarding this issue:
https://bbs.deepin.org/forum.php?mod=viewthread&tid=151256
https://forum.manjaro.org/t/manjaro-deepin-window-effect-not-working/34550

But none of them seems to be the same as mine. So I thought that the problem was related to my GPU, then I've updated it to the closed source driver in the Deepin Graphic Driver Manager. After rebooting and finally installed the source driver, and the nvidia-settings. I've downloaded CS:GO just to test, and the game runs perfectly as good as on Windows, but the problem still happens. the same message appears when I try to enagle window Effects.

I've researched and I found videos about people using deepin on the same AMD CPU as mine. And with this GPU as well. Just didn't find reports using both together. I have no clue what is the problem, if it's the GPU os the CPU or both together. I'll attach prints and I would really appreciate if someone could help me to find the cause for this strange problem. I really loved Deepin os and even most it's beatyful interface. I really don't want to lose this important positive point of this OS. Thanks in advance.

The problem in question

The problem in question

NVIDIA driver

NVIDIA driver

PC Specs

PC Specs

NVIDIA Settings

NVIDIA Settings

60

主题

3304

帖子

1万

积分

drw-r--r--

Rank: 7Rank: 7Rank: 7

积分
10760
QQ
kirigaya 超级版主 发表于 2018-6-26 10:58:44 | 显示全部楼层
Can you provide the output of these commands?

  1. cat ~/.config/deepin/deepin-wm-switcher/config.json
复制代码

  1. sudo apt install mesa-utils
复制代码

  1. glxinfo | grep OpenGL
复制代码


https://blog.justforlxz.com | Deepin Developer | 永远不要放弃思考

1

主题

3

帖子

37

积分

-r--------

Rank: 1

积分
37
marcosbarbosa031 发表于 2018-6-27 08:00:26 | 显示全部楼层

RE: Issue with Window Effects

kirigaya replied at 2018-6-26 10:58
Can you provide the output of these commands?

Hi. Thanks for the reply. Here's the outputs
01 :
  1. {"allow_switch":false,"last_wm":"deepin-metacity"}
复制代码

02:

03:
  1. OpenGL vendor string: NVIDIA Corporation
  2. OpenGL renderer string: GeForce GTX 1050 Ti/PCIe/SSE2
  3. OpenGL core profile version string: 4.5.0 NVIDIA 387.34
  4. OpenGL core profile shading language version string: 4.50 NVIDIA
  5. OpenGL core profile context flags: (none)
  6. OpenGL core profile profile mask: core profile
  7. OpenGL core profile extensions:
  8. OpenGL version string: 4.6.0 NVIDIA 387.34
  9. OpenGL shading language version string: 4.60 NVIDIA
  10. OpenGL context flags: (none)
  11. OpenGL profile mask: (none)
  12. OpenGL extensions:
  13. OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 387.34
  14. OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
  15. OpenGL ES profile extensions:
复制代码

60

主题

3304

帖子

1万

积分

drw-r--r--

Rank: 7Rank: 7Rank: 7

积分
10760
QQ
kirigaya 超级版主 发表于 2018-6-27 08:44:14 | 显示全部楼层
marcosbarbosa031 发表于 2018-6-27 08:00
Hi. Thanks for the reply. Here's the outputs
01 :

thank you,  try to edit  ~/.config/deepin/deepin-wm-switcher/config.json

change allow_switch to true, I think you can switch on when you log in.


https://blog.justforlxz.com | Deepin Developer | 永远不要放弃思考

1

主题

3

帖子

37

积分

-r--------

Rank: 1

积分
37
marcosbarbosa031 发表于 2018-6-27 14:03:52 | 显示全部楼层
kirigaya replied at 2018-6-27 08:44
thank you,  try to edit  ~/.config/deepin/deepin-wm-switcher/config.json

change allow_switch to t ...

Thank you very much. It worked perfectly!
You've made my day :D

0

主题

1

帖子

8

积分

-r--------

Rank: 1

积分
8
m_ashraf 发表于 2018-7-22 23:13:23 | 显示全部楼层
Edited by m_ashraf at 2018-7-22 23:17
marcosbarbosa031 replied at 2018-6-27 14:03
Thank you very much. It worked perfectly!
You've made my day :D

How i can edit ~/.config/deepin/deepin-wm-switcher/config.json because i have the same problem  and i am newbie in linux an thanks previously

1

主题

3

帖子

17

积分

-r--------

Rank: 1

积分
17
lkashl 发表于 2018-8-5 17:07:16 | 显示全部楼层
m_ashraf replied at 2018-7-22 23:13
How i can edit ~/.config/deepin/deepin-wm-switcher/config.json because i have the same problem  and ...

@m_ashraf I believe deepin comes with gedit by default, thats probably the easiest way if you're new and unfamiliar with tools such as vim and nano.

Open terminal and type:
  1. gedit ~/.config/deepin/deepin-wm-switcher/config.json
复制代码


and then save the file. I would recommend making sure you have the same problem before changing it though

2

主题

29

帖子

305

积分

-r--r-----

Rank: 2

积分
305
habios 发表于 2018-10-16 13:21:30 | 显示全部楼层
I have an HP Pavilion 15-cw0009la with Ryzen 5 2500u and Radeon Vega 8 mobile and also have this issue.

I tried editing ~/.config/deepin/deepin-wm-switcher/config.json but didn't work, it kept behaving the same.
These are my outputs, except for the install of mesa-utils, which installed without any issue at all. I'm using the latest stable Kernel, the pre-compiled files are available here.

I've tried also on installing missing drivers for amd, like Vega 10, 12, 20 and m, because many linux distros need them when updating the initramfs got them from this page and still no change.

DeepinScreenshot_20181015234720.png
DeepinScreenshot_20181016000847.png
OS: Deepin 15.9.1 | Host: HP Pavilion Laptop 15-cw0009la | Kernel: 4.20.11-042011-generic | CPU: Ryzen 5 2500U | GPU: Radeon Vega 8
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回列表 返回版块 返回顶部