Closed Teraisu closed 2 years ago
When does it crash exactly? Right after choosing an audio input in the drop-down or after clicking "Start Stream"? Is there any error message?
Once I click start stream and click on my browser the app would crash. Also, there's no error code.
Could you check which capture method is enabled in the settings? Right now I don't know what can be causing the crash. Could you record a video replicating how the crash happens? That would be really helpful.
its hard for me to send a video, it says that the file size is too big. the capture method used is dxgi duplication and windows 10. while having the discord audio window open, it would crash once i click to do other things, without error. the app just closes, then i have to try to open it again.
I see. Here are some things you could try to see if we can narrow down the source of the crash:
yea its still crashes while changing both of the capture methods. however, the other version works perfectly fine.
I added some code to output a file called stack_trace.txt
next to the .exe when it crashes, could you download the latest prerelease and see if it prints anything?
from what ive seen the app still crashes the same way. doesnt output any file when crashing.
Well, since the old version works just fine, you will probably have to use it for now until I have some free time to fix this issue. I'm quite busy right now, but in 1 or 2 weeks I will have a look at this and try to find a fix.
It's fine take your time !
Sorry this took so long, I've been very busy lately. I added a new option in Settings > Debug for printing a log of the actions performed inside the program. Please read the new section at the end of the readme: Reporting a bug/crash. The log should help me find out why the app is crashing (and more importantly, why it's not printing the stack trace when it crashes). Thank you for your patience. Edit: The download link is the same prerelease link as always.
no problem, however, its still crashing. here's the debug log. DiscordAudioStream_log.txt
Ok, now at least I know where the problem is. Could you try this prerelease and send me the logs again?
after clicking start stream and having the window up, it would freeze after clicking on other things.
I see... I'm sorry this is taking so much time. I have not been able to reproduce this bug in my computer, so the only way I have to find the issue are your logs. Can you download the latest prerelease and send me the logs again? It will still freeze, but the logs should be more useful now.
Don't worry about it i know that you're trying your hardest. I think its cause im playing on a different game res so the app bugs from it. i play on 1024x768 and thats not my monitors native.. idk if thats the cause of it though.
Don't worry about it i know that you're trying your hardest
Thank you for understanding :)
I think its cause im playing on a different game res so the app bugs from it
That's actually a very good idea, the app does indeed seem to freeze when I open a fullscreen game. As soon as I have some free time I will submit a fix, it should be ready in a few hours.
Ok, this prerelease fixes the fullscreen app issues. Let's see if it also fixes this issue once and for all.
DiscordAudioStream_log.txt the screen turns black when playing. however, when i go back into my desktop it works again. theres still a res issue. ive tried playing on 1920 x 1080 and it works fine with aspect raitio. when changed to full screen 1024 x768 the discord audio stream turns black.
At this point I'm starting to think this may be an issue with DirectX. Could you tell me a game where this issue happens, so that I can download it and try to reproduce the bug?
Valorant
Well, this is a complete wild guess, but I made some changes which may (or may not) fix this issue: download link. If it still doesn't work, send me the logs and also try the following:
Windows 10
and BitBlt
.Which of those combinations (if any) solve the black screen issue?
Sorry for the wait, unfortunately, it still doesn't work. I think it's a res issue while playing instead of playing native.
That's unfortunate... Could you send me the debug logs and also tell me which (if any) of the following solve the issue?
Windows 10
.BitBlt
still having issues when using these settings. however, ive tried it on counter strike and it worked perfectly fine. When on the main menu on valorant its fine. selecting training range can continue to shoot around it the screen goes black. if i was to switch to native res on val it works fine. DiscordAudioStream_log.txt
By looking at the log it seems that you are not using the latest version of DiscordAudioStream. You either forgot to download the new version or you are attaching the incorrect logs. Could you check again and send me the log?
If you were not using the latest version, this could explain why there was no improvement even when changing the game settings.
oh sorry about that , ive tried again DiscordAudioStream_log.txt
And does it work? Have you tried the changes I suggested?
- Change the Screen Capture method to
Windows 10
.- Change the Screen Capture method to
BitBlt
- In Valorant, change the display mode to "Windowed Fullscreen" instead of "Fullscreen".
Unfortunately it doesn't work still.
The Windows 10
and BitBlt
methods are usually very reliable, so it's not normal that neither of them work. I'm starting to think this could be a bug in the way Discord captures video, or perhaps some kind of anticheat from Valorant.
In another issue you mentioned that you have 2 monitors. When you say that "the screen goes black", which of those do you mean?
They only fix is when I play on the native res. But when I play on the 1024x768 it stops working.this is the issue that occurs " 1. You have the DiscordAudioStream window in the second monitor, and you can see that the captured image is black and so does the viewers "
Ok, thank you for staying patient. I will do some testing with other games at low resolutions and I will let you know if I find anything
No problem, I feel like its only a val issue. Hasn't been an issue for me on counter strike.
Is that new update for this ?
No, it's only for some minor improvements that are not directly related to this issue. It's just that those changes have been accumulating in the dev branch for some time and I wanted to group them in a new release.
I installed Valorant on another PC with Windows 10, and it still works fine when I change the video resolution in the settings. I will probably close this issue, since it's currently unfixable and I cannot reproduce it.
Before leaving it as a lost cause, there are still a couple of things we could try:
Got it to work !
That's great! How did you fix it?
That's great! How did you fix it?
I had my nvidia settings set to the res that I wanted (1024x768) instead of having the res changed in game. I'm assuming that the res on the desktop was conflicting with the res in game, which caused the stream bug. When I matched the res on the nvidia control panel with the res in the game it worked.
app crashes on the pre release after setting the app up, doing the discord mixer, and doing the input.