KnossosNET / Knossos.NET

Repository for the Knossos.NET launcher, currently in development.
GNU General Public License v3.0
26 stars 10 forks source link

Add Software rendering support #135

Closed Shivansps closed 8 months ago

Shivansps commented 8 months ago

Add support to set software render mode by cmdline or environment variable.

Waiting to see if there is any way from code to check the actual status to see if i can display that information. When this is enabled hardware acceleration is, for sure, disabled. But if software mode is not enforced it could either be hardware or software, if hardware acceleration could not be enabled in the user system for whatever reason.

notimaginative commented 8 months ago

Tested this on my Mac and it appears to work as advertised. In Activity Monitor I can see % GPU and GPU Time, both of which are zero in software mode. In normal mode both have at least some value.

CPU time appeared to be generally unaffected by the change. Perhaps slightly higher spikes in software mode under some conditions, but I didn't notice any lagging or slowdowns.

Shivansps commented 8 months ago

Nothing we can do from code to check the status. At least for now.