LizardByte / LizardByte/Sunshine
Screen Rotation on Windows 11 ARM64 Devices
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 41.3k
- Forks
- 2.1k
- Avg merge
- 23h 47m
- Merged PRs (30d)
- 124
Description
### Is there an existing issue for this?
- [x] I have searched the existing issues
### Is your issue described in the documentation?
- [x] I have read the documentation
### Is your issue present in the latest beta/pre-release?
This issue is present in the latest pre-release
### Describe the Bug
I have Windows 11 22H2 ARM64 installed on a Pocophone F1 (Snapdragon 845) using the Renegade Project. I also installed the Sunshine-Windows-ARM64-installer.msi file, but I'm not getting horizontal screen capture when rotating the Windows screen. Vertical rotation works perfectly. I've tried blocking screen rotation in landscape mode and starting the connection, but everything indicates that Sunshine insists on the device's original resolution of 1080 x 2246. Perhaps Moonlight could also be the problem? The Moonlight shown in the background of the video is running on a Samsung DeX connected to an LG 24" FHD monitor. I've tested it on other Moonlight clients and I get the same problem. Can you help?
https://github.com/user-attachments/assets/3f9aad75-1ec6-420f-98cc-04b3e8d1e8aa
### Expected Behavior
_No response_
### Additional Context
_No response_
### Host Operating System
Windows
### Operating System Version
Windows 11 Arm64 22H2
### Architecture
arm64/aarch64
### Package
Windows - msi installer (recommended)
### GPU Type
Qualcomm (mediafoundation)
### GPU Model
Adreno 630
### GPU Driver/Mesa Version
26.18.10790.0
### Capture Method
Desktop Duplication API (Windows)
### Apps
```json
```
### Log output
```shell
[2026-05-27 19:44:00.278]: Info: Sunshine version: 2026.525.145348 commit: d7e88da0e5930fc5aec4b7916c6b4852be0f93ce
[2026-05-27 19:44:00.280]: Info: Package Publisher: LizardByte
[2026-05-27 19:44:00.281]: Info: Publisher Website: https://app.lizardbyte.dev
[2026-05-27 19:44:00.281]: Info: Get support: https://app.lizardbyte.dev/support
[2026-05-27 19:44:00.285]: Info: Provided workaround settings for SettingsManager:
{
"hdr_blank_delay": null
}
[2026-05-27 19:44:00.303]: Warning: EDID manufacturer id is out of range.
[2026-05-27 19:44:00.303]: Info: Currently available display devices:
[
{
"device_id": "{56aa3449-f3cc-59bc-a56e-0181e370a623}",
"display_name": "\\\\.\\DISPLAY1",
"edid": null,
"friendly_name": "EBBG_FT8719_F",
"info": {
"hdr_state": null,
"origin_point": {
"x": 0,
"y": 0
},
"primary": true,
"refresh_rate": {
"type": "rational",
"value": {
"denominator": 1000,
"numerator": 60000
}
},
"resolution": {
"height": 2246,
"width": 1080
},
"resolution_scale": {
"type": "rational",
"value": {
"denominator": 100,
"numerator": 175
}
}
}
}
]
[2026-05-27 19:44:00.306]: Warning: EDID manufacturer id is out of range.
[2026-05-27 19:44:00.306]: Info: Trying to revert applied display device settings. API is available: false
[2026-05-27 19:44:00.307]: Info: nvprefs: NvAPI_Initialize() failed, ignore if you don't have NVIDIA video card
[2026-05-27 19:44:00.336]: Info: Compiling shaders...
[2026-05-27 19:44:00.760]: Info: Compiled shaders
[2026-05-27 19:44:00.823]: Fatal: ViGEmBus is not installed or running. You must install ViGEmBus for gamepad support!
[2026-05-27 19:44:00.827]: Warning: EDID manufacturer id is out of range.
[2026-05-27 19:44:00.828]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2026-05-27 19:44:00.828]: Info: Trying encoder [nvenc]
[2026-05-27 19:44:01.067]: Info:
Device Description : Qualcomm(R) Adreno(TM) 630 GPU
Device Vendor ID : 0x4D4F4351
Device Device ID : 0x45373230
Device Video Mem : 1 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 2850 MiB
Feature Level : 0x0000B100
Capture size : 1080x2246
Offset : 0x0
Virtual Desktop : 1080x2246
[2026-05-27 19:44:01.068]: Info: Active GPU has HAGS disabled
[2026-05-27 19:44:01.068]: Info: Using realtime GPU priority
[2026-05-27 19:44:01.072]: 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
[2026-05-27 19:44:01.073]: Info: Desktop resolution [1080x2246]
[2026-05-27 19:44:01.073]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-05-27 19:44:01.073]: Info: Display refresh rate [60Hz]
[2026-05-27 19:44:01.073]: Info: Requested frame rate [60/1 exactly 60 fps]
[2026-05-27 19:44:01.073]: Info: Encoder [nvenc] is not supported on this GPU
[2026-05-27 19:44:01.085]: Info: Trying encoder [quicksync]
[2026-05-27 19:44:01.302]: Info:
Device Description : Qualcomm(R) Adreno(TM) 630 GPU
Device Vendor ID : 0x4D4F4351
Device Device ID : 0x45373230
Device Video Mem : 1 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 2850 MiB
Feature Level : 0x0000B100
Capture size : 1080x2246
Offset : 0x0
Virtual Desktop : 1080x2246
[2026-05-27 19:44:01.303]: Info: Active GPU has HAGS disabled
[2026-05-27 19:44:01.303]: Info: Using realtime GPU priority
[2026-05-27 19:44:01.303]: 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
[2026-05-27 19:44:01.306]: Info: Desktop resolution [1080x2246]
[2026-05-27 19:44:01.306]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-05-27 19:44:01.306]: Info: Display refresh rate [60Hz]
[2026-05-27 19:44:01.306]: Info: Requested frame rate [60/1 exactly 60 fps]
[2026-05-27 19:44:01.306]: Info: Encoder [quicksync] is not supported on this GPU
[2026-05-27 19:44:01.320]: Info: Trying encoder [amdvce]
[2026-05-27 19:44:01.358]: Info:
Device Description : Qualcomm(R) Adreno(TM) 630 GPU
Device Vendor ID : 0x4D4F4351
Device Device ID : 0x45373230
Device Video Mem : 1 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 2850 MiB
Feature Level : 0x0000B100
Capture size : 1080x2246
Offset : 0x0
Virtual Desktop : 1080x2246
[2026-05-27 19:44:01.359]: Info: Active GPU has HAGS disabled
[2026-05-27 19:44:01.359]: Info: Using realtime GPU priority
[2026-05-27 19:44:01.359]: 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
[2026-05-27 19:44:01.361]: Info: Desktop resolution [1080x2246]
[2026-05-27 19:44:01.361]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-05-27 19:44:01.361]: Info: Display refresh rate [60Hz]
[2026-05-27 19:44:01.361]: Info: Requested frame rate [60/1 exactly 60 fps]
[2026-05-27 19:44:01.361]: Info: Encoder [amdvce] is not supported on this GPU
[2026-05-27 19:44:01.369]: Info: Trying encoder [mediafoundation]
[2026-05-27 19:44:01.466]: Info:
Device Description : Qualcomm(R) Adreno(TM) 630 GPU
Device Vendor ID : 0x4D4F4351
Device Device ID : 0x45373230
Device Video Mem : 1 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 2850 MiB
Feature Level : 0x0000B100
Capture size : 1080x2246
Offset : 0x0
Virtual Desktop : 1080x2246
[2026-05-27 19:44:01.467]: Info: Active GPU has HAGS disabled
[2026-05-27 19:44:01.467]: Info: Using realtime GPU priority
[2026-05-27 19:44:01.467]: 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
[2026-05-27 19:44:01.468]: Info: Desktop resolution [1080x2246]
[2026-05-27 19:44:01.468]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-05-27 19:44:01.468]: Info: Display refresh rate [60Hz]
[2026-05-27 19:44:01.468]: Info: Requested frame rate [60/1 exactly 60 fps]
[2026-05-27 19:44:01.469]: Info: Creating encoder [h264_mf]
[2026-05-27 19:44:01.469]: Info: Color coding: SDR (Rec. 601)
[2026-05-27 19:44:01.469]: Info: Color depth: 8-bit
[2026-05-27 19:44:01.469]: Info: Color range: JPEG
[2026-05-27 19:44:01.509]: Info: Streaming bitrate is 1000000
[2026-05-27 19:44:01.578]: Info: [h264_mf @ 000001adfb34b350] MFT name: 'QCOM Hardware Encoder - H264'
[2026-05-27 19:44:01.636]: Error: [h264_mf @ 000001adfb34b350] failed processing input: 80070057
[2026-05-27 19:44:01.636]: Error: Could not send a frame for encoding: Generic error in an external library
[2026-05-27 19:44:01.683]: Info: Creating encoder [h264_mf]
[2026-05-27 19:44:01.683]: Info: Color coding: SDR (Rec. 601)
[2026-05-27 19:44:01.683]: Info: Color depth: 8-bit
[2026-05-27 19:44:01.683]: Info: Color range: JPEG
[2026-05-27 19:44:01.687]: Info: Streaming bitrate is 1000000
[2026-05-27 19:44:01.697]: Info: [h264_mf @ 000001adfb34f2a0] MFT name: 'QCOM Hardware Encoder - H264'
[2026-05-27 19:44:01.725]: Error: [h264_mf @ 000001adfb34f2a0] failed processing input: 80070057
[2026-05-27 19:44:01.725]: Error: Could not send a frame for encoding: Generic error in an external library
[2026-05-27 19:44:05.321]: Warning: EDID manufacturer id is out of range.
[2026-05-27 19:44:05.324]: Info: Trying to revert applied display device settings. API is available: true
[2026-05-27 19:44:06.754]: Info: Encoder [mediafoundation] failed
[2026-05-27 19:44:06.776]: Info: Trying encoder [software]
[2026-05-27 19:44:06.826]: Info:
Device Description : Qualcomm(R) Adreno(TM) 630 GPU
Device Vendor ID : 0x4D4F4351
Device Device ID : 0x45373230
Device Video Mem : 1 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 2850 MiB
Feature Level : 0x0000B100
Capture size : 1080x2246
Offset : 0x0
Virtual Desktop : 1080x2246
[2026-05-27 19:44:06.826]: Info: Active GPU has HAGS disabled
[2026-05-27 19:44:06.827]: Info: Using realtime GPU priority
[2026-05-27 19:44:06.827]: 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
[2026-05-27 19:44:06.828]: Info: Desktop resolution [1080x2246]
[2026-05-27 19:44:06.828]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-05-27 19:44:06.828]: Info: Display refresh rate [60Hz]
[2026-05-27 19:44:06.828]: Info: Requested frame rate [60/1 exactly 60 fps]
[2026-05-27 19:44:06.828]: Info: Creating encoder [libx264]
[2026-05-27 19:44:06.828]: Info: Color coding: SDR (Rec. 601)
[2026-05-27 19:44:06.828]: Info: Color depth: 8-bit
[2026-05-27 19:44:06.828]: Info: Color range: JPEG
[2026-05-27 19:44:06.828]: Info: Streaming bitrate is 1000000
[2026-05-27 19:44:06.834]: Info: [libx264 @ 000001adfb3919b0] using cpu capabilities: ARMv8 NEON
[2026-05-27 19:44:06.841]: Info: [libx264 @ 000001adfb3919b0] profile High, level 4.2, 4:2:0, 8-bit
[2026-05-27 19:44:07.001]: Info: [libx264 @ 000001adfb3919b0] frame I:1 Avg QP:31.00 size: 1203
[2026-05-27 19:44:07.001]: Info: [libx264 @ 000001adfb3919b0] mb I I16..4: 99.9% 0.0% 0.0%
[2026-05-27 19:44:07.001]: Info: [libx264 @ 000001adfb3919b0] 8x8 transform intra:0.0%
[2026-05-27 19:44:07.001]: Info: [libx264 @ 000001adfb3919b0] coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0%
[2026-05-27 19:44:07.002]: Info: [libx264 @ 000001adfb3919b0] i16 v,h,dc,p: 97% 0% 3% 0%
[2026-05-27 19:44:07.002]: Info: [libx264 @ 000001adfb3919b0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 75% 12% 0% 0% 0% 0% 12%
[2026-05-27 19:44:07.002]: Info: [libx264 @ 000001adfb3919b0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 100% 0% 0% 0% 0% 0% 0%
[2026-05-27 19:44:07.002]: Info: [libx264 @ 000001adfb3919b0] i8c dc,h,v,p: 100% 0% 0% 0%
[2026-05-27 19:44:07.002]: Info: [libx264 @ 000001adfb3919b0] kb/s:577.44
[2026-05-27 19:44:07.012]: Info: Creating encoder [libx264]
[2026-05-27 19:44:07.013]: Info: Color coding: SDR (Rec. 601)
[2026-05-27 19:44:07.013]: Info: Color depth: 8-bit
[2026-05-27 19:44:07.013]: Info: Color range: JPEG
[2026-05-27 19:44:07.013]: Info: Streaming bitrate is 1000000
[2026-05-27 19:44:07.015]: Info: [libx264 @ 000001adfb3919b0] using cpu capabilities: ARMv8 NEON
[2026-05-27 19:44:07.021]: Info: [libx264 @ 000001adfb3919b0] profile High 4:4:4 Predictive, level 4.2, 4:4:4, 8-bit
[2026-05-27 19:44:07.199]: Info: [libx264 @ 000001adfb3919b0] frame I:1 Avg QP:31.00 size: 1312
[2026-05-27 19:44:07.200]: Info: [libx264 @ 000001adfb3919b0] mb I I16..4: 99.9% 0.0% 0.0%
[2026-05-27 19:44:07.200]: Info: [libx264 @ 000001adfb3919b0] 8x8 transform intra:0.0%
[2026-05-27 19:44:07.200]: Info: [libx264 @ 000001adfb3919b0] coded y,u,v intra: 0.0% 0.0% 0.0%
[2026-05-27 19:44:07.200]: Info: [libx264 @ 000001adfb3919b0] i16 v,h,dc,p: 97% 0% 3% 0%
[2026-05-27 19:44:07.200]: Info: [libx264 @ 000001adfb3919b0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 75% 12% 0% 0% 0% 0% 12%
[2026-05-27 19:44:07.200]: Info: [libx264 @ 000001adfb3919b0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 100% 0% 0% 0% 0% 0% 0%
[2026-05-27 19:44:07.200]: Info: [libx264 @ 000001adfb3919b0] kb/s:629.76
[2026-05-27 19:44:07.293]: Info:
Device Description : Qualcomm(R) Adreno(TM) 630 GPU
Device Vendor ID : 0x4D4F4351
Device Device ID : 0x45373230
Device Video Mem : 1 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 2850 MiB
Feature Level : 0x0000B100
Capture size : 1080x2246
Offset : 0x0
Virtual Desktop : 1080x2246
[2026-05-27 19:44:07.294]: Info: Active GPU has HAGS disabled
[2026-05-27 19:44:07.294]: Info: Using realtime GPU priority
[2026-05-27 19:44:07.294]: 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
[2026-05-27 19:44:07.295]: Info: Desktop resolution [1080x2246]
[2026-05-27 19:44:07.295]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-05-27 19:44:07.296]: Info: Display refresh rate [60Hz]
[2026-05-27 19:44:07.296]: Info: Requested frame rate [60/1 exactly 60 fps]
[2026-05-27 19:44:07.303]: Info:
[2026-05-27 19:44:07.303]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2026-05-27 19:44:07.304]: Info:
[2026-05-27 19:44:07.304]: Info: Found H.264 encoder: libx264 [software]
[2026-05-27 19:44:07.307]: Info: Starting system tray
[2026-05-27 19:44:07.307]: Info: System tray thread initialized successfully
[2026-05-27 19:44:07.307]: Info: No main thread features enabled, skipping event loop
[2026-05-27 19:44:07.308]: Info: System tray thread started
[2026-05-27 19:44:07.331]: Info: Configuration UI available at [https://localhost:47990]
[2026-05-27 19:44:07.381]: Info: System tray created
[2026-05-27 19:44:08.072]: Info: Registered Sunshine mDNS service
[2026-05-27 19:44:41.122]: Warning: EDID manufacturer id is out of range.
[2026-05-27 19:44:41.122]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2026-05-27 19:44:41.122]: Info: Trying encoder [nvenc]
[2026-05-27 19:44:41.149]: Info:
Device Description : Qualcomm(R) Adreno(TM) 630 GPU
Device Vendor ID : 0x4D4F4351
Device Device ID : 0x45373230
Device Video Mem : 1 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 2850 MiB
Feature Level : 0x0000B100
Capture size : 2246x1080
Offset : 0x0
Virtual Desktop : 2246x1080
[2026-05-27 19:44:41.150]: Info: Active GPU has HAGS disabled
[2026-05-27 19:44:41.150]: Info: Using realtime GPU priority
[2026-05-27 19:44:41.150]: 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
[2026-05-27 19:44:41.151]: Info: Desktop resolution [2246x1080]
[2026-05-27 19:44:41.151]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-05-27 19:44:41.151]: Info: Display refresh rate [60Hz]
[2026-05-27 19:44:41.151]: Info: Requested frame rate [60/1 exactly 60 fps]
[2026-05-27 19:44:41.151]: Info: Encoder [nvenc] is not supported on this GPU
[2026-05-27 19:44:41.161]: Info: Trying encoder [quicksync]
[2026-05-27 19:44:41.205]: Info:
Device Description : Qualcomm(R) Adreno(TM) 630 GPU
Device Vendor ID : 0x4D4F4351
Device Device ID : 0x45373230
Device Video Mem : 1 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 2850 MiB
Feature Level : 0x0000B100
Capture size : 2246x1080
Offset : 0x0
Virtual Desktop : 2246x1080
[2026-05-27 19:44:41.206]: Info: Active GPU has HAGS disabled
[2026-05-27 19:44:41.206]: Info: Using realtime GPU priority
[2026-05-27 19:44:41.206]: 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
[2026-05-27 19:44:41.207]: Info: Desktop resolution [2246x1080]
[2026-05-27 19:44:41.207]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-05-27 19:44:41.207]: Info: Display refresh rate [60Hz]
[2026-05-27 19:44:41.207]: Info: Requested frame rate [60/1 exactly 60 fps]
[2026-05-27 19:44:41.207]: Info: Encoder [quicksync] is not supported on this GPU
[2026-05-27 19:44:41.215]: Info: Trying encoder [amdvce]
[2026-05-27 19:44:41.264]: Info:
Device Description : Qualcomm(R) Adreno(TM) 630 GPU
Device Vendor ID : 0x4D4F4351
Device Device ID : 0x45373230
Device Video Mem : 1 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 2850 MiB
Feature Level : 0x0000B100
Capture size : 2246x1080
Offset : 0x0
Virtual Desktop : 2246x1080
[2026-05-27 19:44:41.265]: Info: Active GPU has HAGS disabled
[2026-05-27 19:44:41.265]: Info: Using realtime GPU priority
[2026-05-27 19:44:41.265]: 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
[2026-05-27 19:44:41.266]: Info: Desktop resolution [2246x1080]
[2026-05-27 19:44:41.266]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-05-27 19:44:41.266]: Info: Display refresh rate [60Hz]
[2026-05-27 19:44:41.266]: Info: Requested frame rate [60/1 exactly 60 fps]
[2026-05-27 19:44:41.267]: Info: Encoder [amdvce] is not supported on this GPU
[2026-05-27 19:44:41.275]: Info: Trying encoder [mediafoundation]
[2026-05-27 19:44:41.323]: Info:
Device Description : Qualcomm(R) Adreno(TM) 630 GPU
Device Vendor ID : 0x4D4F4351
Device Device ID : 0x45373230
Device Video Mem : 1 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 2850 MiB
Feature Level : 0x0000B100
Capture size : 2246x1080
Offset : 0x0
Virtual Desktop : 2246x1080
[2026-05-27 19:44:41.324]: Info: Active GPU has HAGS disabled
[2026-05-27 19:44:41.324]: Info: Using realtime GPU priority
[2026-05-27 19:44:41.324]: 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
[2026-05-27 19:44:41.325]: Info: Desktop resolution [2246x1080]
[2026-05-27 19:44:41.325]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-05-27 19:44:41.325]: Info: Display refresh rate [60Hz]
[2026-05-27 19:44:41.325]: Info: Requested frame rate [60/1 exactly 60 fps]
[2026-05-27 19:44:41.326]: Info: Creating encoder [h264_mf]
[2026-05-27 19:44:41.326]: Info: Color coding: SDR (Rec. 601)
[2026-05-27 19:44:41.326]: Info: Color depth: 8-bit
[2026-05-27 19:44:41.326]: Info: Color range: JPEG
[2026-05-27 19:44:41.337]: Info: Streaming bitrate is 1000000
[2026-05-27 19:44:41.357]: Info: [h264_mf @ 000001adfb348c50] MFT name: 'QCOM Hardware Encoder - H264'
[2026-05-27 19:44:41.374]: Error: [h264_mf @ 000001adfb348c50] failed processing input: 80070057
[2026-05-27 19:44:41.374]: Error: Could not send a frame for encoding: Generic error in an external library
[2026-05-27 19:44:41.395]: Info: Encoder [mediafoundation] failed
[2026-05-27 19:44:41.405]: Info: Trying encoder [software]
[2026-05-27 19:44:41.458]: Info:
Device Description : Qualcomm(R) Adreno(TM) 630 GPU
Device Vendor ID : 0x4D4F4351
Device Device ID : 0x45373230
Device Video Mem : 1 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 2850 MiB
Feature Level : 0x0000B100
Capture size : 2246x1080
Offset : 0x0
Virtual Desktop : 2246x1080
[2026-05-27 19:44:41.459]: Info: Active GPU has HAGS disabled
[2026-05-27 19:44:41.459]: Info: Using realtime GPU priority
[2026-05-27 19:44:41.459]: 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
[2026-05-27 19:44:41.460]: Info: Desktop resolution [2246x1080]
[2026-05-27 19:44:41.460]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-05-27 19:44:41.460]: Info: Display refresh rate [60Hz]
[2026-05-27 19:44:41.460]: Info: Requested frame rate [60/1 exactly 60 fps]
[2026-05-27 19:44:41.460]: Info: Creating encoder [libx264]
[2026-05-27 19:44:41.460]: Info: Color coding: SDR (Rec. 601)
[2026-05-27 19:44:41.460]: Info: Color depth: 8-bit
[2026-05-27 19:44:41.461]: Info: Color range: JPEG
[2026-05-27 19:44:41.461]: Info: Streaming bitrate is 1000000
[2026-05-27 19:44:41.462]: Info: [libx264 @ 000001adfb3657c0] using cpu capabilities: ARMv8 NEON
[2026-05-27 19:44:41.468]: Info: [libx264 @ 000001adfb3657c0] profile High, level 4.2, 4:2:0, 8-bit
[2026-05-27 19:44:41.642]: Info: [libx264 @ 000001adfb3657c0] frame I:1 Avg QP:31.00 size: 1203
[2026-05-27 19:44:41.643]: Info: [libx264 @ 000001adfb3657c0] mb I I16..4: 99.9% 0.0% 0.0%
[2026-05-27 19:44:41.643]: Info: [libx264 @ 000001adfb3657c0] 8x8 transform intra:0.0%
[2026-05-27 19:44:41.643]: Info: [libx264 @ 000001adfb3657c0] coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0%
[2026-05-27 19:44:41.643]: Info: [libx264 @ 000001adfb3657c0] i16 v,h,dc,p: 97% 0% 3% 0%
[2026-05-27 19:44:41.643]: Info: [libx264 @ 000001adfb3657c0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 75% 12% 0% 0% 0% 0% 12%
[2026-05-27 19:44:41.643]: Info: [libx264 @ 000001adfb3657c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 100% 0% 0% 0% 0% 0% 0%
[2026-05-27 19:44:41.643]: Info: [libx264 @ 000001adfb3657c0] i8c dc,h,v,p: 100% 0% 0% 0%
[2026-05-27 19:44:41.643]: Info: [libx264 @ 000001adfb3657c0] kb/s:577.44
[2026-05-27 19:44:41.652]: Info: Creating encoder [libx264]
[2026-05-27 19:44:41.652]: Info: Color coding: SDR (Rec. 601)
[2026-05-27 19:44:41.652]: Info: Color depth: 8-bit
[2026-05-27 19:44:41.653]: Info: Color range: JPEG
[2026-05-27 19:44:41.653]: Info: Streaming bitrate is 1000000
[2026-05-27 19:44:41.655]: Info: [libx264 @ 000001adfb3657c0] using cpu capabilities: ARMv8 NEON
[2026-05-27 19:44:41.660]: Info: [libx264 @ 000001adfb3657c0] profile High 4:4:4 Predictive, level 4.2, 4:4:4, 8-bit
[2026-05-27 19:44:41.908]: Info: [libx264 @ 000001adfb3657c0] frame I:1 Avg QP:31.00 size: 1312
[2026-05-27 19:44:41.908]: Info: [libx264 @ 000001adfb3657c0] mb I I16..4: 99.9% 0.0% 0.0%
[2026-05-27 19:44:41.908]: Info: [libx264 @ 000001adfb3657c0] 8x8 transform intra:0.0%
[2026-05-27 19:44:41.909]: Info: [libx264 @ 000001adfb3657c0] coded y,u,v intra: 0.0% 0.0% 0.0%
[2026-05-27 19:44:41.909]: Info: [libx264 @ 000001adfb3657c0] i16 v,h,dc,p: 97% 0% 3% 0%
[2026-05-27 19:44:41.909]: Info: [libx264 @ 000001adfb3657c0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 75% 12% 0% 0% 0% 0% 12%
[2026-05-27 19:44:41.909]: Info: [libx264 @ 000001adfb3657c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 100% 0% 0% 0% 0% 0% 0%
[2026-05-27 19:44:41.909]: Info: [libx264 @ 000001adfb3657c0] kb/s:629.76
[2026-05-27 19:44:42.001]: Info:
Device Description : Qualcomm(R) Adreno(TM) 630 GPU
Device Vendor ID : 0x4D4F4351
Device Device ID : 0x45373230
Device Video Mem : 1 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 2850 MiB
Feature Level : 0x0000B100
Capture size : 2246x1080
Offset : 0x0
Virtual Desktop : 2246x1080
[2026-05-27 19:44:42.002]: Info: Active GPU has HAGS disabled
[2026-05-27 19:44:42.003]: Info: Using realtime GPU priority
[2026-05-27 19:44:42.003]: 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
[2026-05-27 19:44:42.004]: Info: Desktop resolution [2246x1080]
[2026-05-27 19:44:42.004]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-05-27 19:44:42.004]: Info: Display refresh rate [60Hz]
[2026-05-27 19:44:42.004]: Info: Requested frame rate [60/1 exactly 60 fps]
[2026-05-27 19:44:42.015]: Info:
[2026-05-27 19:44:42.015]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2026-05-27 19:44:42.015]: Info:
[2026-05-27 19:44:42.015]: Info: Found H.264 encoder: libx264 [software]
[2026-05-27 19:44:42.015]: Info: Executing [Desktop]
[2026-05-27 19:44:42.089]: Info: New streaming session started [active sessions: 1]
[2026-05-27 19:44:42.208]: Info: nvprefs: NvAPI_Initialize() failed, ignore if you don't have NVIDIA video card
[2026-05-27 19:44:42.210]: Info: WLAN interface 0 is now in low latency mode
[2026-05-27 19:44:42.240]: Info: CLIENT CONNECTED
[2026-05-27 19:44:42.395]: Info:
Device Description : Qualcomm(R) Adreno(TM) 630 GPU
Device Vendor ID : 0x4D4F4351
Device Device ID : 0x45373230
Device Video Mem : 1 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 2850 MiB
Feature Level : 0x0000B100
Capture size : 2246x1080
Offset : 0x0
Virtual Desktop : 2246x1080
[2026-05-27 19:44:42.396]: Info: Active GPU has HAGS disabled
[2026-05-27 19:44:42.396]: Info: Using realtime GPU priority
[2026-05-27 19:44:42.396]: 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
[2026-05-27 19:44:42.397]: Info: Desktop resolution [2246x1080]
[2026-05-27 19:44:42.397]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-05-27 19:44:42.397]: Info: Display refresh rate [60Hz]
[2026-05-27 19:44:42.397]: Info: Requested frame rate [60/1 exactly 60 fps]
[2026-05-27 19:44:42.397]: Info: Creating encoder [libx264]
[2026-05-27 19:44:42.397]: Info: Color coding: SDR (Rec. 709)
[2026-05-27 19:44:42.397]: Info: Color depth: 8-bit
[2026-05-27 19:44:42.397]: Info: Color range: MPEG
[2026-05-27 19:44:42.397]: Info: Streaming bitrate is 1988000
[2026-05-27 19:44:42.397]: Info: [libx264 @ 000001adfb8741d0] using cpu capabilities: ARMv8 NEON
[2026-05-27 19:44:42.399]: Info: [libx264 @ 000001adfb8741d0] profile High, level 3.2, 4:2:0, 8-bit
[2026-05-27 19:44:42.406]: Info: Minimum FPS target set to ~30fps (33.3333ms)
[2026-05-27 19:44:42.407]: Info: Capture format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-05-27 19:44:42.407]: Info: Capture size changed [2246x1080 -> 1080x2246]
[2026-05-27 19:44:42.442]: Info: [libx264 @ 000001adfb8741d0] frame I:1 Avg QP:19.00 size: 1003
[2026-05-27 19:44:42.442]: Info: [libx264 @ 000001adfb8741d0] mb I I16..4: 99.9% 0.0% 0.1%
[2026-05-27 19:44:42.442]: Info: [libx264 @ 000001adfb8741d0] 8x8 transform intra:0.0%
[2026-05-27 19:44:42.442]: Info: [libx264 @ 000001adfb8741d0] coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0%
[2026-05-27 19:44:42.442]: Info: [libx264 @ 000001adfb8741d0] i16 v,h,dc,p: 96% 0% 4% 0%
[2026-05-27 19:44:42.442]: Info: [libx264 @ 000001adfb8741d0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 0% 0% 94% 6% 0% 0% 0% 0% 0%
[2026-05-27 19:44:42.442]: Info: [libx264 @ 000001adfb8741d0] i8c dc,h,v,p: 100% 0% 0% 0%
[2026-05-27 19:44:42.442]: Info: [libx264 @ 000001adfb8741d0] kb/s:481.44
[2026-05-27 19:44:42.502]: Info:
Device Description : Qualcomm(R) Adreno(TM) 630 GPU
Device Vendor ID : 0x4D4F4351
Device Device ID : 0x45373230
Device Video Mem : 1 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 2850 MiB
Feature Level : 0x0000B100
Capture size : 2246x1080
Offset : 0x0
Virtual Desktop : 2246x1080
[2026-05-27 19:44:42.503]: Info: Active GPU has HAGS disabled
[2026-05-27 19:44:42.503]: Info: Using realtime GPU priority
[2026-05-27 19:44:42.503]: 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
[2026-05-27 19:44:42.504]: Info: Desktop resolution [2246x1080]
[2026-05-27 19:44:42.504]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-05-27 19:44:42.504]: Info: Display refresh rate [60Hz]
[2026-05-27 19:44:42.504]: Info: Requested frame rate [60/1 exactly 60 fps]
[2026-05-27 19:44:42.506]: Info: Creating encoder [libx264]
[2026-05-27 19:44:42.506]: Info: Color coding: SDR (Rec. 709)
[2026-05-27 19:44:42.506]: Info: Color depth: 8-bit
[2026-05-27 19:44:42.506]: Info: Color range: MPEG
[2026-05-27 19:44:42.507]: Info: Streaming bitrate is 1988000
[2026-05-27 19:44:42.507]: Info: [libx264 @ 000001adfb322c80] using cpu capabilities: ARMv8 NEON
[2026-05-27 19:44:42.509]: Info: [libx264 @ 000001adfb322c80] profile High, level 3.2, 4:2:0, 8-bit
[2026-05-27 19:44:42.516]: Info: Minimum FPS target set to ~30fps (33.3333ms)
[2026-05-27 19:44:42.532]: Info: Capture format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-05-27 19:44:42.533]: Info: Capture size changed [2246x1080 -> 1080x2246]
[2026-05-27 19:44:42.573]: Warning: Unable to install Steam Streaming Speakers on unknown architecture
[2026-05-27 19:44:42.583]: Info: Audio mixer format is 32-bit, 48000 Hz, no resampling needed
[2026-05-27 19:44:42.605]: Info:
Device Description : Qualcomm(R) Adreno(TM) 630 GPU
Device Vendor ID : 0x4D4F4351
Device Device ID : 0x45373230
Device Video Mem : 1 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 2850 MiB
Feature Level : 0x0000B100
Capture size : 2246x1080
Offset : 0x0
Virtual Desktop : 2246x1080
[2026-05-27 19:44:42.606]: Info: Active GPU has HAGS disabled
[2026-05-27 19:44:42.606]: Info: Using realtime GPU priority
[2026-05-27 19:44:42.606]: 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
[2026-05-27 19:44:42.607]: Info: Desktop resolution [2246x1080]
[2026-05-27 19:44:42.607]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-05-27 19:44:42.607]: Info: Display refresh rate [60Hz]
[2026-05-27 19:44:42.607]: Info: Requested frame rate [60/1 exactly 60 fps]
[2026-05-27 19:44:42.624]: Info: Capture format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-05-27 19:44:42.624]: Info: Capture size changed [2246x1080 -> 1080x2246]
[2026-05-27 19:44:42.649]: Info: Audio capture format is [F32 48000 2.0]
[2026-05-27 19:44:42.660]: Info: Opus initialized: 48 kHz, 2 channels, 96 kbps (total), LOWDELAY
[2026-05-27 19:44:42.676]: Info:
Device Description : Qualcomm(R) Adreno(TM) 630 GPU
Device Vendor ID : 0x4D4F4351
Device Device ID : 0x45373230
Device Video Mem : 1 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 2850 MiB
Feature Level : 0x0000B100
Capture size : 2246x1080
Offset : 0x0
Virtual Desktop : 2246x1080
[2026-05-27 19:44:42.676]: Info: Active GPU has HAGS disabled
[2026-05-27 19:44:42.676]: Info: Using realtime GPU priority
[2026-05-27 19:44:42.676]: 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
[2026-05-27 19:44:42.677]: Info: Desktop resolution [2246x1080]
[2026-05-27 19:44:42.677]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-05-27 19:44:42.677]: Info: Display refresh rate [60Hz]
[2026-05-27 19:44:42.677]: Info: Requested frame rate [60/1 exactly 60 fps]
[2026-05-27 19:44:42.687]: Info: Creating encoder [libx264]
[2026-05-27 19:44:42.687]: Info: Color coding: SDR (Rec. 709)
[2026-05-27 19:44:42.687]: Info: Color depth: 8-bit
[2026-05-27 19:44:42.687]: Info: Color range: MPEG
[2026-05-27 19:44:42.687]: Info: Streaming bitrate is 1988000
[2026-05-27 19:44:42.688]: Info: [libx264 @ 000001adf94b0bd0] using cpu capabilities: ARMv8 NEON
[2026-05-27 19:44:42.690]: Info: [libx264 @ 000001adf94b0bd0] profile High, level 3.2, 4:2:0, 8-bit
[2026-05-27 19:44:42.690]: Info: Capture format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2026-05-27 19:44:42.690]: Info: Capture size changed [2246x1080 -> 1080x2246]
[2026-05-27 19:44:42.697]: Info: Minimum FPS target set to ~30fps (33.3333ms)
```
### Online logs
_No response_
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing screen rotation on the Windows 11 ARM64 Pocophone F1 setup using the Desktop Duplication API and the provided log output. Inspect the display and Media Foundation encoder paths indicated by the logs, especially the 1080x2246 capture and h264_mf errors. Done means horizontal rotation is captured correctly without the reported fixed portrait resolution or encoder failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100