Mesa-6.5.2 (libs, glut and DRI video drivers)

Stuff that has yet to be sorted into a category.
Post Reply
Message
Author
wow
Posts: 1052
Joined: Fri 30 Jun 2006, 00:18
Location: Peru

Mesa-6.5.2 (libs, glut and DRI video drivers)

#1 Post by wow »

Mesa is an open-source implementation of the OpenGL specification - a system for rendering interactive 3D graphics.

A variety of device drivers allows Mesa to be used in many different environments ranging from software emulation to complete hardware acceleration for modern GPUs.

Mesa ties into several other open-source projects: the Direct Rendering Infrastructure and X.org to provide OpenGL support to users of X on Linux, FreeBSD and other operating systems.
Beryl requires Mesa, so I compiled the last development release. I'll compile it for the Xorg version of the official Puppy later.

Home page: http://www.mesa3d.org/
DRI (Direct Rendering Infrastructure): http://dri.freedesktop.org/wiki/FrontPage

Sources: http://sourceforge.net/project/showfiles.php?group_id=3

Packages and contents:
  • mesa-6.5.2-soft.pup (Software renderer)
    MesaLibs and MesaGlut. Uses Xlib to do all rendering. The libGL.so library is a self-contained rendering library that will allow you to run OpenGL/GLX applications on any X server (regardless of whether it supports the GLX X server extension). You will not be able to use hardware 3D acceleration
    • ./usr/X11R7/lib:
      libGL.so
      libGL.so.1
      libGL.so.1.5.060502
      libGLU.so
      libGLU.so.1
      libGLU.so.1.3.060502
      libglut.so
      libglut.so.3
      libglut.so.3.7.1
      libGLw.so
      libGLw.so.1
      libGLw.so.1.0.0
      libOSMesa.so
      libOSMesa.so.6
      libOSMesa.so.6.5.060502
    mesa-6.5.2.pup (Hardware renderer)
    MesaLibs and MesaGlut. Requires DRI or proprietary drivers, first install this dotpup then the video drivers(DRI, ATI or nVidia).
    • ./usr/X11R7/lib:
      libGL.so
      libGL.so.1
      libGL.so.1.2
      libGLU.so
      libGLU.so.1
      libGLU.so.1.3.060502
      libglut.so
      libglut.so.3
      libglut.so.3.7.1
      libGLw.so
      libGLw.so.1
      libGLw.so.1.0.0
    mesa-6.5.2-dev.pup
    Development files.
    • ./usr/X11R7/include/GL:
      amesa.h
      dmesa.h
      fxmesa.h
      ggimesa.h
      glext.h
      glfbdev.h
      gl.h
      gl_mangle.h
      glu.h
      glu_mangle.h
      glutf90.h
      glut.h
      GLwDrawA.h
      GLwDrawAP.h
      GLwMDrawA.h
      GLwMDrawAP.h
      glxext.h
      glx.h
      glx_mangle.h
      mesa_wgl.h
      mglmesa.h
      osmesa.h
      svgamesa.h
      uglglutshapes.h
      uglmesa.h
      vms_x_fix.h
      wmesa.h
      xmesa.h
      xmesa_xf86.h
      xmesa_x.h
    mesa-6.5.2-dri.pup
    Drivers for video cards. Requires libdrm-2.3.0 and mesa-6.5.2.pup
    • ./usr/X11R7/lib/xorg/modules/dri:
      ffb_dri.so
      i810_dri.so
      i915_dri.so
      i915tex_dri.so
      i965_dri.so
      mach64_dri.so
      mga_dri.so
      r128_dri.so
      r200_dri.so
      r300_dri.so
      radeon_dri.so
      s3v_dri.so
      savage_dri.so
      sis_dri.so
      tdfx_dri.so
      trident_dri.so
      unichrome_dri.so
    mesa-6.5.2-demos.pup
    Some demos. To run a demo type its name on a terminal window.
    • ./usr/X11R7/bin:
      arbfplight
      arbfslight
      arbocclude
      bounce
      clearspd
      cubemap
      drawpix
      engine
      fire
      fogcoord
      fplight
      fslight
      gamma
      gearbox
      gears
      geartrain
      geartrain.dat
      glinfo
      gloss
      glslnoise
      gltestperf
      glutfx
      ipers
      isosurf
      isosurf.dat
      lodbias
      morph3d
      multiarb
      paltex
      pointblast
      ray
      readpix
      reflect
      renormal
      shadowtex
      singlebuffer
      spectex
      spriteblast
      stex3d
      streaming_rect
      teapot
      terrain
      terrain.dat
      tessdemo
      texcyl
      texdown
      texenv
      texobj
      trispd
      tunnel
      tunnel2
      vao_demo
      winpos

      ./usr/X11R7/images:
      arch.rgb
      bw.rgb
      girl2.rgb
      girl.rgb
      reflect.rgb
      s128.rgb
      tile.rgb
      tree2.rgba
      tree3.rgb
      wrs_logo.rgb
    mesa-6.5.2-xdemos.pup
    More demos. To run a demo type its name on a terminal window.
    • ./usr/X11R7/bin:
      glthreads
      glxcontexts
      glxdemo
      glxgears
      glxgears_fbconfig
      glxheads
      glxinfo
      glxpbdemo
      glxpixmap
      glxswapcontrol
      manywin
      offset
      overlay
      pbdemo
      pbinfo
      wincopy
      xdemo
      xfont
      xrotfontdemo
      yuvrect_client
