-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Application closes immediately after launched on Linux #589
Comments
Is there any output? can you paste the error if so?
Can you try running the program with |
No output at all in the terminal either. Runs the application, another terminal pops up really fast, and nothing.
I ran it with
What should I look for in the full output? |
@hecrj is there some kind of tracing/logging enabled across the library to allow debugging this issue? Any suggestions? |
@sum-elier The |
Same here, adding |
@hecrj after adding a logging crate looks like the problem is related to |
What graphics stack are you using? |
@twitchyliquid64 Not sure, how do I find out? I am under Ubuntu using X11, is that what you need? |
Tell us about your window manager, setup, graphics card, paste the output of |
Window manager: Gnome 3.38.1
glxinfo output (only for VMware case, should be the same for normal boot): gist |
@twitchyliquid64 Do you need more information? I've been unable to debug the cause of the problem yet. |
Does this happen when both booting linux in VMWare and on native hardware? Can you run it with strace normally and post the output (ie: in a gist). It should be insanely long, but thats good. Im surprised theres no 'error' of any kind. Usually something will be printed to the console. Or in the case of a graphics driver bug you can hit wierd behavior or lockups. |
Yes, it happens in both. Strace of native hardware execution here and for vm execution here Could this be related to parasyte/pixels#36? |
I don't think your terminal is working properly, as we can see that the program is trying to print a
Next steps would be to fix your terminal / however you are running it, so you can see what that error message is. |
I'm pretty sure that it is the previous error: |
Hold up, im mistaken, stderr is fd No idea why its going to fd 3 ... |
And do you have vulkan drivers installed? |
Yes I think. I installed vulkan-tools and vulkan-utils. Is that? |
A quick google suggests nouveau does not support vulkan. |
Uh looks like that might be the cause. I'll try to compile it in another system with vulkan support |
Is it possible to run on Linux inside VMWare(with 3d acceleration on)?
|
I am trying to run my application compiled in Ubuntu and I can't get it working. If launched by double clicking the application it just says mentions something like:
Event though the file already has execution permission with
chmod +x app
. If I run it through the console, it appears to work but closes immediately. No GUI interface is shown at all.I installed a panic hook but there's no panic going on, it closes without explanation.
When compiling and running on Windows it works fine.
Is there any mechanism in Iced to debug this kind of error?
The text was updated successfully, but these errors were encountered: