Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

[open] Problem with video memory/ texture corruption at the end of experiment

edited June 2014 in OpenSesame

Dear all,

Recently I started working with Open Sesame and find it very nice to work with! When I was debugging my experiment, I ran into a video memory problem (I think!) and was hoping the forum could give me some advice how to fix this.

In brief, the experiment is about measuring approach/avoidance behavior. The participant has to move a stickman towards or away from a stimulus. Depending on prior instructions and the type of stimulus, the participant receives specific feedback after each trial and block.

Now the problem:
The experiment works exactly as I want it to work, however, after approximately 500 trials (9 blocks), the stimuli are not presented properly on the screen anymore:
1. the little stickman starts flickering or disappears from the screen
2. the feedback screen is not presented anymore after each trial
3. text is missing in the block feedback screen
4. the experiment doesn't close immediately when using the Esc button

I tried the Psycho and Legacy back-end: Psycho resulted in most problems with stimulus presentation+feedback presentation. Using the Legacy back-end the stimuli were presented properly, however, feedback after each trial was not given anymore at the end of the experiment. Also, I auto-ran the experiment on different PC's, but both gave the same errors.

Thanks in advance for your help!

Joanne

Comments

  • edited 11:22PM

    Hi Joanne,

    While I don't know specifically what's causing your problem, it sounds like

    • Each trial in your experiment is quite complex (is there animation involved?)
    • Your experiment is VERY long.

    so you're probably right, your poor computer is running out of memory.

    Without seeing the code you're using to run the experiment (I presume you're using inline python, because it sounds quite complicated), I can only give some blind suggestions. I would suggest you do tell us more about how each trial is actually programmed though.

    • Consider redefining your canvas at the start of each block

      • from openexp.canvas import canvas
      • my_canvas = canvas(exp)
    • Look for other variables/objects that get set once, and then linger for the rest of the experiment. I think you can clear them with my_big_variable = None

    • If all else fails, can you split your experiment into two seperate files?

    Eoin

  • edited 11:22PM

    To add to what Eoin says: it sounds like you might be initializing a new canvas object every time the stick figure moves (or with every new trial). With animated stimuli and a lot of trials, the trick is to create a single sketchpad at the start of your experiment, and manipulate this as the experiment progresses. That is: clear it and redraw its contents.

    This has helped me run an OpenSesame-based game on very ancient computers in the past.

    Good luck!

    Edwin

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games