Discord cannot detect Dota2 application for screen sharing
Your system information
- System information from steam (
Steam->Help->System Information) in a gist: https://gist.github.com/nims11/717de98b20d010cba3be5c8de2a290d9 - Have you checked for system updates?: Yes
- Are you using the latest stable video driver available for your system? Yes
- Have you verified the game files?: Yes
Please describe your issue in as much detail as possible:
Dota2 doesn't list as an application when trying to screen share applications with discord. All other applications/window show up. Few months ago, I had no problem doing so. Currently, the only workaround is to share the full screen or launch dota2 with gamescope (discord shows up gamescoped dota2 as an application).
Also doesn't work with running Discord via chromium/firefox. I have tried on both wayland and X.
Steps for reproducing this issue:
- Launch dota
- Join a voice channel in Discord and click on share screen.
- Dota2 doesn't show up in the "Applications" tab of screen sharing options.
It also shows up while forcing Proton usage, but Proton itself does not work with Dota 2 for me. So forcing Proton might be potential temporary fix for this problem.
I also want to add that sharing entire screen with Discord leads to graphical artifacts around top bar (it partially is missed and flickers).
If it worked few months ago it means it broke in the patch where Valve deprecated OpenGL for Windows and made some changes in the client for Linux.
My system information https://gist.github.com/eazy12/b5edcafa4295320774d0211f5a67901d
I also want to add some information that graphic API being used does not matter to the outcome, but other Dota Source 2 games like Artifact (at least the Classic one) and Dota Underlords are detected by Discord
Edit: My system information:
https://gist.github.com/deanrih/72da4722d51347c6a4322f1ba3b4804b
I found solution: 1) Run dota2 2)Change to window mode 3)You can see dota2 in detected application for sharing 4) After sharing you can change to full screen mode I had problem with my cusor, it was big after changing to full screen mode. Right-click Dota 2 in your Steam library, click "Properties", "Set launch options", and add: -cursor_scale_percent 100