veloren/Airshipper

"Antialiasing: false" causes integrated GPU to be picked without Vulkan support

Tarnadas opened this issue · 1 comments

Describe the bug
I'm on Pop!_OS with an integrated Intel GPU and an external Nvidia GPU with vendor drivers.
I cannot start Airshipper at all, since Iced will pick my integrated Intel GPU, which has no support for Vulkan.

I found this in your source code:

// client/src/gui/mod.rs
        // https://github.com/hecrj/iced/issues/537
        antialiasing: false,

So apparently this fixes some invisible fonts, but unfortunately according to this comment, antialiasing needs to be set to true so that my Nvidia GPU will be picked.

I'm in a deadlock here. Is there maybe some other way to fix the invisible fonts or replace the font with another one?

I'm on an integrated amd gpu which has this invisible fonts issue and that's why I've done this. Hmm I guess there's not any clean way to do this other than like an env var to allow you to override the default behaviour. Hopefully as iced and wgpu matures these things get properly fixed.