PDA

View Full Version : nvclock in opengl app


vrtainment
03-27-03, 01:04 AM
Hi,

I integrated nvclock into an opengl based application ... the nvclock bit is finally working well, but as soon as I activate any of the nvclock functions my app crashes ... after some more tests, I recognized that calling open fd =("/dev/nvidia0", O_RDWR) is sufficient to make the opengl app crash. As an experiment I did open the device and closed it in the next line of code, but still I have a crash. Any idea?

Hartwig

Thunderbird
03-27-03, 03:09 PM
I would not recommend integrating nvclock into an application .. Better call it from commandline ..

If you really want to integrate make sure you do a FindAllCards to initialize nvclock. After that you can do everything.

An updated nvclock will come out in the near future that will use a different api and so on. Really use it from commandline since those options will stay the same.

Thunderbird