Comments (5)
Thanks. As I suspected, AMD encoder is crashing when we're trying to test for working encoders.
0:000> k
# Child-SP RetAddr Call Site
00 000000ce`437fe7a0 00007ffe`82f052f9 amfrt64+0x11eaba
01 000000ce`437fe860 00007ffe`82f63a87 amfrt64+0x1152f9
02 000000ce`437febb0 00007ffe`82e48fae amfrt64+0x173a87
03 000000ce`437ff260 00007ff6`ec549993 amfrt64+0x58fae
04 000000ce`437ff3c0 00007ff6`ec53dc95 sunshine!ff_amf_receive_packet+0x933 [D:\a\build-deps\build-deps\ffmpeg_sources\ffmpeg\libavcodec\amfenc.c @ 814]
05 000000ce`437ff4f0 00007ff6`ec53e4e9 sunshine!encode_receive_packet_internal+0x4e5 [D:\a\build-deps\build-deps\ffmpeg_sources\ffmpeg\libavcodec\encode.c @ 295]
06 000000ce`437ff590 00007ff6`ec4a6506 sunshine!avcodec_send_frame+0xb9 [D:\a\build-deps\build-deps\ffmpeg_sources\ffmpeg\libavcodec\encode.c @ 381]
07 000000ce`437ff600 00007ff6`ec4abf96 sunshine!encode+0x36 [D:\a\Sunshine\Sunshine\src\video.cpp @ 1006]
08 000000ce`437ff720 00007ff6`ec4ac813 sunshine!validate_config+0x3e6 [D:\a\Sunshine\Sunshine\src\video.cpp @ 1836]
09 000000ce`437ff890 00007ff6`ec4ad53f sunshine!validate_encoder+0x723 [D:\a\_temp\msys64\mingw64\include\c++\13.1.0\bitset @ 425]
0a 000000ce`437ff9c0 00007ff6`edab6a28 sunshine!probe_encoders+0xaaf [D:\a\Sunshine\Sunshine\src\video.cpp @ 2049]
0b 000000ce`437ffa80 00007ff6`ec4512ee sunshine!main+0x828 [D:\a\Sunshine\Sunshine\src\main.cpp @ 624]
0c 000000ce`437ffc50 00007ff6`ec451406 sunshine!__tmainCRTStartup+0x16e [C:\M\B\src\mingw-w64\mingw-w64-crt\crt\crtexe.c @ 273]
0d 000000ce`437ffca0 00007ffe`eb2f26ad sunshine!mainCRTStartup+0x16 [C:\M\B\src\mingw-w64\mingw-w64-crt\crt\crtexe.c @ 195]
0e 000000ce`437ffcd0 00007ffe`ec40aa68 kernel32!BaseThreadInitThunk+0x1d
0f 000000ce`437ffd00 00000000`00000000 ntdll!RtlUserThreadStart+0x28
It looks like it's happening during HEVC Main10 encoder tests which old hardware like this doesn't even support, so I made a possible fix to avoid probing HEVC Main10 on older drivers.
Please try this build https://github.com/LizardByte/Sunshine/suites/14970304158/artifacts/854085489 (need to be signed in with your GitHub account for the link to work). If this build doesn't work, please attach new logs and a new dump file.
from sunshine.
Usually these are display driver bugs, but we'll need a memory dump to know for sure.
To collect a memory dump:
- Download and extract ProcDump
- Start an admin command prompt in the directory where you extracted ProcDump
- Run
procdump -e -ma -w sunshine.exe
- Start Sunshine to trigger the crash and wait for a
.dmp
file to be written in the ProcDump directory - Compress the dump file and attach it to this issue.
from sunshine.
Usually these are display driver bugs, but we'll need a memory dump to know for sure.
To collect a memory dump:
- Download and extract ProcDump
- Start an admin command prompt in the directory where you extracted ProcDump
- Run
procdump -e -ma -w sunshine.exe
- Start Sunshine to trigger the crash and wait for a
.dmp
file to be written in the ProcDump directory- Compress the dump file and attach it to this issue.
Here are file 3 memory dump files it produced compressed in the zip files. I uploaded it to mega.nz since it exceeds with the Github 25 MB file size limit
https://mega.nz/file/sx5zzKAI#I7Td49FIgmh7mMrPo1r8CJizDwlhAkttEVMh78mJIG8
Log:
C:\Procdump>procdump -e -ma -w sunshine.exe
ProcDump v11.0 - Sysinternals process dump utility
Copyright (C) 2009-2022 Mark Russinovich and Andrew Richards
Sysinternals - www.sysinternals.com
Waiting for process named sunshine.exe...
Process: sunshine.exe (19244)
Process image: C:\Program Files\Sunshine\sunshine.exe
CPU threshold: n/a
Performance counter: n/a
Commit threshold: n/a
Threshold seconds: n/a
Hung window check: Disabled
Log debug strings: Disabled
Exception monitor: Unhandled
Exception filter: [Includes]
*
[Excludes]
Terminate monitor: Disabled
Cloning type: Disabled
Concurrent limit: n/a
Avoid outage: n/a
Number of dumps: 1
Dump folder: C:\Procdump\
Dump filename/mask: PROCESSNAME_YYMMDD_HHMMSS
Queue to WER: Disabled
Kill after dump: Disabled
Press Ctrl-C to end monitoring without terminating the process.
[14:29:26] Process Exit: PID 19244, Exit Code 0x00000000
[14:29:26] The process has exited.
[14:29:26] Dump count not reached.
C:\Procdump>procdump -e -ma -w sunshine.exe
ProcDump v11.0 - Sysinternals process dump utility
Copyright (C) 2009-2022 Mark Russinovich and Andrew Richards
Sysinternals - www.sysinternals.com
Waiting for process named sunshine.exe...
Process: sunshine.exe (4244)
Process image: C:\Program Files\Sunshine\sunshine.exe
CPU threshold: n/a
Performance counter: n/a
Commit threshold: n/a
Threshold seconds: n/a
Hung window check: Disabled
Log debug strings: Disabled
Exception monitor: Unhandled
Exception filter: [Includes]
*
[Excludes]
Terminate monitor: Disabled
Cloning type: Disabled
Concurrent limit: n/a
Avoid outage: n/a
Number of dumps: 1
Dump folder: C:\Procdump\
Dump filename/mask: PROCESSNAME_YYMMDD_HHMMSS
Queue to WER: Disabled
Kill after dump: Disabled
Press Ctrl-C to end monitoring without terminating the process.
[14:30:06] Exception: C0000005.ACCESS_VIOLATION
[14:30:06] Unhandled: C0000005.ACCESS_VIOLATION
[14:30:06] Dump 1 initiated: C:\Procdump\sunshine.exe_230809_143006.dmp
[14:30:07] Dump 1 writing: Estimated dump file size is 218 MB.
[14:30:10] Dump 1 complete: 218 MB written in 3.1 seconds
[14:30:10] Dump count reached.
C:\Procdump>procdump -e -ma -w sunshine.exe
ProcDump v11.0 - Sysinternals process dump utility
Copyright (C) 2009-2022 Mark Russinovich and Andrew Richards
Sysinternals - www.sysinternals.com
Waiting for process named sunshine.exe...
Process: sunshine.exe (18736)
Process image: C:\Program Files\Sunshine\sunshine.exe
CPU threshold: n/a
Performance counter: n/a
Commit threshold: n/a
Threshold seconds: n/a
Hung window check: Disabled
Log debug strings: Disabled
Exception monitor: Unhandled
Exception filter: [Includes]
*
[Excludes]
Terminate monitor: Disabled
Cloning type: Disabled
Concurrent limit: n/a
Avoid outage: n/a
Number of dumps: 1
Dump folder: C:\Procdump\
Dump filename/mask: PROCESSNAME_YYMMDD_HHMMSS
Queue to WER: Disabled
Kill after dump: Disabled
Press Ctrl-C to end monitoring without terminating the process.
[14:30:21] Exception: C0000005.ACCESS_VIOLATION
[14:30:21] Unhandled: C0000005.ACCESS_VIOLATION
[14:30:21] Dump 1 initiated: C:\Procdump\sunshine.exe_230809_143021.dmp
[14:30:21] Dump 1 writing: Estimated dump file size is 215 MB.
[14:30:23] Dump 1 complete: 215 MB written in 1.7 seconds
[14:30:23] Dump count reached.
C:\Procdump>procdump -e -ma -w sunshine.exe
ProcDump v11.0 - Sysinternals process dump utility
Copyright (C) 2009-2022 Mark Russinovich and Andrew Richards
Sysinternals - www.sysinternals.com
Waiting for process named sunshine.exe...
[14:30:44] Multiple processes match the specified name.
C:\Procdump>procdump -e -ma -w sunshine.exe
ProcDump v11.0 - Sysinternals process dump utility
Copyright (C) 2009-2022 Mark Russinovich and Andrew Richards
Sysinternals - www.sysinternals.com
Waiting for process named sunshine.exe...
Process: sunshine.exe (18696)
Process image: C:\Program Files\Sunshine\sunshine.exe
CPU threshold: n/a
Performance counter: n/a
Commit threshold: n/a
Threshold seconds: n/a
Hung window check: Disabled
Log debug strings: Disabled
Exception monitor: Unhandled
Exception filter: [Includes]
*
[Excludes]
Terminate monitor: Disabled
Cloning type: Disabled
Concurrent limit: n/a
Avoid outage: n/a
Number of dumps: 1
Dump folder: C:\Procdump\
Dump filename/mask: PROCESSNAME_YYMMDD_HHMMSS
Queue to WER: Disabled
Kill after dump: Disabled
Press Ctrl-C to end monitoring without terminating the process.
[14:30:50] Exception: C0000005.ACCESS_VIOLATION
[14:30:50] Unhandled: C0000005.ACCESS_VIOLATION
[14:30:50] Dump 1 initiated: C:\Procdump\sunshine.exe_230809_143050.dmp
[14:30:50] Dump 1 writing: Estimated dump file size is 217 MB.
[14:30:52] Dump 1 complete: 217 MB written in 1.8 seconds
[14:30:52] Dump count reached.
`
from sunshine.
Thanks. As I suspected, AMD encoder is crashing when we're trying to test for working encoders.
Please try this build https://github.com/LizardByte/Sunshine/suites/14970304158/artifacts/854085489 (need to be signed in with your GitHub account for the link to work). If this build doesn't work, please attach new logs and a new dump file.
Thank you very much! I tried the build and it finally works without any issues. Cheers
from sunshine.
This issue has been fixed and will be available in the next release.
from sunshine.
Related Issues (20)
- Unable to connect to IddSampleDriver display HOT 2
- Sunshine doesn't switch display adapter between laptop iGPU and dGPU HOT 7
- When using wlgrab, it doesn't display the monitors and their index for use with `output_name`
- Do not rely on Windows PATH.. because Steam in not here.. autodected steam folder.. HOT 3
- Madden 24 game window disappears on session resume HOT 2
- I encountered a problem where the ViGEm gamepad will be disabled if PC is connected to a controller receiver. HOT 1
- Fail to launch the app but it works well on Geforce experience
- No automated Nightly builds HOT 3
- Could not connect to host on EndeavourOS
- Sunshine does not find Intel GPU hardware encoders in Win 10 VM though it is present and usable to other programs
- Build fails with a javascript error HOT 2
- WTSGetActiveConsoleSessionId returns 0 when user only logged in from Remote Desktop HOT 8
- Connection Terminated. Only over internet. HOT 4
- All powershell command preps fail since updating nightly build yesterday HOT 9
- All powershell command preps fail even after PR #2125 HOT 16
- KDE Plasma Wayland: KDE detect Touch Screen as Drawing Tablet HOT 5
- Stream freeze when monitor turned off HOT 2
- Video stream hangs over T-Mobile HOT 5
- Blank screen when trying to use NVENC on Nvidia card to encode stream from monitor on AMD card HOT 2
- Standalone NVENC encoder (0.21.0+) broke NVENC on Hyper-V with GPU passthrough HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sunshine.