flathub / flathub/com.thincast.client

Multimonitor setup does not like fractional scaling

Open
#39 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

When attempting to conect to a desktop which initially connected just fine, I encountered this generic connection error.

Image

Image

The error in the image does not accurately present what the issue is, but when going into verbose mode when launchign the app I get the following error regarding the monitors.

```
**[12:37:27:113] [T: 16] [error] [com.freerdp.settings] - Monitor configuration has gaps! Monitor 0 does not have any neighbor**
[12:37:27:114] [T: 16] [error] [com.freerdp.settings] - Invalid or unsupported monitor configuration detected
[12:37:27:114] [T: 16] [error] [com.freerdp.settings] - Check if the configuration is valid.
[12:37:27:114] [T: 16] [error] [com.freerdp.settings] - If you suspect a bug create a new issue at https://github.com/FreeRDP/FreeRDP/issues/new
[12:37:27:114] [T: 16] [error] [com.freerdp.settings] - Provide at least the following log lines detailing your monitor configuration:
[12:37:27:114] [T: 16] [error] [com.freerdp.settings] - [BEGIN] MonitorDefArray[2]
[12:37:27:114] [T: 16] [error] [com.freerdp.settings] - [0] [primary] {0x0-2560x1600} [0] {345x215, orientation: 0, desktopScale: 129, deviceScale: 100}
[12:37:27:114] [T: 16] [error] [com.freerdp.settings] - [1] [ ] {2561x-832-1404x2496} [0] {267x476, orientation: 90, desktopScale: 129, deviceScale: 100}
[12:37:27:114] [T: 16] [error] [com.freerdp.settings] - [END] MonitorDefArray[2]
[12:37:27:114] [T: 16] [error] [com.freerdp.core] - ERRCONNECT_PRE_CONNECT_FAILED [0x00020001]
[12:37:27:114] [T: 16] [error] [com.freerdp.core] - freerdp_pre_connect failed: CLIENT_STATE_PRECONNECT_PASSED
[12:37:27:115] [T: 16] [warning] freerdp_connect returned config ERRCONNECT_PRE_CONNECT_FAILED (131073): 'A configuration error prevented a connection to be established.'
QLayout: Attempting to add QLayout "" to ExpandableWidget "ctrlExpand", which already has a layout

```

WIth a little help of AI, i was able to confirm that this is due to the scaling selection I was using fro my primary monitor which was set to a scale of 130% or 145%, but it appears that the app is only happpy when using 1 scaling setting of 125% on the primary as no other scaling parameter worked for me.
Whether it is ultimately the scaling, or just that the scaling options i selected are off, i am not sure, but I believe this would be good to address as either better handling of the multimonitor scaling or parameters.
Or possibly improving the error output to not just say connection issues, but maybe point more towards an 'incompatible multimonitor setup' along with tips on what configuration, resolution, or scaling is actually supported.

Current screen layout if it helps.

Image

Image

Hope this information i provided helps.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.