Bug 358991 - X11 Dies From Kodi Fullscreen Switch, Snowballing To pulseaudio, kactivitymanage, ksmserver
Summary: X11 Dies From Kodi Fullscreen Switch, Snowballing To pulseaudio, kactivityman...
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: core (show other bugs)
Version: 5.5.4
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL: https://bugs.freedesktop.org/show_bug...
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-04 17:55 UTC by vindicator
Modified: 2016-02-04 20:01 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
thomas.luebking: Intel+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vindicator 2016-02-04 17:55:38 UTC
You can skip to "Issue:".

History: new KDE user, coming from Ubuntu 15.10 and starting with linux via Ubuntu 15.04. Before that was Vista and ancestral Windows versions.

Reason for change: Vista was practically flawless for me, but I was exploring a transition to linux.
Ubuntu 15.04 was extremely buggy for me. I'd make bug submissions, but saw very little results.
Going to 15.10 took care of some issues, but came up with a very notable issue wherein switching in/out of fullscreen with Chrome or Kodi would (a lot of the time) result in the GUI freezing (except for the mouse, and screen is left with that last fullscreen frame), yet audio still played. The only way out was killing the session or rebooting.

So now I am exploring my options and seem to like the ground-up approach I can take with Archlinux.
I chose Plasma5, sddm, and tried wayland, but sticking with KDE/X11 for now.
Maybe that is a bad choice for my everyday heavy computer use if Plasma5 is in beta form.
My logs get flooded with graphical errors ALL OF THE TIME:
*****(perhaps not an error)
Feb 04 10:09:38 computerName kdeinit5[11124]: powerdevil: Disabling DPMS due to inhibition
Feb 04 10:10:10 computerName kdeinit5[11124]: powerdevil: Released inhibition with cookie  64
Feb 04 10:10:10 computerName kdeinit5[11124]: powerdevil: Restoring DPMS features after inhibition release
Feb 04 10:10:10 computerName kscreen_backend_launcher[11140]: kscreen: Primary output changed from KScreen::Output(Id: 67 , Name: "HDMI1" ) ( "HDMI1" ) to KScreen::Output(Id: 67 , Name: "HDMI1" ) ( "HDMI1" )
Feb 04 10:10:10 computerName kscreen_backend_launcher[11140]: kscreen: Primary output changed from KScreen::Output(Id: 67 , Name: "HDMI1" ) ( "HDMI1" ) to KScreen::Output(Id: 67 , Name: "HDMI1" ) ( "HDMI1" )
Feb 04 10:10:10 computerName kscreen_backend_launcher[11140]: kscreen: Primary output changed from KScreen::Output(Id: 67 , Name: "HDMI1" ) ( "HDMI1" ) to KScreen::Output(Id: 67 , Name: "HDMI1" ) ( "HDMI1" )
Feb 04 10:10:10 computerName kscreen_backend_launcher[11140]: kscreen: Primary output changed from KScreen::Output(Id: 67 , Name: "HDMI1" ) ( "HDMI1" ) to KScreen::Output(Id: 67 , Name: "HDMI1" ) ( "HDMI1" )
Feb 04 10:10:10 computerName kscreen_backend_launcher[11140]: kscreen: Primary output changed from KScreen::Output(Id: 67 , Name: "HDMI1" ) ( "HDMI1" ) to KScreen::Output(Id: 67 , Name: "HDMI1" ) ( "HDMI1" )
Feb 04 10:10:10 computerName kscreen_backend_launcher[11140]: kscreen: Primary output changed from KScreen::Output(Id: 67 , Name: "HDMI1" ) ( "HDMI1" ) to KScreen::Output(Id: 67 , Name: "HDMI1" ) ( "HDMI1" )
Feb 04 10:10:10 computerName kscreen_backend_launcher[11140]: kscreen: Primary output changed from KScreen::Output(Id: 67 , Name: "HDMI1" ) ( "HDMI1" ) to KScreen::Output(Id: 67 , Name: "HDMI1" ) ( "HDMI1" )
Feb 04 10:10:10 computerName kscreen_backend_launcher[11140]: kscreen: Primary output changed from KScreen::Output(Id: 67 , Name: "HDMI1" ) ( "HDMI1" ) to KScreen::Output(Id: 67 , Name: "HDMI1" ) ( "HDMI1" )
Feb 04 10:10:10 computerName kdeinit5[11124]: kscreen: Primary output changed from KScreen::Output(Id: 67 , Name: "HDMI1" ) ( "HDMI1" ) to KScreen::Output(Id: 67 , Name: "HDMI1" ) ( "HDMI1" )
Feb 04 10:10:10 computerName kdeinit5[11124]: kscreen: Primary output changed from KScreen::Output(Id: 67 , Name: "HDMI1" ) ( "HDMI1" ) to KScreen::Output(Id: 67 , Name: "HDMI1" ) ( "HDMI1" )
Feb 04 10:10:10 computerName kdeinit5[11124]: kscreen.kded: Change detected
Feb 04 10:10:11 computerName kdeinit5[11124]: kscreen.kded: Saving current config to file
Feb 04 10:10:11 computerName kdeinit5[11124]: kscreen.kded: Calculating config ID for KScreen::Config(0x247f2d0)
Feb 04 10:10:11 computerName kdeinit5[11124]: kscreen.kded:         Part of the Id:  "225ecfb3f8eb52ebf81efd7c16ea1435"
Feb 04 10:10:11 computerName kdeinit5[11124]: kscreen.kded:         Config ID: "81e669f0c3dcff762df7ff950a6f97cf"
Feb 04 10:10:11 computerName kdeinit5[11124]: kscreen.kded: Config saved on:  "/home/user/.local/share/kscreen/81e669f0c3dcff762df7ff950a6f97cf"
Feb 04 10:10:25 computerName kscreen_backend_launcher[11140]: kscreen: Primary output changed from KScreen::Output(Id: 67 , Name: "HDMI1" ) ( "HDMI1" ) to KScreen::Output(Id: 67 , Name: "HDMI1" ) ( "HDMI1" )
*****
*****(errors)
Feb 04 10:09:09 computerName kdeinit5[11124]: kscreen.kded: Config saved on:  "/home/user/.local/share/kscreen/81e669f0c3dcff762df7ff950a6f97cf"
Feb 04 10:09:24 computerName kwin_x11[11160]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 6331, resource id: 0, major code: 14 (GetGeometry), minor code: 0
Feb 04 10:09:24 computerName kwin_x11[11160]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 6332, resource id: 0, major code: 14 (GetGeometry), minor code: 0
Feb 04 10:09:24 computerName kwin_x11[11160]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 6333, resource id: 0, major code: 14 (GetGeometry), minor code: 0
Feb 04 10:09:24 computerName kwin_x11[11160]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 6334, resource id: 0, major code: 14 (GetGeometry), minor code: 0
Feb 04 10:09:24 computerName kwin_x11[11160]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 6335, resource id: 0, major code: 14 (GetGeometry), minor code: 0
Feb 04 10:09:24 computerName kwin_x11[11160]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 6336, resource id: 0, major code: 14 (GetGeometry), minor code: 0
Feb 04 10:09:24 computerName kwin_x11[11160]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 6357, resource id: 0, major code: 14 (GetGeometry), minor code: 0
Feb 04 10:09:24 computerName kwin_x11[11160]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 6358, resource id: 0, major code: 14 (GetGeometry), minor code: 0
Feb 04 10:09:24 computerName kwin_x11[11160]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 6359, resource id: 0, major code: 14 (GetGeometry), minor code: 0
Feb 04 10:09:24 computerName kwin_x11[11160]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 6360, resource id: 0, major code: 14 (GetGeometry), minor code: 0
Feb 04 10:09:24 computerName kwin_x11[11160]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 6361, resource id: 0, major code: 14 (GetGeometry), minor code: 0
Feb 04 10:09:24 computerName kwin_x11[11160]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 6362, resource id: 0, major code: 14 (GetGeometry), minor code: 0
Feb 04 10:09:24 computerName kwin_x11[11160]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 6363, resource id: 0, major code: 14 (GetGeometry), minor code: 0
Feb 04 10:09:24 computerName kwin_x11[11160]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 6364, resource id: 0, major code: 14 (GetGeometry), minor code: 0
Feb 04 10:09:24 computerName kwin_x11[11160]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 6371, resource id: 0, major code: 14 (GetGeometry), minor code: 0
Feb 04 10:09:24 computerName kwin_x11[11160]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 6372, resource id: 0, major code: 14 (GetGeometry), minor code: 0
Feb 04 10:09:24 computerName kwin_x11[11160]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 6381, resource id: 0, major code: 14 (GetGeometry), minor code: 0
Feb 04 10:09:24 computerName kwin_x11[11160]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 6382, resource id: 0, major code: 14 (GetGeometry), minor code: 0
Feb 04 10:09:24 computerName kwin_x11[11160]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 6392, resource id: 0, major code: 14 (GetGeometry), minor code: 0
Feb 04 10:09:38 computerName kdeinit5[11124]: powerdevil: Added inhibition from an explicit DBus service,  ":1.230" , with cookie  64  from  "/opt/google/chrome/google-chrome"  with  "Uploading data"
*****

