Qt3D lines not displayed in QML view (AMD GPU only)
-
Hi all,
I have an issue when using Qt3D within a QML view, more precisely when displaying lines in the 3D view.
When I use the dedicated Nvidia GPU from my laptop, the lines are displayed as expected.
If I switch to the AMD iGPU, the lines are not displayed. It happens with the same code, the same compiler, the same compiled binary.
The following pictures show you the result on a sample I've made.Computer specs:
- CPU: AMD 5900HX with AMD Radeon RX Vega 8 integrated GPU
- GPU: Nvidia GeForce RTX3080
- RAM: 32GB
- My drivers and system are up to date, running on Windows 10 Pro 64 bits
I have tried to create a full C++ app (widgets) and there is no problem in this case on either the Nvidia or the AMD GPU.
I have compiled the QML application using Qt 5.12, 5.13 and 5.14 (MSVC 2017 64 bits) and none of them could solve the issue. I am not yet able to go to newer versions of Qt because my source code do not compile yet with MSVC 2019. Could Qt 5.15 or newer solve it?
For now, I do not understand what I can do to solve this issue. As I do not own another AMD card, I cannot say if this is specific to the AMD Radeon RX Vega 8 or not.
Have you ever experienced a such issue on AMD cards ? Is there something to do with QtQuick to enable lines in a 3D view ?Thank you for your help!