Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
dfreerdp woes
12-01-2017, 06:55 PM,
#1
dfreerdp woes
I'm trying to get dfreerdp working right and having issues.

My setup.
RPiTC latest version - v3_1.11
Raspberry Pi 3
1920x1080 monitor connected via hdmi->dvi

in config.txt:
hdmi_group=2
hdmi_mode=82 #Force 1080p
framebuffer_width=1920
framebuffer_height=1080
framebuffer_depth=16

in directfbrc:
# all defaults including
mode=1920x1080

dfreerdp server options:
all Default

What happens:
When I click on the dfreerdp icon, a blank window opens with the title "DFB X11 system window". If I minimize the window and open it back up, the rdp login screen shows. However the mouse does not move and the screen does not refresh unless you minimize and restore the window. You CAN interact with it via the keyboard, however you don't see anything happening until you refresh the screen by minimizing and restoring.

I'll be honest I think it has something to do with it being in a window but I don't know enough about directfb to really know. I'd much rather it be fullscreen.

On another note, xfreerdp does work fine connected to the same server albeit with the video and sound slowness that's expected.
Reply
15-01-2017, 01:48 PM,
#2
RE: dfreerdp woes
yes, seem that the Debian team updated the libdirectfb library, this just broke dfreerdp and some other fb app im using...
new libdirectfb from debian repo is builded with x11 support and despite the system=fbdev in the directfbrc file the lib try to run it in the x11 mode...
to solve the problem you can remove the new libdirectfb* with apt, edit the sources.list and comment out the debian sid repo, then apt-get clean, apt-get update, apt-get install libdirectfb*
This will get the correct library from my repo
Reply
26-01-2017, 08:26 PM,
#3
RE: dfreerdp woes
Thank you so much for that! I'm able to get on and working now.

I have one more issue that's still there. When launched, the "black" cursor image stays on the screen whereever it was left (in addition to the "white" windows cursor.) I think it's the X cursor (with directfb providing it's own.) A workaround seems to be using unclutter to hide it, but I doubt that's the best way.
Reply
13-02-2017, 11:28 AM,
#4
RE: dfreerdp woes
yes, there is a problem with the frame buffer turbo driver (with hardware mouse integration). Use this instead:
http://dl.armtc.net/RPi-TC/packages/fbturbo_drv.so
Reply
19-03-2017, 07:10 AM,
#5
RE: dfreerdp woes
(15-01-2017, 01:48 PM)admin Wrote: yes, seem that the Debian team updated the libdirectfb library, this just broke dfreerdp and some other fb app im using...
new libdirectfb from debian repo is builded with x11 support and despite the system=fbdev in the directfbrc file the lib try to run it in the x11 mode...
to solve the problem you can remove the new libdirectfb* with apt, edit the sources.list and comment out the debian sid repo, then apt-get clean, apt-get update, apt-get install libdirectfb*
This will get the correct library from my repo

Hi, I'm getting a black screen when I try to run dfreerdp accelerated so I followed your instructions. However I get this error that the package is broken after I try to install the libdirectfb*.

My sources looks like this after I comment out the debian sid like you said:
deb http://cortexa7.armtc.net/ sid main
#deb http://ftp.us.debian.org/debian sid main contrib non-free
#deb-src http://ftp.de.debian.org/debian sid main contrib non-free
deb http://archive.raspberrypi.org/debian jessie main contrib non-free


What did I do wrong?
Reply
23-03-2017, 10:09 AM,
#6
RE: dfreerdp woes
In RPiTC 3.12 I've solved this problem by giving high priority to my repository, so you didnt need to modify the sources.list file.
For the black screen maybe you are using a wrong resolution/depth. Install the fbset package with sudo apt-get install fbset
and run:
fbset -s

the output will be something like:
mode "1280x800"
geometry 1280 800 1280 800 16
timings 0 0 0 0 0 0 0
rgba 5/11,6/5,5/0,0/16
endmode

and add it to the /etc/fb.modes

Last, please double check again the /boot/config.txt and /etc/directfbrc for the correct screen resolution.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)