FS#61148 - [qt]Frozen cursor - applications lag

Attached to Project: Arch Linux
Opened by Tomasz (thommen) - Friday, 21 December 2018, 17:14 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 10 December 2019, 13:00 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Evangelos Foutras (foutrelis)
Antonio Rojas (arojas)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
When using the system, the cursor freezes. You can not move windows between places. Adding bookmarks in Dolphin is very slow. It breaks the cursor movement smoothly.

Additional info:
* package version(s)
kf5-config --version
Qt: 5.12.0
Szkielety KDE: 5.53.0
kf5-config: 1.0

plasmashell --version
plasmashell 5.14.4


* config and/or log files etc.
Clipping from /var/log/Xorg.0.log
[ 32.497] (EE) client bug: timer event15 debounce short: offset negative (-3ms)
[ 41.597] (EE) client bug: timer event15 debounce short: offset negative (-9ms)
[ 44.147] (EE) client bug: timer event15 debounce short: offset negative (-1ms)
[ 44.742] (II) event15 - A4TECH USB Device: SYN_DROPPED event - some input events have been lost.
[ 45.522] (II) event15 - A4TECH USB Device: SYN_DROPPED event - some input events have been lost.
[ 53.167] (II) event15 - A4TECH USB Device: SYN_DROPPED event - some input events have been lost.
[ 56.020] (II) event15 - A4TECH USB Device: SYN_DROPPED event - some input events have been lost.
[ 66.236] (II) event15 - A4TECH USB Device: SYN_DROPPED event - some input events have been lost.
[ 66.236] (II) event15 - A4TECH USB Device: WARNING: log rate limit exceeded (5 msgs per 30000ms). Discarding future messages.
[ 91.341] (EE) client bug: timer event15 debounce short: offset negative (-2ms)
[ 114.326] (EE) client bug: timer event15 debounce short: offset negative (-12ms)

Steps to reproduce:
It is a problem with the cursor just after switching on the system.
This task depends upon

Closed by  Antonio Rojas (arojas)
Tuesday, 10 December 2019, 13:00 GMT
Reason for closing:  Fixed
Comment by Mathias Anselmann (matse) - Friday, 25 January 2019, 06:29 GMT
Same problem for me on gnome 3 with paraview (Qt app). Whole system stutters and log is full of:

/usr/lib/gdm-x-session[1429]: (EE) client bug: timer event4 debounce: offset negative (-32ms)
/usr/lib/gdm-x-session[1429]: (EE) client bug: timer event4 debounce: offset negative (-24ms)
/usr/lib/gdm-x-session[1429]: (EE) client bug: timer event4 debounce short: offset negative (-37ms)
/usr/lib/gdm-x-session[1429]: (EE) client bug: timer event4 debounce: offset negative (-77ms)
/usr/lib/gdm-x-session[1429]: (EE) client bug: timer event4 debounce short: offset negative (-90ms)

