Bug 365004

Summary: Desktop freezes randomly
Product: [Plasma] kwin Reporter: vonmentzer
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: NOR    
Version: 5.6.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=361154
Latest Commit: Version Fixed In:
Attachments: KDE_log
Infos

Description vonmentzer 2016-07-02 12:39:53 UTC
Desktop freezes randomly

Reproducible: Sometimes

Steps to Reproduce:
1.Open Steam
2.Open Geary
3.Plugin USB


Expected Results:  
windows freeze or complete system freeze

no freeze
Comment 1 vonmentzer 2016-07-02 12:40:33 UTC
Created attachment 99800 [details]
KDE_log
Comment 2 Thomas Lübking 2016-07-02 12:48:07 UTC
please attach the output of "qdbus org.kde.KWin /KWin supportInformation" and check whether the same happens if you suspend the compositor (SHIFT+Alt+F12) before doing anything.
Comment 3 vonmentzer 2016-07-02 13:04:44 UTC
Created attachment 99801 [details]
Infos
Comment 4 Thomas Lübking 2016-07-02 13:09:38 UTC
Can you please re-attach that as plaintext?
Comment 5 vonmentzer 2016-07-02 13:12:56 UTC
Received reply from :1.83
  Arguments: "KWin-Unterstützungsinformationen:
Benutzen Sie die folgenden Informationen, wenn Sie nach Unterstützung fragen, z. B. auf http://forum.kde.org.
Sie enthalten Informationen über die momentan laufende Instanz, welche Optionen verwendet werden,
welcher OpenGL-Treiber verwendet wird und welche Effekte laufen.
Bitte geben Sie die untenstehenden Informationen bei einem Pastebin-Dienst wie http://paste.kde.org ein, anstatt sie direkt in die Hilfediskussionen zu schreiben.

==========================

Version
=======
KWin version: 5.6.5
Qt Version: 5.6.1
Qt compile version: 5.6.1
XCB compile version: 1.12

Operation Mode: X11 only

Build Options
=============
KWIN_BUILD_DECORATIONS: yes
KWIN_BUILD_TABBOX: yes
KWIN_BUILD_ACTIVITIES: yes
HAVE_INPUT: yes
HAVE_DRM: yes
HAVE_GBM: yes
HAVE_X11_XCB: yes
HAVE_EPOXY_GLX: yes
HAVE_WAYLAND_EGL: yes

X11
===
Vendor: The X.Org Foundation
Vendor Release: 11704000
Protocol Version/Revision: 11/0
SHAPE: yes; Version: 0x11
RANDR: yes; Version: 0x14
DAMAGE: yes; Version: 0x11
Composite: yes; Version: 0x4
RENDER: yes; Version: 0xb
XFIXES: yes; Version: 0x50
SYNC: yes; Version: 0x31
GLX: yes; Version: 0x0

Decoration
==========
Plugin: org.kde.breeze
Theme: 
Blur: 0
onAllDesktopsAvailable: true
alphaChannelSupported: true
closeOnDoubleClickOnMenu: false
decorationButtonsLeft: 0, 2
decorationButtonsRight: 6, 3, 4, 5
borderSize: 3
gridUnit: 10
font: Noto Sans,10,-1,0,50,0,0,0,0,0
smallSpacing: 2
largeSpacing: 10

Options
=======
focusPolicy: 0
nextFocusPrefersMouse: false
clickRaise: true
autoRaise: false
autoRaiseInterval: 0
delayFocusInterval: 0
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: false
placement: 4
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
rollOverDesktops: true
focusStealingPreventionLevel: 1
legacyFullscreenSupport: false
operationTitlebarDblClick: 5000
operationMaxButtonLeftClick: 5000
operationMaxButtonMiddleClick: 5015
operationMaxButtonRightClick: 5014
commandActiveTitlebar1: 0
commandActiveTitlebar2: 30
commandActiveTitlebar3: 2
commandInactiveTitlebar1: 4
commandInactiveTitlebar2: 30
commandInactiveTitlebar3: 2
commandWindow1: 7
commandWindow2: 8
commandWindow3: 8
commandWindowWheel: 31
commandAll1: 10
commandAll2: 3
commandAll3: 14
keyCmdAllModKey: 16777251
showGeometryTip: false
condensedTitle: false
electricBorderMaximize: true
electricBorderTiling: true
electricBorderCornerRatio: 0.25
borderlessMaximizedWindows: false
killPingTimeout: 5000
hideUtilityWindowsForInactive: true
inactiveTabsSkipTaskbar: false
autogroupSimilarWindows: false
autogroupInForeground: true
compositingMode: 1
useCompositing: true
compositingInitialized: true
hiddenPreviews: 1
unredirectFullscreen: false
glSmoothScale: 2
colorCorrected: false
xrenderSmoothScale: false
maxFpsInterval: 16666666
refreshRate: 0
vBlankTime: 6000000
glStrictBinding: false
glStrictBindingFollowsDriver: true
glCoreProfile: false
glPreferBufferSwap: 0
glPlatformInterface: 1

