What was the most recent version of VPython that did work properly? Is
the one that fails the very newest, 5.24 for Windows, made available
yesterday? I don't know of any changes over the last many versions that
would account for what you're seeing.
Apparently your graphics driver is very old by driver standards (2006),
and the most likely diagnosis is a problem with the graphics driver. It
used to be that one got graphics driver updates for a desktop machine
from the manufacturer of the graphics card, in your case NVIDIA, but one
got updates for a laptop from the laptop manufacturer. However, I
recently noticed that my Dell laptop wasn't displaying the
faces_heightfield example correctly despite Dell claiming that my
graphics driver was up to date. I updated from NVIDIA and now
faces_heightfield displays properly.
Bruce Sherwood
Dunning, Rodney wrote:
> Hello,
>
> First let me apologize if this has already been covered by recent traffic on the list. I've been working with VPython for several years, mostly in research projects with undergraduate physics majors. I wrote the VPNBody solar system dynamics package that's linked through the VPython website.
>
> I'm currently working on a Dell laptop with an NVidia graphics card. With the newest version of VPython, all my programs are producing a long output of warning messages to the Shell window. The output starts with this:
>
> -------------------
>
> VPython WARNING: errors in shader program:
> Fragment info
> -------------
> Internal error: assembly compile error for fragment shader at offset 1742:
> -- error message --
> line 56, column 7: error: invalid destination variable
> line 63, column 13: error: invalid operand variable
>
> ------------------
>
> Eventually, the output identifies my graphics card:
>
> -------------------
>
> -- internal assembly text --
> !!ARBfp1.0
> OPTION NV_fragment_program2;
> # cgc version 1.5.0000, build date May 1 2006 16:21:37
> # command line args:
> #vendor NVIDIA Corporation
> #version 1.0.02
> #profile fp40
> #program main
>
> ----------------------
>
> My programs run normally except for the text dumped to the shell window. I have attempted to update the driver for my graphics card, but I already have the latest driver according to the Dell website.
>
> The warning messages do not appear to be relevant for what I'm trying to do with VPython. But they interfere badly with screen prompts and other information that I send to the shell window. I am wondering if there is a way to suppress these messages in the shell window? Or any other fixes?
>
> Thanks.
>
> --
> Rodney Dunning
> Assistant Professor of Physics
> Longwood University
> ------------------------------------------------------------------------------
> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
> http://p.sf.net/sfu/solaris-dev2dev
> _______________________________________________
> Visualpython-users mailing list
> Vis...@li...
> https://lists.sourceforge.net/lists/listinfo/visualpython-users
>
|