# Fatal error: Unexpected cudaStreamQuery failure

**URL:** <https://gromacs.bioexcel.eu/t/fatal-error-unexpected-cudastreamquery-failure/899>\
**Category:** User discussions\
**Created:** [October 2, 2020, 10:25am UTC](https://gromacs.bioexcel.eu/t/fatal-error-unexpected-cudastreamquery-failure/899 "2020-10-02T10:25:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vemaparna](https://avatars.discourse-cdn.com/v4/letter/v/41988e/32.png) [@vemaparna](https://gromacs.bioexcel.eu/u/vemaparna)\
**Post date:** [October 2, 2020, 10:25am UTC](https://gromacs.bioexcel.eu/t/fatal-error-unexpected-cudastreamquery-failure/899/1 "2020-10-02T10:25:10Z")

</div>

GROMACS version:2020.3  
GROMACS modification: No  
Hi! All,  
I have been trying protein-Complex tutorial. Everything went on smooth untill the MD run

gmx mdrun -deffnm md\_0\_10  
got the error as below:

Source file: src/gromacs/gpu\_utils/cudautils.cuh (line 260)  
Fatal error:  
Unexpected cudaStreamQuery failure: unspecified launch failure

I have installed cuda 10.2 for my GPU ( Quadro P620) on Ubuntu 18.04  
NVIDIA driver version: 440.33.01

I don’t think it is a problem with gromacs, as i could run the equilibration NVE and NPT, but unable to run only the MD run. I wonder if it is the problem with cuda

Thanks in advance

---

<div class="post-metadata">

**Author:** ![sam](https://avatars.discourse-cdn.com/v4/letter/s/5f9b8f/32.png) [@sam](https://gromacs.bioexcel.eu/u/sam)\
**Post date:** [November 5, 2020, 5:50am UTC](https://gromacs.bioexcel.eu/t/fatal-error-unexpected-cudastreamquery-failure/899/2 "2020-11-05T05:50:17Z")

</div>

did you solve it ?

---

<div class="post-metadata">

**Author:** ![vemaparna](https://avatars.discourse-cdn.com/v4/letter/v/41988e/32.png) [@vemaparna](https://gromacs.bioexcel.eu/u/vemaparna)\
**Post date:** [November 5, 2020, 9:18am UTC](https://gromacs.bioexcel.eu/t/fatal-error-unexpected-cudastreamquery-failure/899/3 "2020-11-05T09:18:05Z")

</div>

Hi! Sam,  
The issue was solved with a simple change in screen lock time. The problem was due to lesser display time. So I removed the screen lock and got rid of the error

---

<div class="post-metadata">

**Author:** ![sam](https://avatars.discourse-cdn.com/v4/letter/s/5f9b8f/32.png) [@sam](https://gromacs.bioexcel.eu/u/sam)\
**Post date:** [November 6, 2020, 4:45pm UTC](https://gromacs.bioexcel.eu/t/fatal-error-unexpected-cudastreamquery-failure/899/4 "2020-11-06T16:45:28Z")

</div>

thanks for replying and helping. i will try it now

---

<div class="post-metadata">

**Author:** ![Yel21](https://avatars.discourse-cdn.com/v4/letter/y/b2d939/32.png) [@Yel21](https://gromacs.bioexcel.eu/u/Yel21)\
**Post date:** [October 25, 2023, 7:49am UTC](https://gromacs.bioexcel.eu/t/fatal-error-unexpected-cudastreamquery-failure/899/5 "2023-10-25T07:49:47Z")

</div>

Hello, @sam !

I have the similar problem with Gromacs 2020.2 when start calculation on RTX 4090.

Did simple change a screen lock time help you to solve the problem?
