WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Pi 4 dual Monitor  (Read 21600 times)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14799
Re: Pi 4 dual Monitor
« Reply #60 on: August 26, 2021, 11:49:04 AM »
You could also try using the client with options "/gfx:AVC420" or "/gfx:AVC444" to try to force freerdp to use the RPi h264 hardware acceleration.

Offline Rabie

  • Sr. Member
  • ****
  • Posts: 272
Re: Pi 4 dual Monitor
« Reply #61 on: August 29, 2021, 04:14:49 PM »
so here are the options i tried until yet:

Code: [Select]
gdi:hw
/network:[modem|broadband|broadband-low|broadband-high|wan|lan|auto]   (Best one was the /network:auto)
+gfx-thin-client
+gfx-small-cache
+gfx-progressive
i tried them together and separated

Quote
You could also try using the client with options "/gfx:AVC420" or "/gfx:AVC444" to try to force freerdp to use the RPi h264 hardware acceleration.
with those two freerdp says that some parameter is wrong

after all it is so slow (look at the Video)
https://www.file2send.eu/de/download/ALHlha4a5ucfTqfvbZDdXOGwahrUMfA4mPGVVXDpDrXy7XKkFDqHCq11SoW2oTMf




Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14799
Re: Pi 4 dual Monitor
« Reply #62 on: August 30, 2021, 03:52:22 AM »
with those two freerdp says that some parameter is wrong

Please post the exact error message - maybe you need /gfx-h264:AVC444?

What does /buildconfig show about h264 on the freerdp client and server?
« Last Edit: August 30, 2021, 04:32:50 AM by Juanito »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14799
Re: Pi 4 dual Monitor
« Reply #63 on: August 30, 2021, 06:16:47 AM »
Ah - I see:
Code: [Select]
$ xfreerdp /buildconfig
..WITH_FFMPEG=OFF WITH_GFX_H264=OFF WITH_X264=OFF

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14799
Re: Pi 4 dual Monitor
« Reply #64 on: August 31, 2021, 06:24:18 AM »
freerdp updated:
Code: [Select]
$ xfreerdp /buildconfig
This is FreeRDP version 2.4.0 (2.4.0)
Build configuration:
...
WITH_FFMPEG=TRUE WITH_GFX_H264=ON

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14799
Re: Pi 4 dual Monitor
« Reply #65 on: August 31, 2021, 08:16:51 AM »
After realising I could set a windows machine as an rdp server, I did a test using freerdp in piCore64 - there was a noticeable speed up with /gfx-h264:AVC444

Offline Rabie

  • Sr. Member
  • ****
  • Posts: 272
Re: Pi 4 dual Monitor
« Reply #66 on: August 31, 2021, 03:24:56 PM »
Hi Juanito,
After realising I could set a windows machine as an rdp server, I did a test using freerdp in piCore64 - there was a noticeable speed up with /gfx-h264:AVC444

now i updated freerdp and tried this options:
/gfx-h264:AVC444
/gfx:AVC444
/gfx:AVC420

i noticed that freerdp is much faster with /gfx-h264:AVC444 but just on one Monitor, when i connect the second Monitor it goes again to be so slow  :-\

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14799
Re: Pi 4 dual Monitor
« Reply #67 on: August 31, 2021, 03:52:42 PM »
Are you using /multimon?

Offline Rabie

  • Sr. Member
  • ****
  • Posts: 272
Re: Pi 4 dual Monitor
« Reply #68 on: September 01, 2021, 08:54:00 AM »
Are you using /multimon?

yes, this is what i am using:
xfreerdp /sec:rdp /drive:USB-Stick,/mnt/ /gfx-h264:AVC444 /multimon:force +multitransport +auto-reconnect -themes -wallpaper /cert-ignore /bpp:15 /kbd:0x00000407 /d:domain /v:server:3389 /f

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14799
Re: Pi 4 dual Monitor
« Reply #69 on: September 01, 2021, 09:12:30 AM »
Maybe you can ask on the freerdp github site why multi-mon is slow compared to single?

Offline Rabie

  • Sr. Member
  • ****
  • Posts: 272
Re: Pi 4 dual Monitor
« Reply #70 on: September 09, 2021, 05:00:12 AM »
Hi Juanito,
Maybe you can ask on the freerdp github site why multi-mon is slow compared to single?

i will try that but to be honest i do not think that the freerdp is the problem.
Because i use the same thing on tinycore with fbturbo and there is no problem.
i think that xf86-video-fbdev is not enough  :'(  :'(

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14799
Re: Pi 4 dual Monitor
« Reply #71 on: September 09, 2021, 05:17:27 AM »
Neither xf86-video-fbdev nor xf86-video-fbturbo exist in Tinycore, so unless you compiled them yourself, you must be using something else.

When testing freerdp with Xorg-3d and one screen, I found using /gfx-h264:AVC444 increased the speed - since xf86-video-fbturbo stops Xorg-3d acceleration from working, I suspect you would be better off without it.

Offline Rabie

  • Sr. Member
  • ****
  • Posts: 272
Re: Pi 4 dual Monitor
« Reply #72 on: September 09, 2021, 05:55:26 AM »
i am sorry i am using xf86-video-intel.tcz on tinycore
but i will try your idea to use /gfx-h264:AVC444 with Xorg-3d
« Last Edit: September 09, 2021, 07:43:14 AM by Juanito »

Offline Rabie

  • Sr. Member
  • ****
  • Posts: 272
Re: Pi 4 dual Monitor
« Reply #73 on: September 09, 2021, 07:49:34 AM »
Neither xf86-video-fbdev nor xf86-video-fbturbo exist in Tinycore, so unless you compiled them yourself, you must be using something else.

When testing freerdp with Xorg-3d and one screen, I found using /gfx-h264:AVC444 increased the speed - since xf86-video-fbturbo stops Xorg-3d acceleration from working, I suspect you would be better off without it.

so i tried that but it didn't help (Look at the videos )
https://www.file2send.eu/de/download/qnrqHkpQFQvWl55zZ51pWvbnsYss4tUH5TQpe6J7afVqtdNUSfQswhaqOGWDlNsn

that is why i think that isn't a problem from freerdp but it's from the driver because it's just so fast with fbturbo

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14799
Re: Pi 4 dual Monitor
« Reply #74 on: September 09, 2021, 08:06:37 AM »
Do you have the latest v4l-dvb-5.10.16-piCore-v7 extension?

Are you sure Xorg is running with 3d hardware acceleration?

Code: [Select]
$ glxinfo | grep Acc
Accelerated: yes