Screen Edges
============
desktopSwitching: false
desktopSwitchingMovingClients: false
cursorPushBackDistance: 1x1
timeThreshold: 150
reActivateThreshold: 350
actionTopLeft: 0
actionTop: 0
actionTopRight: 0
actionRight: 0
actionBottomRight: 0
actionBottom: 0
actionBottomLeft: 0
actionLeft: 0

Screens
=======
Multi-Head: no
Active screen follows mouse: no
Number of Screens: 1

Screen 0:
---------
Name: HDMI-0
Geometry: 0,0,1920x1080
Refresh Rate: 60


Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 950/PCIe/SSE2
OpenGL version string: 4.5.0 NVIDIA 364.19
OpenGL platform interface: GLX
OpenGL shading language version string: 4.50 NVIDIA
Driver: NVIDIA
Driver version: 364.19
GPU class: Unknown
OpenGL version: 4.5
GLSL version: 4.50
X server version: 1.17.4
Linux kernel version: 4.6.2
Direct rendering: Requires strict binding: no
GLSL shaders: yes
Texture NPOT support: yes
Virtual Machine: no
OpenGL 2 Shaders are used
Painting blocks for vertical retrace: no

Loaded Effects:
---------------
zoom
slidingpopups
kwin4_effect_login
slide
screenshot
minimizeanimation
kwin4_effect_translucency
kwin4_effect_windowaperture
desktopgrid
kwin4_effect_maximize
kwin4_effect_morphingpopups
kwin4_effect_fade
presentwindows
kwin4_effect_dialogparent
highlightwindow
blur
contrast
logout
startupfeedback
screenedge
kscreen

Currently Active Effects:
-------------------------
blur
contrast

Effect Settings:
----------------
zoom:
zoomFactor: 1.2
mousePointer: 0
mouseTracking: 0
enableFocusTracking: false
followFocus: true
focusDelay: 350
moveFactor: 20
targetZoom: 1

slidingpopups:
fadeInTime: 150
fadeOutTime: 250

kwin4_effect_login:

slide:

screenshot:

minimizeanimation:

kwin4_effect_translucency:

kwin4_effect_windowaperture:

desktopgrid:
zoomDuration: 300
border: 10
desktopNameAlignment: 0
layoutMode: 0
customLayoutRows: 2
usePresentWindows: true

kwin4_effect_maximize:

kwin4_effect_morphingpopups:

kwin4_effect_fade:

presentwindows:
layoutMode: 0
showCaptions: true
showIcons: true
doNotCloseWindows: false
ignoreMinimized: false
accuracy: 20
fillGaps: true
fadeDuration: 150
showPanel: false
leftButtonWindow: 1
rightButtonWindow: 2
middleButtonWindow: 0
leftButtonDesktop: 2
middleButtonDesktop: 0
rightButtonDesktop: 0

kwin4_effect_dialogparent:

highlightwindow:

blur:
blurRadius: 12
cacheTexture: true

contrast:

logout:
useBlur: true

startupfeedback:
type: 1

screenedge:

kscreen:

"
Comment 6 Thomas Lübking 2016-07-02 13:22:18 UTC
Nvidia fits the pattern, please check against beforehand suspended compositor and/or a rule to omit the request to block the compositor (see other bug)
Comment 7 vonmentzer 2016-07-02 13:25:35 UTC
Auf deutsch bitte wenn möglich. Was ist nun das Problem?
Comment 8 Thomas Lübking 2016-07-02 13:37:04 UTC
Der Treiber (vermutlich)
Der Compositor (das Ding, das Schatten etc. macht), Steam und 1000 andere Sachen laufen unter OpenGL und Steam schaltet den Compositor ab - da scheint der Treiber aus dem Tritt zu kommen.


Alt+F2, "kcmshell5 kwinrules" (ohne Anführungszeichen)
Neue Regel erstellen, gleich zum letzten Tab und da "Compositing blockiern" auf "erzwingen" und "nein" setzen (die genauen Begriffe können abweichen, ich hab' keine Übersetzung)
Regel speichern, die Warnung, daß das alles betrifft ignorieren (das ist Zweck der Übung) und dann schauen.

Alternativ den Compositor mittels Alt+SHIFT+F12 explizit deaktivieren, *bevor* Steam gestartet wird (erhält den Performancegewinn)
Comment 9 vonmentzer 2016-07-02 13:43:27 UTC
Danke werde ich mal probieren.

Lg
Comment 10 Martin Flöser 2016-08-27 15:26:25 UTC
Assuming duplicate of bug 361154 - if not fixed with 5.7.4 please reopen.

*** This bug has been marked as a duplicate of bug 361154 ***