OpenCV with openGL blank screen

I currently have openCV 4.5.2 with cuda / openGL support and for some reason I am get a black screen when I try to display the camera feed using openGL, cv.namedWindow('feed', flags=cv.WINDOW_OPENGL)

here’s some of the code format for it,

img = input.Capture()
detections = net.Detect(img, width, height, overlay='none')
frame = jetson.utils.cudaToNumpy(img, width, height, 4)
frame = cv.cvtColor(frame.astype(np.uint8), cv.COLOR_RGBA2BGR)

#process . . .


This looks similar to
Black images with Qt5 and OpenGL - #7 by dominik.zebec
Please check the post and see if it helps.