Bug 436488

Summary: Matrix/Ghost Trails effect when app is lunched but the app is not painted yet
Product: [Plasma] kwin Reporter: ad1rie3
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: ad1rie3, nate
Priority: NOR    
Version First Reported In: 5.21.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description ad1rie3 2021-05-02 11:41:13 UTC
SUMMARY
See the video: 
https://photos.app.goo.gl/s2g95761NpPQ4hB29


STEPS TO REPRODUCE
1. 
2. 
3. 


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 34
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.80
Qt Version: 5.15.2

ADDITIONAL INFORMATION

Using Nvidia Hardware
Comment 1 ad1rie3 2021-05-02 11:46:54 UTC
To reproduce : Lunch google chrome
Comment 2 ad1rie3 2021-05-03 06:22:49 UTC
[quartz@Quartz ~]$ WAYLAND_DEBUG=1 google-chrome
[5127:5127:0503/081839.203227:ERROR:angle_platform_impl.cc(43)] Display.cpp:840 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
[5127:5127:0503/081839.203337:ERROR:gl_surface_egl.cc(778)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context.
[5127:5127:0503/081839.203381:ERROR:gl_surface_egl.cc(1345)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type
[5127:5127:0503/081839.203671:ERROR:angle_platform_impl.cc(43)] Display.cpp:840 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
[5127:5127:0503/081839.203720:ERROR:gl_surface_egl.cc(778)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context.
[5127:5127:0503/081839.203753:ERROR:gl_surface_egl.cc(1345)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[5127:5127:0503/081839.203783:ERROR:gl_initializer_linux_x11.cc(182)] GLSurfaceEGL::InitializeOneOff failed.
[5127:5127:0503/081839.204871:ERROR:viz_main_impl.cc(150)] Exiting GPU process due to errors during initialization
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[5185:5185:0503/081839.218005:ERROR:gpu_init.cc(426)] Passthrough is not supported, GL is egl
Comment 3 ad1rie3 2021-05-03 06:56:13 UTC
Ok ... chrome juste dont start for some raison but i let the bug repport open : 

The main bug is : when we lunch an app, before app paint into the buffer it's content, the buffer is created and (i dont know why), this make the behaviour of the video append . 

Same effect on other application (huge app) that take 1-2 sec to open
Comment 4 Nate Graham 2021-05-03 20:07:06 UTC
LMAO
Comment 5 ad1rie3 2021-05-03 20:48:49 UTC
Ok it's happened on XWayland app only. Skype, code, Chrome for exemple
Comment 6 ad1rie3 2021-05-03 21:00:10 UTC
Ok it's an electron backend bug ... i will open issue on it