Skip to content

Program keeps restarting. Application Error: The memory could not be read #1503

@system198

Description

@system198

Is there an existing issue for this?

  • I have searched the existing issues

Is your issue described in the documentation?

  • I have read the documentation

Is your issue present in the nightly release?

  • This issue is present in the nightly release

Describe the Bug

After I uninstall and reinstall the program to the latest version, I now got this error.
The program also keeps restarting (icon appearing in the system tray for a few seconds then disappears, and it keeps on looping)

At one point this error will pop up:
Screenshot 2023-08-04 231149

Loading the web UI with get an error ERR_CONNECTION_REFUSED

Expected Behavior

For the program to work normally.

Additional Context

*I got a PAGE_FAULT_IN_NONPAGED_AREA BSOD at one point. Tried Memory Diagnostic but it returned with no error

  • Tried automatically managed system page file size, and custom size (16gb) Virtual memory: both doesn't resolved the issue

*Already reinstalled ViGEm but to no luck

*I tried rolling back to the previous version before I update it but it no longer works; it ended up flooding the system tray with Sunshine icons

*Tried both installer and portable version but it does not work

PC Specification:
AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx 2.10 GHz
Radeon RX 560X Series

Host Operating System

Windows

Operating System Version

Windows 11 22H2

Architecture

64 bit

Sunshine commit or version

v0.20.0

Package

Windows - installer

GPU Type

AMD

GPU Model

Radeon RX 560X Series

GPU Driver/Mesa Version

27.20.1028.1

Capture Method (Linux Only)

No response

Config

**none**

Apps

No response

Relevant log output

