4 May 2013 03:02
6 Dec 2012 03:56
Linux VisionEgg
Hi, All,
I had a strange question. We are using VisonEgg on a Linux Ubuntu 11 as well as on other Windows platforms. We notice that VisionEgg is updating per frame at 714 Hz on the Linux box, but is at the pre-set OpenGL settings (200 Hz) on Windows. Is there something different with how OpenGL interfaces with VisionEgg on Linux?
Thank you,
Angelique Paulk
22 Oct 2012 02:22
quicktime.py
Hi all, I'm having trouble playing quicktime files in VisionEgg. Playback is choppy (even though the machine is quite capable (16 GB of RAM and a solid-state disk), and the video is not rendering correctly -- the image is skewed. Details: Windows 7, 64-bit Python 2.7.3 (32-bit version) Pygame 1.9.2a0 (32-bit) visionegg 1.2.1 Quicktime 7.7.2 Example file: https://www.dropbox.com/s/kvvkxxodo8ox8q0/test.mp4 Has anybody seen this? Thanks, Eamon ====================================== The Vision Egg mailing list Archives: http://www.freelists.org/archives/visionegg Website: http://www.visionegg.org/mailinglist.html
13 Jul 2012 15:37
Re: Ubuntu
It is certainly possible to set a 2nd display to > 75Hz in Ubuntu 12.04
-- we're doing that as standard practice in my lab. Try replacing your
Screen1 section in /etc/X11/xorg.conf with the following and reboot.
Section "Screen"
Identifier "Screen1"
Device "Device1"
Monitor "Monitor1"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "CRT: 1024x768_120 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
On 07/13/2012 02:05 PM, Yanqiong Zhou wrote:
> Thanks Andrew,
>
> The second issue should be resolved as you suggestion.
> I tried the nvidia-settings and xrandr command, both of them failed.
> I can change the resolution of both monitors and refresh rate of primary monitor, but not the refresh rate
of second monitor.
> It seems that other people have similar issue caused by display card driver.
> I could not find a suitable driver for my display card in Ubuntu 12.04.
> I probably need go back to Ubuntu 11.
>
> Warm Regards,
>
> Yan-Qiong
>
>
>
> On Fri, Jul 13, 2012 at 5:38 PM, Andrew Straw
<andrew.straw@...<mailto:andrew.straw@...>> wrote:
> Dear Yan-Qiong,
>
> The "nvidia-settings" program should let you adjust the frame rate of your display. See the attached
image. I had to also select my monitor resolution to allow me to set this.
>
> For issue #2, I think this is the same problem as described here: SDL 1.2 meets Gnome
3<http://frozenbyte.com/board/viewtopic.php?f=17&t=4229>. My suggestion is not to open VE
programs in fullscreen mode but rather use a window the size of the display and set the "No frame around
window" option.
>
> Best regards,
> Andrew
>
>
> On 07/12/2012 12:59 PM, Yanqiong Zhou wrote:
>
> Hi Andrew,
>
> Sorry to trouble you.
> I'm Yanqiong, working with Angelique in Bruno's lab.
> I have two stupid questions about running visionegg on the linux system:
> (1) I can't set up the second monitor (LED panels) to a refresh rate higher than 75HZ in Ubuntu12.04, using
NVIDIA Geforce 9600GT. I tried nouveau, NVIDIA 295.49 driver and higher NVIDIA driver... ...
> Do you have any suggestion about the version of Ubuntu and NVIDIA driver that can allow me to set up the
second monitor to a high refresh rate?
>
> (2) When I using vision egg to display visual stimulus on the second monitor in Ubuntu, it showed
"visionegg" on the top-left corner. How can I only show the visual stimulus?
>
> Many thanks for your consideration.
>
> Best Regards,
>
> Yan-Qiong
>
>
>
>
>
> --
> Andrew D. Straw, Ph.D.
> Research Institute of Molecular Pathology (IMP)
> Vienna, Austria
> http://strawlab.org/
>
>
>
--
--
Andrew D. Straw, Ph.D.
Research Institute of Molecular Pathology (IMP)
Vienna, Austria
http://strawlab.org/
======================================
The Vision Egg mailing list
Archives: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html
13 Jul 2012 09:38
Re: Ubuntu
Dear Yan-Qiong,
The "nvidia-settings" program should let you adjust the frame rate of your display. See the attached image. I had to also select my monitor resolution to allow me to set this.
For issue #2, I think this is the same problem as described here: SDL 1.2 meets Gnome 3. My suggestion is not to open VE programs in fullscreen mode but rather use a window the size of the display and set the "No frame around window" option.
Best regards,
Andrew
On 07/12/2012 12:59 PM, Yanqiong Zhou wrote:
The "nvidia-settings" program should let you adjust the frame rate of your display. See the attached image. I had to also select my monitor resolution to allow me to set this.
For issue #2, I think this is the same problem as described here: SDL 1.2 meets Gnome 3. My suggestion is not to open VE programs in fullscreen mode but rather use a window the size of the display and set the "No frame around window" option.
Best regards,
Andrew
On 07/12/2012 12:59 PM, Yanqiong Zhou wrote:
Hi Andrew, Sorry to trouble you. I'm Yanqiong, working with Angelique in Bruno's lab. I have two stupid questions about running visionegg on the linux system: (1) I can't set up the second monitor (LED panels) to a refresh rate higher than 75HZ in Ubuntu12.04, using NVIDIA Geforce 9600GT. I tried nouveau, NVIDIA 295.49 driver and higher NVIDIA driver... ... Do you have any suggestion about the version of Ubuntu and NVIDIA driver that can allow me to set up the second monitor to a high refresh rate? (2) When I using vision egg to display visual stimulus on the second monitor in Ubuntu, it showed "visionegg" on the top-left corner. How can I only show the visual stimulus? Many thanks for your consideration. Best Regards, Yan-Qiong
-- Andrew D. Straw, Ph.D. Research Institute of Molecular Pathology (IMP) Vienna, Austria http://strawlab.org/
16 Apr 2012 07:36
Re: SinGrating2D function
Yes, but set it much more than 1, e.g. 1e6.
On 16-Apr-12 06:32, Shih-Yu Lo wrote:
-- Andrew D. Straw, Ph.D. Research Institute of Molecular Pathology (IMP) Vienna, Austria http://strawlab.org/
On 16-Apr-12 06:32, Shih-Yu Lo wrote:
P {margin-top:0;margin-bottom:0;}Hi all,
In the SinGrating2D fuction, if I set the contrast parameter more than 1, then the grating becomes a square wave. Is it true?
-- Andrew D. Straw, Ph.D. Research Institute of Molecular Pathology (IMP) Vienna, Austria http://strawlab.org/
16 Apr 2012 07:32
21 Mar 2012 21:48
28 Feb 2012 19:13
VisionEgg Error: Index out of bounds?
Hello All,
I am a neuroscience masters student working at the U of S, where we use VisionEgg in our experiments. We recently had a computer crash on us, and have been scrambling since to get everything up and running again (we use an integrated program (GLVS) that uses vision egg). Everything was looking fine, but now the program seems to be crashing every couple of stimuli. The error message ends with:
VisionEgg's core.py, line 1522, in tick
self.timing_histogram[index] += 1
IndexError: index out of bounds
We are using VisionEgg 1.0 with python 2.4 and win32. Does anyone have any recommendations for us? We would greatly appreciate it.
Paul Dick
====================================== The Vision Egg mailing list Archives: http://www.freelists.org/archives/visionegg Website: http://www.visionegg.org/mailinglist.html
27 Oct 2011 16:55
EEG triggers
Dear Andrew Im was wondering how I can use VisionEgg to send triggers to 'Neuroscan' (EEG machine - though parallel port). Going by your suggestion in previous posts (from 2003!) I tried importing raw_lpt_module from VisionEgg.DaqLPT but i get a 'module doesn't exist' error. Has this been changed/updated in Vision Egg 1.2.1? I have installed all the dependencies listed on the vision egg website - I'm using python version 2.6.7 on a Mac OS X 10.7.2. looking forward to your response. Thanks Tara ====================================== The Vision Egg mailing list Archives: http://www.freelists.org/archives/visionegg Website: http://www.visionegg.org/mailinglist.html
14 Sep 2011 13:00
Recording frame times
Hi, I'd like to save the frame times during my code. Would anyone be so kind as to show me the lines I should add to the grating.py demo code (below) to make this happen? I'd be very grateful. Apologies for such an obvious question, it remains unclear to me after checking the archives and documentation, no doubt because of my lack of Python. Many thanks, Kit **************************** Kit Longden The Krapp Lab: Insect vision, sensory integration, motor control and robotics. Contact: kit@..., +44 20759 40717 http://www3.imperial.ac.uk/people/c.longden <http://www3.imperial.ac.uk/people/c.longden> Address: Dr Kit Longden, Department of Bioengineering, Imperial College London, South Kensington campus, London, SW7 2AZ, U.K. **************************** #!/usr/bin/env python """Sinusoidal grating calculated in realtime.""" ############################ # Import various modules # ############################ import VisionEgg VisionEgg.start_default_logging(); VisionEgg.watch_exceptions() from VisionEgg.Core import * from VisionEgg.FlowControl import Presentation from VisionEgg.Gratings import * ##################################### # Initialize OpenGL window/screen # ##################################### screen = get_default_screen() ###################################### # Create sinusoidal grating object # ###################################### stimulus = SinGrating2D(position = ( screen.size[0]/2.0, screen.size[1]/2.0 ), anchor = 'center', size = ( 300.0 , 300.0 ), spatial_freq = 10.0 / screen.size[0], # units of cycles/pixel temporal_freq_hz = 1.0, orientation = 45.0 ) ############################################################### # Create viewport - intermediary between stimuli and screen # ############################################################### viewport = Viewport( screen=screen, stimuli=[stimulus] ) ######################################## # Create presentation object and go! # ######################################## p = Presentation(go_duration=(5.0,'seconds'),viewports=[viewport]) p.go()====================================== The Vision Egg mailing list Archives: http://www.freelists.org/archives/visionegg Website: http://www.visionegg.org/mailinglist.html
RSS Feed