makeDefaultPipe is slow

I just used cProfile to just check on performance, and found that the single call to makeDefaultPipe at startup is taking 0.9 seconds to run. Is there any way to decrease that?

Thanks!

Anyone else have a delay at Panda startup due to this call?

I don’t know why that call is particularly expensive for you, but you can try forcing a particular pipe with an explicit setting for:

load-display pandagl

instead of relying on the auto-detection.

David

I do remember that Gogg found several things in the pipe startup regarding querying display information that slowed it down significantly - various of his fixes were integrated in 1.7.0, but he made some of them toggleable using a configuration variable.

Does it help if you put this in Config.prc?

request-dxdisplay-information #f