FreeRDP / FreeRDP

FreeRDP is a free remote desktop protocol library and clients
http://www.freerdp.com/
Apache License 2.0
11.07k stars 14.89k forks source link

wayland/sway/sdl-freerdp +dynamic-resolution doesn't work? #10759

Open alxchk opened 1 month ago

alxchk commented 1 month ago

Releated pull request for master: 3.8.1-dev0 (1c061423b)

I launch sdl-freerdp with +geometry +dynamic-resolution args. Fullscreen works fine, however when I exit fullscreen (toggle to have window) sdl-freerdp does not resize remote desktop to the window dimensions -- it keep it same (fullscreen)

The only records in log:

[12:52:41:951] [9307:00002485] [WARN][com.freerdp.channels.drdynvc.client] - [check_open_close_receive]: {Microsoft::Windows::RDS::Geometry::v08.01:10} OnOpen=(nil), OnClose=0x7fce8fea1f90
[12:52:41:024] [9307:00002485] [WARN][com.freerdp.channels.drdynvc.client] - [check_open_close_receive]: {Microsoft::Windows::RDS::DisplayControl:16} OnOpen=(nil), OnClose=0x7fce8fea3520
[12:52:41:741] [9307:00002485] [WARN][com.freerdp.channels.drdynvc.client] - [check_open_close_receive]: {Microsoft::Windows::RDS::Geometry::v08.01:10} OnOpen=(nil), OnClose=0x7fce8fea1f90
[12:52:49:654] [9307:00002485] [WARN][com.freerdp.channels.drdynvc.client] - [check_open_close_receive]: {Microsoft::Windows::RDS::Geometry::v08.01:10} OnOpen=(nil), OnClose=0x7fce8fea1f90

[12:52:53:586] [9307:00002485] [WARN][com.freerdp.channels.drdynvc.client] - [check_open_close_receive]: {Microsoft::Windows::RDS::Geometry::v08.01:10} OnOpen=(nil), OnClose=0x7fce8fea1f90
[12:52:56:912] [9307:00002485] [WARN][com.freerdp.channels.drdynvc.client] - [check_open_close_receive]: {Microsoft::Windows::RDS::Geometry::v08.01:10} OnOpen=(nil), OnClose=0x7fce8fea1f90
[12:53:04:311] [9307:00002485] [WARN][com.freerdp.channels.drdynvc.client] - [check_open_close_receive]: {Microsoft::Windows::RDS::Geometry::v08.01:10} OnOpen=(nil), OnClose=0x7fce8fea1f90
akallabeth commented 1 month ago

@alxchk please add your full command line.

alxchk commented 1 month ago

sdl-freerdp /wm-class:FreeRDP /gdi:hw /drive:tmp,/home/user/exchange +clipboard /sound:sys:pulse /microphone:format:1 /dvc:rdpecam /prevent-session-lock:60 /u:USERNAME /p:PASSWORD /v:IPADDR /port:PORT /auth-pkg-list:ntlm,!kerberos +f +clipboard +geometry +dynamic-resolution -decorations -wallpaper -themes

akallabeth commented 1 month ago

@alxchk /gdi:hw is useless ;)

akallabeth commented 1 month ago

@alxchk this looks like a bug in combination with /f. does it work for you if you start in windowed mode?

alxchk commented 1 month ago

Yep, without /f it works. Somehow overlooked that fact.