So, I've two unrelated questions, both can be checked in this application if you want to run it and see for yourself:
https://github.com/nyeecola/graphs
These are the questions:
1- Am I right in my assessment that the nature of the input lag I experience is that the cursor is software-rendered (via xorg) and the frame is hardware-rendered (via OpenGL)? If so, what I should do is probably render the cursor myself, right?
2- I have a GTX 1050 on my notebook, running on Arch Linux with NVIDIA's proprietary graphics driver (which supports OpenGL 4.6, although I'm only using 3.3 for that project). Why don't I get any multisampling? I specifically asked for 4 samples and get 0 (I checked by doing a gl call later and it returns 0 samples). If I turn on GL_POLYGON_SMOOTH, antialiasing works perfectly, but I don't think that's a good idea, since it means I have to disable the Z-buffer and keep track of the order the objects are drawn.
For question number 2, can someone run it on another computer and check if its a hardware problem on my part or if I am doing something wrong?