Issue: It would seem that fullscreen issue is not just related to Gnome (ubuntu 15.10), since a new way of dealing with it in KDE is with a fullblown X11 crash (back to the login screen).
*****
Feb 04 10:27:32 computerName kdeinit5[11124]: kscreen.kded: Config saved on:  "/home/user/.local/share/kscreen/81e669f0c3dcff762df7ff950a6f97cf"
Feb 04 10:27:34 computerName xembedsniproxy[11177]: kde.xembedsniproxy: Scaling pixmap of window 4194342 "google-chrome" from w*h 22 22
Feb 04 10:27:35 computerName kwin_x11[11160]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 42990, resource id: 25434223, major code: 15 (QueryTree), minor code: 0
Feb 04 10:27:35 computerName kwin_x11[11160]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 43071, resource id: 0, major code: 14 (GetGeometry), minor code: 0
Feb 04 10:27:35 computerName kwin_x11[11160]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 43072, resource id: 0, major code: 14 (GetGeometry), minor code: 0
Feb 04 10:27:35 computerName xembedsniproxy[11177]: kde.xembedsniproxy: Scaling pixmap of window 4194342 "google-chrome" from w*h 22 22
Feb 04 10:27:35 computerName kwin_x11[11160]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 43081, resource id: 0, major code: 14 (GetGeometry), minor code: 0
Feb 04 10:27:35 computerName kwin_x11[11160]: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 43082, resource id: 0, major code: 14 (GetGeometry), minor code: 0
Feb 04 10:27:35 computerName konsole[12466]: The X11 connection broke (error 1). Did the X11 server die?
Feb 04 10:27:35 computerName pulseaudio[11053]: XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
Feb 04 10:27:35 computerName pulseaudio[11053]: after 14 requests (6 known processed) with 0 events remaining.
Feb 04 10:27:35 computerName konsole[12466]: Konsole SessionManager destroyed with 1 session(s) still alive
Feb 04 10:27:35 computerName kernel: kactivitymanage[11146]: segfault at 7fc0c7ab1cd0 ip 00007fc0b8019291 sp 00007ffd601ee8a8 error 4 in libQt5Sql.so.5.5.1[7fc0b8005000+3f000]
Feb 04 10:27:35 computerName kwalletd5[11368]: The X11 connection broke (error 1). Did the X11 server die?
Feb 04 10:27:35 computerName kactivitymanagerd[11146]: The X11 connection broke (error 1). Did the X11 server die?
Feb 04 10:27:35 computerName kactivitymanagerd[11146]: Closing SQL connection:  "kactivities_db_resources_140465960339456_readwrite"
Feb 04 10:27:35 computerName kdeconnectd[11270]: The X11 connection broke (error 1). Did the X11 server die?
Feb 04 10:27:35 computerName systemd[845]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
Feb 04 10:27:35 computerName systemd[845]: pulseaudio.service: Unit entered failed state.
Feb 04 10:27:35 computerName systemd[845]: pulseaudio.service: Failed with result 'exit-code'.
Feb 04 10:27:35 computerName kscreen_backend_launcher[11140]: The X11 connection broke (error 1). Did the X11 server die?
Feb 04 10:27:35 computerName kdeinit5[11121]: kdeinit5: Fatal IO error: client killed
Feb 04 10:27:35 computerName kdeinit5[11121]: kdeinit5: sending SIGHUP to children.
Feb 04 10:27:35 computerName kdeinit5[11122]: The X11 connection broke (error 1). Did the X11 server die?
Feb 04 10:27:35 computerName kdeinit5[11124]: The X11 connection broke (error 1). Did the X11 server die?
Feb 04 10:27:35 computerName xembedsniproxy[11177]: The X11 connection broke (error 1). Did the X11 server die?
Feb 04 10:27:35 computerName polkit-kde-authentication-agent-1[11173]: The X11 connection broke (error 1). Did the X11 server die?
Feb 04 10:27:35 computerName kaccess[11130]: The X11 connection broke (error 1). Did the X11 server die?
Feb 04 10:27:35 computerName ksmserver[11156]: The X11 connection broke (error 1). Did the X11 server die?
Feb 04 10:27:35 computerName krunner[11165]: The X11 connection broke (error 1). Did the X11 server die?
Feb 04 10:27:35 computerName polkitd[954]: Unregistered Authentication Agent for unix-session:c4 (system bus name :1.62, object path /org/kde/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Feb 04 10:27:35 computerName kdeinit5[11121]: kdeinit5: sending SIGTERM to children.
Feb 04 10:27:35 computerName kdeinit5[11121]: kdeinit5: Exit.
Feb 04 10:27:35 computerName sddm-helper[11073]: [PAM] Ended.
Feb 04 10:27:35 computerName sddm[718]: Auth: sddm-helper exited successfully
Feb 04 10:27:35 computerName sddm[718]: Socket server stopping...
Feb 04 10:27:35 computerName sddm[718]: Socket server stopped.
Feb 04 10:27:35 computerName sddm[718]: Display server stopping...
Feb 04 10:27:35 computerName kglobalaccel5[11061]: The X11 connection broke (error 1). Did the X11 server die?
Feb 04 10:27:35 computerName sddm[718]: Display server stopped.
Feb 04 10:27:35 computerName sddm[718]: Running display stop script  "/usr/share/sddm/scripts/Xstop"
Feb 04 10:27:35 computerName sddm[718]: Removing display ":0" ...
Feb 04 10:27:35 computerName sddm[718]: Adding new display on vt 1 ...
Feb 04 10:27:35 computerName sddm[718]: Display server starting...
Feb 04 10:27:35 computerName sddm[718]: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{197afb4a-29a6-40d3-aba9-bbe288706d66} -background none -noreset -displayfd 18 vt1
Feb 04 10:27:35 computerName systemd[845]: pulseaudio.service: Service hold-off time over, scheduling restart.
Feb 04 10:27:35 computerName systemd[845]: Stopped Sound Service.
Feb 04 10:27:35 computerName systemd[845]: Starting Sound Service...
Feb 04 10:27:35 computerName dbus-daemon[865]: Activating service name='org.kde.kglobalaccel'
Feb 04 10:27:35 computerName rtkit-daemon[1017]: Successfully made thread 13426 of process 13426 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level -11.
Feb 04 10:27:35 computerName rtkit-daemon[1017]: Supervising 1 threads of 1 processes of 1 users.
Feb 04 10:27:35 computerName pulseaudio[13426]: W: [pulseaudio] pid.c: Stale PID file, overwriting.
Feb 04 10:27:35 computerName rtkit-daemon[1017]: Supervising 1 threads of 1 processes of 1 users.
Feb 04 10:27:35 computerName rtkit-daemon[1017]: Successfully made thread 13431 of process 13426 (/usr/bin/pulseaudio) owned by '1000' RT at priority 5.
Feb 04 10:27:35 computerName rtkit-daemon[1017]: Supervising 2 threads of 1 processes of 1 users.
Feb 04 10:27:35 computerName sddm[718]: Running display setup script  "/usr/share/sddm/scripts/Xsetup"
Feb 04 10:27:35 computerName sddm[718]: Display server started.
Feb 04 10:27:35 computerName sddm[718]: Socket server starting...
Feb 04 10:27:35 computerName sddm[718]: Socket server started.
Feb 04 10:27:35 computerName sddm[718]: Greeter starting...
Feb 04 10:27:35 computerName sddm[718]: Adding cookie to "/var/run/sddm/{197afb4a-29a6-40d3-aba9-bbe288706d66}"
Feb 04 10:27:35 computerName sddm-helper[13434]: [PAM] Starting...
Feb 04 10:27:35 computerName sddm-helper[13434]: [PAM] Authenticating...
Feb 04 10:27:35 computerName sddm-helper[13434]: [PAM] returning.
Feb 04 10:27:35 computerName sddm-helper[13434]: pam_unix(sddm-greeter:session): session opened for user sddm by (uid=0)
Feb 04 10:27:35 computerName systemd[1]: Created slice User Slice of sddm.
Feb 04 10:27:35 computerName systemd[1]: Starting User Manager for UID 997...
Feb 04 10:27:35 computerName systemd[13436]: pam_unix(systemd-user:session): session opened for user sddm by (uid=0)
Feb 04 10:27:35 computerName systemd[1]: Started Session c5 of user sddm.
Feb 04 10:27:35 computerName systemd-logind[568]: New session c5 of user sddm.
Feb 04 10:27:35 computerName systemd[13436]: Reached target Timers.
Feb 04 10:27:35 computerName systemd[13436]: Listening on Sound System.
Feb 04 10:27:35 computerName systemd[13436]: Starting D-Bus User Message Bus Socket.
Feb 04 10:27:35 computerName systemd[13436]: Reached target Paths.
Feb 04 10:27:35 computerName systemd[13436]: Listening on D-Bus User Message Bus Socket.
Feb 04 10:27:35 computerName systemd[13436]: Reached target Sockets.
Feb 04 10:27:35 computerName systemd[13436]: Reached target Basic System.
Feb 04 10:27:35 computerName systemd[13436]: Reached target Default.
Feb 04 10:27:35 computerName systemd[13436]: Startup finished in 21ms.
Feb 04 10:27:35 computerName systemd[1]: Started User Manager for UID 997.
Feb 04 10:27:35 computerName sddm[718]: Greeter session started successfully
Feb 04 10:27:35 computerName dbus-daemon[865]: Successfully activated service 'org.kde.kglobalaccel'
Feb 04 10:27:35 computerName pulseaudio[13426]: E: [pulseaudio] module-alsa-card.c: Failed to open mixer for jack detection
Feb 04 10:27:35 computerName systemd[845]: Started Sound Service.
Feb 04 10:27:35 computerName sddm-greeter[13442]: Reading from "/usr/share/xsessions/plasma-mediacenter.desktop"
Feb 04 10:27:35 computerName sddm-greeter[13442]: Reading from "/usr/share/xsessions/plasma.desktop"
Feb 04 10:27:35 computerName sddm-greeter[13442]: Reading from "/usr/share/wayland-sessions/plasmawayland.desktop"
Feb 04 10:27:35 computerName sddm-greeter[13442]: Reading from "/usr/share/wayland-sessions/weston.desktop"
Feb 04 10:27:35 computerName sddm-greeter[13442]: Connected to the daemon.
Feb 04 10:27:35 computerName sddm[718]: Message received from greeter: Connect
Feb 04 10:27:35 computerName sddm-greeter[13442]: Adding view for "HDMI1" QRect(0,0 1920x1080)
Feb 04 10:27:35 computerName systemd[13436]: Started D-Bus User Message Bus.
Feb 04 10:27:35 computerName sddm-greeter[13442]: Message received from daemon: Capabilities
Feb 04 10:27:35 computerName sddm-greeter[13442]: Message received from daemon: HostName
Feb 04 10:27:35 computerName systemd-coredump[13413]: Process 11146 (kactivitymanage) of user 1000 dumped core.
                                                
                                                Stack trace of thread 11146:
                                                #0  0x00007fc0b8019291 _ZN12QSqlDatabase5closeEv (libQt5Sql.so.5)
                                                #1  0x00007fc0b801a7f9 _ZN12QSqlDatabaseD1Ev (libQt5Sql.so.5)
                                                #2  0x00007fc0b801c82d n/a (libQt5Sql.so.5)
                                                #3  0x00007fc0c61d0299 _ZN9QHashData11free_helperEPFvPNS_4NodeEE (libQt5Core.so.5)
                                                #4  0x00007fc0b8018f63 n/a (libQt5Sql.so.5)
                                                #5  0x00007fc0c59d6f88 __run_exit_handlers (libc.so.6)
                                                #6  0x00007fc0c59d6fd5 exit (libc.so.6)
                                                #7  0x00007fc0bc435e4e _ZN14QXcbConnection16processXcbEventsEv (libQt5XcbQpa.so.5)
                                                #8  0x00007fc0c637d1e1 _ZN7QObject5eventEP6QEvent (libQt5Core.so.5)
                                                #9  0x00007fc0c6bf89ac _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5)
                                                #10 0x00007fc0c6bfde86 _ZN12QApplication6notifyEP7QObjectP6QEvent (libQt5Widgets.so.5)
                                                #11 0x00007fc0c634dbab _ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent (libQt5Core.so.5)
                                                #12 0x00007fc0c634ffa6 _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt5Core.so.5)
                                                #13 0x00007fc0c63a4143 n/a (libQt5Core.so.5)
                                                #14 0x00007fc0c45bcdc7 g_main_context_dispatch (libglib-2.0.so.0)
                                                #15 0x00007fc0c45bd020 n/a (libglib-2.0.so.0)
                                                #16 0x00007fc0c45bd0cc g_main_context_iteration (libglib-2.0.so.0)
                                                #17 0x00007fc0c63a454f _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                                #18 0x00007fc0c634b57a _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                #19 0x00007fc0c635353c _ZN16QCoreApplication4execEv (libQt5Core.so.5)
                                                #20 0x0000000000410aa4 main (kactivitymanagerd)
                                                #21 0x00007fc0c59c1610 __libc_start_main (libc.so.6)
                                                #22 0x0000000000410c79 _start (kactivitymanagerd)
                                                
                                                Stack trace of thread 11153:
                                                #0  0x00007fc0c5a8118d poll (libc.so.6)
                                                #1  0x00007fc0c45bcfbc n/a (libglib-2.0.so.0)
                                                #2  0x00007fc0c45bd0cc g_main_context_iteration (libglib-2.0.so.0)
                                                #3  0x00007fc0c63a454f _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                                #4  0x00007fc0c634b57a _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                #5  0x00007fc0c6167be4 _ZN7QThread4execEv (libQt5Core.so.5)
                                                #6  0x0000000000412dda _ZZ12runInQThreadI10ActivitiesEPT_vEN6Thread3runEv (kactivitymanagerd)
                                                #7  0x00007fc0c616cb8e n/a (libQt5Core.so.5)
                                                #8  0x00007fc0c4ada4a4 start_thread (libpthread.so.0)
                                                #9  0x00007fc0c5a8a13d __clone (libc.so.6)
                                                
                                                Stack trace of thread 11154:
                                                #0  0x00007fc0c5a8118d poll (libc.so.6)
                                                #1  0x00007fc0c45bcfbc n/a (libglib-2.0.so.0)
                                                #2  0x00007fc0c45bd0cc g_main_context_iteration (libglib-2.0.so.0)
                                                #3  0x00007fc0c63a456b _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                                #4  0x00007fc0c634b57a _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                #5  0x00007fc0c6167be4 _ZN7QThread4execEv (libQt5Core.so.5)
                                                #6  0x0000000000412e0a _ZZ12runInQThreadI8FeaturesEPT_vEN6Thread3runEv (kactivitymanagerd)
                                                #7  0x00007fc0c616cb8e n/a (libQt5Core.so.5)
                                                #8  0x00007fc0c4ada4a4 start_thread (libpthread.so.0)
                                                #9  0x00007fc0c5a8a13d __clone (libc.so.6)
                                                
                                                Stack trace of thread 11152:
                                                #0  0x00007fc0c5a8118d poll (libc.so.6)
                                                #1  0x00007fc0c45bcfbc n/a (libglib-2.0.so.0)
                                                #2  0x00007fc0c45bd0cc g_main_context_iteration (libglib-2.0.so.0)
                                                #3  0x00007fc0c63a454f _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                                #4  0x00007fc0c634b57a _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                #5  0x00007fc0c6167be4 _ZN7QThread4execEv (libQt5Core.so.5)
                                                #6  0x0000000000412daa _ZZ12runInQThreadI9ResourcesEPT_vEN6Thread3runEv (kactivitymanagerd)
                                                #7  0x00007fc0c616cb8e n/a (libQt5Core.so.5)
                                                #8  0x00007fc0c4ada4a4 start_thread (libpthread.so.0)
                                                #9  0x00007fc0c5a8a13d __clone (libc.so.6)
Feb 04 10:27:35 computerName kwin_x11[11160]: The X11 connection broke: I/O error (code 1)
Feb 04 10:27:36 computerName ksmserver[13446]: Cannot connect to the X server
Feb 04 10:27:36 computerName ksmserver[13446]: QXcbConnection: Could not connect to display :0
Feb 04 10:27:36 computerName systemd-coredump[13447]: Process 11156 (ksmserver) of user 1000 dumped core.
                                                
                                                Stack trace of thread 11156:
                                                #0  0x00007f8f7b49ab72 _ZN15QGuiApplication23platformNativeInterfaceEv (libQt5Gui.so.5)
                                                #1  0x00007f8f7feb696e _ZN8QX11Info7displayEv (/usr/lib/libQt5X11Extras.so.5.5.1)
                                                #2  0x00007f8f7a74a2c7 _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5)
                                                #3  0x00007f8f7f798680 __restore_rt (libc.so.6)
                                                #4  0x00007f8f7fed04e0 _ZN15QDBusConnectionC2ERKS_ (/usr/lib/libQt5DBus.so.5.5.1)
                                                #5  0x00007f8f7fed306c _ZN15QDBusConnection9systemBusEv (/usr/lib/libQt5DBus.so.5.5.1)
                                                #6  0x00007f8f7f3286f6 n/a (libkworkspace5.so.5)
                                                #7  0x00007f8f7f321043 _ZN15KDisplayManagerC1Ev (libkworkspace5.so.5)
                                                #8  0x00007f8f7fb1ed8b n/a (libkdeinit5_ksmserver.so)
                                                #9  0x00007f8f7fb21978 n/a (libkdeinit5_ksmserver.so)
                                                #10 0x00007f8f7f798680 __restore_rt (libc.so.6)
                                                #11 0x00007f8f7fb21910 n/a (libkdeinit5_ksmserver.so)
                                                #12 0x00007f8f7f798680 __restore_rt (libc.so.6)
                                                #13 0x00007f8f7fd697c7 n/a (n/a)
Feb 04 10:27:36 computerName systemd-coredump[13448]: Process 13446 (ksmserver) of user 1000 dumped core.
                                                
                                                Stack trace of thread 13446:
                                                #0  0x00007efc7c9265f8 raise (libc.so.6)
                                                #1  0x00007efc7c927a7a abort (libc.so.6)
                                                #2  0x00007efc780fd1e1 _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5)
                                                #3  0x00007efc681ad064 _ZN14QXcbConnectionC1EP19QXcbNativeInterfacebjPKc (libQt5XcbQpa.so.5)
                                                #4  0x00007efc681b283d _ZN15QXcbIntegrationC1ERK11QStringListRiPPc (libQt5XcbQpa.so.5)
                                                #5  0x00007efc7d0fd3ad n/a (/usr/lib/qt/plugins/platforms/libqxcb.so)
                                                #6  0x00007efc7861ee62 _ZN27QPlatformIntegrationFactory6createERK7QStringRK11QStringListRiPPcS2_ (libQt5Gui.so.5)
                                                #7  0x00007efc7862b052 _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt5Gui.so.5)
                                                #8  0x00007efc7862bf8d _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt5Gui.so.5)
                                                #9  0x00007efc782f5126 _ZN16QCoreApplication4initEv (libQt5Core.so.5)
                                                #10 0x00007efc782f5196 _ZN16QCoreApplicationC1ER23QCoreApplicationPrivate (libQt5Core.so.5)
                                                #11 0x00007efc7862dd79 _ZN15QGuiApplicationC1ER22QGuiApplicationPrivate (libQt5Gui.so.5)
                                                #12 0x00007efc78be651d _ZN12QApplicationC2ERiPPci (libQt5Widgets.so.5)
                                                #13 0x00007efc7cca745a kdemain (libkdeinit5_ksmserver.so)
                                                #14 0x00007efc7c913610 __libc_start_main (libc.so.6)
                                                #15 0x00000000004007b9 _start (ksmserver)
Feb 04 10:27:44 computerName systemd[1]: Started Getty on tty3.
*****
*****(tail-end of kodi.log)
10:26:39 T:140609129981696   ERROR: CVideoPlayerAudio::DecodeFrame - Decode Error. Skipping audio packet (-1094995529)
10:27:11 T:140609129981696   ERROR: Previous line repeats 1 times.
10:27:11 T:140609129981696  NOTICE: Creating audio stream (codec id: 86019, channels: 5, sample rate: 48000, no pass-through)
10:27:11 T:140609129981696  NOTICE: Creating audio stream (codec id: 86019, channels: 6, sample rate: 48000, no pass-through)
10:27:25 T:140611063081152  NOTICE: VideoPlayer: OnLostDisplay received
10:27:25 T:140611063081152  NOTICE: VideoPlayer: OnResetDisplay received
10:27:25 T:140611063081152  NOTICE: GL: Selecting Single Pass YUV 2 RGB shader
10:27:25 T:140611063081152  NOTICE: GL: NPOT texture support detected
10:27:25 T:140611063081152  NOTICE: GL: Using GL_ARB_pixel_buffer_object
10:27:25 T:140611063081152  NOTICE: Using GL_TEXTURE_2D
10:27:25 T:140611063081152  NOTICE: GL: Selecting Single Pass YUV 2 RGB shader
10:27:25 T:140611063081152  NOTICE: GL: NPOT texture support detected
10:27:25 T:140611063081152  NOTICE: GL: Using GL_ARB_pixel_buffer_object
10:27:27 T:140610182829824  NOTICE: CDVDMessageQueue::GetLevel() - can't determine level
10:27:29 T:140609033594624  NOTICE: Previous line repeats 277 times.
10:27:29 T:140609033594624 WARNING: COutput::QueueReturnPicture - pic not found
10:27:29 T:140610182829824  NOTICE: CDVDMessageQueue::GetLevel() - can't determine level
10:27:30 T:140609129981696  NOTICE: Previous line repeats 5 times.
10:27:30 T:140609129981696   ERROR: CVideoPlayerAudio::DecodeFrame - Decode Error. Skipping audio packet (-1094995529)
10:27:32 T:140611063081152  NOTICE: VideoPlayer: OnLostDisplay received
10:27:32 T:140611063081152  NOTICE: VideoPlayer: OnResetDisplay received
10:27:32 T:140611063081152  NOTICE: GL: Selecting Single Pass YUV 2 RGB shader
10:27:32 T:140611063081152  NOTICE: GL: NPOT texture support detected
10:27:32 T:140611063081152  NOTICE: GL: Using GL_ARB_pixel_buffer_object
10:27:32 T:140611063081152  NOTICE: Using GL_TEXTURE_2D
10:27:32 T:140611063081152  NOTICE: GL: Selecting Single Pass YUV 2 RGB shader
10:27:32 T:140611063081152  NOTICE: GL: NPOT texture support detected
10:27:32 T:140611063081152  NOTICE: GL: Using GL_ARB_pixel_buffer_object
10:27:35 T:140611063081152  NOTICE: VideoPlayer: OnLostDisplay received
10:27:35 T:140610641762048   ERROR: CPulseAudioDirectSound::AddPackets - pa_stream_write failed
*****

Reproducible: Sometimes

Steps to Reproduce:
So far only tested with Kodi (git master (17?))
1) Opened Kodi
2) Watching recorded video
3) Entered fullscreen
4) After some (random) time, exit fullscreen '\'

