I've written a minimalist xserver that I run on a slow test machine. It simply uses the video framebuffer. When I move a window (of any size) in twm, it moves quickly and cleanly, but it "trembles" and it's like there were bad screen update frequencies. Also, when I release the mouse button, I see (really quickly) the window going down, like if the CPU were too slow, but its charge doesn't exceed 40%.
So, how is designed the original XOrg server? I mean the XOrg base that is used by kdrive or xquartz for exemple.
- Is the graphics framebuffer "in free access", each client drawing simultaneously?
- Is there a rendering loop drawing the screen regularly (FPS), even when a client has direct access to FB?
How does work the setting of the refresh rate in xorg's xfree86 server:
- is it used to adjust the frequency of the screen rendering in the xorg base program
- or is it used only in xfree86's video drivers?
Thanks for any enlightenment...