EPrime 2 does not work with fast Benq xl2540 monitor

463 views
Skip to first unread message

JACanterbury

unread,
Sep 25, 2018, 6:33:49 AM9/25/18
to E-Prime
Hi,

E-Prime v2 running on Windows 10 with an NVidia GeForce GTX 1070 graphics card gives the following error when connected to a Benq XL2540 monitor.


“Invalid DisplayFrameThresholdStimDisplay error number 11076”

"Line 113"
"Error number 11076"

The monitor is capable of running upto 240fps however E-Run gives the same error even when the monitor is set to only 60fps.

I have the latest GPU and monitor drivers installed.

I notice in EPrime monitor device settings that the fastest refresh rate allowable seems to be 201 fps and wonder if this possibly relevant?

It would be great to know if anyone has succeeded in getting EPrime v2 or V3 to work with a fast monitor, especially the Benq xl2540 and also if anyone has any suggestions.

To be specific, the program starts to run and asks for the subject and sessino ID ok but then the actual experiment part hangs for a while before giving the above error message.


Many thanks,

John

JACanterbury

unread,
Sep 25, 2018, 6:34:41 AM9/25/18
to E-Prime
typo - above should read

"Line 1113"

Spape, Michiel

unread,
Sep 25, 2018, 11:00:09 AM9/25/18
to e-p...@googlegroups.com

Hi John,

Not entirely sure, but here’s a few ideas:

  • Minimum maximum: Just set the minimum below the requested 240 (e.g. 239) and the maximum above (241). It’s happy to go to 300 here (not that my monitor can handle this).
  • I would talk about FPS in the context of games (rendering+refreshing), and refresh rate (refreshing) in the context of E-Prime. Personally, I think there’s slightly different connotations (although it leads to the same idea: that rendering at a rate below refresh rate leads to screen tearing and odd artefacts).
  • The issue with these things tends to be that there are E-Prime settings, Windows settings, and the Nvidia control panel settings, and they do not necessarily always communicate brilliantly. Check, for example, whether E-Prime resolution and Windows resolution are the same, whether changing the resolution in Windows changes the refresh rate – that sort of stuff.

That’s about it from my side, hope that helps, though I think PST support may be more useful when it comes to hardware!

Best,

Michiel

--
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+u...@googlegroups.com.
To post to this group, send email to e-p...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/e-prime/41e1c6a2-7385-45ad-906a-3b8ca2504acb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

JACanterbury

unread,
Sep 25, 2018, 11:23:00 AM9/25/18
to E-Prime
pps - for completeness I should also clarify that

  1. If I connect a standard widescreen Dell monitor that just operates at 60fps my script works fine
  2. The monitor works fine, at a range of fps settings in all other cases, including with PsychoPy at 240fps

Spape, Michiel

unread,
Sep 25, 2018, 1:47:58 PM9/25/18
to e-p...@googlegroups.com

Hi John,

Did you read my reply? Please quote your original message if replying – it’s very hard to read what you’re replying to otherwise (as David pointed out previously).

  • If you enter the refresh rate in the monitor device properties (edit experiment devices, etc) as “rate requested” then do, of course, enter a maximum that is higher and a minimum that is lower. If you enter 58 as the maximum allowable but request 60, E-Prime will throw the error as you mentioned (not very surprising, but I did just check this)

Other suggestions in my previous message.

Hope that helps!

Best,

Michiel

--

You received this message because you are subscribed to the Google Groups "E-Prime" group.
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+u...@googlegroups.com.
To post to this group, send email to e-p...@googlegroups.com.

Spape, Michiel

unread,
Sep 25, 2018, 1:51:53 PM9/25/18
to e-p...@googlegroups.com

Hi John,

Further to my previous message – actually, come to think of it, just entering the refresh rate in your display device properties should do the trick (it will automatically change upper and lower limits), see below:

 

You might also like to set “match desktop resolution at runtime to Yes”.

Best,

Michiel

JACanterbury

unread,
Sep 26, 2018, 4:36:08 AM9/26/18
to E-Prime
Hi Michiel,

Thanks again for the further suggestions (I have read and tried them all).

Sadly they all produce the same error:
“Invalid DisplayFrameThresholdStimDisplay error number 11076”