[2023:08:04:23:19:25]: Info: Sunshine version: 0.20.0
[2023:08:04:23:19:25]: Info: Compiling shaders...
[2023:08:04:23:19:25]: Info: System tray created
[2023:08:04:23:19:25]: Info: Compiled shaders
[2023:08:04:23:19:25]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2023:08:04:23:19:25]: Info: Trying encoder [nvenc]
[2023:08:04:23:19:25]: Info: ddprobe.exe [1] [] returned: 0x00000000
[2023:08:04:23:19:25]: Info: Set GPU preference: 1
[2023:08:04:23:19:25]: Info: 
Device Description : AMD Radeon(TM) Vega 8 Graphics
Device Vendor ID   : 0x00001002
Device Device ID   : 0x000015D8
Device Video Mem   : 498 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 1761 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2023:08:04:23:19:25]: Info: Desktop resolution [1920x1080]
[2023:08:04:23:19:25]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2023:08:04:23:19:25]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.639648,0.330078]
Green Primary      : [0.299805,0.599609]
Blue Primary       : [0.149414,0.0595703]
White Point        : [0.3125,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2023:08:04:23:19:25]: Info: SDR color coding [Rec. 601]
[2023:08:04:23:19:25]: Info: Color range: [JPEG]
[2023:08:04:23:19:25]: Error: Could not open codec [h264_nvenc]: Operation not permitted
[2023:08:04:23:19:26]: Info: 
Device Description : AMD Radeon(TM) Vega 8 Graphics
Device Vendor ID   : 0x00001002
Device Device ID   : 0x000015D8
Device Video Mem   : 498 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 1761 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2023:08:04:23:19:26]: Info: Desktop resolution [1920x1080]
[2023:08:04:23:19:26]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2023:08:04:23:19:26]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.639648,0.330078]
Green Primary      : [0.299805,0.599609]
Blue Primary       : [0.149414,0.0595703]
White Point        : [0.3125,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2023:08:04:23:19:26]: Info: SDR color coding [Rec. 601]
[2023:08:04:23:19:26]: Info: Color range: [JPEG]
[2023:08:04:23:19:26]: Error: Could not open codec [h264_nvenc]: Operation not permitted
[2023:08:04:23:19:26]: Info: 
Device Description : AMD Radeon(TM) Vega 8 Graphics
Device Vendor ID   : 0x00001002
Device Device ID   : 0x000015D8
Device Video Mem   : 498 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 1761 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2023:08:04:23:19:26]: Info: Desktop resolution [1920x1080]
[2023:08:04:23:19:26]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2023:08:04:23:19:26]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.639648,0.330078]
Green Primary      : [0.299805,0.599609]
Blue Primary       : [0.149414,0.0595703]
White Point        : [0.3125,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2023:08:04:23:19:26]: Info: SDR color coding [Rec. 601]
[2023:08:04:23:19:26]: Info: Color range: [JPEG]
[2023:08:04:23:19:26]: Error: Could not open codec [h264_nvenc]: Operation not permitted
[2023:08:04:23:19:26]: Info: 
Device Description : AMD Radeon(TM) Vega 8 Graphics
Device Vendor ID   : 0x00001002
Device Device ID   : 0x000015D8
Device Video Mem   : 498 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 1761 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2023:08:04:23:19:26]: Info: Desktop resolution [1920x1080]
[2023:08:04:23:19:26]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2023:08:04:23:19:26]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.639648,0.330078]
Green Primary      : [0.299805,0.599609]
Blue Primary       : [0.149414,0.0595703]
White Point        : [0.3125,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2023:08:04:23:19:26]: Info: SDR color coding [Rec. 601]
[2023:08:04:23:19:26]: Info: Color range: [JPEG]
[2023:08:04:23:19:26]: Error: Could not open codec [h264_nvenc]: Operation not permitted
[2023:08:04:23:19:26]: Info: Encoder [nvenc] failed
[2023:08:04:23:19:26]: Info: Trying encoder [quicksync]
[2023:08:04:23:19:26]: Info: 
Device Description : AMD Radeon(TM) Vega 8 Graphics
Device Vendor ID   : 0x00001002
Device Device ID   : 0x000015D8
Device Video Mem   : 498 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 1761 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2023:08:04:23:19:26]: Info: Desktop resolution [1920x1080]
[2023:08:04:23:19:26]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2023:08:04:23:19:26]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.639648,0.330078]
Green Primary      : [0.299805,0.599609]
Blue Primary       : [0.149414,0.0595703]
White Point        : [0.3125,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2023:08:04:23:19:26]: Info: SDR color coding [Rec. 601]
[2023:08:04:23:19:26]: Info: Color range: [JPEG]
[2023:08:04:23:19:26]: Error: Failed to derive device context: Unknown error occurred
[2023:08:04:23:19:26]: Info: 
Device Description : AMD Radeon(TM) Vega 8 Graphics
Device Vendor ID   : 0x00001002
Device Device ID   : 0x000015D8
Device Video Mem   : 498 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 1761 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2023:08:04:23:19:26]: Info: Desktop resolution [1920x1080]
[2023:08:04:23:19:26]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2023:08:04:23:19:26]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.639648,0.330078]
Green Primary      : [0.299805,0.599609]
Blue Primary       : [0.149414,0.0595703]
White Point        : [0.3125,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2023:08:04:23:19:26]: Info: SDR color coding [Rec. 601]
[2023:08:04:23:19:26]: Info: Color range: [JPEG]
[2023:08:04:23:19:26]: Error: Failed to derive device context: Unknown error occurred
[2023:08:04:23:19:26]: Info: 
Device Description : AMD Radeon(TM) Vega 8 Graphics
Device Vendor ID   : 0x00001002
Device Device ID   : 0x000015D8
Device Video Mem   : 498 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 1761 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2023:08:04:23:19:26]: Info: Desktop resolution [1920x1080]
[2023:08:04:23:19:26]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2023:08:04:23:19:26]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.639648,0.330078]
Green Primary      : [0.299805,0.599609]
Blue Primary       : [0.149414,0.0595703]
White Point        : [0.3125,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2023:08:04:23:19:26]: Info: SDR color coding [Rec. 601]
[2023:08:04:23:19:26]: Info: Color range: [JPEG]
[2023:08:04:23:19:26]: Error: Failed to derive device context: Unknown error occurred
[2023:08:04:23:19:26]: Info: 
Device Description : AMD Radeon(TM) Vega 8 Graphics
Device Vendor ID   : 0x00001002
Device Device ID   : 0x000015D8
Device Video Mem   : 498 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 1761 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2023:08:04:23:19:26]: Info: Desktop resolution [1920x1080]
[2023:08:04:23:19:26]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2023:08:04:23:19:26]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.639648,0.330078]
Green Primary      : [0.299805,0.599609]
Blue Primary       : [0.149414,0.0595703]
White Point        : [0.3125,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2023:08:04:23:19:27]: Info: SDR color coding [Rec. 601]
[2023:08:04:23:19:27]: Info: Color range: [JPEG]
[2023:08:04:23:19:27]: Error: Failed to derive device context: Unknown error occurred
[2023:08:04:23:19:27]: Info: Encoder [quicksync] failed
[2023:08:04:23:19:27]: Info: Trying encoder [amdvce]
[2023:08:04:23:19:27]: Info: 
Device Description : AMD Radeon(TM) Vega 8 Graphics
Device Vendor ID   : 0x00001002
Device Device ID   : 0x000015D8
Device Video Mem   : 498 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 1761 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2023:08:04:23:19:27]: Info: Desktop resolution [1920x1080]
[2023:08:04:23:19:27]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2023:08:04:23:19:27]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.639648,0.330078]
Green Primary      : [0.299805,0.599609]
Blue Primary       : [0.149414,0.0595703]
White Point        : [0.3125,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2023:08:04:23:19:27]: Info: SDR color coding [Rec. 601]
[2023:08:04:23:19:27]: Info: Color range: [JPEG]
[2023:08:04:23:19:27]: Info: 
Device Description : AMD Radeon(TM) Vega 8 Graphics
Device Vendor ID   : 0x00001002
Device Device ID   : 0x000015D8
Device Video Mem   : 498 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 1761 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2023:08:04:23:19:27]: Info: Desktop resolution [1920x1080]
[2023:08:04:23:19:27]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2023:08:04:23:19:27]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.639648,0.330078]
Green Primary      : [0.299805,0.599609]
Blue Primary       : [0.149414,0.0595703]
White Point        : [0.3125,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2023:08:04:23:19:27]: Info: SDR color coding [Rec. 601]
[2023:08:04:23:19:27]: Info: Color range: [JPEG]
[2023:08:04:23:19:27]: Info: 
Device Description : AMD Radeon(TM) Vega 8 Graphics
Device Vendor ID   : 0x00001002
Device Device ID   : 0x000015D8
Device Video Mem   : 498 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 1761 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2023:08:04:23:19:27]: Info: Desktop resolution [1920x1080]
[2023:08:04:23:19:27]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2023:08:04:23:19:27]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.639648,0.330078]
Green Primary      : [0.299805,0.599609]
Blue Primary       : [0.149414,0.0595703]
White Point        : [0.3125,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2023:08:04:23:19:27]: Info: SDR color coding [Rec. 709]
[2023:08:04:23:19:27]: Info: Color range: [JPEG]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions