JetBrains / compose-multiplatform

Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
https://jetbrains.com/lp/compose-multiplatform
Apache License 2.0
15.79k stars 1.14k forks source link

At startup, the window is black. Drag the window size or maximize the window will report an error #442

Open ghost opened 3 years ago

ghost commented 3 years ago

https://user-images.githubusercontent.com/76673990/109390528-2b402980-794d-11eb-9d47-7ff590cca2ad.mp4

hs_err_pid9612.log

ghost commented 3 years ago

Version is 0.4.0-build168

alialbaali commented 3 years ago

Have you tried with 0.3.1?

ghost commented 3 years ago

你试过吗?0.3.1

The latest version only has this problem, the previous version does not have this problem

alialbaali commented 3 years ago

0.3.1 released after 0.4.0-build168.

olonho commented 3 years ago

Please try OpenGL renderer by setting SKIKO_RENDER_API to OPENGL or SOFTWARE.

Rsedaikin commented 3 years ago

Could you please give your PC specification? OS version: ? Graphics card: ? Graphics card driver version: ?

ghost commented 3 years ago

OS version Graphics card and Driver

Rsedaikin commented 3 years ago

Could you please check if the example from skiko works? To build skiko you need to run in terminal ./gradlew publishToMavenLocal from skiko/skiko directory. To run the example (rendering clocks) you need to run in terminal ./gradlew run from skiko/samples/SkijaInjectSample directory. For more info on how to build skiko, please read the manual on the skiko github repository.

okushnikov commented 1 month ago

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.