Skip to content

Dependency on XFree86-VidModeExtension fails with remote X, Wayland #291

Closed

Description

@AaronFriel

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

  1. Ralith commented on Sep 21, 2017

    @Ralith
    Contributor

    Is this still true with winit 0.8? I think we removed any actual use of that extension with #270.

  2. AaronFriel commented on Sep 21, 2017

    @AaronFriel
    Author

    That's wonderful to hear! Is winit 0.8 published?

  3. elinorbgr commented on Sep 21, 2017

    @elinorbgr
    Contributor

    It was a few hours ago. 😉

    edit: no wait, I'm too optimistic : #290

  4. AaronFriel commented on Sep 21, 2017

    @AaronFriel
    Author

    Awesome, I pulled winit and used the Cargo patch feature to use it to build alacritty and I'm getting build errors in glutin, is that expected?

  5. tomaka commented on Sep 21, 2017

    @tomaka
    Contributor

    is that expected?

    Winit 0.8 contains breaking changes, so yes.

  6. francesca64 commented on Apr 8, 2018

    @francesca64
    Member

    @AaronFriel can this issue be closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions