# Screen function crashing on laptop

**URL:** https://psychtoolbox.discourse.group/t/screen-function-crashing-on-laptop/3878
**Category:** Hardware
**Tags:** windows
**Created:** [May 25, 2021, 4:28am UTC](https://psychtoolbox.discourse.group/t/screen-function-crashing-on-laptop/3878 "2021-05-25T04:28:22Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mindexplorer](https://avatars.discourse-cdn.com/v4/letter/m/aeb1de/32.png) [@mindexplorer](https://psychtoolbox.discourse.group/u/mindexplorer)
#### Post date: [May 25, 2021, 4:28am UTC](https://psychtoolbox.discourse.group/t/screen-function-crashing-on-laptop/3878/1 "2021-05-25T04:28:22Z")

</div>

I am trying to write some code for a simple perceptual response task on my laptop, but my code is crashing as soon as it gets to the Screen function. I am getting various error messages saying its likely something to do with my vertical sync but I cannot work it out.  
I am on a 64-bit windows 10 computer with an Intel core i5 9th gen processor, 8gb ram. My display graphics use an Intel UHD Graphics 630 and a NVIDIA GeForce GTX 1650.  
I have followed all of the recommendations in the SyncTroubles page and cannot resolve the issue. I believe the sync issues may be caused by having 2 graphics cards. Has anyone been able to fix this before?

Thanks,

Jeremy.
