FleX icon indicating copy to clipboard operation
FleX copied to clipboard

Running on Ubuntu 17.10

Open fadavi opened this issue 7 years ago • 2 comments

Anybody could run fleX demo on ubuntu 17.10? It seems theres some problem(s) in creating CUDA context on my Uhuntu 17.10 (64bit) machine. also, after some googling i couldnt find any complete documention/tutorial about fleX; please guide me or give me some link..

fadavi avatar Dec 29 '17 20:12 fadavi

Can you run the demo with sudo?

gaborpapp avatar Sep 05 '18 04:09 gaborpapp

I've got the same issue on ubuntu 17.10 with cuda 8.0.61 (which is available in ubuntu repo)

NvFlexDemoReleaseCUDA_x64 printed "Error creating CUDA context." and exited.

It happened because of NvFlexDeviceCreateCudaContext() in demo/main.cpp returned false

It doesn't fail with cuda 9.2 (you need to download it from nvidia site)

Or you can just comment out exit() call in demo/main.cpp:

	bool success = NvFlexDeviceCreateCudaContext(g_device);

	if (!success)
	{
		printf("Error creating CUDA context.\n");
//		exit(-1);
	}

Looks like success = false doesn't affect anything, at least on my machine all demo scenes works perfectly.

zyablik avatar Oct 03 '18 14:10 zyablik