Actual Results:  
Kicked out of session, back to login screen.

Expected Results:  
Kodi switches back to window-mode.

I'm new with KDE and how bugs should be submitted here, so be gentle if you would.
I simply pulled the information out of journalctl.

On a different note, I'd like to have a "preview" button before submitting the bug so I can make sure it looks somewhat decent.
I think github's "Issue" page/form with the markups/preview are something worth striving towards. (don't know if that is something that I should bother creating another "wishlist bug" for)
Comment 1 Thomas Lübking 2016-02-04 18:04:40 UTC
Looks like the X11 server crashes/crashed.
Check /var/log/Xorg.*.log for backtraces - the information you posted is w/o value.

The crash is probably in the driver and could be induced by a context switch. Try to suspend the compositor before running kodi (SHIFT+Alt+F12) and see whether it still happens.

Attach /var/log/Xorg.*.log's in any case - the bug is unlikely in KWin or KDE.
Comment 2 vindicator 2016-02-04 18:08:32 UTC
RE: kwin_x11[13555]: QXcbConnection: XCB error: 9 (BadDrawable)
I had journalctl -f to see what happens live, and even just simply hovering my mouse over something like the Application Launcher causes the "baddrawable".
Qt seems to have a distaste with something about my newish system.
Comment 3 Thomas Lübking 2016-02-04 18:19:42 UTC
You can ignore that error - it means KWin wanted to adjust a window that's already gone. This causes a server error, but is harmless, and the alternative is to grab the server all the time (as window managers exclusively deal with windows with unknown lifetime) - what means your desktop would kinda lag ;-)

The "bug" here is the excessive default debug output.
Comment 4 vindicator 2016-02-04 18:21:41 UTC
Ya, you're right about that Thomas:
*****(Xorg.log.old)
[ 13101.768] (EE) intel(0): [DRI2] DRI2SwapComplete: bad drawable
[ 13101.797] (EE) 
[ 13101.797] (EE) Backtrace:
[ 13101.798] (EE) 0: /usr/lib/xorg-server/Xorg (OsLookupColor+0x139) [0x598499]
[ 13101.798] (EE) 1: /usr/lib/libc.so.6 (__restore_rt+0x0) [0x7f82052df67f]
[ 13101.798] (EE) 2: /usr/lib/xorg/modules/drivers/intel_drv.so (_init+0xf413f) [0x7f8200044aaf]
[ 13101.798] (EE) 3: /usr/lib/xorg/modules/drivers/intel_drv.so (_init+0xf6727) [0x7f8200049637]
[ 13101.799] (EE) 4: /usr/lib/xorg/modules/drivers/intel_drv.so (_init+0x64e60) [0x7f81fff26380]
[ 13101.799] (EE) 5: /usr/lib/xorg/modules/drivers/intel_drv.so (_init+0x68b30) [0x7f81fff2de20]
[ 13101.799] (EE) 6: /usr/lib/xorg-server/Xorg (WakeupHandler+0xaa) [0x43adca]
[ 13101.799] (EE) 7: /usr/lib/xorg-server/Xorg (WaitForSomething+0x1ef) [0x590caf]
[ 13101.799] (EE) 8: /usr/lib/xorg-server/Xorg (SendErrorToClient+0x10e) [0x43609e]
[ 13101.799] (EE) 9: /usr/lib/xorg-server/Xorg (remove_fs_handlers+0x453) [0x43a293]
[ 13101.799] (EE) 10: /usr/lib/libc.so.6 (__libc_start_main+0xf0) [0x7f82052cc610]
[ 13101.799] (EE) 11: /usr/lib/xorg-server/Xorg (_start+0x29) [0x4245c9]
[ 13101.800] (EE) 12: ? (?+0x29) [0x29]
[ 13101.800] (EE) 
[ 13101.800] (EE) Segmentation fault at address 0x0
[ 13101.800] (EE) 
Fatal server error:
[ 13101.800] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 13101.800] (EE) 
*****
*****(Xorg.log)
[ 13102.047] (II) LoadModule: "intel"
[ 13102.047] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 13102.047] (II) Module intel: vendor="X.Org Foundation"
[ 13102.047]    compiled for 1.18.0, module version = 2.99.917
[ 13102.047]    Module class: X.Org Video Driver
[ 13102.047]    ABI class: X.Org Video Driver, version 20.0
[ 13102.047] (II) LoadModule: "modesetting"
[ 13102.048] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 13102.048] (II) Module modesetting: vendor="X.Org Foundation"
[ 13102.048]    compiled for 1.18.0, module version = 1.18.0
[ 13102.048]    Module class: X.Org Video Driver
[ 13102.048]    ABI class: X.Org Video Driver, version 20.0
[ 13102.048] (II) LoadModule: "fbdev"
[ 13102.048] (WW) Warning, couldn't open module fbdev
[ 13102.048] (II) UnloadModule: "fbdev"
[ 13102.048] (II) Unloading fbdev
[ 13102.048] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 13102.048] (II) LoadModule: "vesa"
[ 13102.048] (WW) Warning, couldn't open module vesa
[ 13102.048] (II) UnloadModule: "vesa"
[ 13102.048] (II) Unloading vesa
[ 13102.048] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 13102.048] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
        i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
        915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
        Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
        GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 13102.048] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[ 13102.048] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[ 13102.048] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[ 13102.048] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 13102.048] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20150731