I tried with refresh rates of 60, 100, 120, 240 (with the min/max settings set +/-1 accordingly and also with the Match desktop resolution at runtime set to both Yes and No but no luck.

I would be interested to know if anyone has had any success with faster refresh rates (>60 but ideally>=100) on Windows 10 with E-Prime V2 (and also V3) to get feel for the scale of the problem. If people have had joy then it would be good to know the make/model of the monitor and the refresh rates used..

Many thanks,
John

McFarlane, David

unread,
Sep 27, 2018, 11:39:19 AM9/27/18
to e-p...@googlegroups.com
Hmm. I always thought that "Match desktop resolution at runtime" meant
that E-Prime would simply run without interposing anything further on
the Windows video system, but your results indicate that must not be so.
I wonder if this has anything to do with E-Prime switching to DirectX.
I would take this to PST Support. I would also try using the Benq
monitor with EP2 on different machines, preferably at least one that
still runs good old Windows 7.

-- David McFarlane


On 2018-09-26 4:36 AM, JACanterbury wrote:
> Hi Michiel,
>
> Thanks again for the further suggestions (I have read and tried them all).
>
> Sadly they all produce the same error:
> “Invalid DisplayFrameThresholdStimDisplay error number 11076”
>
>
> I tried with refresh rates of 60, 100, 120, 240 (with the min/max settings
> set +/-1 accordingly and also with the Match desktop resolution at runtime
> set to both Yes and No but no luck.
>
> I would be interested to know if anyone has had any success with faster
> refresh rates (>60 but ideally>=100) on Windows 10 with E-Prime V2 (and
> also V3) to get feel for the scale of the problem. If people have had joy
> then it would be good to know the make/model of the monitor and the refresh
> rates used..
>
> Many thanks,
> John
>
> On Tuesday, 25 September 2018 18:51:53 UTC+1, Spape, Michiel wrote:
>>
>> Hi John,
>>
>> Further to my previous message – actually, come to think of it, just
>> entering the refresh rate in your display device properties should do the
>> trick (it will automatically change upper and lower limits), see below:
>>
>>
>>
>> You might also like to set “match desktop resolution at runtime to Yes”.
>>
>> Best,
>>
>> Michiel
>>
>>
>>
>> *From:* e-p...@googlegroups.com <javascript:> <e-p...@googlegroups.com
>> <javascript:>> *On Behalf Of *Spape, Michiel
>> *Sent:* 25 September 2018 20:48
>> *To:* e-p...@googlegroups.com <javascript:>
>> *Subject:* RE: EPrime 2 does not work with fast Benq xl2540 monitor
>>
>>
>>
>> Hi John,
>>
>> Did you read my reply? Please quote your original message if replying –
>> it’s very hard to read what you’re replying to otherwise (as David pointed
>> out previously).
>>
>> - If you enter the refresh rate in the monitor device properties (edit
>> experiment devices, etc) as “rate requested” then do, of course, enter a
>> maximum that is higher and a minimum that is lower. If you enter 58 as the
>> maximum allowable but request 60, E-Prime will throw the error as you
>> mentioned (not very surprising, but I did just check this)
>>
>> Other suggestions in my previous message.
>>
>> Hope that helps!
>>
>> Best,
>>
>> Michiel
>>
>>
>>
>>
>>
>> *From:* e-p...@googlegroups.com <javascript:> <e-p...@googlegroups.com
>> <javascript:>> *On Behalf Of *JACanterbury
>> *Sent:* 25 September 2018 18:23
>> *To:* E-Prime <e-p...@googlegroups.com <javascript:>>
>> *Subject:* Re: EPrime 2 does not work with fast Benq xl2540 monitor
>>
>>
>>
>> pps - for completeness I should also clarify that
>>
>>
>>
>> 1. If I connect a standard widescreen Dell monitor that just operates
>> at 60fps my script works fine
>> 2. The monitor works fine, at a range of fps settings in all other

JACanterbury

unread,
Sep 28, 2018, 4:32:53 AM9/28/18
to E-Prime
Hi David,

Good idea re trying the Benq on another EP2 box - I'll do that and report back.

I've raised it with PST and am awaiting further feedback.

Cheers,
John

JACanterbury

unread,
Sep 28, 2018, 7:47:18 AM9/28/18
to E-Prime
Thanks to help from PST I've now got EP2 working with a refresh rate of 240 hz on the Benq xl2540

For the record this is what I did:

1/  In Edit/Experiment/StartupInfo/Edit local values I created a new variable Display.DisplayFrameThresholdUpdate  with a value of 45%

2/ in  Edit/Experiment/Devices/Display I set Throw Error if invalid refresh rate to No and set the desired refresh rate to set whatever you have configured in Windows.

It all runs fine then and the edat2 file reports the desired refresh rate

cheers, John

Spape, Michiel

unread,
Sep 28, 2018, 7:49:55 AM9/28/18
to e-p...@googlegroups.com

Hi John,

Great to hear this worked out! (also somewhat of a relief to hear I wouldn’t for the life of me have guessed this answer, so it’s good to have it here on record) J

Best

Michiel

--

You received this message because you are subscribed to the Google Groups "E-Prime" group.
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+u...@googlegroups.com.
To post to this group, send email to e-p...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages