Open sdercolin opened 1 year ago
Does this show the text?
fun main() = singleWindowApplication(
state = WindowState(
size = DpSize(400.dp, 800.dp)
)
) {
Text("Hello")
}
Tried. The text is still not displayed.
We're going to need something more to go on, since it's obviously a unique case. Can you think of any reason (other than the locale) that particular PC won't render compose text?
I think it looks like similar to #214, but it's already solved 🤔 Not sure if related but this device is AMD CPU, which is somehow rare..
Maybe it's a regression, or maybe that PC has even less memory in its graphics card.
Can you try with either SKIKO_RENDER_API=SOFTWARE
(environment variable) or skiko.renderApi=SOFTWARE
(Java system property)?
It's working after setting SKIKO_RENDER_API=SOFTWARE
!
Is it possible to fix the problem?
What's the graphics card on that PC?
Provided by the user
integrated graphic ati radeon 4200 hd
That GPU doesn't support even DirectX 11. But we should fallback gracefully to OpenGL or software renderer.
Can you try SKIKO_RENDER_API=OPENGL
?
Sorry for the delay.
OPENGL
does not work either.
Perhaps our fallback mechanism is broken or doesn't always detect an unsupported render API.
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
Describe the bug All texts are not displayed on a specific device.
Affected platforms Select one of the platforms below:
Versions
To Reproduce
Tested with the Hello World project template created by IDEA.
Expected behavior A clear and concise description of what you expected to happen.
Screenshots
Additional context