You are not logged in.

#1 2014-06-17 10:29:11

rabcor
Banned
Registered: 2013-02-09
Posts: 500

[Bug] Several Applications Hang (Unkillable)

Update: A kernel setting "CONFIG_INTEL_IOMMU_DEFAULT_ON=y" caused this problem.

I've got both google chrome (stable) and firefox installed on my system. They are both showing odd behavior. My DE/WM is Enlightenment (18.8).

What happens is that I can launch both of them, once. I can then close them like I normally would; but the process will not end (and killlall -9 doesn't stop the process either) then when I try to launch them again:

Chrome: Opens as a completely transparent window (cannot be used)

[1027:1027:0617/101808:ERROR:component_loader.cc(138)] Failed to parse extension manifest.
[1027:1027:0617/101808:ERROR:desktop_window_tree_host_x11.cc(1289)] Not implemented reached in void views::DesktopWindowTreeHostX11::MapWindow(ui::WindowShowState)
[1061:1066:0617/101818:ERROR:gpu_watchdog_thread.cc(253)] The GPU process hung. Terminating after 10000 ms.

After this I can try to kill it.

$ ps aux | grep chrome
rabcor     601  0.0  0.0      0     0 ?        DN   10:14   0:00 [chrome]
rabcor    1061  0.0  0.1 351092 45444 pts/3    DNl  10:18   0:00 /opt/google/chrome/chrome --type=gpu-process --channel=1027.0.107931899 --supports-dual-gpus=false --gpu-driver-bug-workarounds=1,13,19,22,39 --disable-accelerated-video-decode --gpu-vendor-id=0x10de --gpu-device-id=0x1244 --gpu-driver-vendor=NVIDIA --gpu-driver-version=337.25
rabcor    1113  0.0  0.0  11768  1104 pts/3    SN+  10:19   0:00 grep chrome

$ killall -9 chrome
$ps aux | grep chrome

rabcor     601  0.0  0.0      0     0 ?        DN   10:14   0:00 [chrome]
rabcor    1061  0.0  0.1 351092 45444 pts/3    DNl  10:18   0:00 /opt/google/chrome/chrome --type=gpu-process --channel=1027.0.107931899 --supports-dual-gpus=false --gpu-driver-bug-workarounds=1,13,19,22,39 --disable-accelerated-video-decode --gpu-vendor-id=0x10de --gpu-device-id=0x1244 --gpu-driver-vendor=NVIDIA --gpu-driver-version=337.25

It is also worth noting that chrome is configured to "continue where I left off" but after a reboot (only way for me to restart the browser) it will fail to do so (as in it is not correctly registering my sessions)

Firefox: Displays a bright grey window with no content in it (blank GTK window basically)

(process:1160): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed

That is the only error message it gives me and it does this when it runs successfully too. Attempting to kill it gives the same results as with chrome (process remains)

nvidia-settings also shows similar behavior (no error at all) and hangs like the former two. (It is GTK2 based). The MPV media player also does this (I can run it once, but not twice) and it absolutely will not be killed.

I highly suspect this problem is somehow related to GTK2 as that is what firefox, chrome and nvidia-settings have in common, but MPV is an odd one out.

Last edited by rabcor (2014-06-19 15:06:56)

Offline

#2 2014-06-17 12:12:05

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [Bug] Several Applications Hang (Unkillable)

My guess (only a guess) is it's a video card or video driver issue.

Do things work better if you use Openbox? That will rule out Enlightenment as the problem.

What video card are you using? I assume you're using the latest version of the Nvidia drivers (because Arch Linux is awesome like that).

If there's some way to start Firefox, you can try disabling "Use accelerated graphics" from the preferences window. Does that make a difference?

What video out ("--vo") setting are you using with mpv? Does it work with "--vo xv" or anything else?

Finally, is everything awesome if you use the nouveau driving instead of the Nvidia driver?

Offline

#3 2014-06-17 12:43:06

rabcor
Banned
Registered: 2013-02-09
Posts: 500

Re: [Bug] Several Applications Hang (Unkillable)

Well, I'm not going through that again to try nouveau, but either way it seems you were dead on!

Running mpv with --vo xv worked great, running without specifying --vo defaulted to vdpau (which results in my error)

Running opengl or opengl-hq results in a segfault so the player crashes before it plays anything.

Any ideas how to fix this?

Last edited by rabcor (2014-06-17 12:43:38)

Offline

#4 2014-06-17 12:52:38

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [Bug] Several Applications Hang (Unkillable)

What video card are you using?

Offline

#5 2014-06-17 13:21:17

rabcor
Banned
Registered: 2013-02-09
Posts: 500

Re: [Bug] Several Applications Hang (Unkillable)

Nvidia GeForce GTX 550-Ti (Fermi)

Might be worth mentioning that I also have a GTX 670 (Kepler) bound to vfio-pci and a VGA Arbitration patch for nvidia.

Last edited by rabcor (2014-06-17 13:23:41)

Offline

#6 2014-06-18 09:45:51

rabcor
Banned
Registered: 2013-02-09
Posts: 500

Re: [Bug] Several Applications Hang (Unkillable)

I've found that the problem seems to be associated with the kernel. (I had a patched kernel, I tried installing the default one and it worked)

Last edited by rabcor (2014-06-19 14:59:59)

Offline

#7 2014-06-19 14:59:23

rabcor
Banned
Registered: 2013-02-09
Posts: 500

Re: [Bug] Several Applications Hang (Unkillable)

I found out that the problem was actually not associated with a patch as I had formerly thought, it is a kernel setting.

CONFIG_INTEL_IOMMU_DEFAULT_ON=y

or in grub cmdline

intel_iommu=on

Last edited by rabcor (2014-06-19 15:00:18)

Offline

#8 2015-04-06 13:08:08

ramnes
Member
Registered: 2015-04-06
Posts: 1

Re: [Bug] Several Applications Hang (Unkillable)

intel_iommu in Grub fixed it for me too, thanks!

Offline

Board footer

Powered by FluxBB