Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
xfreerdp_git help
14-11-2016, 07:05 PM,
#1
Question  xfreerdp_git help
Hello,

I'd like to redirect usb devices as well as playing youtube with freerdp. Latest rptis has there options for this purpose:
1. xfreerdp (2014 build)
2. xfreerdp_git (2016 build)
3. dfreerdp

Option 1 does not redirect usb (I'd like to hear if anyone has it!)
Option 3 has no option for usb redirection (AFAIK).

This leaves me with the only choose of option 2. However xfreerdp_git is somewhat very unstable beast.
1. As soon as I play video, it plays shuttering and it is impossible to click anywhere. Only option is to kill xfreerdp_git. I found some command line options and sorted out this a bit but it is worse then xfreerdp (option 1). I wonder if someone has a good experience then mine and appreciated if it could be shared. My cmdline options are +async-channels -async-transport +async-input +async-update gdiConfusedw. gdi:hw or /gfx /rfx makes it worse.
2. I can not play damned sound a bit. I've tried /sound:latency:1 or 50 or 100 or 500 or 1000 it stops somewhere and it is not synced in youtube.

Any help would be appreciated.

Thanks.
Reply
16-11-2016, 10:01 PM,
#2
RE: xfreerdp_git help
Hi,

i think dfreerdp would be almost the fastest solution in your case.
But take a look at this thread.
https://forum.armtc.net/showthread.php?t...t=dfreerdp

Unfortunately i think for seamless youtube watching or naive feeling non of them will be the desired solution.
For the best result you have to find the best ration between RPI CPU usage und bandwith.

Give it a try und post your result if you find a good configuration.

Regards DaWast
-= Feel Free to use the Search function in the upper right corner =-
Reply
16-11-2016, 10:06 PM,
#3
RE: xfreerdp_git help
And you way want to try rdesktop with this. (not testet yet)
rdesktop -f -z -a 24 -x broadband -k de -r sound:local -u "" remoteip
-= Feel Free to use the Search function in the upper right corner =-
Reply
17-11-2016, 10:09 AM,
#4
RE: xfreerdp_git help
Thanks for reply. As I said I have two objectives. Usb redirection and a simple but working video/sound performance.

rdesktop is poor with sound redirection in my tests and it has no usb redirection.

dfreerdp also has no usb redirection as far as I know. Also it has some problems such as you have to refresh the entire screen since sometimes some parts of screen pixels disappear while watching a youtube video. On the other side I have no best quality youtube expectation.

Lately I am working on compiling the latest xfreerdp source as I see xfreerdp_git has a working usb redirection. I think latest code or different Cmake options may bring video/sound performance to an acceptable state as current xfreerdp_git has serious problems.

I have a problem with enabling usb redirection with the lastest xfreerdp source. I set Cmake option as -DCHANNEL_URBDRC_CLIENT=ON, build finishes succefully. Video and sound issues seems to be corrected. However usb redirection is not working with some errors.

Would you please help me figure out a way as rpitc already compiled a working usb redirection. If we can get xfreerdp_git working we can have a powerfull rdp feature within rpitc.

Regards,
Goktug
Reply
17-11-2016, 01:47 PM,
#5
RE: xfreerdp_git help
What are the errors you got with usb redirection?
Maybe you have the missing lib issue?

https://forum.armtc.net/showthread.php?tid=1708
-= Feel Free to use the Search function in the upper right corner =-
Reply
17-11-2016, 01:53 PM,
#6
RE: xfreerdp_git help
These are my errors.
pi@raspberrypi:~/FreeRDP/client/X11 $ sudo ./xfreerdp -sec-nla /cert-ignore /v:10.1.60.153 +fonts /usb:id,dev:03f0:0b2a
[09:55:32:281] [4229:4229] [INFO][com.freerdp.utils] - Registering signal hook...
[09:55:32:299] [4229:4230] [INFO][com.freerdp.client.common.cmdline] - loading channel drdynvc
[09:55:32:315] [4229:4230] [WARN][com.freerdp.core.nego] - Error: SSL_NOT_ALLOWED_BY_SERVER
[09:55:32:403] [4229:4230] [INFO][com.freerdp.gdi] - Local framebuffer format PIXEL_FORMAT_BGRX32
[09:55:32:403] [4229:4230] [INFO][com.freerdp.gdi] - Remote framebuffer format PIXEL_FORMAT_RGB16
[09:55:32:486] [4229:4230] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel urbdrc
[09:55:32:487] [4229:4230] [ERROR][com.freerdp.channels.urbdrc.client] - error processing arguments
[09:55:32:492] [4229:4230] [WARN][com.freerdp.channels.urbdrc.client] - bus:0 dev:0 not exist in udevman
[09:55:32:492] [4229:4230] [INFO][com.freerdp.channels.urbdrc.client] - VID: 0x03F0, PID: 0x0B2A
[09:55:33:533] [4229:4230] [WARN][com.freerdp.channels.urbdrc.client] - bus:1 dev:6 not exist in udevman
[09:55:45:692] [4229:4238] [ERROR][com.freerdp.channels.urbdrc.client] - unknown FunctionId 0x1
[09:55:45:694] [4229:4239] [ERROR][com.freerdp.core] - Funcion was called from thread that did not call freerdp_channel_init_thread_context
[09:55:45:695] [4229:4239] [ERROR][com.freerdp.channels.drdynvc.client] - VirtualChannelWrite failed with CHANNEL_RC_BAD_CHANNEL_HANDLE [00000007]
[09:55:45:695] [4229:4239] [ERROR][com.freerdp.channels.drdynvc.client] - VirtualChannelWrite failed with CHANNEL_RC_BAD_CHANNEL_HANDLE [00000007]
[09:56:06:758] [4229:4230] [INFO][com.freerdp.client.x11] - Closed from X11
[09:56:06:762] [4229:4230] [INFO][com.freerdp.channels.urbdrc.client] - urbdrc_on_close: channel id 9

Maybe there is something wrong with the current xfreerdp source or maybe I have to use a different usb library, I don't know yet. Maybe I should give a try with the commit number of xfreerd_git if you may share.
Reply
17-11-2016, 02:05 PM,
#7
RE: xfreerdp_git help
There were some bugs one and two years ago.
But they should be fixed and normally only affected if you are not root.
https://github.com/FreeRDP/FreeRDP/issues/2113

Gibbio i think compiled the rpitc Version.
Maybe he knows an hint.

And maybe this is was you are looking for:
Compiled lastest git of FreeRDP for ARMHF. Here the binary file (compiled with -DBUILD_SHARED_LIBS=OFF -DCHANNEL_URBDRC_CLIENT=ON):
http://dl.armtc.net/RPi-TC/xfreerdp
-= Feel Free to use the Search function in the upper right corner =-
Reply
17-11-2016, 02:13 PM,
#8
RE: xfreerdp_git help
(17-11-2016, 02:05 PM)DaWast Wrote: There were some bugs one and two years ago.
But they should be fixed and normally only affected if you are not root.
https://github.com/FreeRDP/FreeRDP/issues/2113
I've seen those issues and thought that it is already there within the latest. Thanks for point out.

Quote:Gibbio i think compiled the rpitc Version.
Maybe he knows an hint.
That would be great!
Quote:And maybe this is was you are looking for:
Compiled lastest git of FreeRDP for ARMHF. Here the binary file (compiled with -DBUILD_SHARED_LIBS=OFF -DCHANNEL_URBDRC_CLIENT=ON):
http://dl.armtc.net/RPi-TC/xfreerdp
Link is broken or file is not there anymore Sad
Reply
24-11-2016, 11:46 AM,
#9
RE: xfreerdp_git help
You want to redirect a printer? Maybe you should try with the /printer switch in xfreerdp.
I had to redirect a footswitch, so it was necessary to redirect it as a usb-device, and had similar error messages as you have. The solution was to register the device in UDEV. I created a file
/etv/udev/rules.d/15-footpedal.rules
with the content (one line):
SUBSYSTEM=="usb", ATTRS{idVendor}=="05f3", ATTRS{idProduct}=="00ff", MODE:="0777", GROUP:="plugdev", SYMLINK+="footpedal"
After a reboot (or at least udevadm control --reload-rules) you can redirect the usb-device with xfreerdp.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)