lordaker
Posts: 17
Joined: Wed Sep 20, 2017 8:31 am

Re: Dual Monitors

Wed Jan 10, 2018 1:56 pm

This is my xorg.conf

Code: Select all

Section "Device"
# RPI HDMI Monitor, framebuffer 0
	Identifier "rpi"
	Driver "fbdev"
	Option "fbdev" "/dev/fb1"
	Option "ShadowFB" "off"
EndSection

Section "Device"
# USB DisplayLink Adapter Video, framebuffer 1
	Identifier "uga"
	Driver "fbdev"
	Option "fbdev" "/dev/fb0"
	Option "ShadowFB" "off"
EndSection

Section "Monitor"
	Identifier "Philips"
EndSection

Section "Monitor"
	Identifier "Philips"
EndSection

Section "Screen"
	Identifier "primary"
	Device "rpi"
	Monitor "Philips"
EndSection

Section "Screen"
Identifier "secondary"
Device "uga"
Monitor "Philips"
EndSection

Section "ServerLayout"
Identifier "default"
Screen 0 "primary" 0 0
Screen 1 "secondary" LeftOf "primary"
EndSection

Somebody can help me ?

Justin Buist
Posts: 1
Joined: Thu Jan 18, 2018 10:43 pm

Re: Dual Monitors

Thu Jan 18, 2018 10:48 pm

I'm working on something very close to your setup lordaker. Here's my xorg.conf file:

Code: Select all

Section "Device"
        Identifier "onboard"
        Driver "fbturbo"
        Option "fbdev" "/dev/fb0"
        Option "ShadowFB" "off"
EndSection

Section "Device"
        Identifier "displaylink"
        Driver "fbturbo"
        Option "fbdev" "/dev/fb1"
        Option "ShadowFB" "off"
EndSection

Section "Monitor"
        Identifier "pihdmi"
EndSection

Section "Monitor"
        Identifier "customer"
EndSection

Section "Screen"
        Identifier "screen0"
        Device "onboard"
        Monitor "pihdmi"
        DefaultDepth 16
        SubSection "Display"
                Depth 16
                Modes "1024x728"
        EndSubSection
EndSection

Section "Screen"
        Identifier "screen1"
        Device "displaylink"
        Monitor "customer"
        DefaultDepth 16
        SubSection "Display"
                Depth 16
                Modes "1024x768_60.0"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier "Default"
        Screen 0 "screen0" 0 0
        Screen 1 "screen1" RightOf "screen0"
        Option  "Xinerama" "true"
EndSection
It's kind of working but there's some quirks. Notice the Mode line in the first monitor -- 1024x728 not 1024x768. While the monitor only works in 1024x768 mode accidentally trying 1024x728 helped. When X fires up my second monitor (/dev/fb1) lights right up but at the wrong resolution. It's at 1920x1080. The primary monitor (/dev/fb0, onboard) is totally black. If I hop to a tty (ctrl+alt+f2) and login, set DISPLAY=:0 and then launch 'arander' and hop back to vt7 (alt+f7) NOW my primary screen comes up. There's no arandr program on the screen though and I don't know why.

I suspect I need to tweak refresh rates on the monitor to get the two to function at the same time upon first boot. If I figure it out I'll post the final answer.

The setup I've got is a Pi3 running Raspbian Stretch, xserver-xorg-fbturbo package installed, using a DisplayLinkn 165 USB 2.0 dongle for the second monitor.

lordaker
Posts: 17
Joined: Wed Sep 20, 2017 8:31 am

Re: Dual Monitors

Thu Feb 01, 2018 9:36 am

In the section of your xorg.conf where you put this one:

Code: Select all

Section "Screen"
        Identifier "screen1"
        Device "displaylink"
        Monitor "customer"
        DefaultDepth 16
        SubSection "Display"
                Depth 16
                Modes "1024x768_60.0"
        EndSubSection
EndSection
If I made same thing with my monitors, I will solve my problem of display ?
My resolution screen for two monitors Philips Brilliance 220sw is 1680x1050. I will try with the configuration of your xorg.conf;
Because I don't use the subsection in xorg.conf @Justin Buist. Let me see that and I'll comeback with the result that I have.

Return to “Other projects”

Who is online

Users browsing this forum: No registered users and 14 guests