Hi,
We did test 20 times and no issue. Will try different monitors. Do you use HDMI out or DP out?
I tried both and have the same result
Also maybe not related with Vulkan or maybe a driver issue,
I created another thread about a strange issue with cursor drawing here:
Regards
Hi,
If 30fps is good, please use the setting. We will try 60fps.
The issue seems to be masked and/or occurs very rarely when I lower the refresh rate, but still appears to be present.
Dropping to 30fps is also a problem because I use the display for cameras that stream feeds up to 60fps.
So at 30Hz, I would only be able to display one frame out of two…
Regards
Hi.
We tried 60fps and still did not hit crash. Sometimes it has slow response but it does not crash. Do you experience crash in 60fps?
Hi,
Yes as said, I got a crash every time at 60fps, my screen settings are:
In dmesg I saw the following log each time:
[11331.835770] NVRM: Xid (PCI:0000:01:00): 69, pid=25020, name=QSGRenderThread, Class Error: channel 0x0000000a, Class 0000cd97, Offset 000017d8, Data 80000453, ErrorCode 0000000c
To get more log I then launched with:
VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation VK_LOADER_DEBUG=all QSG_INFO=1 QSG_RHI_DEBUG_LAYER=1 ./Qt/bin/qml -style Universal -r vulkan Main.qml 2> log.txt
Find the attached log:
log.txt (22.1 KB)
Hi,
No news about this crash?
Other displays I use get the same crash (HDMI or DP and lower resolution 2K) and they do not provide option do get as low as 30Hz.
Regards.
Hi,
We are still no table to reproduce the issue. Tried multiple display but sometimes we saw slow responses and did not crash.
Do you observe it on AGX Thor developer kit with clean Jetpack 7.1?
I do.
My last test from the 12 of Jan, was on a clean install of the Jetpack 7.1.
Hi @DaneLLL
I’m not in a clean setup as said I migrated from 7.0
May I know how you test the bug?
- Are you on your Thor with a standalone desktop (keyboard + mouse connected to Thor) not via SSH? => I’m in standalone mode
- Do you follow exactly what is provided in the repository and use the Qt provided? => I follow exactly what the repo said
- What dispaly do you connect to your Thor (a monitor, a TV?) at which Refresh rate, which resolution, is it gsync? => I tested with a LG 4K monitor, resolution in UHD, 4K and 1080p all crash, the only way to not make it crash is to set up 30Hz in display settings of the Thor. I tested with another 2K monitor HDMI and DP and it always crash, and it do not allow 30Hz so…
- What is the power mode you use for Thor => I tested in 70W 120W and MAXN and it seem to not affect the crash, sometimes after reboot I have to launch 3 times the program before it crash and after a crash it always crash
- When you say it is sometimes slow, for me it is “slow” when it crash.
The device loss detected is printed and then the Dialog appear in the UI, probably after driver restart
It is not normal that you see something “slow” - Also I provided you with debug log, you can see it crash, maybe I can activate more debug or usefull log to you to help to get the origin of the crash?
Next week I will try a clean setup on another DevKit by flashing the ISO for Jetpack 7.1 from USB but I’m very confident that the bug is always present, I’m not the only one to get it.
Other people with clean install get it also…
Hi,
The monitors we use don’t support gsync. If you test it with gsync enabled, could you please disable it for a try?
Hi again @DaneLLL,
I just freshly installed Jetpack 7.1 from USB ISO.
It is on another AGX Thor Devkit, via display port and another monitor with no GSync also.
I have done no apt update and apt upgrade
I just done the following:
Installed the following to be able to launch app
sudo apt install libxcb-cursor-dev
Then clone and execute:
mkdir work
cd work/
git clone GitHub - Atlas42/thor-qt-vk-crash: QT+Vulkan crash test on Nvidia Thor
cd thor-qt-vk-crash
tar xvf Qt-thor-7-1.tar.gz
./Qt/bin/qml -style Universal -r vulkan Main.qml
The crash is there when we click on the button!
I also tested after apt update && apt upgrade the same occur!
I cannot imagine you do not have the bug
What about your slow responses you see sometimes?
Are you sure it to not crash?
What you mean with slow?
It crash on all our 3 devkit here, with different screen…
Hi,
Please make a recording for our reference. Would like to confirm you see system crash or the launched window responds slowly. Or the window vanishes right away. Or some error message in log print.
We did test on AGX Thor developer kit for multiple times and the behavior is different between 7.0 and 7.1. Probably we are not aligned in the error behavior. A video showing error would be helpful.
My first tests earlier today produced no error but at that time gml wasn’t finding vulkan backend because of my command line.
My second tests tonight on Jetson Thor Developer Kit Jetpack 7.1 r38.4.0 produced mixed result as follows.
When running qml from https://github.com/Atlas42/thor-qt-vk-crash crashed with the previously described error.
But running from a full Qt6 installation did not error.
~/thor-qt-vk-crash$ Qt/bin/qml Main.qml -- Universal -r vulkan
Device loss detected in vkQueueSubmit()
Graphics device lost, cleaning up scenegraph and releasing RHI
Killed
# No error with full Qt6
scott@chithor:~/thor-qt-vk-crash$ ../Qt/6.9.3/gcc_arm64/bin/qml Main.qml -- Universal -r vulkan
scott@chithor:~/thor-qt-vk-crash$ ~/Qt/6.9.3/gcc_arm64/bin/qml Main.qml -- Universal -r vulkan
Hi,
@whitesscott would you share the steps to do full Qt6 installation o AGX Thor developer kit? Would like to give it a try.
Hi @DaneLLL
# apt installs Qt6 = 6.4.2
sudo apt install qt6-base-dev qt6-base-dev-tools qt6-tools-dev qt6-tools-dev-tools \
libqt6qml6 qml6-module-qtquick qml6-module-qtquick-controls
---
# This how I installed it on home computer. To get recent "opensource / community" you have to go to qt.io,
# create a user account I used a not corporate email and license software as individual developer. That may make this method unusable for Nvidia.
https://login.qt.io/register
curl -OL https://download.qt.io/official_releases/online_installers/qt-online-installer-linux-arm64-online.run
chmod +x qt-online-installer-linux-arm64-online.run
# Installation defaults to $HOME/Qt
./qt-online-installer-linux-arm64-online.run install qt6.10.2-full # Or: install qt6.10.2-essentials-dev
# Or
./qt-online-installer-linux-arm64-online.run --root /home/<username>/installation_dir \
--accept-licenses --default-answer --confirm-command install qt.qt6.6103.linux_gcc_64
Hi,
The video can be seen here in my previous messages:
@whitesscott Without any account I builded Qt 6.8.3 and Qt 6.10.2 from sources (6.8.3 which is the LTS) with the following steps all done from HOME directory (Note we are on the classic X11 so I disabled Wayland feature in Qt configure).
Same configuration is used to build 6.8 and 6.10, all are crashing the same way as explained:
Install needed dependencies to build all version:
sudo apt install build-essential libssl-dev libopengl-dev libgl1-mesa-dev libglu1-mesa-dev libvulkan-dev libx11-xcb1 libfontconfig1-dev libfreetype6-dev libx11-dev libx11-xcb-dev libxext-dev libxfixes-dev libxi-dev libxrender-dev libxcb1-dev libxcb-glx0-dev libxcb-keysyms1-dev libxcb-image0-dev libxcb-shm0-dev libxcb-icccm4-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb-shape0-dev libxcb-randr0-dev libxcb-render-util0-dev libxcb-util-dev libxcb-xinerama0-dev libxcb-xkb-dev libxkbcommon-dev libxkbcommon-x11-dev libxcb-cursor-dev libpulse-dev cmake ninja-build
Build Qt 6.8.3:
Get sources:
wget https://download.qt.io/official_releases/qt/6.8/6.8.3/single/qt-everywhere-src-6.8.3.tar.xz
Extract and configure:
tar xvf qt-everywhere-src-6.8.3.tar.xz
cd qt-everywhere-src-6.8.3
mkdir build; cd build
../configure -prefix ~/qt-6.8.3 -xcb -openssl-linked -no-widgets -no-gtk -no-egl -feature-vulkan -no-feature-wayland -no-feature-ffmpeg -no-feature-gstreamer -nomake examples -nomake tests -submodules qtbase,qtdeclarative,qtimageformats,qtmultimedia,qtwebsockets,qtlocation,qtpositioning,qttools -skip qtquick3d,qtlanguageserver,qtquicktimeline
Build:
cmake --build . --parallel
Install:
cmake --install .
Launch the test application which crash:
~/qt-6.8.3/bin/qml -style Universal -r vulkan Main.qml
Build Qt 6.10.2:
Get sources:
wget https://download.qt.io/official_releases/qt/6.10/6.10.2/single/qt-everywhere-src-6.10.2.tar.xz
Extract and configure:
tar xvf qt-everywhere-src-6.10.2.tar.xz
cd qt-everywhere-src-6.10.2
mkdir build; cd build
../configure -prefix ~/qt-6.10.2 -xcb -openssl-linked -no-widgets -no-gtk -no-egl -feature-vulkan -no-feature-wayland -no-feature-ffmpeg -no-feature-gstreamer -nomake examples -nomake tests -submodules qtbase,qtdeclarative,qtimageformats,qtmultimedia,qtwebsockets,qtlocation,qtpositioning,qttools -skip qtquick3d,qtlanguageserver,qtquicktimeline
Build:
cmake --build . --parallel
Install
cmake --install .
Launch the test application which crash:
~/qt-6.10.2/bin/qml -style Universal -r vulkan Main.qml
All are crashing, on first try or at least in first 3 launch.
This was done on the clean install of 7.1 Jetpack
Test with official build as suggested:
./qt-online-installer-linux-arm64-online.run install qt6.10.2-full
Same crash occur by running it with ~/Qt/6.10.2/gcc_arm64/bin/qml -style Universal -r vulkan Main.qml
Hi,
Please try Jetpack 7.2 r39.2 and check if you still observe the issue. Thanks,

