WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline Rabie

  • Sr. Member
  • ****
  • Posts: 272
Re: Pi 4 dual Monitor
« Reply #45 on: August 15, 2021, 07:18:22 AM »
Hi Rich,

Hi Rabie
... Hier ist my xorg.conf:
Code: [Select]
----- Snip -----
Section "Monitor"
    Identifier  "HDMI-2"
    Option      "PreferredMode" "1280x1024"
    Option      "DPMS" "false"
    Option      "LeftOf" "HDMI1"
#    Option      "Position" "1280 1024"
EndSection
 ----- Snip -----

I think  HDMI1  is missing a dash,  HDMI-1.

You are absolutely right, i correct it but still not working

Offline Rabie

  • Sr. Member
  • ****
  • Posts: 272
Re: Pi 4 dual Monitor
« Reply #46 on: August 15, 2021, 07:22:41 AM »
It's perhaps a long shot, but maybe wayland/weston might work better than x11?

A few hints here: http://forum.tinycorelinux.net/index.php/topic,23269.msg150229.html

i will have a look at that.

Quote
I think the problem is that fbturbo is old and not maintained..

is there any way to update the fbturbo driver?  because i am using it on TinyCore  12.x/x86_64 and it just working fine with xrandr and without an xorg.conf

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Pi 4 dual Monitor
« Reply #47 on: August 15, 2021, 07:33:01 AM »
Hi Rabie
Quote
Xinerama is an extension to the X Window System that enables X applications and window managers to use two or more physical displays as one large virtual ...
Shouldn't  Option          "Xinerama" "off"  be  "on" ?

Offline Rabie

  • Sr. Member
  • ****
  • Posts: 272
Re: Pi 4 dual Monitor
« Reply #48 on: August 15, 2021, 08:02:26 AM »
Hi Rabie
Quote
Xinerama is an extension to the X Window System that enables X applications and window managers to use two or more physical displays as one large virtual ...
Shouldn't  Option          "Xinerama" "off"  be  "on" ?

"Xinerama" is disabled by Default https://www.x.org/releases/current/doc/man/man5/xorg.conf.5.xhtml#heading16

and when i active it nothing happens  :-\
Code: [Select]
Section "ServerLayout"
        Identifier      "default"
        Screen          "screen0"
        Screen          "screen1" RightOf "screen0"
        Option          "Xinerama" "on"
EndSection

Offline Rabie

  • Sr. Member
  • ****
  • Posts: 272
Re: Pi 4 dual Monitor
« Reply #49 on: August 16, 2021, 06:59:01 AM »
I think the problem is that fbturbo is old and not maintained..

would the fbturbo actually with an old kernel work ? Like piCore V8x or V9x or will those Kernel not work with pi4 ?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: Pi 4 dual Monitor
« Reply #50 on: August 16, 2021, 07:12:01 AM »
I think it would be better to use the latest kernel with RPi4.

If Xorg-3d is too slow in the freerdp window, you could try replacing dtoverlay=vc4-kms-v3d-pi4 with dtoverlay=vc4-fkms-v3d in config.txt

Is/can freerdp be set to use h264 hw acceleration?

Offline Rabie

  • Sr. Member
  • ****
  • Posts: 272
Re: Pi 4 dual Monitor
« Reply #51 on: August 16, 2021, 09:24:21 AM »
Quote
If Xorg-3d is too slow in the freerdp window, you could try replacing dtoverlay=vc4-kms-v3d-pi4 with dtoverlay=vc4-fkms-v3d in config.txt

i just tried that, the freerdp is soo slow  :(

Quote
Is/can freerdp be set to use h264 hw acceleration?

i actually don't know what does that mean, but i am gonna definitly read about it 😅
« Last Edit: August 16, 2021, 09:31:24 AM by Rabie »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: Pi 4 dual Monitor
« Reply #52 on: August 16, 2021, 09:54:36 AM »
i just tried that, the freerdp is soo slow

Did you reboot after charging the overlay to fkms?

Offline Rabie

  • Sr. Member
  • ****
  • Posts: 272
Re: Pi 4 dual Monitor
« Reply #53 on: August 16, 2021, 09:56:20 AM »
i just tried that, the freerdp is soo slow

Did you reboot after charging the overlay to fkms?

yes of course

Offline Rabie

  • Sr. Member
  • ****
  • Posts: 272
Re: Pi 4 dual Monitor
« Reply #54 on: August 24, 2021, 08:59:09 AM »
Hi Juanito,

It's perhaps a long shot, but maybe wayland/weston might work better than x11?

A few hints here: http://forum.tinycorelinux.net/index.php/topic,23269.msg150229.html

sorry but this will not be the solution for me.

i realy need to get it work with fbturbo, could we get another version of it maybe ? :(

Here is my Xorg.log maybe you will see something i didn't see  :-\

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: Pi 4 dual Monitor
« Reply #55 on: August 24, 2021, 09:18:41 AM »
Did you try weston?

As explained earlier, there has not been an update to the fbturbo source code for a long time - as far as I know, the piCore fbturbo extension uses the latest code.

Offline Rabie

  • Sr. Member
  • ****
  • Posts: 272
Re: Pi 4 dual Monitor
« Reply #56 on: August 24, 2021, 10:38:21 AM »
Did you try weston?

As explained earlier, there has not been an update to the fbturbo source code for a long time - as far as I know, the piCore fbturbo extension uses the latest code.

yes i tried weston but not with xfreerdp, but i already had some automatism in Xorg and if i used weston, i have do do everything over again. That is why i want to find an solution that works with Xorg  :-\

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: Pi 4 dual Monitor
« Reply #57 on: August 25, 2021, 01:22:41 AM »
xf86-video-fbdev added to the repo - you could try that instead of xf86-video-fbturbo.

Offline Rabie

  • Sr. Member
  • ****
  • Posts: 272
Re: Pi 4 dual Monitor
« Reply #58 on: August 25, 2021, 01:25:37 PM »
Hi Juanito,
xf86-video-fbdev added to the repo - you could try that instead of xf86-video-fbturbo.

so with this step i am realy moving forward  :)

The xf86-video-fbdev did help a little bit, i mean now i can use Xrandr to set my Monitors like i want and that is cool
the second thing is, that xfreerdp is a little bit faster but i don't think that somebody would like to work on the session, because every window need some seconds to load.

any other tips?  ;D

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Pi 4 dual Monitor
« Reply #59 on: August 25, 2021, 01:39:30 PM »
Hi Rabie
If you run:
Code: [Select]
xfreerdp --helpIt should list available options, for example:
Code: [Select]
-x: performance flags (m[odem], b[roadband] or l[an])Try setting it to  modem.

Maybe track down the documentation to see how various other flags affect performance.