system - Does Linux X-Server directly access GPU memory? -


my main question there piece of code running in x-server process memory (excluded drivers - know can written in different manners) directly accessing memory in gpu card?

or employs drivers , drm, or other interface communication gpu , queuing draw/render/clear/... commands?

i know question seems lame, interested in specifics?

edit:

more specifically: understanding kernel communicates hardware assistance drivers, , exposes api rest (if wrong please correct me). in context can x-server circumvent dma-api (i guessing dma io responsible communication periferials) located in kernel communicate , exchange data gpu card (in direct way - without anyones assistance == without kernel, drivers, ...)?

and bare minimum requirement x-server communicate gpu. aiming understand how communication done on low level.

it entirely possible on linux given x server accesses part of video card memory directly framebuffer. it's not efficient way of displaying things, works.