xserver without DDX video driver.

2011-03-17 Thread kumar vemuri
Hi All, Have just started looking into the xserver code and is a spare time project of mine. Would be great if someone can answer the following basic questions. The DDX video driver module loaded into the xserver talks to the DRM for its functionality. a. What happens when the vid

Re: xserver without DDX video driver.

2011-03-17 Thread Adam Jackson
On Thu, 2011-03-17 at 06:44 -0700, kumar vemuri wrote: > 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

Re: xserver without DDX video driver.

2011-03-17 Thread Alan Coopersmith
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 mod

Re: xserver without DDX video driver.

2011-03-17 Thread kumar vemuri
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 dri

Re: xserver without DDX video driver.

2011-03-17 Thread Dave Airlie
> > 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?) pretty much what you get if you just load vesa driver. it should use swrast for all GLX. Da

Re: xserver without DDX video driver.

2011-03-18 Thread kumar vemuri
Hi Dave, Thanks for the reply. a) Are you suggesting that Vesa always uses swrast for 3D rendering? Was reading some articles on the net and it seems like vesa driver can be used with a DRI based 3D Hardware driver also. Would really appreciate if you could elaborate here a little. b) Assuming

Re: xserver without DDX video driver.

2011-03-18 Thread Alan Coopersmith
On 03/18/11 05:15 AM, kumar vemuri wrote: > c) what is the difference between a vesa driver and a dummy driver? VESA drives a hardware graphics device, using the least common denominator VESA standard - you'll see its output on your monitor. Dummy just allocates some virtual memory and draws pic

Re: xserver without DDX video driver.

2011-03-18 Thread Adam Jackson
On 3/17/11 6:54 PM, kumar vemuri wrote: 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. So you want to use the DRI to get direct hardware access... a. I dont wish to use the GPU for