xserver without DDX video driver.

kumar vemuri kumar210in at gmail.com
Thu Mar 17 15:54:03 PDT 2011


Thanks Alan and Adam for the replies.

Have another related question:

i want to build a software based 3D and 2D renderer system with DRI with the
following.
a. I dont wish to use the GPU for 3D or 2D acceleration (so dont want to use
the 3D/2D driver of my GPU). Instead, want to use the dummy driver that you
are suggesting.
b. Also, i want to build a couple of configs; one in Direct Rendering Mode
and the other in Indirect Rendering Mode.

Are the following valid configs? (Both server and Client are on the same PC)

*A. Indirect Rendering Mode *

    ___________
 __________________________________________________
    |                  |
 |
 xserver     |
    |    libGL       | ------------------------------------------------->|
                                             _____________              |
    |___________|                                                   |
                                         |      D I X        |
|

 |            GLX                              |___________ |
|

 |                                                             |
          |

 |               |                                              |
           |

 |_________|_________________               V                     |

               |                              |
 ---------------------------       |

               |                              |    |   Vesa / Dummy |
|
                                     ---------------------
 _______ V _______                |    |       2D Driver      |       |
                                     |     Mesa 3D   |  <---------------|
  swrast_dri.so  |                 |    |_______________|      |
                                     |____________|
|_______________|                 |______________________|



*B. Direct Rendering Mode*

                        ___________
 __________________________________________________
                        |                  |
|
 xserver     |
                        |    libGL       | ---------------------------->  |
                                                _____________
 |
                        |___________|                                |
                                         |      D I X        |
|
                                        |
 |            GLX                              |___________ |
|
                                        |
 |                                                             |
          |
                                        |
 |                                                            |
         |
                                        |
 |__________________________               V                     |
                                        |
                                               |
 ---------------------------       |
                                        |
                                               |    |   Vesa / Dummy |
|
  ------------------                    V______________
                                   |    |       2D Driver      |       |
  | Mesa 3D  |  <---------------|     swrast_dri.so |
                                   |    |_______________|      |
  |_________|                   |_______________|
                              |______________________|



Are the above two configs valid? If so, could you also throw some hints as
to how to build these configs (in the sense what changes need to be done to
the xorg.conf file to achieve these configs?)
Would really appreciate your replies.


Thanks
K



On Thu, Mar 17, 2011 at 11:17 AM, Alan Coopersmith <
alan.coopersmith at oracle.com> wrote:

> On 03/17/11 06:44 AM, kumar vemuri wrote:
> >      The DDX video driver module loaded into the xserver talks to the
> > DRM for its functionality.
>
> Some of them do, but not all of them.
>
> > a. What happens when the video driver is not available? Am guessing that
> > the xserver will fallback to a s/w mode in the absence of 2D
> > acceleration/2D driver (GPU). If this is true, can someone point me to
> > the source code in xserver of this s/w fallback routines/functions.
>
> When Xorg is set to autoconfig, then it will try to fallback to another
> video driver, usually vesa.   If no driver can be found, then it exits
> with a fatal error.
>
> --
>        -Alan Coopersmith-        alan.coopersmith at oracle.com
>         Oracle Solaris Platform Engineering: X Window System
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110317/9d6a13b0/attachment.html>


More information about the xorg-devel mailing list