I had to change the code to this:
import panda3d.core
base = ShowBase(windowType='none')
base.makeDefaultPipe() di = base.pipe.getDisplayInformation()
print(di.getAvailablePageFileSize()) print(di.getAvailablePhysicalMemory()) print(di.getCpuBrandString()) print(di.getDriverDateYear()) print(di.getNumLogicalCpus()) print(di.getOsVersionMajor())
That would print the correct 'OsVersionMajor'.
Setting 'auto-cpu-data true' in Config.prc gives me the correct 'CpuBrandString' and 'NumLogicalCpus'.
.getAvailablePageFileSize() and .getAvailablePhysicalMemory() are still 0, same for the graphics device values.
I had to change the code to this:
import panda3d.core
base = ShowBase( windowType= 'none')
base.makeDefaul tPipe() getDisplayInfor mation( )
di = base.pipe.
print(di. getAvailablePag eFileSize( )) getAvailablePhy sicalMemory( )) getCpuBrandStri ng()) getDriverDateYe ar()) getNumLogicalCp us()) getOsVersionMaj or())
print(di.
print(di.
print(di.
print(di.
print(di.
That would print the correct 'OsVersionMajor'.
Setting 'auto-cpu-data true' in Config.prc gives me the correct 'CpuBrandString' and 'NumLogicalCpus'.
.getAvailablePa geFileSize( ) and .getAvailablePh ysicalMemory( ) are still 0, same for the graphics device values.