<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
<title></title>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
<title></title>
<br>
I unset LIBGL_ALWAYS_INDIRECT  and set only LIBGL_ALWAYS_SOFTWARE but
the  output was still the same.<!--WISESTAMP_SIG_57427_START--> <span
 style="color: black;"></span><span style="color: black;">
<div dir="ltr">
<div><br>
<br style="font-family: arial black,sans-serif;">
<span style="color: rgb(0, 0, 0); font-family: garamond,serif;">Neeraj</span><br
 style="font-weight: bold; color: rgb(0, 0, 0); font-family: courier new,monospace;">
<font style="color: rgb(102, 102, 102);" size="2"><span
 style="font-family: courier new,monospace;"></span></font><font
 style="color: rgb(102, 102, 102);" size="2"><span
 style="font-family: courier new,monospace;"><br>
</span></font></div>
</div>
</span><!--WISESTAMP_SIG_71100_END-->Dan Nicholson wrote:
<blockquote
 cite="mid:AANLkTime6UJ7p81d=QoZxaQH4fgR3E0+OkukmqxYzbec@mail.gmail.com"
 type="cite">
  <pre wrap="">On Mon, Feb 14, 2011 at 11:15 PM, Neeraj N T <a class="moz-txt-link-rfc2396E" href="mailto:neerajnt@tataelxsi.co.in"><neerajnt@tataelxsi.co.in></a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">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
    </pre>
  </blockquote>
  <pre wrap=""><!---->
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

  </pre>
</blockquote>
<br>
<font face="monospace"></font></body>
</html>