Bug 378544

Summary: Wayland session crash with nouveau.
Product: [Plasma] kwin Reporter: kde38 <rickard.gerthsson>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: major CC: subdiff
Priority: NOR Flags: mgraesslin: Wayland+
mgraesslin: X11-
mgraesslin: nouveau+
Version First Reported In: 5.9.4   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: errors nouveau xwayland drm krunner fifo etc etc

Description kde38 2017-04-07 22:43:16 UTC
I have tried to use wayland session with both an NVIDIA GT210 and a GTX580 using open source nouveau drivers but the session either crashes right away or hangs/freeze when it has logged in or whn I click on the start menu button. The start menu barely becomes visible before the system freeze. I have tried this in KDE Neon, OpenMandriva Lx and Antergos and they all behave the same.

All the distros have been x86_64/amd64 and the X11 sessions works.

If you need more inforamtion then please tell me what I should provide and how I will do that.

Regards.
Comment 1 kde38 2017-04-07 23:21:25 UTC
I want to add that KDE Neon is the Dev Stable version and it is fully updated.
Comment 2 Martin Flöser 2017-04-08 05:21:06 UTC
Please provide the output of
qdbus org.kde.KWin /KWin supportInformation

From a working X11 session.
Comment 3 kde38 2017-04-11 14:03:41 UTC
Martin, I apologise for the late reply. It seems that somehow the my computer's stability (RAM?) affected the wayland session. Last time I tried it worked a lot smoother but I remember it freezing after a while. I will try it out again and supply you with the information you have asked for. Regards.
Comment 4 Martin Flöser 2017-04-11 15:16:28 UTC
good luck with the stability of your system! Setting to waitingforinfo for the moment.
Comment 5 kde38 2017-04-11 22:35:39 UTC
$ qdbus org.kde.KWin /KWin supportInformation
KWin Support Information:
The following information should be used when requesting support on e.g. http://forum.kde.org.
It provides information about the currently running instance, which options are used,
what OpenGL driver and which effects are running.
Please post the information provided underneath this introductory text to a paste bin service
like http://paste.kde.org instead of pasting into support threads.

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

Version
=======
KWin version: 5.9.4
Qt Version: 5.7.1
Qt compile version: 5.7.1
XCB compile version: 1.11.1

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: 11804000
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: false                                                                                                        
alphaChannelSupported: true                                                                                                          
closeOnDoubleClickOnMenu: false                                                                                                      
decorationButtonsLeft: 0, 1, 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
glSmoothScale: 1
xrenderSmoothScale: false
maxFpsInterval: 16666666
refreshRate: 0
vBlankTime: 6000000
glStrictBinding: false
glStrictBindingFollowsDriver: true
glCoreProfile: true
glPreferBufferSwap: 101
glPlatformInterface: 2
windowsBlockCompositing: false

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: DVI-I-1
Geometry: 0,0,1920x1200
Refresh Rate: 59.9502


Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: nouveau
OpenGL renderer string: Gallium 0.4 on NVC8
OpenGL version string: 4.3 (Core Profile) Mesa 12.0.6
OpenGL platform interface: EGL
OpenGL shading language version string: 4.30
Driver: Nouveau
GPU class: Unknown
OpenGL version: 4.3
GLSL version: 4.30
Mesa version: 12.0.6
X server version: 1.18.4
Linux kernel version: 4.10.8
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:
---------------
kwin4_effect_login
screenshot
kwin4_effect_windowaperture
kwin4_effect_scalein
desktopgrid
colorpicker
kwin4_effect_fade
presentwindows
highlightwindow
kwin4_effect_dialogparent
blur
startupfeedback
screenedge
kscreen

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

Effect Settings:
----------------
kwin4_effect_login:

screenshot:

kwin4_effect_windowaperture:

kwin4_effect_scalein:

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

colorpicker:

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

highlightwindow:

kwin4_effect_dialogparent:

blur:
blurRadius: 12
cacheTexture: true

startupfeedback:
type: 1

screenedge:

kscreen:
Comment 6 kde38 2017-04-12 03:01:23 UTC
I just want to add that wayland under Weston works without a problem.
Comment 7 Christoph Feck 2017-04-25 17:33:24 UTC
Thanks for the update; changing status.
Comment 8 kde38 2017-04-26 17:24:27 UTC
Created attachment 105207 [details]
errors nouveau xwayland drm krunner fifo etc etc
Comment 9 Martin Flöser 2017-07-22 16:20:12 UTC
The freezes might (!) be fixed as of 5.10.3.1
Comment 10 Martin Flöser 2017-10-15 19:29:27 UTC
I assume the problem is fixed. If not please reopen.