Bug 415379 - eglgbmbackend.cpp:Moving the cursor only refreshes the damage area with a black background
Summary: eglgbmbackend.cpp:Moving the cursor only refreshes the damage area with a bla...
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: platform-drm (show other bugs)
Version: 5.15.4
Platform: Compiled Sources Linux
: NOR critical
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-20 03:36 UTC by 80442946
Modified: 2020-02-15 04:33 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 80442946 2019-12-20 03:36:41 UTC
SUMMARY
When using kwin commands such as./kwin_wayland --xwayland --drm --no-lockscreen startdde dde-launcher, only the damage region is updated on a black background

My guess is that

1) in SceneOpenGL::paint function, using prepareRenderingForScreen (egl_gbm_backend class) to obtain the QRegion repaint is 0, cause paintScreen function for paint  only a region of the screen, and did not send the whole screen, the other opengl or x11 return the whole screen.

2) EGL_SWAP_BEHAVIOR was changed to EGL_BUFFER_PRESERVED when the surface was created by egl, which can be displayed normally.




SOFTWARE/OS VERSIONS
KDE Frameworks Version: 
Qt Version: 5.11.3

ADDITIONAL INFORMATION
Comment 1 Vlad Zahorodnii 2020-01-16 14:28:34 UTC
It seems like you use 5.15.4, which is no longer supported by KDE. Are you able to reproduce this bug in 5.17?
Comment 2 Bug Janitor Service 2020-01-31 04:33:14 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2020-02-15 04:33:24 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!