r/GraphicsProgramming • u/TTLAAJ • Sep 28 '21
Minimal NVIDIA example within GPU memory?
To get started, I just want to output something to a port on my NVIDIA Quadro P2000. I do not want to extend my display, just directly feed a monitor with what is generated.
0
Upvotes
1
u/the_Demongod Sep 28 '21 edited Sep 28 '21
That's not really possible. The GPU is powered by a proprietary driver that has to run on an operating system in order to communicate with the GPU. You could connect it to a Raspberry Pi if your GPU driver supports it, but you won't be able to do it without an operating system. You need to stream huge amounts of data back and forth between the GPU in order to program it to do the stuff it normally does, you can't do it with just a circuit. If you want to do this without an operating system, you'll need to buy a high quality microcontroller and write a VGA controller application that will emit your graphics to the monitor as an analog signal, you won't be able to use a normal GPU.
Create a GLFW context with
which will make it fullscreen (borderless), then
to hide the cursor.
If you have multiple windows then read this.