-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Panic when running any of the examples under Linux Intel GPU #69
Comments
Thanks for the report! Could you provide the output of |
Here is it:
|
Thanks! I believe those fonts should work fine. I forgot we are also currently loading a mono font for the overlay view. Sorry. Could you provide the output of |
Sure:
I guess that's where it breaks. |
I changed the preferred monospace font to something else (Noto Mono) and now it starts correctly. |
@Dremon Glad to know! And yes, OpenType fonts are not completely supported by We may be able to fix this by contributing to Thank you again for the report :) |
I also have this issues, as all my fonts are OpenType fonts, specifically I believe these fonts are from KDE which is my desktop environment on Arch Linux. |
Same issue.
|
Sorry to hear that. This is one of the main reasons I think having a renderer alternative is important. In the meantime, maybe we could avoid panicking in |
I have opened #74, which should fix the issue. |
when I use unicode text:
|
the unicode |
@FuGangqiang We do not support font fallback nor text shaping yet! This is being tracked in #33. |
thanks for remind |
I am really interested in using this UI library, but I the same (?) error as posted by dremon.
Does this mean that the DejaVu fonts are not supported? |
@hanckmann |
I just checked out the latest version from master and tried to compile/run it.
My system info: If there is any more info you need, just let me know! |
@hanckmann Thanks for the trace. This is not exactly the same issue, as it's not font related.
I am aware the panic message does not help much (the issue for that is gfx-rs/wgpu#368). I would try to make sure your Vulkan drivers are installed correctly: Vulkan - ArchWiki. Even if that does not fix the issue, I am working on a renderer alternative that should be able to fallback to software mode in these cases. |
You are right, it is indeed due to not having installed the vulkan driver. Thanks for the hint, but yes... the error message is not very helpful at all. |
I'm getting this also on linux. The error message tells nothing, but the extended stack says its
Edit: okay the fix for arch linux is to install |
Also run into this problem with latest source code
|
After read #422 , I can run with this kind of command: cargo run --features glow --package todos |
Environment:
openSUSE Tumbleweed, kernel 5.3.11.
KDE Plasma 5.17.3
System font: Noto Sans
Mesa DRI Intel(R) HD Graphics 620 (Kaby Lake GT2)
Mesa 19.2.4
Vulkan Instance Version: 1.1.127
Running
cargo run --example tour
causes panic with the following stack trace (snipped):The text was updated successfully, but these errors were encountered: