From: John Stone (johns_at_ks.uiuc.edu)
Date: Wed Jun 11 2003 - 09:44:48 CDT

Hi,
  The results you're getting basically indicate that you don't have
the DRI interface enabled on your X server. The NVidia-supplied README
files that go with their drivers contain a few configuration steps that
you may have missed pertaining to DRI settings:
  ftp://download.nvidia.com/XFree86/Linux-x86/1.0-4363/README.txt

The specific text of interest is in this section of the file I've included
below, make sure you have these options set correctly on your machine:

  "If you already have an XF86Config file working with a different driver
   (such as the 'nv' or 'vesa' driver), then all you need to do is find
   the relevant Device section and replace the line:

        Driver "nv"
    (or Driver "vesa")

with

        Driver "nvidia"

In the Module section, make sure you have:

        Load "glx"

You should also remove the following lines:
      
        Load "dri"
        Load "GLcore"

if they exist. There are also numerous options that can be added to
the XF86Config file to fine-tune the NVIDIA XFree86 driver. Please see
Appendix D for a complete list of these options.

On Wed, Jun 11, 2003 at 08:40:31PM +0530, R.Sathyapriya wrote:
>
> Hello,
> This is a follow up e-mail of the problem posted early in this
> site regarding the VMD openGL window not opening (VMD-1.8, with RedHat
> 9)and exiting with error saying 'Cannot open OpenGL window'.The graphic
> card used is NVidia GeForce 2 MX 200.Examination of the glxinfo file
> gave the gave the following message:
>
> ' direct rendering: No '
>
> I have tried to open VMD as root and still the problem persists
> and exits with the same error.Hence changing permissions of /dev/nvidia0
> and /dev/nvidiactl didnot really help.
>
> Suggestions greatly acknowledged!
>
> Thanks in advance for your time,
>
> Regards,
> -spriya.
>
>
> Date: 10 Jun 2003 09:06:50 +0200
> From: Teletchéa Stéphane <steletch_at_biomedicale.univ-paris5.fr>
> To: Ramesh K. Sistla <sistla_at_mbu.iisc.ernet.in>
> Cc: VMD Mailing List <vmd-l_at_ks.uiuc.edu>
> Subject: Re: VMD Error!
>
> Le mar 10/06/2003 à 09:33, Ramesh K. Sistla a écrit :
> > > Look at the command glxinfo, it will tell you if your hardware supports
> > > direct rendering, what is your graphic card model ?
> > >
> > Hi Stef!
> >
> > Thanks for the reply.
> >
> > The graphics card is NVIDIA GeForce 2 MX. glxinfo says the card doesn't
> > support direct rendering.
> >
> > direct rendering: No
> >
> > But I am curious that this was working on the same setup a few days
> > back!
> > Let me know your thoughts about this.
> > regards
> > --
>
> I suppose you are using the nvidia's proprietary code.
> If so, i feel something about permissions.
>
> Try to log in as root, and launch vmd there.
> If it runs, it is then that your /dev/nvidia0 and /dev/nvidiactrl is no
> more readable by normal users.
>
> You can change it by chmod 0666 /dev/nvidia and /dev/nvidiactrl
>
> I suppose you have a cron table that verifies periodically the
> permissions (in mdk, for example it is regulated via msec).
>
> Stef
> --
> *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
> Teletchéa Stéphane - CNRS UMR 8601
> Lab. de chimie et biochimie pharmacologiques et toxicologiques
> 45 rue des Saints-Pères 75270 Paris cedex 06
> tél : (33) - 1 42 86 20 86 - fax : (33) - 1 42 86 83 87
> mél : steletch_at_biomedicale.univ-paris5.fr
> *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*
> Linux 2.4.19-32mdk #1 Tue Mar 25 20:45:38 MST 2003
> 9:00am up 42 days, 21:37, 5 users, load average: 1.42, 1.26, 1.20
>

-- 
NIH Resource for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
Email: johns_at_ks.uiuc.edu                 Phone: 217-244-3349              
  WWW: http://www.ks.uiuc.edu/~johns/      Fax: 217-244-6078