using nvidia with proprietary drivers from the repos.
Comment by Tomasz (thommen) - Saturday, 26 January 2019, 10:45 GMT
@Mathias Anselmann (matse) I had this error in KDE with open Nouveau drivers. Come on we have different window and sterwon managers (I've switched from closed drivers to open and I really appreciate the change) check if you have the option to "improve" the graphics environment in GNOME.
Comment by Mathias Anselmann (matse) - Monday, 28 January 2019, 08:05 GMT
Tomasz: does that mean you are on nvidia, too and switching to nouveau fixed the problem for you? What do you mean with an option to "improve" the graphics environment? What settings did help you?

Unfortunately switching to nouveau for me is no option, since I use a NV110 based graphics chip and paraview doesn't even start with nouveau:



ERROR: In /build/paraview/src/ParaView-v5.6.0/VTK/Rendering/OpenGL2/vtkShaderProgram.cxx, line 447
vtkShaderProgram (0x555687434a80):

ERROR: In /build/paraview/src/ParaView-v5.6.0/VTK/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, line 1931
vtkGenericOpenGLRenderWindow (0x555686d412f0): Hardware does not support the number of textures defined.

ERROR: In /build/paraview/src/ParaView-v5.6.0/VTK/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, line 1931
vtkGenericOpenGLRenderWindow (0x555686d412f0): Hardware does not support the number of textures defined.

Generic Warning: In /build/paraview/src/ParaView-v5.6.0/VTK/Rendering/OpenGL2/vtkOpenGLRenderTimer.cxx, line 124
vtkOpenGLRenderTimer::Stop called before vtkOpenGLRenderTimer::Start. Ignoring.

ERROR: In /build/paraview/src/ParaView-v5.6.0/VTK/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx, line 1931
vtkGenericOpenGLRenderWindow (0x555686d412f0): Hardware does not support the number of textures defined.

ERROR: In /build/paraview/src/ParaView-v5.6.0/VTK/Rendering/OpenGL2/vtkShaderProgram.cxx, line 491
vtkShaderProgram (0x555687594ea0): Shader object was not initialized, cannot attach it.

ERROR: In /build/paraview/src/ParaView-v5.6.0/VTK/Rendering/OpenGL2/vtkOpenGLVertexArrayObject.cxx, line 280
vtkOpenGLVertexArrayObject (0x5556875c0950): attempt to add attribute without a program for attribute ndCoordIn

Generic Warning: In /build/paraview/src/ParaView-v5.6.0/VTK/Rendering/OpenGL2/vtkOpenGLQuadHelper.cxx, line 60
Error binding ndCoords to VAO.

[quark:02549] *** Process received signal ***
[quark:02549] Signal: Segmentation fault (11)
[quark:02549] Signal code: Address not mapped (1)
[quark:02549] Failing at address: 0x80
[quark:02549] [ 0] /usr/lib/libc.so.6(+0x37e00)[0x7f2f49e4de00]
[quark:02549] [ 1] /usr/lib/libvtkRenderingOpenGL2-pv5.6.so.1(_ZN16vtkShaderProgram11FindUniformEPKc+0x25)[0x7f2f46bfab95]
[quark:02549] [ 2] /usr/lib/libvtkRenderingOpenGL2-pv5.6.so.1(_ZN16vtkShaderProgram11SetUniformiEPKci+0x13)[0x7f2f46bfac83]
[quark:02549] [ 3] /usr/lib/libvtkRenderingOpenGL2-pv5.6.so.1(_ZN19vtkOpenGLFXAAFilter11ApplyFilterEv+0x1f3)[0x7f2f46b3b4f3]
[quark:02549] [ 4] /usr/lib/libvtkRenderingOpenGL2-pv5.6.so.1(_ZN19vtkOpenGLFXAAFilter7ExecuteEP17vtkOpenGLRenderer+0x47)[0x7f2f46b3b7c7]
[quark:02549] [ 5] /usr/lib/libvtkRenderingOpenGL2-pv5.6.so.1(_ZN17vtkOpenGLRenderer14UpdateGeometryEv+0x9aa)[0x7f2f46bae2ea]
[quark:02549] [ 6] /usr/lib/libvtkRenderingOpenGL2-pv5.6.so.1(_ZN17vtkOpenGLRenderer12DeviceRenderEv+0xe0)[0x7f2f46bac190]
[quark:02549] [ 7] /usr/lib/libvtkRenderingCore-pv5.6.so.1(_ZN11vtkRenderer6RenderEv+0x7f1)[0x7f2f4810e4c1]
[quark:02549] [ 8] /usr/lib/libvtkRenderingCore-pv5.6.so.1(_ZN21vtkRendererCollection6RenderEv+0xa7)[0x7f2f4810b627]
[quark:02549] [ 9] /usr/lib/libvtkRenderingCore-pv5.6.so.1(_ZN15vtkRenderWindow14DoStereoRenderEv+0xe6)[0x7f2f48117fb6]
[quark:02549] [10] /usr/lib/libvtkRenderingCore-pv5.6.so.1(_ZN15vtkRenderWindow6RenderEv+0x1c2)[0x7f2f48117d02]
[quark:02549] [11] /usr/lib/libvtkRenderingOpenGL2-pv5.6.so.1(_ZN21vtkOpenGLRenderWindow6RenderEv+0xa)[0x7f2f46bab8ca]
[quark:02549] [12] /usr/lib/libvtkRenderingOpenGL2-pv5.6.so.1(_ZN28vtkGenericOpenGLRenderWindow6RenderEv+0x23)[0x7f2f46b34653]
[quark:02549] [13] /usr/lib/libvtkPVClientServerCoreRendering-pv5.6.so.1(_ZN15vtkPVRenderView6RenderEbb+0x655)[0x7f2f48342b15]
[quark:02549] [14] /usr/lib/libvtkPVClientServerCoreRendering-pv5.6.so.1(_ZN15vtkPVRenderView11StillRenderEv+0x5b)[0x7f2f4833a49b]
[quark:02549] [15] /usr/lib/libvtkPVServerManagerApplication-pv5.6.so.1(_Z22vtkPVRenderViewCommandP26vtkClientServerInterpreterP13vtkObjectBasePKcRK21vtkClientServerStreamRS5_Pv+0x1c79)[0x7f2f4955f989]
[quark:02549] [16] /usr/lib/libvtkClientServer-pv5.6.so.1(_ZN26vtkClientServerInterpreter19CallCommandFunctionEPKcP13vtkObjectBaseS1_RK21vtkClientServerStreamRS4_+0x1f0)[0x7f2f481cbec0]
[quark:02549] [17] /usr/lib/libvtkClientServer-pv5.6.so.1(_ZN26vtkClientServerInterpreter20ProcessCommandInvokeERK21vtkClientServerStreami+0x49f)[0x7f2f481cc55f]
[quark:02549] [18] /usr/lib/libvtkClientServer-pv5.6.so.1(_ZN26vtkClientServerInterpreter17ProcessOneMessageERK21vtkClientServerStreami+0x46f)[0x7f2f481cca2f]
[quark:02549] [19] /usr/lib/libvtkClientServer-pv5.6.so.1(_ZN26vtkClientServerInterpreter13ProcessStreamERK21vtkClientServerStream+0x1e)[0x7f2f481ccafe]
[quark:02549] [20] /usr/lib/libvtkPVServerImplementationCore-pv5.6.so.1(_ZN16vtkPVSessionCore21ExecuteStreamInternalERK21vtkClientServerStreamb+0xff)[0x7f2f4843872f]
[quark:02549] [21] /usr/lib/libvtkPVServerImplementationCore-pv5.6.so.1(_ZN16vtkPVSessionCore13ExecuteStreamEjRK21vtkClientServerStreamb+0x4c)[0x7f2f4843854c]
[quark:02549] [22] /usr/lib/libvtkPVServerImplementationCore-pv5.6.so.1(_ZN16vtkPVSessionBase13ExecuteStreamEjRK21vtkClientServerStreamb+0x35)[0x7f2f484370f5]
[quark:02549] [23] /usr/lib/libvtkPVServerManagerRendering-pv5.6.so.1(_ZN14vtkSMViewProxy11StillRenderEv+0x1a0)[0x7f2f485680e0]
[quark:02549] [24] /usr/lib/libvtkPVServerManagerRendering-pv5.6.so.1(_ZN30vtkSMViewProxyInteractorHelper6RenderEv+0x1d6)[0x7f2f4856b0b6]
[quark:02549] [25] /usr/lib/libvtkPVServerManagerRendering-pv5.6.so.1(_ZN30vtkSMViewProxyInteractorHelper7ExecuteEP9vtkObjectmPv+0x162)[0x7f2f4856b272]
[quark:02549] [26] /usr/lib/libvtkCommonCore-pv5.6.so.1(+0x329432)[0x7f2f47902432]
[quark:02549] [27] /usr/lib/libvtkGUISupportQt-pv5.6.so.1(_ZN22QVTKOpenGLNativeWidget9renderVTKEv+0x3f)[0x7f2f486b217f]
[quark:02549] [28] /usr/lib/libvtkGUISupportQt-pv5.6.so.1(_ZN22QVTKOpenGLNativeWidget7paintGLEv+0x9d)[0x7f2f486b25ed]
[quark:02549] [29] /usr/lib/libQt5Widgets.so.5(+0x1b9e45)[0x7f2f4ae77e45]
[quark:02549] *** End of error message ***
[1] 2549 segmentation fault (core dumped)


But that's another problem I guess... I've tried nouveau couple of times but I always ended installing nvidia again...
Comment by Mathias Anselmann (matse) - Monday, 28 January 2019, 08:30 GMT
I've further discovered that in my case the problem doesn't occur, when using the statically linked paraview (5.6) version from the paraview website, which uses Qt 5.10. So there might be a Qt issue...
//Edit: on my laptop (same software configuration but just intel graphics card) this problem doesn't occur either).
I've also commented on the (closed) bug report on Qt here:

https://bugreports.qt.io/browse/QTBUG-72785
Comment by Tomasz (thommen) - Monday, 28 January 2019, 12:19 GMT
@Mathias Anselmann (matse) Before these errors I had to change to open Nouveau drivers, because closed Nvidia drivers do not support Xrandr (multihead).
There is Compositor in KDE. If I turn off "Compositor" the cursor freezes, and in the logs I have (EE). I created this topic → https://bugreports.qt.io/browse/QTBUG-72785 in search of help ..
Comment by Mathias Anselmann (matse) - Wednesday, 30 January 2019, 07:34 GMT
Just for completeness: We could bisect the problem here
https://bugreports.qt.io/browse/QTBUG-72785
and there is also a patch https://codereview.qt-project.org/#/c/251293/ available to fix this problem, which probably will be in the upcoming Qt release.
So I guess this the problem was not related to Arch and can be closed here - maybe the qt5-base maintainer can cerry pick the regarding commit?

Loading...