Results 1 to 10 of 12

Thread: Using software rendering

Hybrid View

  1. #1
    Join Date
    Feb 2013
    Posts
    3

    Default Using software rendering

    Hi there.
    I'm bloody desperate newbie in graphic programming and I need help. My graphic card support only OpenGL 2.1 and GLSL 1.2 and I need to use some functionality of newer GLSL, so I wanted to use mesa and its software rendering. I tried to set environment variables, change packages, but whatever I did, it throw error

    GLSL 1.30 is not supported. Supported versions are: 1.00 ES, 1.10, and 1.20

    Probably it's some my idiocy, but it's for my university project, deadline in coming and as I said, I'm desperate now
    I use Debian wheezy and its official mesa packages.
    Thanks for any help...

  2. #2
    Join Date
    Aug 2007
    Posts
    6,634

    Default

    Simple Nvidia GeForce G210 cards only cost around 20 + shipping, whats the big deal to buy a new one? What's your current card?

  3. #3
    Join Date
    Feb 2013
    Posts
    3

    Default

    Intel Mobile 4 Series Chipset Integrated Graphics, I'm working on my laptop

  4. #4
    Join Date
    Jul 2010
    Posts
    449

    Default

    I don't think mesa's software rendering supports anything above OpenGL 2.1. Is it possible for you to create a script that runs a program and collects results? That way other people could run it on OpenGL 3.0+ capable hardware for you. When is your deadline?

  5. #5
    Join Date
    Jul 2009
    Location
    Germany
    Posts
    504

    Default

    Quote Originally Posted by archibald View Post
    I don't think mesa's software rendering supports anything above OpenGL 2.1. Is it possible for you to create a script that runs a program and collects results? That way other people could run it on OpenGL 3.0+ capable hardware for you. When is your deadline?
    There's no OGL 3.0 but GLSL 1.3, at least with latest mesa:

    Code:
    $ LIBGL_ALWAYS_SOFTWARE=1 glxinfo
    [...]
    OpenGL vendor string: VMware, Inc.
    OpenGL renderer string: Gallium 0.4 on softpipe
    OpenGL version string: 2.1 Mesa 9.2-devel (git-12c0cce)
    OpenGL shading language version string: 1.30
    [...]

  6. #6
    Join Date
    Feb 2008
    Location
    Linuxland
    Posts
    5,132

    Default

    Softpipe supports that already in Mesa 8.0.

    OpenGL renderer string: Gallium 0.4 on softpipe
    OpenGL version string: 3.0 Mesa 8.0.3
    OpenGL shading language version string: 1.30

  7. #7
    Join Date
    Nov 2012
    Location
    France
    Posts
    583

    Default

    Quote Originally Posted by Kano View Post
    Simple Nvidia GeForce G210 cards only cost around 20 + shipping, whats the big deal to buy a new one? What's your current card?
    Any graphics card with DDR3 is a scam...

  8. #8
    Join Date
    Feb 2008
    Location
    Linuxland
    Posts
    5,132

    Default

    @ChrisXY

    Use GALLIUM_DRIVER to select between llvmpipe and softpipe.

    LIBGL_ALWAYS_SOFTWARE=1 GALLIUM_DRIVER=softpipe glxinfo


    What I don't know is how to choose between swrast (classic sw renderer) and softpipe, but swrast is pretty dead nowadays.

  9. #9
    Join Date
    Jun 2010
    Location
    ฿ 16LDJ6Hrd1oN3nCoFL7BypHSEYL84ca1JR
    Posts
    1,052

    Default

    Thanks, that does the trick:
    Code:
    LIBGL_ALWAYS_SOFTWARE=1 GALLIUM_DRIVER=softpipe glxinfo | grep OpenGL
    OpenGL vendor string: VMware, Inc.
    OpenGL renderer string: Gallium 0.4 on softpipe
    OpenGL version string: 2.1 Mesa 9.2-devel (git-b63b301)
    OpenGL shading language version string: 1.30
    I had read this documentation page: http://www.mesa3d.org/envvars.html
    And this was not on there.

  10. #10
    Join Date
    Feb 2008
    Location
    Linuxland
    Posts
    5,132

    Default

    True, even a google search for that on site:mesa3d.org finds nothing.

    Would you like to submit a patch to mesa? A one-liner to the HTML documentation would surely be a soft landing to mesa development

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •