You are not logged in.

#1 2015-03-01 12:49:33

ksu
Member
Registered: 2015-02-26
Posts: 55

Problems with X partially freezing

2 days ago I've setup Arch on a 64GB USB key, and everything seems to work decently except that I have problems with X and/or Xfce/kwin randomly freezing up. Since I'm a noob I've been doing everything according to the wiki. I haven't done anything out of the ordinary so far, except replacing xfwm4 with kwin in my Xfce environment (but that is not the cause for the freezes, more on that below)

So the freezes happen randomly, sometimes a few minutes after login, sometimes I can work for hours before it freezes. The freezes are usually caused by some kind of input, for example it happened after running "htop" or "nano" in a xfce4-terminal, or it happened while browsing with Chromium. When a freeze happens I can usually still interact with the window that "caused" the freeze, I can move my mouse etc. but I cannot interact with any other windows or the xfce4 panel anymore. I can still switch with Alt+Tab to other windows, but I cannot interact with them.

Here are some details about my Arch installation and system:
Installed on a USB key as per wiki and the "General recommendations" page with: Xorg, LightDM, Xfce4, NetworkManager, VGA drivers (all the major ones, as per wiki suggestion because I want this to be portable) + some apps like Chromium, SublimeText 3, and VLC. Later on I replace xfwm4 with kwin, but the freezes already started since running Xfce+xfwm. If I remember correctly, first thing I installed after running Xfce4 for the first time was Chromium and SublimeText 3, and when I started ST3 for the first time such a freeze occured for the first time. So "solve" a freeze I do: "sudo systemctl restart lightdm"

Hardware: Core i5, ATI HD5850, 8GB RAM

xf86-video-ati driver should be active ("lshw -c video" says "radeon" driver is active)

Here is an .xsession-errors.old from a previous freeze (freeze happened in a xfce terminal):

  GNU nano 2.2.6                                                                              File: .xsession-errors.old                                                                                                                                                                  


** (nm-applet:416): WARNING **: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was brok$

(xfdesktop:414): GLib-GIO-CRITICAL **: g_file_get_path: assertion 'G_IS_FILE (file)' failed

(xfdesktop:414): GLib-GIO-CRITICAL **: g_file_get_path: assertion 'G_IS_FILE (file)' failed

(xfdesktop:414): GLib-GIO-CRITICAL **: g_file_get_path: assertion 'G_IS_FILE (file)' failed

(xfdesktop:414): GLib-GIO-CRITICAL **: g_file_get_path: assertion 'G_IS_FILE (file)' failed

(xfdesktop:414): GLib-GIO-CRITICAL **: g_file_get_path: assertion 'G_IS_FILE (file)' failed

(xfsettingsd:445): xfsettingsd-WARNING **: Failed to get the _NET_NUMBER_OF_DESKTOPS property.
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
ATTENTION: default value of option force_s3tc_enable overridden by environment.
[682:682:0301/133827:ERROR:sandbox_linux.cc(301)] InitializeSandbox() called with multiple threads in process gpu-process
[650:650:0301/133828:ERROR:extension_downloader.cc(696)] Invalid URL: '' for extension nmmhkkegccagdldgiimedpiccmgmieda
[650:650:0301/133828:ERROR:CONSOLE(70)] "Uncaught Error: Attempting to use a disconnected port object", source: extensions::messaging (70)
[650:676:0301/134355:ERROR:channel.cc(258)] RawChannel read error (connection broken)
[650:676:0301/134625:ERROR:channel.cc(258)] RawChannel read error (connection broken)

(xfce4-terminal:637): Gdk-CRITICAL **: IA__gdk_window_get_events: assertion 'GDK_IS_WINDOW (window)' failed

(xfce4-terminal:637): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(xfce4-terminal:637): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(xfce4-terminal:637): Gdk-CRITICAL **: IA__gdk_window_get_events: assertion 'GDK_IS_WINDOW (window)' failed

(xfce4-terminal:637): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(xfce4-terminal:637): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(xfce4-terminal:637): Gdk-CRITICAL **: IA__gdk_window_get_events: assertion 'GDK_IS_WINDOW (window)' failed

(xfce4-terminal:637): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(xfce4-terminal:637): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(xfce4-terminal:637): Gdk-CRITICAL **: IA__gdk_window_get_events: assertion 'GDK_IS_WINDOW (window)' failed

(xfce4-terminal:637): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(xfce4-terminal:637): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(xfce4-terminal:637): Gdk-CRITICAL **: IA__gdk_window_get_events: assertion 'GDK_IS_WINDOW (window)' failed

(xfce4-terminal:637): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(xfce4-terminal:637): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(xfce4-terminal:637): Gdk-CRITICAL **: IA__gdk_window_get_events: assertion 'GDK_IS_WINDOW (window)' failed

(xfce4-terminal:637): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(xfce4-terminal:637): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(xfce4-terminal:637): Gdk-CRITICAL **: IA__gdk_window_get_events: assertion 'GDK_IS_WINDOW (window)' failed

(xfce4-terminal:637): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(xfce4-terminal:637): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(xfce4-terminal:637): Gdk-CRITICAL **: IA__gdk_window_get_events: assertion 'GDK_IS_WINDOW (window)' failed

(xfce4-terminal:637): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(xfce4-terminal:637): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(xfce4-terminal:637): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

xfce4-panel: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
xfce4-session: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Thunar: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
xfsettingsd: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.

(nm-applet:416): Gdk-WARNING **: nm-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.

ICE default IO error handler doing an exit(), pid = 544, errno = 11
ICE default IO error handler doing an exit(), pid = 406, errno = 11
xfce4-appfinder: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
wrapper: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
[650:650:0301/134915:ERROR:chrome_browser_main_extra_parts_x11.cc(56)] X IO error received (X server probably went away)
wrapper: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
xfdesktop: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
[682:682:0301/134915:ERROR:x11_util.cc(82)] X IO error received (X server probably went away)
xfce4-terminal: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
Application::crashHandler() called with signal 11; recent crashes: 1
KCrash: Application 'kwin_x11' crashing...
Invalid MIT-MAGIC-COOKIE-1 key/usr/bin/kwin_x11: FATAL ERROR while trying to open display :0.0

A Google  search for "Gdk-CRITICAL **: IA__gdk_window_get_events: assertion 'GDK_IS_WINDOW (window)' failed", and many people have experienced the exactly same freezes like me. but there is seriously no solution, or at least a hint to what might cause this problem!

How would I go about debugging this issue? Let me know if you need more information, I'm sure I forgot to mention something. Thanks in advance!

Offline

#2 2015-03-30 07:12:02

kang
Member
Registered: 2010-08-07
Posts: 83

Re: Problems with X partially freezing

try to set the hostname with hostnamectl set-hostname some-name

Offline

Board footer

Powered by FluxBB