Following done on Thor. These two work. but cause display flicker.
QT_XCB_GL_INTEGRATION=xcb_egl qml -style Universal Main.qml
QSG_RHI_BACKEND=opengl qml -style Universal Main.qml
- QSG_RENDER_LOOP=basic QSG_RHI_PREFER_COMPAT=1 QSG_RHI_BACKEND=vulkan
qml -style Universal -r vulkan Main.qml
Device loss detected in vkQueueSubmit()
Graphics device lost, cleaning up scenegraph and releasing RHIs
- QSG_RENDER_LOOP=basic QSG_RHI_BACKEND=vulkan QSG_RHI_SWAPCHAIN_MAX_BUFFER_COUNT=2
qml -style Universal -r vulkan Main.qml
No error and qt app worked and closed when x clicked. app execution caused display to flicker and flash.
- QSG_RENDER_LOOP=basic QSG_RHI_BACKEND=vulkan QSG_RHI_DISABLE_VK_EXTENSIONS=VK_KHR_fragment_shading_rate
qml -style Universal -r vulkan Main.qml
Device loss detected in vkQueueSubmit()
Graphics device lost, cleaning up scenegraph and releasing RHIs
- QT_QPA_PLATFORM=wayland QSG_RENDER_LOOP=basic QSG_RHI_BACKEND=vulkan
qml -style Universal -r vulkan Main.qml
Failed to create wl_display (No such file or directory)
qt.qpa.plugin: Could not load the Qt platform plugin “wayland” in “” even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: xcb, wayland-egl, wayland, eglfs, minimal, offscreen, minimalegl, linuxfb, vkkhrdisplay, vnc.
Aborted (core dumped)
- QT_QPA_PLATFORM=xcb QSG_RENDER_LOOP=basic QSG_RHI_BACKEND=vulkan
qml -style Universal -r vulkan Main.qml
No error and qt app worked and closed when x clicked. app execution caused display to flicker and flash.
- sudo nvpmodel -m 0 ; sudo jetson_clocks
QSG_RENDER_LOOP=basic QSG_RHI_BACKEND=vulkan qml -style Universal -r vulkan Main.qml
Device loss detected in vkQueueSubmit()
Graphics device lost, cleaning up scenegraph and releasing RHIs
And, most pronounced display flicker/flash
- VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation VK_LOADER_DEBUG=all QSG_INFO=1 QSG_RHI_DEBUG_LAYER=1
qml -style Universal -r vulkan Main.qml 2> vk_debug.log.txt
Attached vk_debug.log.txt (33.6 KB)
journalctl -k --since “5 minutes ago” | tail -n 100
Oct 16 16:56:52 chithor kernel: NVRM: Xid (PCI:0000:01:00): 69, pid=21328, name=qml, Class Error: channel 0x0000000c, Class 0000cd97, Offset 000017d8, Data 80000453, ErrorCode 0000000c
Oct 16 16:57:09 chithor kernel: tegra-mc 8108020000.memory-controller: dispr: non-secure read @0x0000fffffffff880: EMEM address decode error (EMEM decode error)
Oct 16 16:57:09 chithor kernel: tegra-mc 8108020000.memory-controller: dispr: non-secure read @0x0000fffffffffa00: EMEM address decode error (EMEM decode error)
Oct 16 16:57:09 chithor kernel: tegra-mc 8108020000.memory-controller: dispr: non-secure read @0x0000fffffffffc00: EMEM address decode error (EMEM decode error)
Oct 16 16:57:09 chithor kernel: tegra-mc 8108020000.memory-controller: ptcr: @0x0000000000000000: Read response with poison bit error status:0
Oct 16 16:57:09 chithor kernel: tegra-mc 8108020000.memory-controller: dispr: non-secure read @0x0000fffffffffe00: EMEM address decode error (EMEM decode error)
Oct 16 16:57:09 chithor kernel: tegra-mc 8108020000.memory-controller: dispr: non-secure read @0x0000fffffffff980: EMEM address decode error (EMEM decode error)
Oct 16 16:57:09 chithor kernel: arm-smmu-v3 8806000000.iommu: EVTQ overflow detected -- events lost
Oct 16 16:57:09 chithor kernel: arm_smmu_evtq_thread: 23086 callbacks suppressed
Oct 16 16:57:09 chithor kernel: arm-smmu-v3 8806000000.iommu: event 0x10 received:
Oct 16 16:57:09 chithor kernel: arm-smmu-v3 8806000000.iommu: 0x0000090000000010
Oct 16 16:57:09 chithor kernel: arm-smmu-v3 8806000000.iommu: 0x0000020800000000
Oct 16 16:57:09 chithor kernel: arm-smmu-v3 8806000000.iommu: 0x0000007ffae5e880
Oct 16 16:57:09 chithor kernel: arm-smmu-v3 8806000000.iommu: 0x0000000000000000