WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline Rabie

  • Sr. Member
  • ****
  • Posts: 272
Re: Pi 4 dual Monitor
« Reply #45 on: August 15, 2021, 10: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, 10: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: 11591
Re: Pi 4 dual Monitor
« Reply #47 on: August 15, 2021, 10: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, 11: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, 09: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: 14799
Re: Pi 4 dual Monitor
« Reply #50 on: August 16, 2021, 10: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, 12:24:21 PM »
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, 12:31:24 PM by Rabie »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14799
Re: Pi 4 dual Monitor
« Reply #52 on: August 16, 2021, 12:54:36 PM »
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, 12:56:20 PM »
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, 11: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: 14799
Re: Pi 4 dual Monitor
« Reply #55 on: August 24, 2021, 12:18:41 PM »
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, 01:38:21 PM »
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: 14799
Re: Pi 4 dual Monitor
« Reply #57 on: August 25, 2021, 04: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, 04: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: 11591
Re: Pi 4 dual Monitor
« Reply #59 on: August 25, 2021, 04: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.