After a couple of years, I recently installed CityEngine 2022.1 to get back into it, but every time I try to open a new scene the entire CE application becomes Not Responding.
I remember in an earlier version it did something similar but can't seem to find the post.
Any suggestions will be appreciated.
Solved! Go to Solution.
The first thing I noticed is this message:
"The Service NahimicService was detected on your system. Resizing CityEngine windows can lead to crashes when this service is active. Please deactivate the service or if that is impossible add the following line to the CityEngine.ini in your CityEngine installation: '-Dglsinglebuffer'. This activates single buffering and can lead to degraded rendering performance."
Please try to disable the NahimicService - or if you need it, edit the CityEngine.ini file (in the CityEngine installation directory) and add a line with "-Dglsinglebuffer" (without the quotes).
Best,
Simon
Do you have other CityEngine versions installed which start correctly?
The screenshot looks like it fails while open the 3d viewport - what GPU do you have?
Best,
Simon
Hi Simon,
Thank you for the response. Yes that is exactly what happens. Every time I try to open a 3D viewport it falls over.
I have uninstalled all previous versions of CityEngine. GPU Specs are below:
Is there a setting somewhere in the CE preferences where I can make sure it is using the right GPU?
Thanks,
Carl
Hi Carl,
I see you have fairly modern GPU hardware. While CityEngine should also run on the integrated UHD graphics, let's try to force it to the Nvidia GPU.
Here's one guideline how to do this: https://youtu.be/YCqW_5HI_v4
Best,
Simon
Hi Simon,
I have applied the settings as per the video....unfortunately still no luck. Any other ideas?
Would there be error logs that I can go and dig for?
Regards,
Carl
From your original post I understand that you can start CityEngine and you see the welcome screen.
If this is correct, then you can go to Window -> Log menu item and see if there are any warnings/error entries. Entries separated with a dashed line mark restarts of CityEngine. The first button allows you to export the log, please attach it here.
Best,
Simon
The first thing I noticed is this message:
"The Service NahimicService was detected on your system. Resizing CityEngine windows can lead to crashes when this service is active. Please deactivate the service or if that is impossible add the following line to the CityEngine.ini in your CityEngine installation: '-Dglsinglebuffer'. This activates single buffering and can lead to degraded rendering performance."
Please try to disable the NahimicService - or if you need it, edit the CityEngine.ini file (in the CityEngine installation directory) and add a line with "-Dglsinglebuffer" (without the quotes).
Best,
Simon
Hi Simon,
I found the "Resizing CityEngine windows..." part interesting because I had CE open on my second monitor. I then reopened CE on my smaller (main) monitor before opening the viewport and it worked.
I then moved the CE application to the secondary monitor and could continue opening new 3D viewports.
I tested closing and reopening CE on the secondary monitor and it crashed again.
It looks like as long as the first viewport I open is on my main monitor (that of my laptop), I can move the app to the larger screen and continue opening new viewports.
It sounds crazy I know...but at least I can get it working. Have you ever come across a similar issue?
Thanks,
Carl
I'm glad you found a workaround.
While there could be a bug in our multi-monitor handling I would be curious to see if applying "-Dglsinglebuffer" or disabling the NahimicService fixes the problem altogether?
Best,
Simon