Installation and notes:

If you haven't installed the drivers for your video card please use 3DCC (MU's 3D Control Center) first. If you want to install Beryl or test the latest drivers keep reading...
Don't use 3DCC these packages contains newer versions than the used in 3DCC.
'nvidia:' is for nvidia cards(AGP) using the proprietary driver.
'other:' is for ATI and other graphic cards/chipsets using free drivers(What cards? Read above for content of mesa-6.5.2-dri.pup).

nvidia: Make sure you have Xorg as xserver
nvidia: Start X(typing xwin)
nvidia: Install mesa-6.5.2.pup
nvidia: Extract NVIDIA-9629-k2.6.18.1.tar.gz to / [get it here]
nvidia: Type the next commands on a terminal window:

Code: Select all

depmod
modprobe agpgart
modprobe i2c-core
nvidia: Run these commands to configure the 'xorg.conf' file for general purpose:

Code: Select all

nvidia-xconfig
restartwm
nvidia: Or these commands to configure the 'xorg.conf' file for Beryl:

Code: Select all

nvidia-xconfig --add-argb-glx-visuals --allow-glx-with-composite --disable-glx-root-clipping --render-accel --composite --depth=24
restartwm
other: Make sure you have Xorg as xserver
other: Start X(typing xwin)
other: If you have installed my 'Xorg 7.2' package
other: don't follow the next step.
other: (only for x11r7.0) Open PETget/PupGet and install
other: (only for x11r7.0) xorg_OPENGL-7.0
other: Install mesa-6.5.2.pup
other: Install libdrm-2.3.0.pup
other: Extract [drm-02Jul07-k2.6.18.1.tar.gz] to /
other: and run this command: depmod -aq
other: Install the drivers: mesa-6.5.2-dri.pup
other: Edit /etc/X11/xorg.conf as show above:

Code: Select all

Section "Module"
# This loads the DBE extension module.
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
# This loads the font modules
    Load           "dbe"  	# Double buffer extension
    SubSection     "extmod"
        Option         "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
    Load           "type1"
    Load           "freetype"
# This loads the GLX module
    Load           "glx"
    Load           "dri"         # This enables the Direct Rendering
# This loads xtrap extension, used by xrandr
    Load           "xtrap"
EndSection
other: Extra step for Beryl(x11r7.2 only) add these lines(at the end of xorg.conf):

Code: Select all

Section "Extensions"
    Option         "Composite" "Enable"
EndSection 
other: Restart X.

Download Mesa-6.5.2 for [x11r7.2 built-in AIGLX] from: (install this for Beryl) Download Mesa-6.5.2 for x11r7.0 (Puppy-2.12 to 2.15CE maybe olders) from:(just for curious, not an necessary update) Download libdrm-2.3.0.pup [here]
and drm-02Jul07-k2.6.18.1.tar.gz [here]
Last edited by wow on Fri 13 Jul 2007, 02:08, edited 2 times in total.
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]

wow
Posts: 1052
Joined: Fri 30 Jun 2006, 00:18
Location: Peru

#2 Post by wow »

Mesa-6.5.2 for x11r7.0 (Puppy-2.12 to 2.15CE) uploaded, first post edited. 8)
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#3 Post by Lobster »

Wow Wow (so to speak)
http://puppylinux.org/wikka/BowWow
Download Mesa-6.5.2 for Puppy-2.12 to 2.15CE(x11r7.0):
I am using Nvidia and 2.15
So downloaded the above (I actially downloaded 4 files - one of which was the demos)

Demos did not seem to work so I ran the first 3 parts of 3DCC (which sets up the kernel etc

The demos then worked but I think I need to set up specific Nvidia drivers (have done this before) which should increase graphic speed x3

I did try to run your Beryl work but got confused around about mesa installation . . .

The genius of the Puppy methodology is Puppy works. Barry is quite a minimalist but because the core is so polished and honed, we can add some of these great features. :)

I hope for those who like me, are very interested and excited by Beryl, Looking Glass, Matisse etc, we can eventually have this Beryl as an add on or a specialist Pup.

Anyway just to say that it is working on 2.15 and to encourage your exciting work towards "Puppy 3D" or is it "Beryl Pup" 8)

woof woof I say

Woof Woof
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

wow
Posts: 1052
Joined: Fri 30 Jun 2006, 00:18
Location: Peru

#4 Post by wow »

Was my fault I always forget to give instructions. :lol: I'll edit the first post ASAP.
And don't worry about tests.
Puppy-2.15CE final (the first one, not the last one), mesa-6.5.2.pup, xfce, Beryl-0.2.1 and nVidia drivers:
Image

I also was thinking about an ISO, but an ISO is for me and few others, dotpups are for everyone. All this work is for fun, my goal was to make a portable and small system with Beryl, now I have it...
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]

sitech
Posts: 1
Joined: Tue 21 Aug 2007, 21:10

#5 Post by sitech »

I need to install MESA for a program called MolMol.

However I also need it to run on as many machines as possible! If I install the hardware accelerated version + the driver pack + the nvidia driver will that cover me for a large proportion of computers? Can the hardware rendering pup also do software rendering?

Or am I better off installing the software rendering pack ?

Post Reply