Skip to content
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

[Linux] crash on startup - X11 error "BadDrawable (invalid Pixmap or Window parameter)" #183

Open
SumianVoice opened this issue Jun 29, 2022 · 0 comments

Comments

@SumianVoice
Copy link

Getting an X11 error code 9
I followed the steps on the Veloren site:
image
I also tried manually downloading the launcher from this link (https://github.com/veloren/airshipper/releases/latest/download/airshipper-linux.tar.gz) and running it console. Both times the same error occurs, which is printed to the terminal.

The application renders my left screen and then goes to my main display which is on the right, and looks like this:
image
Clicking on it will end the process, but the errors seem to show up on startup.

Error from terminal:

/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=airshipper net.veloren.airshipper
[INFO] Loading Wayland library to get the current display
[INFO] Loading X11 library to get the current display
[INFO] Using default platform
[INFO] Display vendor "NVIDIA", version (1, 5)
[INFO] 	Trying native-render
[WARN] No config found!
[INFO] 	Trying presentation
[INFO] 	EGL context: +robust access
[INFO] 	EGL context: +surfaceless
[INFO] 	EGL surface: +srgb
[INFO] Vendor: NVIDIA Corporation
[INFO] Renderer: NVIDIA GeForce GTX 1660 Ti/PCIe/SSE2
[INFO] Version: OpenGL ES 3.2 NVIDIA 510.73.05
[INFO] SL version: OpenGL ES GLSL ES 3.20
[INFO] Private capabilities: PrivateCapabilities { flip_y_requires_shift: true, imageless_framebuffers: true, image_view_usage: true, timeline_semaphores: true, texture_d24: false, texture_d24_s8: false, non_coherent_map_mask: 63 }
[ERROR] X11 error: XError {
    description: "BadDrawable (invalid Pixmap or Window parameter)",
    error_code: 9,
    request_code: 149,
    minor_code: 4,
}
[ERROR] X11 error: XError {
    description: "BadDrawable (invalid Pixmap or Window parameter)",
    error_code: 9,
    request_code: 149,
    minor_code: 4,
}
[ERROR] X11 error: XError {
    description: "BadDrawable (invalid Pixmap or Window parameter)",
    error_code: 9,
    request_code: 149,
    minor_code: 4,
}
[ERROR] X11 error: XError {
    description: "BadDrawable (invalid Pixmap or Window parameter)",
    error_code: 9,
    request_code: 149,
    minor_code: 4,
}
[ERROR] X11 error: XError {
    description: "BadDrawable (invalid Pixmap or Window parameter)",
    error_code: 9,
    request_code: 149,
    minor_code: 4,
}
[ERROR] X11 error: XError {
    description: "BadDrawable (invalid Pixmap or Window parameter)",
    error_code: 9,
    request_code: 149,
    minor_code: 4,
}
[ERROR] X11 error: XError {
    description: "BadDrawable (invalid Pixmap or Window parameter)",
    error_code: 9,
    request_code: 149,
    minor_code: 4,
}
[ERROR] X11 error: XError {
    description: "BadDrawable (invalid Pixmap or Window parameter)",
    error_code: 9,
    request_code: 149,
    minor_code: 4,
}
[ERROR] X11 error: XError {
    description: "BadDrawable (invalid Pixmap or Window parameter)",
    error_code: 9,
    request_code: 149,
    minor_code: 4,
}
[ERROR] X11 error: XError {
    description: "BadDrawable (invalid Pixmap or Window parameter)",
    error_code: 9,
    request_code: 149,
    minor_code: 4,
}
[ERROR] Airshipper panicked: 

Failed to unfocus input context: XError { description: "BadDrawable (invalid Pixmap or Window parameter)", error_code: 9, request_code: 149, minor_code: 4 }: panicked at 'Failed to unfocus input context: XError { description: "BadDrawable (invalid Pixmap or Window parameter)", error_code: 9, request_code: 149, minor_code: 4 }', /run/build/airshipper/cargo/vendor/winit/src/platform_impl/linux/x11/event_processor.rs:945:30
thread 'main' panicked at 'Failed to unfocus input context: XError { description: "BadDrawable (invalid Pixmap or Window parameter)", error_code: 9, request_code: 149, minor_code: 4 }', /run/build/airshipper/cargo/vendor/winit/src/platform_impl/linux/x11/event_processor.rs:945:30
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant