Skip to content

Font Rendering on Intel iGPU #2

@msprengholz

Description

@msprengholz

Hi,

when running the app on my rather old Intel iGPU (HD 620) the font is not rendered correctly. See the image below:

Image

When resizing the UI it sometimes becomes clearly readable, but only for a few seconds.

Everything apart from that seems to work: images of the example shaders are displayed correctly and the shaders themselves also appear to work fine.

In commit 808d769 the requirement for the Vulkan ray tracing extension was lifted. I also had to set the VK_KHR_FRAGMENT_SHADER_BARYCENTRIC_EXTENSION_NAME to not be required for the app to launch on the iGPU. For this I edited line 265 in src/sample_gui.cpp:
{.extensionName = VK_KHR_FRAGMENT_SHADER_BARYCENTRIC_EXTENSION_NAME, .feature = &barycentricFeatures, .required = false},

There is one example shader that should display a wireframe mesh, but I only get a black object instead. I guess this has to do with disabling the shader extension.
Could disabling the extension also have influenced the font rendering? Or is this issue unrelated to that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions