Howdy, Stranger!

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

Supported by

[solved] No available video device

edited October 2013 in OpenSesame

Hey all,

I tried to run my experiment on a university computer, but I get the error 'No available video device'.
Anyone has a clue what it means, and how it can be solved?

Cheers!

Comments

  • edited October 2013

    Could it be that the display resolution of the monitor you're trying to use is lower than the resolution you have set in OpenSesame?

    If not, type the following in the Debug Window and report your resolution, as well as the outcome of the final line:

    import pygame
    pygame.init()
    pygame.display.list_modes()
    
  • edited October 2013

    Nope, I already checked the resolution.

    When I run your code in an inline script, the debug window shows:

    *Warning: OpenGL does not support window mode. OpenGL will be deactivated!
    Traceback (most recent call last):
    
      File "dist\libqtopensesame\qtopensesame.py", line 1393, in run_experiment
    
      File "dist\libopensesame\experiment.py", line 278, in run
    
      File "dist\libopensesame\experiment.py", line 611, in init_display
    
      File "dist\openexp\canvas.py", line 47, in init_display
    
      File "dist\openexp\_canvas\xpyriment.py", line 365, in init_display
    
      File "C:\Program Files\OpenSesame\expyriment\control\_experiment_control.py", line 309, in initialize
    
      File "C:\Program Files\OpenSesame\expyriment\io\_screen.py", line 74, in __init__
    error: No available video device
    
  • edited 11:01PM

    When you try to run it via an inline_script, OpenSesame will first try to initialize a display. Hence the persistence of the error. That's why I asked if you could run it in the Debug Window ;)

  • edited 11:01PM

    Ah, how do you run stuff in the debug window? I just wrote it down there, but it didn't do anything when I entered, and I couldn't find a 'run' button anywhere...

  • edited 11:01PM

    Go to the Debug Window, then type it in line by line, pressing Enter at the end of each line. If you copy it directly and enter it all in one go, weird stuff happens. It should look like this:

    Python 2.7.3
    Type "help()", "copyright()", "credits()" or "license()" for more information.
    Type "modules()" for details about installed modules and version information.
    Use the "print [msg]" statement in inline_script items to print to this debug window.
    >>> import pygame
    >>> pygame.init()
    (6, 0)
    >>> pygame.display.list_modes()
    [(2560, 1024), (1280, 1024), (1152, 864), (1024, 768), (800, 600), (720, 400), (640, 480)]
    >>> 
    

    Although I suspect that the final line (showing the available modes) might be an empty list in your case.

  • edited October 2013

    Ok, so this is what I got:

    Python 2.7.5
    Type "help()", "copyright()", "credits()" or "license()" for more information.
    Type "modules()" for details about installed modules and version information.
    Use the "print [msg]" statement in inline_script items to print to this debug window.
    >>> import pygame
    
    >>> pygame.init()
    (5, 1)
    
    >>> pygame.display.list_modes()
    Traceback (most recent call last):
      File "<console>", line 1, in <module>
    error: video system not initialized
    >>> 
    
  • edited 11:01PM

    It seems PyGame's display module is not properly initialized. What version of OpenSesame are you using?

    A quick fix would probably be to switch to the psycho backend, which uses PsychoPy. This should avoid the PyGame issue. Otherwise, if you're running from source, re-installing PyGame would probably be the best way to go.

  • edited 11:01PM

    I'm using the latest opensesame version. I'll try reinstall Psychopy

  • edited 11:01PM

    Ok, so I tried running it with PsychoPy, and got the following error:

    glActiveTexture is not exported by the available OpenGL driver. VERSION_1_3 is required for this functionality.

  • edited 11:01PM

    Hi Wouter,

    There's probably a problem with the video drivers on these computers. I'm not sure whether you can do anything about it, except for updating the drivers (which you probably can't do yourself on the university computers) or ask help from the system administrators.

    Cheers,
    Sebastiaan

  • edited 11:01PM

    I had just had them replace my entire computer. Problem Solved. Thanks!

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