Closed gokhanyildirimlar closed 5 years ago
if it's possible, could you please install a gnome environment on deepin and see if it has the same problem ?
@sonald Installed Gnome with gdm and no issue here. Appstore doesn't lag also.
@gokhanyildirimlar that's interesting. the different is tiny since we both use mutter. I need sometime to figure out this.
I made a wrong assumption. gnome on deepin use mutter of version 3.28.2 which has builtin cogl and clutter. deepin-wm use the fork of mutter 3.20. the chances are this is a rendering problem of cogl.
i have kind of the same problem with window effects on on archlinux. the De is just a bit lso opening the menu.. sometimes i click the menu antd the dock freezes a bit... its a bit laggy all times. im running nvidia driver. when window effects are on the desktop background looks like its flashing a bit. on the other hand if i dont use window effects i find it very very hard to resize the windows as the borders are waay to small or non existant on the sides of the window
Today, I have checked if deepin-mutter package installed and I realized that I wasn't installed. I installed it with apt install command but this didn't solve my problem. I am writing to let you guys know that deepin-mutter wasn't installed on my system. @sonald
@gokhanyildirimlar it's perfectly fine to not install deepin-mutter, since deepin-wm use libdeepin-mutter0g only.
Looks like there is someone else having the same issue. https://bbs.deepin.org/forum.php?mod=viewthread&tid=171334
@sonald Did you update Intel Graphics Driver with 15.7 version? It looks like there is a coordination problem between default graphics driver and deepin-wm since default driver works fine with deepin-metacity.
Thanks @gokhanyildirimlar for redirecting me to the correct location. What information do you need?
@alexwender1 Just share your experiences and hardware info in order to help developers to solve this issue. I also have this problem from the 15.7 time.
The problems noted are exactly the same as reported here.
I have an Intel i5 4210U with a hybrid GPU: Intel HD Graphics 4400 / AMD Radeon R7 M265.
Since I got to Deepin ... in version 15.4 ... the AMD GPU never worked; and the Graphics Driver Manager does not offer configuration options for either Intel or even AMD.
I always keep the system up to date. And so I have the latest packages installed.
@deepinzhangshuang @hualet so this is more like a driver issue ?
Dell Inspiron 15 - 3537 Laptop (4th Gen Intel Core I5 4200U - 4GB - 500GB - 15.6 and Graphics Processor | AMD Radeon HD 8670M
@sonald It may not be driver issue only since there is no problem with Gnome for example.
I'm also having the same problem.
My specs:
Tried 3 available options in Graphics Driver Manager but none of them resolve that
Another user in the community, who has the same problem ... forwarded my settings to me:
Intel i3 3220 Intel HD Graphics 2500
Obviously, it keeps the system up to date as it is released.
Same problem here. My specs:
Tried both the open source driver and the default driver.
Maybe I've found a solution. The error was happening when sawing Netflix in Chrome for example, I've installed other distro(Elementary OS 5.0) just to test if the error still happens and still does. After some research a person said that it's because of hardware acceleration. So I've turn off "Continue running background apps when Google Chrome is closed" and "Use hardware acceleration when available" options. After that the problem, at least watching something on netflix never happened again. I didn't have time to test on Deepin, but maybe this is the solution.
Print of options turned off
PS: I'm using Google Chrome V71.0.3578.80
@wthiagos I am playing Vainglory via Wine and it freezes sometimes also. Additionally, videos freeze on VLC, Deepin-Movie while playing offline. So this is related to deepin-wm I guess. There is no problem with deepin-metacity.
With Hardware Acceleration disabled in Chrome ... the problem is gone!
With Hardware Acceleration disabled in Chrome ... the problem is gone!
I thought it was affecting both online video playing and offline video playing, am I wrong?
With Hardware Acceleration disabled in Chrome ... the problem is gone!
I thought it was affecting both online video playing and offline video playing, am I wrong?
It occurs in both situations. Lately, I'm not using Deepin Movie; but I've already seen the freeze with this app. If there are definite corrections ... I'll be testing Deepin Movie right away.
The suggestion given by @wthiagos, seems to have circumvented the problem in the Chrome browser. By the tests I did, they did not repeat themselves (there were no freezes).
@hualet Online/offline video playback and games are affected. Additionally, I guess, all the people who have this problem use Intel integrated GPU for rendering and this makes me think about drivers also, not only Deepin-wm.
P.S.: Disabling hardware acceleration solves the problem, at least, in Google Chrome. Thanks, @wthiagos. Problem is like this in Popcorntime and offline video playback side It freezes when I move the cursor in Popcorntime but It freezes just like that in Deepin-movie.
@hualet Video play smoothly when we make Use Intel acceleration mode. but sometime screen blurring or tearing while open application.
Make in China 2025.
@sarojpoudel33 this is definitely most likely a driver issue.
It would be nice to see Deepin with updated drivers!
I have a hybrid configuration (Intel / AMD), but I have no way to choose the best driver for my Intel On-Board. In the Graphics Manager, in the early versions, there were the swap options... later, this screen only appears (image).
This can be a driver related issue but I didn't have any problem when I installed Gnome with gdm. The same drivers but no issue. Also, switching to deepin-metacity solves the issue. So, this is about deepin-wm. Additionally, disabling hardware acceleration solves the problem on Google Chrome. So this makes me think that this is a driver issue but I don't know.
Maybe there is something wrong with how deepin-wm handles Intel drivers.
@gokhanyildirimlar you are right, deepin-wm derived from an old version of mutter (which is the core of Gnome window manager) and was lack of many new fixes coming to the new version. so this problem probably has been workarounded in new mutter and it's not easy to port and heavy test it now.
@sonald Thanks for the information, it's nice to know this. I look forward to getting new version then. :)
I ran Google Chrome (with active graphics acceleration in settings) directly on the dedicated AMD GPU. I used the default driver offered by Deepin (amdgpu).
I did not detect crashes with amdgpu when I accessed Youtube. Only 1 (one) brief freeze.
May Future Update Help Us
Any news? Is the problem being fixed? Complaints in the community still persist.
Any news? Is the problem being fixed? Complaints in the community still persist.
NO, but we decided to drop mutter as our Window Manager base and trying to get KWin to work. I personally switched to Firefox and didn't have this problem anymore, maybe others that don't rely on Chrome can try this for now?
I've been using Chrome with hardware acceleration deactivated. Since I don't use Deepin for playing offline videos, that's been enough.
I've been using Chrome with hardware acceleration deactivated. Since I don't use Deepin for playing offline videos, that's been enough.
The problem with Google Chrome is contoured... Already with other applications, which require hardware acceleration, suffer from it... like Deepin Movie.
It's alright! Let's keep up with the next system news.
I believe I have come closer to the solution.
I upgraded Mesa Graphics Library (18.0.4) of Deepin, to the latest version available in Debian Unstable (18.3.3). By tests, I did not see any kind of freezing. It seems Mesa native (of Deepin), has some form of incompatibility.
Others need to replicate this process. To confirm my suspicion.
I believe I have come closer to the solution.
I upgraded Mesa Graphics Library (18.0.4) of Deepin, to the latest version available in Debian Unstable (18.3.3). By tests, I did not see any kind of freezing. It seems Mesa native (of Deepin), has some form of incompatibility.
Others need to replicate this process. To confirm my suspicion.
I just updated to Mesa 18.3.3 too. the animation is smoother and video freezing is gone!.
I believe I have come closer to the solution.
I upgraded Mesa Graphics Library (18.0.4) of Deepin, to the latest version available in Debian Unstable (18.3.3). By tests, I did not see any kind of freezing. It seems Mesa native (of Deepin), has some form of incompatibility.
Others need to replicate this process. To confirm my suspicion.
Newbie here. How do I do that?
I believe I have come closer to the solution.
I upgraded Mesa Graphics Library (18.0.4) of Deepin, to the latest version available in Debian Unstable (18.3.3). By tests, I did not see any kind of freezing. It seems Mesa native (of Deepin), has some form of incompatibility.
Others need to replicate this process. To confirm my suspicion.
It didn't solve the issue for me. I guess, I am gonna have to wait for KWin.
I believe I have come closer to the solution. I upgraded Mesa Graphics Library (18.0.4) of Deepin, to the latest version available in Debian Unstable (18.3.3). By tests, I did not see any kind of freezing. It seems Mesa native (of Deepin), has some form of incompatibility. Others need to replicate this process. To confirm my suspicion.
Newbie here. How do I do that?
sudo apt edit-sources
sudo apt update
command.sudo apt install libegl-mesa0 libegl1-mesa libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libgles2-mesa libglx-mesa0 mesa-va-drivers
command and restart the pc after it finishes it's job. Note: I am giving you the address of Debian Sid repository for Turkey since I am Turkish. This is your own responsibility and no one else is responsible for your system but you. You may need to reinstall it if you break. Lastly, don't update anything else because their dependencies can cause issues or break the system.
Official sources for unstable branch as follows:
#------------------------------------------------------------------------------#
# OFFICIAL DEBIAN REPOS
#------------------------------------------------------------------------------#
###### Debian Main Repos
deb http://deb.debian.org/debian/ unstable main contrib non-free
deb-src http://deb.debian.org/debian/ unstable main contrib non-free
And for those who are having difficulties with desktop AMD graphics and thinking about upgrading mesa from Debian's unstable branch: don't do that. :disappointed:
I believe I have come closer to the solution. I upgraded Mesa Graphics Library (18.0.4) of Deepin, to the latest version available in Debian Unstable (18.3.3). By tests, I did not see any kind of freezing. It seems Mesa native (of Deepin), has some form of incompatibility. Others need to replicate this process. To confirm my suspicion.
Newbie here. How do I do that?
- Open a terminal and type
sudo apt edit-sources
- Add "deb http://ftp.tr.debian.org/debian/ unstable main contrib non-free deb-src http://ftp.tr.debian.org/debian/ unstable main contrib non-free" lines to the bottom without quotes and use CTRL+X to save and quit.
- Use
sudo apt update
command.- Now, you are ready to update Mesa drivers. Give
sudo apt install libegl-mesa0 libegl1-mesa libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libgles2-mesa libglx-mesa0 mesa-va-drivers
command and restart the pc after it finishes it's job.Note: I am giving you the address of Debian Sid repository for Turkey since I am Turkish. This is your own responsibility and no one else is responsible for your system but you. You may need to reinstall it if you break. Lastly, don't update anything else because their dependencies can cause issues or break the system.
I found a tutorial for this @lucasfads. My installation command is a bit different from yours @gokhanyildirimlar (despite the same result).
To view the MESA version: sudo apt install mesa-utils
View the current MESA Driver version: glxinfo | grep "OpenGL version"
Adding the Debian Stretch Repository: deb http://deb.debian.org/debian stretch-backports main
Update the Package and Program List sudo apt update
Install the MESA Driver: sudo apt install -t stretch-backports libegl1-mesa libegl1-mesa-dev libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libgles2-mesa libllvm5.0
Check the new version of MESA Driver: glxinfo | grep "OpenGL version"
The first test I did with the Unstable Debian repository... Now, I have the Stretch repository. The current version of MESA Driver 18.2.8 (and again, no freezing!).
@alexwender1, No luck in my case. I used your method but the issue still exists for some reason. I hope KWin update arrives soon.
I believe I have come closer to the solution. I upgraded Mesa Graphics Library (18.0.4) of Deepin, to the latest version available in Debian Unstable (18.3.3). By tests, I did not see any kind of freezing. It seems Mesa native (of Deepin), has some form of incompatibility. Others need to replicate this process. To confirm my suspicion.
Newbie here. How do I do that?
- Open a terminal and type
sudo apt edit-sources
- Add "deb http://ftp.tr.debian.org/debian/ unstable main contrib non-free deb-src http://ftp.tr.debian.org/debian/ unstable main contrib non-free" lines to the bottom without quotes and use CTRL+X to save and quit.
- Use
sudo apt update
command.- Now, you are ready to update Mesa drivers. Give
sudo apt install libegl-mesa0 libegl1-mesa libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libgles2-mesa libglx-mesa0 mesa-va-drivers
command and restart the pc after it finishes it's job.Note: I am giving you the address of Debian Sid repository for Turkey since I am Turkish. This is your own responsibility and no one else is responsible for your system but you. You may need to reinstall it if you break. Lastly, don't update anything else because their dependencies can cause issues or break the system.
I found a tutorial for this @lucasfads. My installation command is a bit different from yours @gokhanyildirimlar (despite the same result).
To view the MESA version: sudo apt install mesa-utils
View the current MESA Driver version: glxinfo | grep "OpenGL version"
Adding the Debian Stretch Repository: deb http://deb.debian.org/debian stretch-backports main
Update the Package and Program List sudo apt update
Install the MESA Driver: sudo apt install -t stretch-backports libegl1-mesa libegl1-mesa-dev libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libgles2-mesa libllvm5.0
Check the new version of MESA Driver: glxinfo | grep "OpenGL version"
The first test I did with the Unstable Debian repository... Now, I have the Stretch repository. The current version of MESA Driver 18.2.8 (and again, no freezing!).
Didn't work for me. Updated MESA Driver to 18.2.8 and some web video applications like Twitch.tv keeps freezing until you hover the cursor on (image only). My current solution for this problem is disabling the window effect, then no problems happens.
With version 15.9.2 Beta (released this week)... which brings the MESA 18.1.9; I did not have any freezing problem.
@alexwender1 Confirmed. I tried after I saw your comment and nothing freezes anymore. I have a problem with the app store but, I guess, this is normal since Deepin is moving its base.
There is no issue with KWin.
Describe the bug
Videos stutter while window effects on. Google Chrome, VLC, Deepin Movie, Popcorn-Time, etc don't matter. Videos stutter on all of them. Sometimes visual freezes and sound keeps playing.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Video or movies being played smoothly, without any stutter or freeze.
Distro & Version
Linux Deepin 15.7 and 15.8
Related package version
deepin-wm Version: 1.9.33-1 on Linux Deepin 15.8 I don't know the version number on Linux Deepin 15.7
Issue can be related to mesa drivers also, I am not sure.
Additional context
Disabling window effects fix the problem. Hardware: CPU: Dual Core Intel Core i5-3210M GPU: Intel Integrated Graphics, no dedicated video card
Similar issue here: https://github.com/linuxdeepin/developer-center/issues/620