Louie NRT Story

[Raspberry Pi] Display DSI and HDMI Multi layout 본문

에너지

[Raspberry Pi] Display DSI and HDMI Multi layout

hyeok0724.kim@gmail.com 2020. 11. 17. 10:23
반응형

최초 작성일: 20년 11월 17일

라즈베리파이 버젼: Raspberry Pi 3 B+

 

Index

1. 설정 파일 변경

2. Desktop GUI 에서 보여질 내용 수정

3. 리부트 함

4. framebuffer Device가 생성됨을 확인함

5. 부팅 옵션 변경

6. 수행 동작 화면

 

 

1. 설정 파일 변경

- 아래의 내용을 추가로 입력함

- 추가할 내용

dtparam=audio=off
disable_overscan=1

enable_uart=off
start_x=1

max_framebuffers=2

#  desktop display will default to the LCD (fb0)
# This will force the specified display to be the first in the list, i.e. /dev/fb0
# Actually this is the full set:
# MAIN_LCD  0
# AUX_LCD   1
# HDMI0     2
# SDTV      3
# HDMI1 is only availabe on RPi4
# HDMI1     7
framebuffer_priority=0

# increase GPU memory
gpu_mem=112

 

2. Desktop GUI 에서 보여질 내용 수정

- 기존의 내용을 모두 주석처리하고 내용을 새로 추가함

# This is a minimal sample config file, which can be copied to
# /etc/X11/xorg.conf in order to make the Xorg server pick up
# and load xf86-video-fbturbo driver installed in the system.
# When troubleshooting, check /var/log/Xorg.0.log for the debugging
# output and error messages.
#
# Run "man fbturbo" to get additional information about the extra
# configuration options for tuning the driver.

#Section "Device"
#        Identifier      "Allwinner A10/A13 FBDEV"
#        Driver          "fbturbo"
#        Option          "fbdev" "/dev/fb1"
#        Option          "SwapbuffersWait" "true"
#EndSection


Section "Device"
        Identifier      "fbturbo0"
        Driver          "fbturbo"
        Option          "fbdev" "/dev/fb0"

        Option          "SwapbuffersWait" "true"
        Option          "debug" "true"
EndSection

Section "Device"
        Identifier      "fbturbo1"
        Driver          "fbturbo"
        Option          "fbdev" "/dev/fb1"

        Option          "SwapbuffersWait" "true"
        Option          "debug" "true"
EndSection

Section "Device"
        Identifier      "fbdev0"
        Driver          "fbdev"
        Option          "fbdev" "/dev/fb0"
EndSection

Section "Device"
        Identifier      "fbdev1"
        Driver          "fbdev"
        Option          "fbdev" "/dev/fb1"
EndSection

Section "Monitor"
    Identifier "Monitor0"
    Option "Primary" "False"
EndSection

Section "Monitor"
    Identifier "Monitor1"
    Option "RightOf" "Monitor0"
    Option "Primary" "False"
EndSection

Section "Screen"
    Identifier "ScreenTurbo0"
    Monitor "Monitor0"
    Device "fbturbo0"
    Subsection "Display"
    EndSubSection
EndSection

Section "Screen"
    Identifier "ScreenTurbo1"
    Monitor "Monitor1"
    Device "fbturbo1"
    Subsection "Display"
    EndSubSection
EndSection

Section "Screen"
    Identifier "ScreenDev0"
    Monitor "Monitor0"
    Device "fbdev0"
    Subsection "Display"
    EndSubSection
EndSection

Section "Screen"
    Identifier "ScreenDev1"
    Monitor "Monitor1"
    Device "fbdev1"
    Subsection "Display"
    EndSubSection
EndSection

Section "ServerLayout"
    Identifier "Multihead"
    Screen  0 "ScreenTurbo0"
    Screen  1 "ScreenTurbo1" rightof "ScreenTurbo0"
    Option  "Xinerama" "true"
EndSection

Section "ServerLayout"
    Identifier "Singlehead0"
    Screen  0 "ScreenTurbo0"
EndSection

Section "ServerLayout"
    Identifier "Singlehead1"
    Screen  0 "ScreenTurbo1"
EndSection

Section "ServerFlags"
    Option "BlankTime"  "0"
    Option "StandbyTime"  "0"
    Option "SuspendTime"  "0"
    Option "OffTime"  "0"
    Option "DefaultServerLayout" "Singlehead0"
EndSection

3. 리부트 함

 

4. framebuffer Device가 생성됨을 확인함

 

5. 부팅 옵션 변경

 

5. Multi 모니터링 실행

 

6. 수행 동작 화면

 

Referece:

www.raspberrypi.org/forums/viewtopic.php?f=63&t=246384&p=1504644#p1504644

 

Dual display support in legacy driver (HDMI + DSI on RPi3) - Raspberry Pi Forums

Sun Jul 21, 2019 8:25 am Legacy display driver in latest Raspian BUSTER release has support for dual display. If you want to use it you will need to make a few addtional steps though because it doesn't run 'out-of-the-box'. Here's a small how-to for DSI +

www.raspberrypi.org

 

반응형

'에너지' 카테고리의 다른 글

[ENERGY] 변경된 한국전력 전기 요금 체계  (0) 2021.01.03
[EMS] 계량기 개발 과정  (0) 2020.11.18
[BEMS] EHP 제어를 위한 장치  (0) 2020.11.06
[App] 웹앱 만들기  (0) 2020.11.06
[Raspberry] Magic Mirror  (0) 2020.11.04
Comments