[ 13102.048] (II) intel(0): SNA compiled from 2.99.917-519-g8229390
[ 13102.049] (WW) Falling back to old probe method for modesetting
[ 13102.049] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics
[ 13102.049] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2; using a maximum of 2 threads
[ 13102.049] (II) intel(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[ 13102.049] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[ 13102.049] (==) intel(0): RGB weight 888
[ 13102.049] (==) intel(0): Default visual is TrueColor
[ 13102.049] (II) intel(0): Output VGA1 has no monitor section
[ 13102.049] (II) intel(0): Enabled output VGA1
[ 13102.049] (II) intel(0): Output HDMI1 has no monitor section
[ 13102.049] (II) intel(0): Enabled output HDMI1
[ 13102.049] (II) intel(0): Output HDMI2 has no monitor section
[ 13102.049] (II) intel(0): Enabled output HDMI2
[ 13102.049] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[ 13102.049] (II) intel(0): Output VIRTUAL1 has no monitor section
[ 13102.049] (II) intel(0): Enabled output VIRTUAL1
[ 13102.049] (--) intel(0): Output HDMI1 using initial mode 1920x1080 on pipe 0
[ 13102.049] (==) intel(0): TearFree disabled
[ 13102.049] (==) intel(0): DPI set to (96, 96)
[ 13102.049] (II) Loading sub module "dri2"
[ 13102.049] (II) LoadModule: "dri2"
[ 13102.049] (II) Module "dri2" already built-in
[ 13102.049] (II) Loading sub module "present"
[ 13102.049] (II) LoadModule: "present"
[ 13102.049] (II) Module "present" already built-in
[ 13102.049] (II) UnloadModule: "modesetting"
[ 13102.049] (II) Unloading modesetting
[ 13102.049] (==) Depth 24 pixmap format is 32 bpp
[ 13102.049] (II) intel(0): SNA initialized with Haswell (gen7.5, gt2) backend
[ 13102.050] (==) intel(0): Backing store enabled
[ 13102.050] (==) intel(0): Silken mouse enabled
[ 13102.050] (II) intel(0): HW Cursor enabled
[ 13102.050] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 13102.050] (==) intel(0): DPMS enabled
[ 13102.050] (==) intel(0): Display hotplug detection enabled
[ 13102.050] (II) intel(0): [DRI2] Setup complete
[ 13102.050] (II) intel(0): [DRI2]   DRI driver: i965
[ 13102.050] (II) intel(0): [DRI2]   VDPAU driver: va_gl
[ 13102.050] (II) intel(0): direct rendering: DRI2 enabled
[ 13102.050] (II) intel(0): hardware support for Present enabled
*****
Outside of Vesa and fbdev not being found, it seems ok with the Intel drivers being used.

