Fureeish02/06/2022, 8:50 PM
, IntelliJ, while building Compose projects, prompts me with an error regarding my hardware. To be exact, I am greeted with the following output:
Which I do not understand. I have done some reserach regarding hardware acceleration and that's where I found the information regarding
Failed to create DirectX12 device. Graphics card NVIDIA GeForce GTX 960M is not supported. Graphics card Intel(R) HD Graphics 530 is not supported. Graphics card Intel(R) HD Graphics 530 is not supported. Graphics card NVIDIA GeForce GTX 960M is not supported. Graphics card Intel(R) HD Graphics 530 is not supported. Graphics card Intel(R) HD Graphics 530 is not supported.
. What's more, when the project built and ran, the sample windows is being shown, but all texts are blurry. I am attaching a screenshot below. If I define the environmental variable in question, the warnings go away, but unless its value is set to
, the blur persists. I have deployed an executable using
and asked a couple of my friends to run some tests. In every single instance the resulting application was flawless, i.e., there was no blurry text. None of my friends is using my exact setup, though. Different CPUs and different GPUs. Because of that I suspect that the culprit may as well be my hardware. Is GTX 960M officially not supported by Compose / Skiko? Where can I read about the supported hardware? I am also curious about the DirectX12 error. I have it installed (the 12 edition). Did anyone encounter similar error? It may be good to add that when working with Android Studio, the whole emulator is blurry too. Regardless of the aforementioned environmental variable. I could just stick with
but in the official JetBrains blog I read that:
SKIKO_RENDER_API = "SOFTWARE"
For testing and benchmarking purposes, you can also explicitly force your application to use the specific renderer of your choice by setting the corresponding environment variable:And, well, I don't really want my app to suffer from performance penalties, even for testing. Apologies if I misused this channel in terms of things that should and should not be posted here. Any pointers will be highly appreciated.or
SKIKO_RENDER_API="SOFTWARE". However, please keep in mind that this fallback renderer is significantly slower than its hardware-accelerated counterpart (up to 4 times slower).
spierce702/06/2022, 11:23 PM
, so I assume with doing nothing, I’m already rendering via hardware. Let me check that.
olonho02/07/2022, 7:07 AM
Roman Sedaikin [JB]02/07/2022, 8:45 AM
with blurry text? If you have blurry text with
rendering try to update graphics card drivers (for both of them) - it could help.
rendering has been improved since then and now has decent performance (unless you set
Fureeish02/07/2022, 1:53 PM
or set it to
. I have updated the Nvidia drivers,
Roman Sedaikin [JB]02/10/2022, 7:12 AM
Fureeish02/10/2022, 12:02 PM
environmental variable, the text is rendered correctly. Thank you! Are there are negative implications of disabling FXAA in regard to Compose, though?
Roman Sedaikin [JB]02/10/2022, 12:14 PM
Fureeish02/10/2022, 12:27 PM