Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Sep 2015 15:50:54 +0000
From:      Ulrich Grey <usenet@ulrich-grey.de>
To:        freebsd-arm@freebsd.org
Subject:   Re: X on RPI2 - which driver
Message-ID:  <20150910155054.a200ea1e98ce408d98742d2a@ulrich-grey.de>
In-Reply-To: <20150910144719.GC23609@potato.growveg.org>
References:  <20150910094505.GA23609@potato.growveg.org> <55F15232.3060401@selasky.org> <20150910104001.GB23609@potato.growveg.org> <20150910144719.GC23609@potato.growveg.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 10 Sep 2015 15:47:19 +0100
John <freebsd-lists@potato.growveg.org> wrote:

> On Thu, Sep 10, 2015 at 11:40:01AM +0100, John wrote:
> > On Thu, Sep 10, 2015 at 11:49:38AM +0200, Hans Petter Selasky wrote:
> > > On 09/10/15 11:45, John wrote:
> > > > Hello list,
> > > >
> > > > Which xorg drivers work on the rpi2? X -configure just shows vesa
> > > > however I've not installed dbus/hal yet.
> > > 
> > > I think you can use:
> > > 
> > > xf86-video-scfb
> > 
> > Thanks for that, I'll try it when hal and friends finish installing.
> 
> No dice, I get the following from X -configure
> 
> root@potato:~ # X
> -configure 
> X.Org X Server
> 1.14.7 Release Date:
> 2014-06-05 X Protocol Version 11, Revision
> 0 Build Operating System: FreeBSD 11.0-CURRENT
> arm Current Operating System: FreeBSD potato.growveg.org 11.0-CURRENT FreeBSD
> 11.0-CURRENT 
> #0 r286947: Wed Aug 19 18:04:27 MDT 2015     brd@hive.den.so14k.com:/usr/local/raspbsd
> /obj/RPI2/obj/arm.armv6/usr/local/raspbsd/src/RPI2/sys/RPI2 arm
>                                                                                                                                                                                                                             
> Build Date: 09 September 2015
> 09:44:10PM 
> Current version of pixman:
> 0.32.6 Before reporting problems, check
> http://wiki.x.org to make sure that you have the latest
> version. Markers: (--) probed, (**) from config file, (==) default
> setting, (++) from command line, (!!) notice, (II)
> informational, (WW) warning, (EE) error, (NI) not implemented, (??)
> unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Thu Sep 10 15:36:17
> 2015 List of video
> drivers:
> scfb
> fbdev
> vesa scfb trace: probe
> start No devices to configure.  Configuration
> failed. (EE) Server terminated with error (2). Closing log file.
> 
> I'm not sure where to start given it didn't even write a config!
> 
> thanks,
> -- 
> John 
> _______________________________________________
> freebsd-arm@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"

A working /etc/xorg.conf on ARM:

Section "Files"
        FontPath     "/usr/local/share/fonts/75dpi/"
        FontPath     "/usr/local/share/fonts/100dpi/"
        FontPath     "/usr/local/share/fonts/dejavu/"
        ModulePath   "/usr/local/lib/xorg/modules"
        FontPath     "/usr/local/share/fonts/misc/"
        FontPath     "/usr/local/share/fonts/TTF/"
        FontPath     "/usr/local/share/fonts/OTF/"
        FontPath     "/usr/local/share/fonts/Type1/"
        FontPath     "/usr/local/share/fonts/Droid/"
        FontPath     "/usr/local/share/fonts/Lohit/"      
EndSection 

Section "Module"
    Load        "dbe"
    Disable    "dri"
    Disable    "dri2"
    Disable    "glx"
     Load "freetype"
    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"
    Option    "DontZap"     "false"
    Option    "BlankTime"   "1"
EndSection

Section "InputDevice"
       Identifier  "Keyboard1"
       Driver      "kbd"
       Option  "XkbLayout"  "de" # ?
       Option "ZAxisMapping" "4 5" #Rad an Maus             
       Option  "XkbVariant" "nodeadkeys" #?
       Option  "XkbModel"   "pc105" #?
       Option  "XkbRules"   "xorg"          
#       Option  "XkbCompat"  ""
EndSection

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


Section "Monitor"
    Identifier  "Monitor"
    Option       "DPMS" "true"
EndSection


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


Section "Screen"
    Identifier  "Screen"
    Device      "Generic FB"
    Monitor     "Monitor"
    SubSection "Display"
       Depth            16
    EndSubsection
EndSection


Section "ServerLayout"
    Identifier  "layout"
    Screen      0 "Screen" 0 0
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
    Option "AutoAddDevices" "false" # Stellt altes Verhalten wieder her!!
 EndSection




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