Printf() in device program

Hello! I have a printf() statement in __raygen__draw_solid_color() device program, if I use Optix7.5, I can get the output result in terminal, but if I use Optix7.7, I can’t, why? Thank you!

There was an issue with printf() in R530 drivers which affects the OptiX SDK 7.7.0 and newer versions which is fixed in R535 drivers.
Please try updating your display drivers if you’re still running an R530 version.

Please read this thread and the linked one inside that for details: