# GPU0 caused sharing crashed

**URL:** <https://devforum.zoom.us/t/gpu0-caused-sharing-crashed/68626>\
**Category:** Windows\
**Created:** [May 7, 2022, 1:22am UTC](https://devforum.zoom.us/t/gpu0-caused-sharing-crashed/68626 "2022-05-07T01:22:57Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![xinheblue](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/xinheblue/32/43620_2.png) [@xinheblue](https://devforum.zoom.us/u/xinheblue)\
**Post date:** [May 7, 2022, 1:22am UTC](https://devforum.zoom.us/t/gpu0-caused-sharing-crashed/68626/1 "2022-05-07T01:22:57Z")

</div>

**Description**  
My computer has two graphics cards, integrated and independent. Zoomsdk uses Gpu0 by default when I’m not doing anything. But in some cases, using Gpu0 caused my program to crash. So, is there a way for me to start zoomSDK in code using the specified graphics card

**Which Windows Meeting SDK version?**  
windows v5.9.3.3191

**Screenshots**

 ![1651204245(1)](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/2/3/23854bea64be9d805703528e505dfd218cffe5aa.png)

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [May 9, 2022, 7:11pm UTC](https://devforum.zoom.us/t/gpu0-caused-sharing-crashed/68626/2 "2022-05-09T19:11:01Z")

</div>

Hi @xinheblue,

The SDK does not provide the ability to select a specific GPU on your machine, but you can toggle hardware acceleration by calling [`EnableHardwareEncode`](https://marketplacefront.zoom.us/sdk/meeting/windows/class_i_video_setting_context.html#a193e2dce354dc2cccd0d9d5e3cb16a87).

Thanks!

---

<div class="post-metadata">

**Author:** ![xinheblue](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/xinheblue/32/43620_2.png) [@xinheblue](https://devforum.zoom.us/u/xinheblue)\
**Post date:** [May 10, 2022, 5:10am UTC](https://devforum.zoom.us/t/gpu0-caused-sharing-crashed/68626/4 "2022-05-10T05:10:09Z")

</div>

Hi @jon.zoom  
Okay,In that case, I will tell you my computer model,Lenovo Y7000P 2021.The crash occurred when I repeatedly used the screen Share feature on this computer. Can you fix or improve this problem?  
Thanks!

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [May 10, 2022, 8:00pm UTC](https://devforum.zoom.us/t/gpu0-caused-sharing-crashed/68626/5 "2022-05-10T20:00:16Z")

</div>

Hi @xinheblue,

We can definitely look into the cause of the crash itself. Let’s get some additional information:

1. Are you able to reproduce this crash using the SDK sample app?
2. Is this crash present with the default UI or a custom UI?
3. Can you provide the crash dump?
4. What are the exact steps to reproduce?

Thanks!

---

<div class="post-metadata">

**Author:** ![xinheblue](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/xinheblue/32/43620_2.png) [@xinheblue](https://devforum.zoom.us/u/xinheblue)\
**Post date:** [May 11, 2022, 7:51am UTC](https://devforum.zoom.us/t/gpu0-caused-sharing-crashed/68626/6 "2022-05-11T07:51:34Z")

</div>

Hi ,@jon.zoom  
Sure, if you follow my steps, you will definitely meet .  
1.I used Default UI  
2.Two participants are required to enter the meeting. Lenovo y7000p 2021 is required for number 1 and no limit for number 2 .  
3. In the meeting, let Number 2 share the screen first and then turn it off.  
4. Let number 1 turn screen sharing on and off repeatedly.

There are log files and dump files in my computer, but I don’t know how to upload them .

Thanks!

---

<div class="post-metadata">

**Author:** ![xinheblue](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/xinheblue/32/43620_2.png) [@xinheblue](https://devforum.zoom.us/u/xinheblue)\
**Post date:** [May 13, 2022, 1:05am UTC](https://devforum.zoom.us/t/gpu0-caused-sharing-crashed/68626/7 "2022-05-13T01:05:15Z")

</div>

Hi @jon.zoom  
According to my steps, do you meet the problems I described? Anyway, please give me an answer.  
Thanks!

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [May 13, 2022, 7:15pm UTC](https://devforum.zoom.us/t/gpu0-caused-sharing-crashed/68626/8 "2022-05-13T19:15:22Z")

</div>

Hi @xinheblue,

For the log files and crash dump, you can either upload them through a file sharing service or attach them to a ticket through our [developer support site](https://zoomdevelopersupport.zendesk.com/hc/en-us). If you choose the latter option, please let me know the ticket number so I can locate it.

Thanks!

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [May 17, 2022, 8:16pm UTC](https://devforum.zoom.us/t/gpu0-caused-sharing-crashed/68626/10 "2022-05-17T20:16:37Z")

</div>

Hi @xinheblue,

Thanks for providing that. We’ll investigate and let you know once we have any updates.

Thanks!

---

<div class="post-metadata">

**Author:** ![xinheblue](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/xinheblue/32/43620_2.png) [@xinheblue](https://devforum.zoom.us/u/xinheblue)\
**Post date:** [May 19, 2022, 3:16am UTC](https://devforum.zoom.us/t/gpu0-caused-sharing-crashed/68626/11 "2022-05-19T03:16:51Z")

</div>

Hi @jon.zoom  
Did you reproduce the problem I described?

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [May 19, 2022, 8:50pm UTC](https://devforum.zoom.us/t/gpu0-caused-sharing-crashed/68626/12 "2022-05-19T20:50:49Z")

</div>

Hi @xinheblue,

As it turns out, we are unable to access the logs through that site. Can you please try uploading them through a ticket on our [developer support site](https://zoomdevelopersupport.zendesk.com/hc/en-us)?

Thanks!

---

<div class="post-metadata">

**Author:** ![xinheblue](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/xinheblue/32/43620_2.png) [@xinheblue](https://devforum.zoom.us/u/xinheblue)\
**Post date:** [May 23, 2022, 1:11am UTC](https://devforum.zoom.us/t/gpu0-caused-sharing-crashed/68626/13 "2022-05-23T01:11:49Z")

</div>

Hello, @jon.zoom  
Have you made any new progress? Can you confirm the willingness of this question?

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [May 24, 2022, 6:54pm UTC](https://devforum.zoom.us/t/gpu0-caused-sharing-crashed/68626/14 "2022-05-24T18:54:59Z")

</div>

Hi @xinheblue,

As mentioned in my last reply, we are unable to access the logs you’ve provided. Please upload them through a ticket on the developer support site and let me know the ticket number so we can investigate.

Thanks!

---

<div class="post-metadata">

**Author:** ![xinheblue](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/xinheblue/32/43620_2.png) [@xinheblue](https://devforum.zoom.us/u/xinheblue)\
**Post date:** [May 25, 2022, 3:20am UTC](https://devforum.zoom.us/t/gpu0-caused-sharing-crashed/68626/15 "2022-05-25T03:20:33Z")

</div>

Hi @jon.zoom  
I’m sorry that I ignored your last words. I re-uploaded the log file to Google web disk. You can try to download it.

> **[logs.7z](https://drive.google.com/file/d/1WwjDEZpjtS9FRFCvotLcYBzFo9MiCnuR/view?usp=sharing)**
>
> Google Drive file.

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [May 26, 2022, 8:17pm UTC](https://devforum.zoom.us/t/gpu0-caused-sharing-crashed/68626/16 "2022-05-26T20:17:09Z")

</div>

Hi @xinheblue,

Absolutely no worries! Thanks for uploading the logs to drive. I can definitely access them now, so we’ll investigate and keep you updated.

Thanks!

---

<div class="post-metadata">

**Author:** ![xinheblue](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/xinheblue/32/43620_2.png) [@xinheblue](https://devforum.zoom.us/u/xinheblue)\
**Post date:** [May 31, 2022, 2:59am UTC](https://devforum.zoom.us/t/gpu0-caused-sharing-crashed/68626/17 "2022-05-31T02:59:17Z")

</div>

hi @jon.zoom  
Did you verify the problem I described? Is there any new progress?

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [May 31, 2022, 8:47pm UTC](https://devforum.zoom.us/t/gpu0-caused-sharing-crashed/68626/18 "2022-05-31T20:47:21Z")

</div>

Hi @xinheblue,

Based on the information provided, this crash does not appear to be caused by our SDK. It is possibly an issue of conflicting drivers, but as this is outside of the scope of our SDK we cannot assist any further without additional evidence that this is caused by our SDK.

Thanks!

---

<div class="post-metadata">

**Author:** ![xinheblue](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/xinheblue/32/43620_2.png) [@xinheblue](https://devforum.zoom.us/u/xinheblue)\
**Post date:** [June 1, 2022, 1:32am UTC](https://devforum.zoom.us/t/gpu0-caused-sharing-crashed/68626/19 "2022-06-01T01:32:56Z")

</div>

Hi @jon.zoom  
I’m pretty sure you’re right. Because that’s the graphics driver for it. When I had two graphics cards on my computer, the ZoomSDK chose the wrong graphics driver, causing the program to crash.  
So I need you to either make it compatible with different graphics drivers or let me choose which one I want to use.

---

<div class="post-metadata">

**Author:** ![xinheblue](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/xinheblue/32/43620_2.png) [@xinheblue](https://devforum.zoom.us/u/xinheblue)\
**Post date:** [June 1, 2022, 1:39am UTC](https://devforum.zoom.us/t/gpu0-caused-sharing-crashed/68626/20 "2022-06-01T01:39:27Z")

</div>

The problems I’ve described are not just in my app, but even in your demo. You can use Zoom on the same computer, but you can’t use the ZoomSDK.  
I can’t say to my customers, “Your computer can’t use our app, destroy it.” Isn’t it?

---

<div class="post-metadata">

**Author:** ![xinheblue](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/xinheblue/32/43620_2.png) [@xinheblue](https://devforum.zoom.us/u/xinheblue)\
**Post date:** [June 1, 2022, 1:55am UTC](https://devforum.zoom.us/t/gpu0-caused-sharing-crashed/68626/21 "2022-06-01T01:55:19Z")

</div>

I know this is a little difficult for you. But I chose ZoomSDK because Zoom is a very stable app, which makes me feel reliable.  
But now, on the same computer, Zoom works, but the ZoomSDK Demo crashes. This is the evidence I give.  
I can’t provide technical help, but I can provide my equipment information in as much detail as possible.

GPU0: Intel(R) UHD Graphics.  
GPU1: NVIDIA GeForce RTX 3050 Ti Laptop GPU.  
PC: Lenovo y7000p 2021  
SDK Version: windows v5.9.3.3191

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [June 1, 2022, 7:05pm UTC](https://devforum.zoom.us/t/gpu0-caused-sharing-crashed/68626/22 "2022-06-01T19:05:52Z")

</div>

Hi @xinheblue,

Thanks for clarifying that you’re able to successfully run Zoom on the same machine. The SDK and the client share many of the same components, so they should function similarly in this regard. We’ll need to investigate this further and see why the behavior is different in the SDK. I’ll let you know once we have any updates.

Thanks!

[Next page](https://devforum.zoom.us/t/gpu0-caused-sharing-crashed/68626.md?page=2)
