I encountered an issue where Apollo fails to set the correct resolution for my client's requested display size.
My client device uses a screen resolution of 1200x2670. When I start a streaming session, Apollo creates a virtual monitor, but the resolution is not set to the requested size. Instead, it falls back to 1200x1080.
Expected behavior: Apollo should create the virtual monitor at the resolution requested by the client (1200x2670).
Actual behavior: Apollo creates the virtual monitor at 1200x1080.
This leads to black borders and unnecessary scaling on the client side.
[2025-06-12 20:00:49.809]: Info: Apollo version: v0.3.7-hotfix.1
[2025-06-12 20:00:49.809]: Info: Package Publisher: SudoMaker
[2025-06-12 20:00:49.809]: Info: Publisher Website: https://www.sudomaker.com
[2025-06-12 20:00:49.809]: Info: Get support: https://github.com/ClassicOldSong/Apollo/issues
[2025-06-12 20:00:49.809]: Info: config: 'qsv_preset' = slow
[2025-06-12 20:00:49.809]: Info: config: 'fps' = [10,30,60]
[2025-06-12 20:00:49.809]: Info: config: 'wan_encryption_mode' = 2
[2025-06-12 20:00:49.809]: Info: config: 'enable_input_only_mode' = enabled
[2025-06-12 20:00:49.809]: Info: config: 'amd_rc' = cqp
[2025-06-12 20:00:49.809]: Info: config: 'av1_mode' = 0
[2025-06-12 20:00:49.809]: Info: config: 'sunshine_name' = HOME
[2025-06-12 20:00:49.809]: Info: config: 'channels' = 3
[2025-06-12 20:00:49.809]: Info: config: 'nv_rc' = constqp
[2025-06-12 20:00:49.809]: Info: config: 'min_fps_factor' = 2
[2025-06-12 20:00:49.809]: Info: config: 'gamepad' = x360
[2025-06-12 20:00:49.810]: Info: config: 'nvenc_spatial_aq' = enabled
[2025-06-12 20:00:49.810]: Info: config: 'qp' = 30
[2025-06-12 20:00:49.810]: Info: config: 'fec_percentage' = 5
[2025-06-12 20:00:49.810]: Info: config: 'resolutions' = [
352x240,
480x360,
858x480,
1280x720,
1920x1080,
2560x1080,
3440x1440,
1920x1200,
3860x2160,
3840x1600,
2670x1200,
3840x2160,
2560x1440,
1200x2670,
2160x3840,
1440x2560,
1080x1920
]
[2025-06-12 20:00:49.810]: Info: config: 'locale' = en
[2025-06-12 20:00:49.810]: Info: Provided workaround settings for SettingsManager:
{
"hdr_blank_delay": null
}
[2025-06-12 20:00:49.814]: Info: Currently available display devices:
[
{
"device_id": "{8bda74df-5f00-50bb-b27b-f3b21c248099}",
"display_name": "\\\\.\\DISPLAY1",
"edid": {
"manufacturer_id": "AOC",
"product_code": "0CCD",
"serial_number": 0
},
"friendly_name": "28E850",
"info": {
"hdr_state": null,
"origin_point": {
"x": 0,
"y": 0
},
"primary": true,
"refresh_rate": {
"type": "rational",
"value": {
"denominator": 1,
"numerator": 60
}
},
"resolution": {
"height": 2670,
"width": 1200
},
"resolution_scale": {
"type": "rational",
"value": {
"denominator": 100,
"numerator": 100
}
}
}
}
]
[2025-06-12 20:00:49.983]: Info: nvprefs: Opened undo file from previous improper termination
[2025-06-12 20:00:49.983]: Info: nvprefs: Restored OGL_CPL_PREFER_DXPRESENT for base profile
[2025-06-12 20:00:49.995]: Error: nvprefs: NvAPI error: NVAPI_ERROR
[2025-06-12 20:00:49.995]: Error: nvprefs: NvAPI_DRS_SaveSettings() failed
[2025-06-12 20:00:49.995]: Error: nvprefs: Failed to restore global profile settings from undo file, deleting the file anyway
[2025-06-12 20:00:49.997]: Info: nvprefs: No need to modify application profile settings
[2025-06-12 20:00:49.997]: Info: nvprefs: Changed OGL_CPL_PREFER_DXPRESENT to OGL_CPL_PREFER_DXPRESENT_PREFER_ENABLED for base profile
[2025-06-12 20:00:50.014]: Error: nvprefs: NvAPI error: NVAPI_ERROR
[2025-06-12 20:00:50.014]: Error: nvprefs: NvAPI_DRS_SaveSettings() failed
[2025-06-12 20:00:50.014]: Error: nvprefs: Couldn't save global profile settings
[2025-06-12 20:00:50.031]: Info: Compiling shaders...
[2025-06-12 20:00:50.049]: Info: System tray created
[2025-06-12 20:00:50.115]: Info: Compiled shaders
[2025-06-12 20:00:50.127]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2025-06-12 20:00:50.127]: Info: Trying encoder [nvenc]
[2025-06-12 20:00:50.665]: Info:
Device Description : NVIDIA GeForce RTX 2080 Ti
Device Vendor ID : 0x000010DE
Device Device ID : 0x00001E07
Device Video Mem : 22230 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 32728 MiB
Feature Level : 0x0000B100
Capture size : 1200x2670
Offset : 0x0
Virtual Desktop : 1200x2670
[2025-06-12 20:00:50.665]: Info: Active GPU has HAGS disabled
[2025-06-12 20:00:50.665]: Info: Using realtime GPU priority
[2025-06-12 20:00:50.665]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.679688,0.30957]
Green Primary : [0.206055,0.693359]
Blue Primary : [0.151367,0.0546875]
White Point : [0.313477,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2025-06-12 20:00:50.666]: Info: Desktop resolution [1200x2670]
[2025-06-12 20:00:50.666]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2025-06-12 20:00:50.666]: Info: Display refresh rate [60Hz]
[2025-06-12 20:00:50.666]: Info: Requested frame rate [60fps]
[2025-06-12 20:00:50.666]: Info: Client dynamicRange: 0, Display is HDR: false
[2025-06-12 20:00:50.666]: Info: Creating encoder [h264_nvenc]
[2025-06-12 20:00:50.666]: Info: Color coding: SDR (Rec. 601)
[2025-06-12 20:00:50.666]: Info: Color depth: 8-bit
[2025-06-12 20:00:50.666]: Info: Color range: JPEG
[2025-06-12 20:00:51.107]: Info: NvEnc: created encoder H.264 P1 async two-pass rfi spatial-aq
[2025-06-12 20:00:51.137]: Info: Client dynamicRange: 0, Display is HDR: false
[2025-06-12 20:00:51.137]: Info: Creating encoder [hevc_nvenc]
[2025-06-12 20:00:51.137]: Info: Color coding: SDR (Rec. 601)
[2025-06-12 20:00:51.137]: Info: Color depth: 8-bit
[2025-06-12 20:00:51.137]: Info: Color range: JPEG
[2025-06-12 20:00:51.548]: Info: NvEnc: created encoder HEVC P1 async two-pass rfi spatial-aq
[2025-06-12 20:00:51.574]: Info: Client dynamicRange: 0, Display is HDR: false
[2025-06-12 20:00:51.574]: Info: Creating encoder [av1_nvenc]
[2025-06-12 20:00:51.574]: Info: Color coding: SDR (Rec. 601)
[2025-06-12 20:00:51.574]: Info: Color depth: 8-bit
[2025-06-12 20:00:51.574]: Info: Color range: JPEG
[2025-06-12 20:00:51.754]: Error: NvEnc: encoding format is not supported by the gpu
[2025-06-12 20:00:51.754]: Error: NvEnc: NvEncUnregisterAsyncEvent() failed: NV_ENC_ERR_DEVICE_NOT_EXIST
[2025-06-12 20:00:51.761]: Info: Client dynamicRange: 0, Display is HDR: false
[2025-06-12 20:00:51.762]: Info: Creating encoder [h264_nvenc]
[2025-06-12 20:00:51.762]: Info: Color coding: SDR (Rec. 601)
[2025-06-12 20:00:51.762]: Info: Color depth: 8-bit
[2025-06-12 20:00:51.762]: Info: Color range: JPEG
[2025-06-12 20:00:52.170]: Info: NvEnc: created encoder H.264 P1 async yuv444 two-pass rfi spatial-aq
[2025-06-12 20:00:52.651]: Info:
Device Description : NVIDIA GeForce RTX 2080 Ti
Device Vendor ID : 0x000010DE
Device Device ID : 0x00001E07
Device Video Mem : 22230 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 32728 MiB
Feature Level : 0x0000B100
Capture size : 1200x2670
Offset : 0x0
Virtual Desktop : 1200x2670
[2025-06-12 20:00:52.651]: Info: Active GPU has HAGS disabled
[2025-06-12 20:00:52.651]: Info: Using realtime GPU priority
[2025-06-12 20:00:52.651]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.679688,0.30957]
Green Primary : [0.206055,0.693359]
Blue Primary : [0.151367,0.0546875]
White Point : [0.313477,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2025-06-12 20:00:52.652]: Info: Desktop resolution [1200x2670]
[2025-06-12 20:00:52.652]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2025-06-12 20:00:52.652]: Info: Display refresh rate [60Hz]
[2025-06-12 20:00:52.652]: Info: Requested frame rate [60fps]
[2025-06-12 20:00:52.652]: Info: Client dynamicRange: 1, Display is HDR: false
[2025-06-12 20:00:52.652]: Info: Creating encoder [hevc_nvenc]
[2025-06-12 20:00:52.652]: Info: Color coding: SDR (Rec. 709)
[2025-06-12 20:00:52.652]: Info: Color depth: 10-bit
[2025-06-12 20:00:52.652]: Info: Color range: JPEG
[2025-06-12 20:00:54.129]: Info: NvEnc: created encoder HEVC P1 async yuv444 10-bit two-pass rfi spatial-aq
[2025-06-12 20:00:54.182]: Info:
[2025-06-12 20:00:54.182]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2025-06-12 20:00:54.182]: Info:
[2025-06-12 20:00:54.182]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2025-06-12 20:00:54.182]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2025-06-12 20:00:54.185]: Info: Configuration UI available at [https://localhost:47990]
[2025-06-12 20:00:54.966]: Info: Registered Apollo mDNS service
[2025-06-12 20:01:01.634]: Info: Display mode for client [Mi14] requested to [1200x2670x60]
[2025-06-12 20:01:03.240]: Warning: Virtual Display creation failed, or cannot get created display name in time!
[2025-06-12 20:01:03.397]: Info: Encoder reenumeration is required
[2025-06-12 20:01:03.397]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2025-06-12 20:01:03.397]: Info: Trying encoder [nvenc]
[2025-06-12 20:01:03.880]: Info:
Device Description : NVIDIA GeForce RTX 2080 Ti
Device Vendor ID : 0x000010DE
Device Device ID : 0x00001E07
Device Video Mem : 22230 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 32728 MiB
Feature Level : 0x0000B100
Capture size : 1200x1080
Offset : 0x0
Virtual Desktop : 1200x1080
[2025-06-12 20:01:03.881]: Info: Active GPU has HAGS disabled
[2025-06-12 20:01:03.881]: Info: Using realtime GPU priority
[2025-06-12 20:01:03.881]: 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
[2025-06-12 20:01:03.882]: Info: Desktop resolution [1200x1080]
[2025-06-12 20:01:03.882]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2025-06-12 20:01:03.882]: Info: Display refresh rate [60Hz]
[2025-06-12 20:01:03.882]: Info: Requested frame rate [60fps]
[2025-06-12 20:01:03.882]: Info: Client dynamicRange: 0, Display is HDR: false
[2025-06-12 20:01:03.882]: Info: Creating encoder [h264_nvenc]
[2025-06-12 20:01:03.882]: Info: Color coding: SDR (Rec. 601)
[2025-06-12 20:01:03.882]: Info: Color depth: 8-bit
[2025-06-12 20:01:03.882]: Info: Color range: JPEG
[2025-06-12 20:01:04.315]: Info: NvEnc: created encoder H.264 P1 async two-pass rfi spatial-aq
[2025-06-12 20:01:04.342]: Info: Client dynamicRange: 0, Display is HDR: false
[2025-06-12 20:01:04.342]: Info: Creating encoder [hevc_nvenc]
[2025-06-12 20:01:04.343]: Info: Color coding: SDR (Rec. 601)
[2025-06-12 20:01:04.343]: Info: Color depth: 8-bit
[2025-06-12 20:01:04.343]: Info: Color range: JPEG
[2025-06-12 20:01:04.764]: Info: NvEnc: created encoder HEVC P1 async two-pass rfi spatial-aq
[2025-06-12 20:01:04.790]: Info: Client dynamicRange: 0, Display is HDR: false
[2025-06-12 20:01:04.790]: Info: Creating encoder [av1_nvenc]
[2025-06-12 20:01:04.790]: Info: Color coding: SDR (Rec. 601)
[2025-06-12 20:01:04.790]: Info: Color depth: 8-bit
[2025-06-12 20:01:04.790]: Info: Color range: JPEG
[2025-06-12 20:01:04.963]: Error: NvEnc: encoding format is not supported by the gpu
[2025-06-12 20:01:04.964]: Error: NvEnc: NvEncUnregisterAsyncEvent() failed: NV_ENC_ERR_DEVICE_NOT_EXIST
[2025-06-12 20:01:04.971]: Info: Client dynamicRange: 0, Display is HDR: false
[2025-06-12 20:01:04.971]: Info: Creating encoder [h264_nvenc]
[2025-06-12 20:01:04.971]: Info: Color coding: SDR (Rec. 601)
[2025-06-12 20:01:04.971]: Info: Color depth: 8-bit
[2025-06-12 20:01:04.971]: Info: Color range: JPEG
[2025-06-12 20:01:05.363]: Info: NvEnc: created encoder H.264 P1 async yuv444 two-pass rfi spatial-aq
[2025-06-12 20:01:05.841]: Info:
Device Description : NVIDIA GeForce RTX 2080 Ti
Device Vendor ID : 0x000010DE
Device Device ID : 0x00001E07
Device Video Mem : 22230 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 32728 MiB
Feature Level : 0x0000B100
Capture size : 1200x1080
Offset : 0x0
Virtual Desktop : 1200x1080
[2025-06-12 20:01:05.841]: Info: Active GPU has HAGS disabled
[2025-06-12 20:01:05.841]: Info: Using realtime GPU priority
[2025-06-12 20:01:05.841]: 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
[2025-06-12 20:01:05.842]: Info: Desktop resolution [1200x1080]
[2025-06-12 20:01:05.842]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2025-06-12 20:01:05.842]: Info: Display refresh rate [60Hz]
[2025-06-12 20:01:05.842]: Info: Requested frame rate [60fps]
[2025-06-12 20:01:05.842]: Info: Client dynamicRange: 1, Display is HDR: false
[2025-06-12 20:01:05.842]: Info: Creating encoder [hevc_nvenc]
[2025-06-12 20:01:05.842]: Info: Color coding: SDR (Rec. 709)
[2025-06-12 20:01:05.842]: Info: Color depth: 10-bit
[2025-06-12 20:01:05.842]: Info: Color range: JPEG
[2025-06-12 20:01:06.836]: Info: NvEnc: created encoder HEVC P1 async yuv444 10-bit two-pass rfi spatial-aq
[2025-06-12 20:01:06.888]: Info:
[2025-06-12 20:01:06.888]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2025-06-12 20:01:06.888]: Info:
[2025-06-12 20:01:06.888]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2025-06-12 20:01:06.888]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2025-06-12 20:01:06.889]: Info: No commands configured, showing desktop...
[2025-06-12 20:01:06.951]: Info: Client Requested bitrate is [34000kbps]
[2025-06-12 20:01:06.951]: Info: Host Streaming bitrate is [34000kbps]
[2025-06-12 20:01:06.952]: Info: New streaming session started [active sessions: 1]
[2025-06-12 20:01:07.130]: Info: nvprefs: No need to modify application profile settings
[2025-06-12 20:01:07.130]: Info: nvprefs: No need to modify global profile settings
[2025-06-12 20:01:07.143]: Info: Session resuming for app [Virtual Display].
[2025-06-12 20:01:07.164]: Info: CLIENT CONNECTED
[2025-06-12 20:01:07.439]: Info: Selected audio sink: {0.0.0.00000000}.{a7d7ff83-68d3-4af0-9765-6071ce380444}
[2025-06-12 20:01:07.447]: Info: Audio mixer format is 32-bit, 48000 Hz, no resampling needed
[2025-06-12 20:01:07.472]: Info: Audio capture format is [F32 48000 2.0]
[2025-06-12 20:01:07.473]: Info: Opus initialized: 48 kHz, 2 channels, 512 kbps (total), LOWDELAY
[2025-06-12 20:01:07.979]: Info:
Device Description : NVIDIA GeForce RTX 2080 Ti
Device Vendor ID : 0x000010DE
Device Device ID : 0x00001E07
Device Video Mem : 22230 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 32728 MiB
Feature Level : 0x0000B100
Capture size : 1200x1080
Offset : 0x0
Virtual Desktop : 1200x1080
[2025-06-12 20:01:07.979]: Info: Active GPU has HAGS disabled
[2025-06-12 20:01:07.979]: Info: Using realtime GPU priority
[2025-06-12 20:01:07.979]: 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
[2025-06-12 20:01:07.980]: Info: Desktop resolution [1200x1080]
[2025-06-12 20:01:07.980]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2025-06-12 20:01:07.980]: Info: Display refresh rate [60Hz]
[2025-06-12 20:01:07.980]: Info: Requested frame rate [60fps]
[2025-06-12 20:01:07.980]: Info: Client dynamicRange: 0, Display is HDR: false
[2025-06-12 20:01:07.980]: Info: Creating encoder [hevc_nvenc]
[2025-06-12 20:01:07.980]: Info: Color coding: SDR (Rec. 709)
[2025-06-12 20:01:07.980]: Info: Color depth: 8-bit
[2025-06-12 20:01:07.980]: Info: Color range: MPEG
[2025-06-12 20:01:07.999]: Info: Capture format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2025-06-12 20:01:08.381]: Info: NvEnc: created encoder HEVC P1 async two-pass rfi spatial-aq
[2025-06-12 20:01:08.381]: Info: Frame threshold: 16000us
[2025-06-12 20:01:10.487]: Info: Creating virtual touch input device
Please let me know if you need any additional information. Thank you very much for your hard work on Apollo!
Hello,
I encountered an issue where Apollo fails to set the correct resolution for my client's requested display size.
My client device uses a screen resolution of 1200x2670. When I start a streaming session, Apollo creates a virtual monitor, but the resolution is not set to the requested size. Instead, it falls back to 1200x1080.
I'm attaching the full log file for your reference:
Please let me know if you need any additional information. Thank you very much for your hard work on Apollo!