Re: How to enable software rendering via X server

2011-02-15 Thread Neeraj N T

I set LIBGL_ALWAYS_SOFTWARE=1.But the output I got was the same:

direct rendering: No
OpenGL renderer string: Mesa DRI Intel(R) IGDNG_M GEM 20091221 2009Q4




Neeraj N.T

drago01 wrote:

On Mon, Feb 14, 2011 at 2:07 PM, Neeraj N T neera...@tataelxsi.co.in wrote:
  

Hi All,
By using the environment variable LIBGL_ALWAYS_INDIRECT=1 my glxinfo showed
the following:

direct rendering: No
OpenGL renderer string: Mesa DRI Intel(R) IGDNG_M GEM 20091221 2009Q4

My research showed that the Xclient is actually using indirect rendering
where as the Xserver is inturn using the DRI path.
Instead of the above how can I get the below output, so that I can ensure
graphics flow is using software rendering ?

direct rendering: Yes
OpenGL renderer string: Software Rasterizer



You'd have to set LIBGL_ALWAYS_SOFTWARE=1  ... indirect rendering does
NOT mean software rendering.

  



___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

How to build a Xserver module with the tar ball source code xorg-server-1.9.3

2011-02-15 Thread Chen, Dennis (SRDC SW)
Hi Dear XORG,

 

I've download the tar ball xorg-server-1.9.3 source code from the
www.x.org, but I can't find the build detail step base on the source
code, would you pls tell me how to build the source code to generate a
Xserver module or the online link to do that?

 

Thanks,

Dennis

___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

[drm:r600_ring_test] *ERROR* radeon: ring test failed (scratch(0x8504)=0xCAFEDEAD)

2011-02-15 Thread Dan
Hi all.

I've somehow broken 3D accel on my system. I'm not quite sure if it was
me, my distro, if there is a regression, or if my hardware has issues. I
did a fairly major system update ( Sabayon ) ... and rebuilt manually:

2.6.37 kernel with modesetting
mesa from git
libdrm from git
latest radeon firmware

Now I'm getting:

[   44.612719] [drm:r600_ring_test] *ERROR* radeon: ring test failed
(scratch(0x8504)=0xCAFEDEAD)
[   44.612724] radeon :01:05.0: disabling GPU acceleration

 ... and obviously 3D accel is no longer working.

I've also tried with a 2.6.36 kernel with modesetting, which was working
previously ... it gives the same error now.

Any ideas?

Thanks for any help :)

Dan

___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: How to enable software rendering via X server

2011-02-15 Thread Dan Nicholson
On Mon, Feb 14, 2011 at 11:15 PM, Neeraj N T neera...@tataelxsi.co.in wrote:
 I set LIBGL_ALWAYS_SOFTWARE=1.But the output I got was the same:

 direct rendering: No
 OpenGL renderer string: Mesa DRI Intel(R) IGDNG_M GEM 20091221 2009Q4

This means you also have LIBGL_ALWAYS_INDIRECT set, which means the
server is creating the GLX context. I don't think you can easily
control which dri driver the server opens, but I might be wrong. So,
if you have LIBGL_ALWAYS_SOFTWARE set and LIBGL_ALWAYS_INDIRECT unset,
then you should get direct rendering with the swrast.

To review,

LIBGL_ALWAYS_INDIRECT: use the X server's GLX context. This used to
mean you'd also get software rendering, but with AIGLX you'll probably
get the hardware DRI driver.

LIBGL_ALWAYS_SOFTWARE: tell libGL to use the software renderer. This
only works with direct rendering because otherwise you're getting the
DRI driver that the X server opened, and it's not controlled by this
variable.

--
Dan
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: How to enable software rendering via X server

2011-02-15 Thread Neeraj N T


I unset LIBGL_ALWAYS_INDIRECT  and set only LIBGL_ALWAYS_SOFTWARE but 
the  output was still the same.



Neeraj

Dan Nicholson wrote:

On Mon, Feb 14, 2011 at 11:15 PM, Neeraj N T neera...@tataelxsi.co.in wrote:
  

I set LIBGL_ALWAYS_SOFTWARE=1.But the output I got was the same:

direct rendering: No
OpenGL renderer string: Mesa DRI Intel(R) IGDNG_M GEM 20091221 2009Q4



This means you also have LIBGL_ALWAYS_INDIRECT set, which means the
server is creating the GLX context. I don't think you can easily
control which dri driver the server opens, but I might be wrong. So,
if you have LIBGL_ALWAYS_SOFTWARE set and LIBGL_ALWAYS_INDIRECT unset,
then you should get direct rendering with the swrast.

To review,

LIBGL_ALWAYS_INDIRECT: use the X server's GLX context. This used to
mean you'd also get software rendering, but with AIGLX you'll probably
get the hardware DRI driver.

LIBGL_ALWAYS_SOFTWARE: tell libGL to use the software renderer. This
only works with direct rendering because otherwise you're getting the
DRI driver that the X server opened, and it's not controlled by this
variable.

--
Dan

  



___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com