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

Rust Application Demo not launching (due to winit error) #445

Open
robotman40 opened this issue May 14, 2024 · 4 comments
Open

Rust Application Demo not launching (due to winit error) #445

robotman40 opened this issue May 14, 2024 · 4 comments

Comments

@robotman40
Copy link

2024-05-14T23:09:02.104691Z INFO winit::platform_impl::platform::x11::window: Guessed window scale factor: 1 thread 'main' panicked at /home/user/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/3cfc5c1/iced/tiny_skia/src/window/compositor.rs:56:10: Create softbuffer surface for window: PlatformError(Some("Visual 0x88 does not use softbuffer's pixel format and is unsupported"), None) note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

I am not sure what to do here, but has anyone run into this kind of issue? If so, could anyone give me advice. Thanks!

@wiiznokes
Copy link
Contributor

Yes, I think it's a bug in softbuffer. It is only present on x11

@robotman40
Copy link
Author

Yes, I think it's a bug in softbuffer. It is only present on x11

Do you know if this is being worked on?

@wiiznokes
Copy link
Contributor

@psychon
Copy link

psychon commented Jun 1, 2024

Winit issue about incorrect usage of softbuffer (even though nothing in the bug explicitly says so): rust-windowing/winit#3646

Another winit issue about the same problem: rust-windowing/winit#3701

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

3 participants