3dlogfile ~/comsolgraphics.log -3dlogflush 1 -3dloglevel debug
If you don't have a temp directory, add this manually under C: as this will not be created automatically by running COMSOL with the extra options.įor Mac OS X and Linux the options should be given on the command line in the following way: Dcs.3dlogfile=C:\temp\comsolgraphics.log -Dcs.3dlogflush=1 -Dcs.3dloglevel=debugįor Windows the options can be added to the COMSOL shortcut target.
Add the following command line options to the COMSOL start command If you are experiencing crashes or other problems (like patchiness, lagging) with the 3D rendering, you can create a renderer debug log to aid in troubleshooting the problem.
The drivers for a graphics card often evolve and get enhanced after the initial release of the card so if you have graphics problems, we recommend that you start by downloading and installing the latest driver for your graphics card. On the Shortcut page, append –3drend sw to the Target line, as shown here (the added option is underlined in red): Right-click on the COMSOL Multiphysics shortcut and select Properties.Ģ.
To enable software rendering on Windows:ġ. Note that DirectX is only available on Windows. You can also force COMSOL Multiphysics to use a certain renderer by using a parameter to the command used to start:Ĭomsol -3drend ogl (start with OpenGL rendering)Ĭomsol -3drend dx9 (start with DirectX rendering)Ĭomsol -3drend sw (start with software rendering) Switch renderer in the Graphics category in the Preference dialog box on the Options menu. If OpenGL rendering does not work and you are not satisfied with the performance of the software rendering you can try and use the DirectX renderer. If you run COMSOL over Remote Desktop or an X-server, hardware (OpenGL) rendering usually does not work. Therefore, we recommend to run the COMSOL Desktop on your local console or display. If it does not succeed in automatically changing the rendering, you have to do it manually. If not it will try to fall back to use a built-in software rendering, which usually works OK but is much slower and less smooth than hardware rendering. The first time COMSOL Multiphysics is started it will detect if the graphics card supports the necessary features. The OpenGL rendering will be used by default. The graphics card must also support 24-bit color depth. A graphics card that supports either OpenGL 1.3 or DirectX 9 is needed to use the hardware accelerated rendering. 16-bit color depth is not supported by COMSOL.ĬOMSOL Multiphysics relies on hardware accelerated rendering for showing geometry, mesh and visualization of plots. Make sure you run with at least 32-bit color depth. Note that the screen shot is for COMSOL Multiphysics 5.2a. In the Preferences window select Graphics and Plot Windows (Version 4.4 and later) or Graphics (Versions 4.0 to 4.3b) and set the Rendering option to Software.Ĭlick OK and close the COMSOL Desktop. Windows users: From the File menu, select Preferences.Ĭross-platform (Mac and Linux) users and COMSOL Version 4.0 to 4.3b: From the main menu select Options>Preferences. To open the Preferences dialog box, in the COMSOL Desktop: The quickest solution is to switch to software rendering: