You are not logged in.

#1 2013-11-17 17:33:06

toadicus
Member
Registered: 2012-03-13
Posts: 8

[workaround] gnome-shell won't start mono apps with gtk3-3.10.4

banshee-2.6.1-2, monodevelop-4.0.13-1, and Kerbal Space Program 0.22.0 will not launch from gnome-shell launchers or the run command dialog.  I don't get any errors (or any entries at all) in journalctl or dmesg; I just get the spinny "wait" circle for a bit and then nothing happens at all.  Kerbal Space Program which uses its own built-in version of mono, opens a window, but hangs before the splash screen draws and emits no log output.

When run from a bash prompt in a terminal window, both Kerbal Space Program and Banshee load as expected without any incident.  Monodevelop fires several warnings during startup, and then crashes immediately upon entering the welcome screen.  Log here: http://pastebin.com/4PrdtVMy

This was all working as recently as Friday.  I've tried rolling back as much of the upgrades I've run since then as I can, including Gnome 3.10.2->3.10.1, nVidia drivers, the Linux kernel, and glibc, all to no avail.  For good measure, here's a snippet of my pacman.log: http://pastebin.com/tvpgbpYq

Any thoughts?

UPDATE

It just occurred to me to downgrade gtk3 itself, which I noticed in the top of my pacman log.  This appears to have solved all of the above problems.  So, new problem: gtk3-3.10.4 breaks mono.  Downgrading gtk3-3.10.4-1 -> 3.10.3-1(all other packages current as of this morning's sync) works around the problems described above.

Last edited by toadicus (2013-11-17 17:38:48)

Offline

#2 2013-11-19 00:47:07

tiberiousr
Member
Registered: 2013-05-08
Posts: 18
Website

Re: [workaround] gnome-shell won't start mono apps with gtk3-3.10.4

I'm having the same problem in XFCE, monodevelop wouldn't even load its splash screen. I'm confused as to how this is possible as gtk3 isn't a dependency for any of the mono stuff.

Also curious is that my netbook running only i686 packages isn't affected by this issue so it's only 64bit systems that seem to be affected.

Update: I don't think this is a 64bit vs 32bit issue, see post below. It seems, at the moment at least, that it may be related to using nvidia-libgl instead of mesa-libgl.

Last edited by tiberiousr (2013-11-19 09:27:57)

Offline

#3 2013-11-19 09:17:40

tiberiousr
Member
Registered: 2013-05-08
Posts: 18
Website

Re: [workaround] gnome-shell won't start mono apps with gtk3-3.10.4

@toadicus: According to your pacman.log you're using nvidia-libgl, so is my desktop at home where the issues with mono also occur however I've just run a complete update on my laptop at work that uses mesa-libgl:

$ pac-search libgl | grep installed
extra/libglade 2.6.4-5 [installed]
extra/mesa 9.2.3-2 [installed]
extra/mesa-libgl 9.2.3-2 [installed]
community/bumblebee 3.2.1-3 [installed]
multilib/lib32-mesa 9.2.3-1 [installed]
multilib/lib32-mesa-libgl 9.2.3-1 [installed]

And monodevelop works fine, the only difference between the two systems in terms of the monodevelop dep tree that I know of is the package that provides libgl as a dependency of mono:

$ pactree monodevelop
...
│ │ │ │   └─libffi
│ │ │ ├─mesa-libgl provides libgl
│ │ │ │ └─mesa
...

It comes under cairo, which is a dep of libgdiplus which is a dep of mono itself and a libgl provider is also a dependency of gtk3. I'm at work at the moment but I'll try replacing nvidia-libgl with mesa-libgl when I get home tonight and report back the results.

Last edited by tiberiousr (2013-11-19 10:10:46)

Offline

#4 2013-11-20 15:31:04

famksn6
Member
Registered: 2013-04-22
Posts: 2

Re: [workaround] gnome-shell won't start mono apps with gtk3-3.10.4

For now, mono is working properly in the Nouveau driver that uses mesa-libgl.

Offline

#5 2013-11-20 19:51:28

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,163
Website

Re: [workaround] gnome-shell won't start mono apps with gtk3-3.10.4

toadicus wrote:

It just occurred to me to downgrade gtk3 itself, which I noticed in the top of my pacman log.  This appears to have solved all of the above problems.  So, new problem: gtk3-3.10.4 breaks mono.  Downgrading gtk3-3.10.4-1 -> 3.10.3-1(all other packages current as of this morning's sync) works around the problems described above.

tiberiousr wrote:

I'm having the same problem in XFCE, monodevelop wouldn't even load its splash screen. I'm confused as to how this is possible as gtk3 isn't a dependency for any of the mono stuff.

I'm quite happily using banshee and monodevelop with gtk3-3.10.4-1 in Cinnamon and everything is working fine, so I don't think it's specifically a gtk3 issue.

tiberiousr wrote:

I don't think this is a 64bit vs 32bit issue, see post below. It seems, at the moment at least, that it may be related to using nvidia-libgl instead of mesa-libgl.

I would say this is more likely to be the cause, as I am on an AMD card and using catalyst-utils (the libgl provider for AMD Catalyst, so it tells me).


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#6 2013-11-20 21:32:16

tiberiousr
Member
Registered: 2013-05-08
Posts: 18
Website

Re: [workaround] gnome-shell won't start mono apps with gtk3-3.10.4

It's definitely nvidia-libgl.

I installed bumblebee on my desktop (this is a weird work-around but bear with me) because it provides the nvidia-libgl package while actually installing the mesa-libgl package. I then rebooted and everything works perfectly.

Offline

#7 2013-11-21 06:28:48

famksn6
Member
Registered: 2013-04-22
Posts: 2

Re: [workaround] gnome-shell won't start mono apps with gtk3-3.10.4

libgdiplus has been updated to 2.10.9-3.
Monodevelop can now be launched from a terminal, but still doesn't start from a gnome-shell launcher.

Monodevelop no longer works.

(x86_64, NVIDIA driver)

Last edited by famksn6 (2013-11-25 07:26:50)

Offline

#8 2013-11-26 11:42:14

DHIL
Member
Registered: 2013-11-26
Posts: 1

Re: [workaround] gnome-shell won't start mono apps with gtk3-3.10.4

I can confirm the issue. I have computers running arch linux. I am experiencing the same thing on my computer which has the nvidia driver and cinnamon/gnome-shell installed. But there is no problem on the other one which has the intel driver and openbox installed. They are fully updated respectively.
Strangely enough, I can launch monodevelop by using impersonation:

$ sudo -u <my_username> monodevelop

Impersonating my own user "solves" the problem for me. However I do not think this solution is ideal, but I have yet to discover the cause of the problem.


"An algorithm must be seen to be believed."
    -- Donald E. Knuth [Art of Computer Programming, Volume 1: Fundamental Algorithms, 1997]

Offline

#9 2013-12-02 21:19:42

eigengrau
Member
Registered: 2013-09-19
Posts: 43

Re: [workaround] gnome-shell won't start mono apps with gtk3-3.10.4

I can confirm this appears to be Nvidia related. My ATI based system at work doesn't show this problem, while my Nvidia based system at home won't launch tomboy via the GNOME shell.

Has any of you filed this somewhere already? I was a bit baffled on where to take this issue, since the applications start up fine when launching them via the terminal.

Offline

#10 2013-12-03 22:37:29

adolson
Member
Registered: 2013-11-22
Posts: 6

Re: [workaround] gnome-shell won't start mono apps with gtk3-3.10.4

I believe I'm having the same issues as you guys. It's very inconsistent, though. I am using Cinnamon, 64-bit Arch. NVIDIA proprietary drivers.

I can run monodevelop from a terminal, no problem, GUI stays open, etc. It won't show up if run from the menu launcher, though it does show to be running in top...
If I log in as a different user on my system and launch it from a terminal, it opens for a couple seconds and then closes...

Similar problem with a mono game on Steam - Hammerwatch...

Running Steam from a menu icon (or Alt+F2), try launching the game, no dice.

Run Steam from a terminal and launch the game, and it doesn't work... unless I add some Launch Options (LD_LIBRARY_PATH=:/usr/lib/mono %command%) - then it works fine.

So I try running Steam from a menu icon again, and put the Launch Options in. Still doesn't work! WTF?

Run the game manually in a terminal, and it's fine.

If this stuff is a problem related to NVIDIA, the question I have is why do things work when launched from a terminal window? That wouldn't magically change libgl from nvidia to mesa now, would it?

Offline

#11 2013-12-04 01:51:15

jpsimard
Member
Registered: 2011-04-15
Posts: 41

Re: [workaround] gnome-shell won't start mono apps with gtk3-3.10.4

I have the same problem, which only exist on my desktop with Nvidia card, as my laptop is using an intel video card.

That being said, is this worthy of reporting as a bug? Did any of your file a bug report? And since this is Nvidia related, is it an upstream problem?

Offline

#12 2013-12-05 10:29:21

eigengrau
Member
Registered: 2013-09-19
Posts: 43

Re: [workaround] gnome-shell won't start mono apps with gtk3-3.10.4

This has been recently filed at https://bugzilla.gnome.org/show_bug.cgi?id=719891

Perhaps a developer is better able to tell whether this is a sole driver issue or a problem in GNOME shell.

Offline

#13 2013-12-05 14:19:23

jpsimard
Member
Registered: 2011-04-15
Posts: 41

Re: [workaround] gnome-shell won't start mono apps with gtk3-3.10.4

eigengrau wrote:

This has been recently filed at https://bugzilla.gnome.org/show_bug.cgi?id=719891

Perhaps a developer is better able to tell whether this is a sole driver issue or a problem in GNOME shell.

I wouldn't think this has anything to do with gnome shell, as I'm using XFCE and so is Tiberiousr. My laptop is also XCFE, but since it has a intel card it's not using nvidia-libgl, and everything is fine. I can confirm that using Bumblebee on my desktop, which doesn't use nvidia-libgl but mesa-libgl, also corrects the problem.

So this is nvidia-libgl problem. My question is this: Is this some problem that can be corrected with packagin, or is this a problem Nvidia needs to correct?

Offline

#14 2013-12-05 14:33:00

jpsimard
Member
Registered: 2011-04-15
Posts: 41

Re: [workaround] gnome-shell won't start mono apps with gtk3-3.10.4

I sent a bug report to linux-bugs@nvidia.com. If they ever respond, I'll post relevant information here.

EDIT: So I'm in contact, and someone is checking things out. Stay tuned.

Last edited by jpsimard (2013-12-05 15:55:01)

Offline

#15 2013-12-05 20:06:51

drwin
Member
Registered: 2013-11-21
Posts: 4

Re: [workaround] gnome-shell won't start mono apps with gtk3-3.10.4

Switching to the nvidia-304xx instead of the nvidia (331.20) packages has worked around the problems for me for now.

Offline

#16 2013-12-06 17:55:06

jpsimard
Member
Registered: 2011-04-15
Posts: 41

Re: [workaround] gnome-shell won't start mono apps with gtk3-3.10.4

I don't know about you guys, but the recent update of gtk3 to 3.10.6 has fixed the problem for me.

Offline

#17 2013-12-09 16:41:56

eigengrau
Member
Registered: 2013-09-19
Posts: 43

Re: [workaround] gnome-shell won't start mono apps with gtk3-3.10.4

I still experience this on gtk3 3.10.6. Anyone else, or is it resolved for most of you now?

And I have a tiny suspicion this might not be restricted to Mono apps. I have a bug when autolaunching guake that also does not pop up when launching guake from a terminal, and it doesn't come up on my Intel machine. See https://bbs.archlinux.org/viewtopic.php?pid=1357725 . Did anyone else see something similar with non-Mono software?
Edit: This turned out to be a red herring. The guake problems looked the same but were due to a shell extension. Still having the Mono bug on 3.10.6, though

Last edited by eigengrau (2013-12-09 17:59:42)

Offline

#18 2013-12-11 01:11:49

jpsimard
Member
Registered: 2011-04-15
Posts: 41

Re: [workaround] gnome-shell won't start mono apps with gtk3-3.10.4

Well, things were fine for the last few days, but I got problems with gnome-do and banshee just now. I have no idea why the problem disappeared, no more than why it came back.

As for other non-mono software, xcfe4-terminal also has some odd behavior, most noticeable while using htop in it and resizing. But you have to pay real attention to notice the problem.

The rub is that I told the guy at nvidia that all appeared fine, and I'll look like a total loon writing back saying, "never mind, the crap is back".

EDIT: Damn'it, just as I was trying to get a backtrace with gdb, as was requested by the nvidia guy, the problem is gone again. Both banshee and gnome-do, which are affected by the problem, now run perfectly again. The problem is intermittent on my system. What is causing the problem appearance or disappearance is beyond me.

Last edited by jpsimard (2013-12-11 02:07:42)

Offline

#19 2013-12-13 09:12:27

eigengrau
Member
Registered: 2013-09-19
Posts: 43

Re: [workaround] gnome-shell won't start mono apps with gtk3-3.10.4

As of Firefox 26.0, I'm also seeing weird behavior there, again contingent upon whether I start Firefox from the shell or from the terminal. In the former case, the Firefox window will just vanish into thin air after loading, and there's no mention of a segfault in the gnome-session logs. When run from the terminal it all works fine. o_o Is anyone else seeing this with Firefox now?

@jpsimard, where'd you report this at nvidia? Do you have a forum link, or was it via e-mail?

Offline

#20 2013-12-13 22:33:55

jpsimard
Member
Registered: 2011-04-15
Posts: 41

Re: [workaround] gnome-shell won't start mono apps with gtk3-3.10.4

It was by email at linux-bugs@nvidia.com, and they want you to run "nvidia-bug-report" and attacht the ouput to the file.

You might as well do it too, as the problem is sporadic at best on my system. I'm using banshee, that I started with gnome-do, both working fine. They did bug out about an hour ago, which is really frustrating since I can't really repeat the problem when to produce a backtrace. In any case, it would be a miracle if a solution is found on my machine when the problem only exist when it feels like it. So someone with a more constant problem should take over.

That being said, firefox has never exhibited any odd behavior, even now, as I'm using it to write this.

Offline

#21 2013-12-18 08:48:41

eigengrau
Member
Registered: 2013-09-19
Posts: 43

Re: [workaround] gnome-shell won't start mono apps with gtk3-3.10.4

This also seems to be "tracked" here. I'll try and see if I get some debug info on my machine. The bug with mono applications not starting up triggers pretty much all the time for me.

Also I switched over to nouveau yesterday and it completely resolved both the problems with Mono, with zombified processes, and with Firefox. Sadly automatic fan speed and clock control are still not really working in nouveau, so I'm forced to stick with the blob for now.

Offline

Board footer

Powered by FluxBB