When i drag a GLUTwindow by clinging to the titlebar, the screensize elongates. For non english speakers the screensize gets bigger from the moment you click.
I did get this message while compiling:
CMake Warning (dev) at /usr/share/cmake-3.16/Modules/FindOpenGL.cmake:275 (message):
Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
available. Run “cmake --help-policy CMP0072” for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
OpenGL_GL_PREFERENCE has not been set to “GLVND” or “LEGACY”, so for
compatibility with CMake 3.10 and below the legacy GL library will be used.
Call Stack (most recent call first):
CMakeLists.txt:6 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
– Found OpenGL: /usr/lib/aarch64-linux-gnu/libOpenGL.so
– Configuring done
– Generating done
– Build files have been written to:
does this message matter ?
Hi,
Not sure if the warning matters. We would need to replicate the issue and investigate. Please check if it can be reproduced on Orin Nano developer kit. If yes, please share us the steps.
So the software was developed on a B1-developement board and a Jetson Nano module, i transferred the software to a Jetson Orin nano developersboard, recompiled it using :
cmake (3.16.3-1ubuntu1.20.04.1)
freeglut3 (2.8.1-3) and
gcc 4.9.3.0-1ubuntu2
after < cmake . >i get the above message.
after < make > i get the next message:
. . . aal/collector.cu: In function ‘void display_func()’:
. . . aal/collector.cu:1861:22: warning: ‘] G.goal[’ directive writing 9 bytes into a region of size between 0 and 1 [-Wformat-overflow=]
1861 | sprintf(messagelist,“I/O_%d [S]%d [L]%d > G.revmid[%d] G.goal[%d]”,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
. . . aal/collector.cu:1861:8: note: ‘sprintf’ output between 42 and 92 bytes into a destination of size 31
1861 | sprintf(messagelist,“I/O_%d [S]%d [L]%d > G.revmid[%d] G.goal[%d]”,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
. . . aal/collector.cu:1864:22: warning: ‘ , tijddrempel ’ directive writing 15 bytes into a region of size between 0 and 8 [-Wformat-overflow=]
1864 | sprintf(messagelist,“getal = %d , lees/loep %d , tijddrempel %ld , tijdtel %ld”, getal, tijdloep, tijddrempel, tijdtel);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aal/collector.cu:1864:8: note: ‘sprintf’ output between 53 and 111 bytes into a destination of size 31
1864 | sprintf(messagelist,“getal = %d , lees/loep %d , tijddrempel %ld , tijdtel %ld”, getal, tijdloep, tijddrempel, tijdtel);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Scanning dependencies of target collec
[100%] Linking CXX executable collec
[100%] Built target collec
<< which are of no consequence to the mentioned error.
Is this answer elaborate enough , something you can work with ?
I am curious about drivers present. If you don’t have “glxinfo”, then you can install it with “sudo apt-get install mesa-utils”. What do you see from: glxinfo | egrep -i '(version|nvidia)'
(this has to be run from the GUI screen)
@linuxdev, i can’t place the (this has to be run from the GUI screen) remark, hope this is what you requested:
glxinfo | egrep -i ‘(version|nvidia)’
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
GLX version: 1.4
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA Tegra Orin (nvgpu)/integrated
OpenGL core profile version string: 4.6.0 NVIDIA 35.3.1
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL version string: 4.6.0 NVIDIA 35.3.1
OpenGL shading language version string: 4.60 NVIDIA
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 35.3.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
GL_EXT_shader_group_vote, GL_EXT_shader_implicit_conversions,
Hi,
We run the application on host PC in Ubuntu 20.04(with RTX 3070) and the behavior is same as on Orin Nano developer kit. It seems like there is bug in the test code. Could you check this?
@linuxdev i also did that glxinfo thingy on the Jetson Nano 4Gb with this result:
glxinfo | egrep -i ‘(version|nvidia)’
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
GLX version: 1.4
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA Tegra X1 (nvgpu)/integrated
OpenGL core profile version string: 4.6.0 NVIDIA 32.7.4
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL version string: 4.6.0 NVIDIA 32.7.4
OpenGL shading language version string: 4.60 NVIDIA
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 32.7.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
GL_EXT_shader_group_vote, GL_EXT_shader_implicit_conversions,
There are cases where the purely software drivers from Mesa can overwrite NVIDIA drivers. That command verifies that this has not occurred, and that the NVIDIA drivers are correctly in place.
i dissected the reshape function and the problem lays within <glutReshapeWindow ( width, height )> .
When resizing horizontaly the height also jumps to the full height of the screen.
When resizing vertical it toggles between the mouse position and an increasing height.
while dragging the titlebar the height increases until the screenheight.