Closed sowbug closed 8 months ago
I am having a similar issue. In my case, there is no error on the console. I am running it on a Arch linux Gnome aarch64 machine. The same example is working fine on my AMD 5900X ubuntu desktop.
I encountered this issue on a system 76 machine, and was able to fix it for me by using the environment variable described here (under 'hybrid'): https://support.system76.com/articles/graphics-switch-pop
Perhaps there's a more general way for iced to request GPU rendering that applies here?
I met this issue on a fresh installation of Endeavour OS (Cassini Nova 03 2023 R1), an Arch based distro, with an AMD Radeon RX 580 graphics card.
The reason was a missing Vulkan driver. I fixed it by installing vulkan-radeon
as described in the Arch wiki.
It solved the problem immediately without requiring a restart. Also note that installing vulkan-icd-loader
was not necessary.
Now that we have renderer fallback at runtime, it'd be really nice if there was a way for Iced to notice this problem and to pick tiny-skia
even in this case.
Is there an existing issue for this?
Is this issue related to iced?
What happened?
This is my Framework laptop:
cargo run --package svg
vulkan: No DRI3 support detected - required for presentation Note: you can probably enable DRI3 in your Xorg config
nano /etc/X11/xorg.conf.d/20-intel.conf
, addOption "DRI" "3"
, and reboot.FWIW, it seems to work fine on my main machine, a Beelink SER4 on Ubuntu 20.04. That's a Ryzen 4700U. And I discovered the issue because my own Iced app, which displays SVGs, exhibits the same behavior (except the images are fixed size, so I can't poke them the way I can with the svg example app).
What is the expected behavior?
see above
Version
master
Operative System
Linux
Do you have any log output?
No response