Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Nov 2015 19:17:45 +0000
From:      "Brian McGovern (bmcgover)" <bmcgover@cisco.com>
To:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: X on RPI2?
Message-ID:  <89bd1739878c48e5a234cf61b0f7a229@XCH-RTP-005.cisco.com>

next in thread | raw e-mail | index | archive | help
All,
  Thanks to everyone who responded on- and off- list. I just wanted to summ=
arize the results in case anyone comes across this thread.=20

  The URL http://blog.cochard.me/2013/03/xorg-for-freebsd-on-raspberry-pi.h=
tml gets you 99% of the way there.I had found copy of this link in my own a=
dventures, and it no longer appears to work on its own. Ultimately, what I =
ended up with is a modification which does work... The addition of the "Def=
aultFbBpp 24" line in the screen section brings up the display. I haven't h=
ad a lot of time to play with it, but there are artifacts - particularly du=
ring mouse movement. The other common complaint seemed to be performance is=
sues when the PI2 wasn't under load; it seemed to be ok with the couple of =
XTerms I had open, but I wasn't doing anything particularly complex, either=
.

  Below is the full text of my now-mostly-working xorg.conf file.


  -Brian


Section "Files"
EndSection=20
Section "Module"
    Load        "dbe"
    Disable    "dri"
    Disable    "dri2"
    Disable    "glx"
    SubSection  "extmod"
       Option  "omit xfree86-dga"
    EndSubSection
EndSection


Section "ServerFlags"
    Option    "AIGLX"        "false"
    Option    "NoAccel"    "True"
    Option    "NoDRI"        "True"
    Option    "DRI"        "False"
    Option    "DRI2"        "False"
EndSection


Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "kbd"
EndSection


Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option      "Protocol"      "auto"
    Option      "Device"        "/dev/sysmouse"
EndSection


Section "Monitor"
    Identifier  "Monitor"
EndSection


Section "Device"
    Identifier  "Generic FB"
    Driver      "scfb"
    Option    "NoAccel"    "True"
EndSection


Section "Screen"
    Identifier  "Screen"
    Device      "Generic FB"
    Monitor     "Monitor"
    DefaultDepth 24
    DefaultFbBpp 24
    SubSection "Display"
       Depth           24
    EndSubsection
EndSection


Section "ServerLayout"
    Identifier  "layout"
    Screen      0 "Screen" 0 0
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?89bd1739878c48e5a234cf61b0f7a229>