Re: Python-visual in latest Ubuntu

Seth Morton <[email protected]>
Newsgroups gmane.comp.python.visualpython.user
Organization The Pennsylvania State University
Message-ID <[email protected]>
I am running Fedora, not Ubuntu, but I experience similar problems.  
When I use the nVidia drivers that come from RPMFusion, I get a segfault 
whenever I try to display an scene with VPython (just as I have seen 
described as with the latest Ubuntu).  I have been experiencing this 
issue since Fedora 11 (current release is 15); it now seems that its 
made it's way over to Ubuntu.

I have found that installing the driver that is downloaded directly from 
nVidia's web site gets rid of this issue.  It seems that some of the 
black magic happening in the RPM (and I am assuming the .deb for Ubuntu) 
affects things that the binary from nVidia does not.  The drawback then 
is that when I use nVidia's driver and then update the kernel, X windows 
crashes (not a VPython issue, but worthy of note).  One also has to 
manually disable the nouveau driver that comes with Fedora.

Seth

On 11/28/2011 05:04 PM, Bruce Sherwood wrote:
> Thanks much for this very useful information, John.
>
> It certainly does seem like a driver problem, though I suppose it is
> possible that Visual contains some inappropriate use of OpenGL that
> shows up only with new drivers.
>
> Bruce Sherwood
>
> On Mon, Nov 28, 2011 at 12:11 PM, John Zelle<john.zelle-EcGxh6Kpiib2fBVCVOL8/[email protected]>  wrote:
>> Hi again,
>>
>> I've gotten my python-visual on Intel video working under Ubuntu 11.10. Installing the libgtkglextmm-x11-1.2-dev package fixed the GL error I was getting. I had to go to the site_settings.py library file and turn the shaders off. It seems to be working now without issues.
>>
>> It now appears to me that the seg fault issue is specific to NVIDIA graphics, which raises the possibility that it is a driver issue for NVIDIA cards.
>>
>> John Zelle, PhD
>> Professor of Computer Science
>> Wartburg College
>>
>>
>> ________________________________________
>> From: Kevin Karplus [karplus-Emgmuai4XwL2fBVCVOL8/[email protected]]
>> Sent: Monday, November 28, 2011 12:04 PM
>> To: [email protected]
>> Cc: visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>> Subject: Re: [Visualpython-users] Python-visual in latest Ubuntu
>>
>> I have, sadly, had to remove 32-bit Python from my machine, thus
>> breaking Vpython.  I had another package that I had to use for my
>> research that only was too difficult to reconfigure to compile to
>> 32-bit Python on a 64-bit machine.  So I needed 64-bit Python to do my
>> work.
>>
>> So I've had to give up on Vpython for my own use (though my son will
>> still use it on the household computer, which does not need to run
>> research code and can tolerate using 32-bit Python).  I suppose, that
>> with considerable effort I could dig up an old version of Python that
>> could be compiled for a 32-bit machine, but the hassle involved is too
>> large.  Having both a 32-bit and 64-bit version of Python 2.7.2 on the
>> same Mac seems to be very difficult to set up, as the Mac method for
>> having multiple versions of python seems to rely on the version number
>> to keep the directories straight.
>>
>> Unless the 32-bit kluge is fixed within the next year, Vpython will
>> become just another good idea that disappeared because it was tied to
>> obsolete technology.  I suspect that Vpython will almost disappear
>> within 3-5 years if it remains tied to legacy computers.
>>
>> Kevin Karplus
>>
>> ------------------------------------------------------------------------------
>> All the data continuously generated in your IT infrastructure
>> contains a definitive record of customers, application performance,
>> security threats, fraudulent activity, and more. Splunk takes this
>> data and makes sense of it. IT sense. And common sense.
>> http://p.sf.net/sfu/splunk-novd2d
>> _______________________________________________
>> Visualpython-users mailing list
>> Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>> https://lists.sourceforge.net/lists/listinfo/visualpython-users
>>
>> ------------------------------------------------------------------------------
>> All the data continuously generated in your IT infrastructure
>> contains a definitive record of customers, application performance,
>> security threats, fraudulent activity, and more. Splunk takes this
>> data and makes sense of it. IT sense. And common sense.
>> http://p.sf.net/sfu/splunk-novd2d
>> _______________________________________________
>> Visualpython-users mailing list
>> Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>> https://lists.sourceforge.net/lists/listinfo/visualpython-users
>>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure
> contains a definitive record of customers, application performance,
> security threats, fraudulent activity, and more. Splunk takes this
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> _______________________________________________
> Visualpython-users mailing list
> Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/visualpython-users

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
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.