SDK: GL not available. Running with restricted functionality.

Dear DriveWorks-Developer,

I am writing a own software module with DriveWorks.
During SDK initialization i always get the following warning massage on Host-PC.

SDK: GL not available. Running with restricted functionality.

I initialize DriveWorks with the following function

void initializeSDKContext(){

			//---------------------------------------------------------------------------
			// terminal handle
			//---------------------------------------------------------------------------
			#ifndef WINDOWS
				struct sigaction action = {};
				action.sa_handler = sig_int_handler;

				sigaction(SIGHUP,  &action, NULL);  // controlling terminal closed,
				sigaction(SIGINT,  &action, NULL);  // Ctrl-C
				sigaction(SIGQUIT, &action, NULL);  // Ctrl-\, clean quit with core dump
				sigaction(SIGABRT, &action, NULL);  // abort() called.
				sigaction(SIGTERM, &action, NULL);  // kill command
			#endif

			// -----------------------------------------
			// Initialize DriveWorks SDK context and SAL
			// -----------------------------------------
			{
				
				CHECK_DW_ERROR(dwLogger_initialize(getConsoleLoggerCallback(true)));
				CHECK_DW_ERROR(dwLogger_setLogLevel(DW_LOG_VERBOSE));

				// initialize SDK context, using data folder
				dwContextParameters sdkParams = {};
				sdkParams.dataPath            = DataPath::get_cstr();

	#ifdef VIBRANTE
				sdkParams.eglDisplay = getEGLDisplay();
	#endif

				CHECK_DW_ERROR(dwInitialize(&m_sdk, DW_VERSION, &sdkParams));
				CHECK_DW_ERROR(dwSAL_initialize(&m_sal, m_sdk));
			}
}

This function leads to the following messages on console output:

[14-5-2019 13:29:12] Initialize DriveWorks SDK v1.2.400
[14-5-2019 13:29:12] Release build with GNU 4.8.5 from v1.2.0-rc11-0-ga7f5475
[14-5-2019 13:29:12] Platform: Detected Generic x86 Platform
[14-5-2019 13:29:12] TimeSource: monotonic epoch time offset is 1557817743901388
[14-5-2019 13:29:12] Platform: number of GPU devices detected 1
[14-5-2019 13:29:12] Platform: currently selected GPU device discrete ID 0
[14-5-2019 13:29:12] SDK: Resources mounted from /usr/local/driveworks-1.2/samples-original/../data/resources
<b>[14-5-2019 13:29:12] SDK: GL not available. Running with restricted functionality.</b>

Executing the nvidia samples there is no warning message like that.

Does anyone know how to fix this problem?

best regards,
zml-koop

Dear zml-kloop,
Which Graphics card your host machine has? Can you check running sample_drivenet and see if you encounter SDK: GL not available warning message.

Dear SivaRamaKrishna,

thanks for the quick feedback!

My host machine has a GeForce GTX 1080 Ti graphics card.
I checked running sample_drivenet. There is no warning message - SDK: GL not available
I checked running sample_hello_world as well and there is the warning message - SDK: GL not available - like in my own software module described above.

Do you know why? I cant see any difference in the way how DriveWorks gets initialized in the different modules.

best regards,
zml-koop