No graphics and audio [solved]

How can i run panda3d on a machine that does not have audio or graphics card.

# -*- coding: utf-8 -*-
from pandac.PandaModules import loadPrcFileData
loadPrcFileData("", "window-type none")
loadPrcFileData("", "audio-library-name none")

import direct.directbase.DirectStart

print 'Hello World'


This code crashes the server.

Uploaded with

Seems fine to me. You probably get that error because you’re not outputting anything, or because you’re using up 100% of CPU. I have no idea what kind of software you’re using, so I can’t know for sure.

On a side note, the value for “audio-library-name” is “null”, not “none”, if I recall correctly.