Skip to content

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

@AaronFriel

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:

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