-
Notifications
You must be signed in to change notification settings - Fork 134
Unable to start Yavide #84
Comments
This may be a problem with Gnome - I've switched to Xfce4 and Yavide now launches successfully. May I ask what desktop you're using? Trying to determine if something else I've done may have caused it to start working. (Still on Fedora Core.) |
Just to make sure I understood you well, running plain gvim (without I'm using Fedora 26 (Xfce) at work and Fedora 27 (Gnome) at home. I haven't experienced any such issues that you're mentioning. Although I haven't restarted In the meanwhile what you can provide me is the |
In answer to your first question - correct. gvim by itself works fine, but when launching from YavIDE's configuration directory no window displays on two different distros (both using Gnome.) I created a gist for the
I'll switch over to Xfce now and see if changing nothing else results in it launching successfully. |
At this point it looks like something isn't playing nicely with Gnome on a fresh install. Simply switching to Xfce it works fine. I had thought perhaps the VirtualBox guest additions, 3d acceleration, and compiz that I installed may have been what got it to work last night on my other system - but none of that is required, it's just what I happened to do before switching over to Xfce. For what it's worth, here's the gist for the |
Sounds like a really strange issue. I'll have it a go on my Gnome system at home once I get back.
Do you get any details printed out at the cout in this case? |
Nope, nothing printing to cout. The first post outlines how I found the command being used to start yavide, and ran that manually with
That also turns out not to be relevant though - starting with Also I'd like to say that apart from this small Gnome issue, I'm quite liking |
Alright, now I have tried running The only difference as far as I can tell to your setup is that you are running your experiments on VMs whereas I run Linux natively. I am not sure though if that can make any difference ... I'm not sure how to go about debugging that issue further. Perhaps we can try running it with
Thanks, I'm glad you like it. However, I am hoping to release a major update of this code very soon. I am basically about to make two separate modules/repositories out of the current state of P.S. |
Ok, I've run strace and I think there appears to be issues connecting to the X socket - here's part of one of the logs created:
File descriptor 3 appears to be trying to connect to X via socket You pointed out that Wayland is the default on Fedora, so I'll try switching over to X.org - perhaps something in the configuration isn't working with Wayland. |
Switching over to Gnome on X.org works - Yavide launches without issue. So it appears that something isn't playing nice with Wayland - and the issue isn't present when launching Would you like me to upload the strace logs somewhere? There were several created, and it's about 84kb bzipped. Mostly they appear to be full of EPOLL and EAGAIN errors on file descriptor 3 (the X socket). |
This appears to happen because Can you please try running Also, you can check if running
My guess would be that it doesn't ... |
More investigations are leaving me confused but - I have found a solution, though I don't understand why it works. Firstly:
What does work:
So for some reason on Wayland gvim doesn't seem to create a window correctly, and giving it a window size solves the issue. I can't really think why this might be, or why it only happens when starting from yavide's configuration file. The
As I'm using VirtualBox's default configuration, only a small amount of VRAM is allocated (16Mb) which may be why the problem is visible on virtual machines. I installed VMWare Player and went to give that a try, but my system hard rebooted so something isn't playing nice there. This has been interesting to delve into, and we now have causes, solutions, and workarounds so I'm pretty happy. I'm wondering if the default window size can be lowered to alleviate the issue on virtual machines. |
Nice finding!
It is correct that Would you mind checking if bug is still there if you comment this line and restart
Yes, I'm glad it worked out for you but I think it would be interesting to report this buggy behavior to (G)Vim bug tracker.
Let's give it a try without |
That's exactly the cause right there - commenting out the line you specified results in yavide starting up correctly. Steps done:
Throughout, the I'm thinking that you're right - I'd guess it's an issue in gvim itself. Perhaps it fails to create the window and tries to fall back to X.org - but the window creation failure was not because X.org is being used, but the window size is too large to accommodate. Falling back to X.org in this case is erroneous because Wayland is being used, hence the I can probably put that one line into a |
Great, I'm glad we identified the culprit.
Yes, I suppose something along these lines is happening.
Sure. Let me know if you will need any further assistance. |
Uh oh!
There was an error while loading. Please reload this page.
The basic problem: launching yavide from Gnome or terminal, no window is displayed, ever.
I first tried this on a new install of Ubuntu 16.04, but due to repo's going missing I had to upgrade to 17.10.
After finding out Ubuntu doesn't use python2 support in their gvim, I recompiled my own from source and installed that, but despite the startup errors going away no window appears.
Figuring Ubuntu to be more trouble than it's worth, I installed the latest Fedora Core. After cloning and installing yavide, I'm met with the same issue again - launching yavide displays no Gvim window. If I launch from Gnome, I see a gvim process, but it has no windows. If I launch from terminal, no gvim process shows up.
Running with gvim -V, I found that there was an error message about
xsmp save-yourself request
, and found that starting with -X stopped that error, but still no window showing up.So far, I've used two completely different distros, and gotten the exact same issue. I've not been able to find any info in your FAQ or open/closed issues regarding this. At this point I'm stumped. Is there some other distro that works? An older version perhaps? I've debugged my fair share of vim issues, but no window displaying at all just stumps me.
EDIT: I grabbed the command being used to start yavide and was able to get most of it to start up in a terminal using vim rather than gvim, but the "servername" parameter apparently isn't supported and so parts of it do not work correctly.
The text was updated successfully, but these errors were encountered: