-
Notifications
You must be signed in to change notification settings - Fork 89
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
Panic on Linux (Arch) when attempting to use multiple windows #401
Comments
Same (but Fedora Linux, KDE/X11, radeon). I'm guessing this is the source panic:
which is a panic: let ic = (x_events_loop.display.xlib.XCreateIC)(im,
b"inputStyle\0".as_ptr() as *const _,
ffi::XIMPreeditNothing | ffi::XIMStatusNothing, b"clientWindow\0".as_ptr() as *const _,
win.id().0, ptr::null::<()>());
if ic.is_null() {
panic!("XCreateIC failed");
} |
The same occurs on Ubuntu 17.10 (running X11 on i3). This appears to be a |
@dhardy note that you were running winit 0.10.0, at which point in history, this was line 971: https://github.com/tomaka/winit/blob/198d9ff230d8fb8de0d5103d9fa40cee1f55c368/src/platform/linux/x11/mod.rs#L971 (I suspect it was actually the Anyway, could you try here: https://github.com/francesca64/piston-examples |
When attempting to run multi_window, or any derivative code that attempts to create more than one window, the following panic occurs:
Weirdly, the example does "run" very briefly, and all the windows all show up onscreen for a moment. It seems like the actual window creation is succeeding, and the program dies somewhere in the event loop. I've tried switching the OpenGL context to no avail; I can get it to fail earlier with OpenGL contexts my system can't run, but I haven't found a WindowSettings that works for multi_window.
This only occurs with multiple windows; all the other examples and my own projects compile and run fine if I use only a single window.
I'm running Arch Linux, with the LightDM desktop manager under X Server (not Wayland as far as I can tell) and am running the Cinnamon desktop environment. Graphics card is a GeForce 730, but I get similar behavior on my work laptop, which is running Intel graphics. On this particular system I'm running official nVidia drivers, version 384.69.
I've attached my glxinfo if that's helpful, and will be happy to provide any additional info.
glxinfo.txt
The text was updated successfully, but these errors were encountered: