Re: mesa-users Digest, Vol 40, Issue 4

Wonwoo Lee <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <CAN2HcPM8izJc=ZLwHC-TLMbyuOFhWgsqz3RxoGHWBxQdD2w7cw@mail.gmail.com>
Hello Brian.

The code querying the renderer simply gives :
OSMesa Renderer = Mesa OffScreen

It is not clear whether my machine uses swrast or not.



By the way, I am trying to build Mesa 9.1.2 with OSMesa option.

./configure --enable-osmesa gives me the following results:

 OSMesa:          libOSMesa
 DRI drivers:     i915 i965 nouveau r200 radeon swrast
 DRI driver dir:  ${libdir}/dri
 GLX:             DRI-based

Does this configuration build OSMesa with llvmpipe you mentioned ?

Best regards,
Wonwoo



> Message: 2
> Date: Mon, 08 Jul 2013 16:19:00 -0600
> From: Brian Paul <[email protected]>
> To: [email protected]
> Subject: Re: [Mesa-users] Rendering speed of OSMesa ?
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> In your app, try printf("renderer = %s\n", (char *)
> glGetString(GL_RENDERER));
>
> I suspect you're using swrast.  I think you'd have to grab the latest
> Mesa from git to get the llvmpipe version of OSMesa.
>
> -Brian
>
> On 07/08/2013 03:40 PM, Wonwoo Lee wrote:
> > Hello Brian.
> >
> > I installed OSMesa on my ubuntu machine by using 'apt-get
> > install libosmesa6-dev'
> > glxinfo gives me : OpenGL version string: 2.1 Mesa 9.0.3
> > Regarding drivers, I have no idea because I'm not familiar with Mesa /
> > OSMesa libraries...
> > How do I check the driver I'm using ?
> >
> > Best,
> > Wonwoo Lee
> >
> >
> >>
> >> On 07/08/2013 12:26 AM, Wonwoo Lee wrote:
> >>> Hello.
> >>>
> >>> I tried OSMesa to render a simple scene where a textured rectangle and
> a
> >>> cylinder exist.
> >>> The size of render buffer was 640x480.
> >>>
> >>> I measured execution time of rendering several times. The speed of
> >>> rendering seems to depend on the number of pixels occupied by an object
> >>> in a rendered scene. Smaller object resulted in faster speed.
> >>
> >> That's usually how it works w/ software rendering.
> >>
> >>
> >>> My test results showed the rendering took about 20ms in average to
> >>> render a scene. It was much slower than I expected although it contains
> >>> a simple object.
> >>>
> >>> Is this a typical speed of OSMesa rendering ?
> >>
> >> Are you using the swrast driver?  Which version of Mesa?  I added
> >> support for using llvmpipe with OSMesa a few months ago.  That would
> >> give you the best performance.
> >>
> >> -Brian
> >
> >
>

_______________________________________________
mesa-users mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.