X on RPI2 - which driver

Ulrich Grey usenet at ulrich-grey.de
Thu Sep 10 15:51:03 UTC 2015


On Thu, 10 Sep 2015 15:47:19 +0100
John <freebsd-lists at 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 at 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 at 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 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at 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



More information about the freebsd-arm mailing list