You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Dependency on XFree86-VidModeExtension fails with remote X, Wayland #291
As described in title, I'm finding that virtually no Rust compiled window applications work with a setup that otherwise works perfectly for me: X remoting from a virtual machine or Windows Services for Linux to a host X server.
Using this set up I can run:
Visual Studio Code
Atom
Chrome
Firefox
Hyper / xterm.js / etc.
Other OpenGL API using applications (e.g.: xgears)
Virtually anything
But I cannot run:
alacritty
piston
conrod
amethyst
et al.
Since virtually the entire Rust graphical application ecosystem depends on winit and glutin to draw windows, I get errors like this:
friel@Ziggurat:/mnt/x/c/gh/alacritty$ cargo run --release
Finished release [optimized + debuginfo] target(s) in 0.31 secs
Running `target/release/alacritty`
Xlib: extension "XFree86-VidModeExtension" missing on display ":0.0".
Alacritty encountered an unrecoverable error:
There was an error initializing the shaders: failed compiling shader:
Activity
Ralith commentedon Sep 21, 2017
Is this still true with winit 0.8? I think we removed any actual use of that extension with #270.
AaronFriel commentedon Sep 21, 2017
That's wonderful to hear! Is winit 0.8 published?
elinorbgr commentedon Sep 21, 2017
It was a few hours ago. 😉
edit: no wait, I'm too optimistic : #290
AaronFriel commentedon Sep 21, 2017
Awesome, I pulled
winitand used the Cargo patch feature to use it to buildalacrittyand I'm getting build errors inglutin, is that expected?tomaka commentedon Sep 21, 2017
Winit 0.8 contains breaking changes, so yes.
francesca64 commentedon Apr 8, 2018
@AaronFriel can this issue be closed?
Merge next back to dev branch (rust-windowing#305)