Thanks Alan and Adam for the replies.<div><br></div><div>Have another related question:</div><div><br></div><div>i want to build a software based 3D and 2D renderer system with DRI with the following.</div><div>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. </div>
<div>b. Also, i want to build a couple of configs; one in Direct Rendering Mode and the other in Indirect Rendering Mode. </div><div><br></div><div>Are the following valid configs? (Both server and Client are on the same PC)</div>
<div><br></div><div><b>A. Indirect Rendering Mode </b></div><div><br></div><div> ___________ __________________________________________________ </div><div> | | | xserver |</div>
<div> | libGL | ------------------------------------------------->| _____________ | </div><div> |___________| | | D I X | |</div>
<div> | GLX |___________ | |</div><div> | | |</div>
<div> | | | |</div>
<div> |_________|_________________ V |</div><div> | | --------------------------- |</div>
<div> | | | Vesa / Dummy | |</div><div> --------------------- _______ V _______ | | 2D Driver | |</div>
<div> | Mesa 3D | <---------------| swrast_dri.so | | |_______________| |</div><div> |____________| |_______________| |______________________|</div>
<div><br></div><div><br></div><div><br></div><div><b>B. Direct Rendering Mode</b></div><div><br></div><div><div> ___________ __________________________________________________ </div>
<div> | | | xserver |</div><div> | libGL | ----------------------------> | _____________ | </div>
<div> |___________| | | D I X | |</div><div> | | GLX |___________ | |</div>
<div> | | | |</div><div> | | | |</div>
<div> | |__________________________ V |</div><div> | | --------------------------- |</div>
<div> | | | Vesa / Dummy | |</div><div> ------------------ V______________ | | 2D Driver | |</div>
<div> | Mesa 3D | <---------------| swrast_dri.so | | |_______________| |</div><div> |_________| |_______________| |______________________|</div>
</div><div><br></div><div><br></div><div><br></div><div>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?)</div>
<div>Would really appreciate your replies.</div><div><br></div><div><br></div><div>Thanks </div><div>K</div><div><br></div><div><br><br><div class="gmail_quote">On Thu, Mar 17, 2011 at 11:17 AM, Alan Coopersmith <span dir="ltr"><<a href="mailto:alan.coopersmith@oracle.com" target="_blank">alan.coopersmith@oracle.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On 03/17/11 06:44 AM, kumar vemuri wrote:<br>
> The DDX video driver module loaded into the xserver talks to the<br>
> DRM for its functionality.<br>
<br>
</div>Some of them do, but not all of them.<br>
<div><br>
> a. What happens when the video driver is not available? Am guessing that<br>
> the xserver will fallback to a s/w mode in the absence of 2D<br>
> acceleration/2D driver (GPU). If this is true, can someone point me to<br>
> the source code in xserver of this s/w fallback routines/functions.<br>
<br>
</div>When Xorg is set to autoconfig, then it will try to fallback to another<br>
video driver, usually vesa. If no driver can be found, then it exits<br>
with a fatal error.<br>
<font color="#888888"><br>
--<br>
-Alan Coopersmith- <a href="mailto:alan.coopersmith@oracle.com" target="_blank">alan.coopersmith@oracle.com</a><br>
Oracle Solaris Platform Engineering: X Window System<br>
<br>
</font></blockquote></div><br></div>