Bug 254914 - net/freerdp: smart-sizing broken in 2.3.2 (r569458)
Summary: net/freerdp: smart-sizing broken in 2.3.2 (r569458)
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Craig Leres
Depends on:
Reported: 2021-04-09 12:01 UTC by Aleksandr Konkov
Modified: 2021-07-25 01:44 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (vvd)


Note You need to log in before you can comment on or make changes to this bug.
Description Aleksandr Konkov 2021-04-09 12:01:15 UTC
OS FreeBSD 13.0-STABLE #0 stable/13-n245043-7590d7800c44

Portmaster build options:
	ALSA           : off
	CUPS           : off
	FAAC           : off
	FAAD           : off
	FFMPEG         : on
	GSM            : off
	GSTREAMER      : off
	ICU            : on
	KERBEROS       : off
	LAME           : off
	MANPAGES       : on
	OPENH264       : off
	PCSC           : off
	PULSEAUDIO     : off
	SOXR           : off
	SSE            : on
	WAYLAND        : off
	X11            : on

Everything well without smart-sizing option, but with smart-sizing:

[ERROR][com.winpr.timezone] - Unable to get current timezone rule
[INFO][com.freerdp.gdi] - Local framebuffer format  PIXEL_FORMAT_BGRX32
[INFO][com.freerdp.gdi] - Remote framebuffer format PIXEL_FORMAT_RGB16
[INFO][com.winpr.clipboard] - initialized POSIX local file subsystem
[INFO][com.freerdp.channels.rdpsnd.client] - [static] Loaded fake backend for rdpsnd
[INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive [home] (static)
[WARN][com.freerdp.color] - SmartScaling requested but compiled without libcairo support!
[ERROR][com.freerdp.core.fastpath] - Fastpath update New Pointer [b] failed, status 0
[ERROR][com.freerdp.core.fastpath] - fastpath_recv_update() - -1
[ERROR][com.freerdp.core.fastpath] - fastpath_recv_update_data() fail
[ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -3
[ERROR][com.freerdp.core] - freerdp_check_fds() failed - 0
[INFO][com.freerdp.client.common] - Network disconnect!
[ERROR][com.freerdp.client.x11] - Failed to check FreeRDP file descriptor

The previous version of FreeRDP 2.2.0 (r556318) had no issues.
Comment 1 VVD 2021-04-10 18:12:01 UTC
Probably it's upstream bug.
Can you report it to upstream here: https://github.com/FreeRDP/FreeRDP/issues?
Comment 2 Sascha Folie 2021-04-11 12:05:17 UTC
(In reply to VVD from comment #1)
It might be a bug with the port because smart-sizing works on Archlinux (FreeRDP 2.3.2).
Comment 3 Aleksandr Konkov 2021-04-11 13:09:17 UTC
(In reply to VVD from comment #1)
Smart-sizing broken in 2.3.2 (r569458) #6952
Comment 4 Aleksandr Konkov 2021-04-11 17:05:50 UTC
(In reply to VVD from comment #1)

From https://github.com/FreeRDP/FreeRDP/issues:
akallabeth closed issue with

    [WARN][com.freerdp.color] - SmartScaling requested but compiled without libcairo support!

Please read the warnings/errors of cmake configure and the log you just posted ;)
Comment 5 VVD 2021-04-11 19:05:34 UTC
(In reply to Aleksandr Konkov from comment #4)
Try to add WITH_SWSCALE to CMAKE_ON= in Makefile and rebuild port.
Comment 6 VVD 2021-04-11 19:34:33 UTC
Keep link: https://github.com/FreeRDP/FreeRDP/issues/6952
Comment 7 Aleksandr Konkov 2021-04-11 20:50:24 UTC
(In reply to VVD from comment #5)
Yes, with WITH_SWSCALE smart-sizing is working well.
Thank you very much!
Comment 8 Aleksandr Konkov 2021-04-12 11:55:36 UTC
(In reply to VVD from comment #1)
According to https://github.com/FreeRDP/FreeRDP/issues/6952, it's not an upstream bug - something changed in FreeBSD's cmake (default) options, I guess...
Maybe this is the reason for Bug 254908 too...