Would you say I should go ahead and submit this to Xorg or is there an alternative that is already in existence?
I say it like that because KDE with wayland just isn't usable yet with my desktop. I've read it's really just meant for touch currently. My mouse weirded out when trying it.
It looks like Hawaii might be the nearest alternative with wayland if you might suggest I try that  route.
Comment 5 Antonio Rojas 2016-02-04 18:27:44 UTC
This is https://bugs.freedesktop.org/show_bug.cgi?id=92505
Comment 6 vindicator 2016-02-04 18:29:48 UTC
Thanks Antonio. I just was about to view that but saw https://bbs.archlinux.org/viewtopic.php?id=208252 first (which references the uxa in your link).
I now know where to focus. Thank's ya'll.
Comment 7 vindicator 2016-02-04 20:01:19 UTC
And FYI, the fix for me (which isn't a fix really) is to create the following file with section, then reboot. I've been able to switch Kodi to/from fullscreen with no issues.
It isn't a "fix" per-se because sna is meant to replace uxa, so you're really just using an older accelmethod.

/etc/X11/xorg.conf.d/20-intel.conf
Section "Device"
   Identifier  "Intel Graphics"
   Driver      "intel"
   Option     "Accel" "true"
   Option      "AccelMethod"     "uxa"
EndSection

And while I haven't tried, you could probably try setting "accel" to "false" and just not deal with any hardware acceleration. But so far I'm happy with uxa.