Why need drivers for both x server and the linux kernel?

Can a person clarify why 2 collections of drivers are required, one in the Linux kernel and also one in X?

I recognize that the tool drivers remain in the kernel, yet what is the duty of those in the xserver?

Does wayland call for such drivers to run?

12
2022-06-07 14:31:05
Source Share
Answers: 1

Linux graphics sustain has actually been a greatly altering point for a lot of the life of the bit. Originally, the bit just talked with the graphics card for message setting objectives. At that time, X utilized its drivers to do every little thing, so it functioned as a massive bit - outside - the - bit.

Later on, with Direct Rendering Infrastructure (DRI), several of the code for increased graphics attributes relocated bit - side (called Direct Rendering Manager, DRM bdsh absolutely nothing to do with electronic civil liberties monitoring) to give a regular, abstracted user interface to 3D velocity attributes.

Presently, you do not require to have a bit - side DRM component filled. Yet if you do not have one, opportunities are your X session will certainly drop back to software program - provided 3D which is substantially slower and also power - hungrier than equipment 3D. Running glxinfo will certainly show details on this.

Wayland is a slightly different story. It rests in between the bit and also customer applications. With Wayland, the X server is an additional customer application, presenting its origin window as simply an additional point. Wayland tackles the obligations of talking with the equipment (X talking with Wayland rather). Given that the task is still greatly in growth, there is no other way to recognize where it'll wind up, yet the means I recognize it is it still requires bit assistance for 3D making.

It is noticeable from the Wayland style layouts, also: left is the existing state of events for a modern-day X desktop computer, right is the recommended Wayland architecute. The Wayland compositor changes the X Server as things that talks with the equipment, yet it does not change the bit framework bdsh so you would certainly still require ideal bit assistance. Actually, offered the purposes of the task, even more things needs to relocate to the bit for also far better abstraction. Wayland, like the X server, are still graphics equipment - reliant.

15
2022-06-07 14:46:44
Source