You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by "Maram, Saber" <sm...@posteo.net> on 2021/08/27 14:05:00 UTC

guacd pass additional args

    Hello together,

is it possible to pass additional args to freerdp from guacd or can
you give me a hint how could do that?

looking at src/protocols/rdp/rdp.c i think i need to implement it in
there. (?)

Regards,
Saber

Re: guacd pass additional args

Posted by "Maram, Saber" <sm...@posteo.net>.
    
indeed will keep you up2date.



Am Freitag, den 27.08.2021 um 15:02 schrieb Nick Couchman:


On Fri, Aug 27, 2021 at 10:56 AM Maram, Saber  wrote:



 
thanks nick!

would like to try out parameters like /gdi:

guacd

Posted by "Maram, Saber" <sm...@posteo.net>.
    Hello together,

I run guacamole on a Rock Pi 4B with a Dual Cortex-A72, freqency
1.8Ghz with quad Cortex-A53, frequency 1.4Ghz.


I have the following problem that only one CPU core is used 100% when
a video is played on the remote host, see pic https://ibb.co/7jH6sWb


At first I thought it was because of the freerdp, I compiled freerdp
2.4 with multithreading which now uses all cores, see
pic. https://ibb.co/TrXzGrQ


After searching further, I had the assumption that it was due to
libwebp6, but I came across /src/libguac/encode-webp.c.


     config.thread_level = 1; / * Multi threaded * /


If I set thread_level = 2 here, only the first frames arrive in the
frontend and then only receiving "The source image could not be
decoded" see pic. https://ibb.co/kXnfyGM


I am stuck now, how to use all cores.


Another topic, has ever someone tried to implement /gfx-h264 support
for guacd to stream video to the client, the freerdp lib has support
for it.

I am aware that the user can, for example, watch YouTube videos
directly in their local browser :) but still the case exist, that on
different pages where video advertising runs on a weak system like the
ROCK PI 4B, an interaction with the rdp session is very difficult.

I really would like to open a discussion to talk about this.

Regards,
Saber





 










Re: guacd pass additional args

Posted by Nick Couchman <vn...@apache.org>.
On Fri, Aug 27, 2021 at 10:56 AM Maram, Saber <sm...@posteo.net> wrote:

>
> thanks nick!
>
> would like to try out parameters like /gdi:<sw:hw | /multitransport
>
>
Be aware that simply passing those options through is not likely to change
behavior or performance of the RDP connection without implementing
additional functionality in guacd. Some of it may be implemented in the
FreeRDP libraries, so there may be some improvements, but it's also
possible that additional functionality in guacd will be required to make
use of some of those features.

Let us know how it goes!

-Nick

>

Re: guacd pass additional args

Posted by "Maram, Saber" <sm...@posteo.net>.
    
thanks nick!

would like to try out parameters like /gdi:

Re: guacd pass additional args

Posted by Nick Couchman <vn...@apache.org>.
On Fri, Aug 27, 2021 at 10:06 AM Maram, Saber <sm...@posteo.net> wrote:

> Hello together,
>
> is it possible to pass additional args to freerdp from guacd or can you
> give me a hint how could do that?
>
>
There's no way to arbitrarily pass them, but, yes, it is possible to modify
the source code. What arguments are you trying to pass?


> looking at src/protocols/rdp/rdp.c i think i need to implement it in
> there. (?)
>
>
settings.c is where the Guacamole options get translated to FreeRDP options:

https://github.com/apache/guacamole-server/blob/master/src/protocols/rdp/settings.c

-Nick