From owner-freebsd-arm@FreeBSD.ORG Fri Nov 28 12:13:03 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 459F1C07 for ; Fri, 28 Nov 2014 12:13:03 +0000 (UTC) Received: from eu1sys200aog105.obsmtp.com (eu1sys200aog105.obsmtp.com [207.126.144.119]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 93EAEEC9 for ; Fri, 28 Nov 2014 12:13:02 +0000 (UTC) Received: from mail-wi0-f181.google.com ([209.85.212.181]) (using TLSv1) by eu1sys200aob105.postini.com ([207.126.147.11]) with SMTP ID DSNKVHhmtntvbPLwoFNAj3m5DwwqqmfLifOC@postini.com; Fri, 28 Nov 2014 12:13:02 UTC Received: by mail-wi0-f181.google.com with SMTP id r20so11043333wiv.14 for ; Fri, 28 Nov 2014 04:12:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:message-id:to:subject:reply-to; bh=i8JwxIvlvrG3jKKlp2tCSgIS4+Tk+nGqMBlm63fhza0=; b=QRnpCTLfEqbhrsRAI2GWwNtYRF164gLn8jVYDJd5eY4O5/ZLNcnC84KpUumenbgTBY 0QlHcUUwrzKrVSqp6CXcACq3ETDSyB3/AJvQt5c9IUA2j2/lDWo6Jtwckq2eEm2oXfEQ 400n+pM6gelqYmjdvs1cn7BLrRj1xa6BgjbR03mx1s/IK6Cti3XMp9Fi5ArWLuWJkCRo Z6Mn2AdFZAPbFCSyh/ZJKOyPuV2hgg5WJzk3BJMX5JrjogcK2TRyRXPAPWVYIUrGlW4O SFA9sl8/p5oRcjBE+KzvDdmhYyRWnvBWafRW2g+kFVeKtqKVJt5QdIWCa5yA72MsVccc yHAQ== X-Received: by 10.194.3.45 with SMTP id 13mr65019988wjz.47.1417166819300; Fri, 28 Nov 2014 01:26:59 -0800 (PST) X-Gm-Message-State: ALoCoQkbEEcLdma+kwnZGW4r1CuxinzXFTK6zmu39Y/crv9jPc9Xsx4r7QBNJOOD5kQ1W2QNvgN097N3UhcKPdZnHihpyfj1K3rSsml6MuMxRk1a5OF4hAp2fageBxHYy1E+AJxe+uYoQyRRe5W98LeJtgmb7k3w5A== X-Received: by 10.194.3.45 with SMTP id 13mr65019969wjz.47.1417166819172; Fri, 28 Nov 2014 01:26:59 -0800 (PST) Received: from mech-as221.men.bris.ac.uk (mech-as221.men.bris.ac.uk. [137.222.187.221]) by mx.google.com with ESMTPSA id cq4sm14208934wjc.35.2014.11.28.01.26.58 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Nov 2014 01:26:58 -0800 (PST) Date: Fri, 28 Nov 2014 01:26:58 -0800 (PST) X-Google-Original-Date: Fri, 28 Nov 2014 09:26:56 GMT Received: from mech-as221.men.bris.ac.uk (localhost [127.0.0.1]) by mech-as221.men.bris.ac.uk (8.14.9/8.14.9) with ESMTP id sAS9QvnT097336 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 28 Nov 2014 09:26:57 GMT (envelope-from mexas@mech-as221.men.bris.ac.uk) Received: (from mexas@localhost) by mech-as221.men.bris.ac.uk (8.14.9/8.14.9/Submit) id sAS9QuVB097335; Fri, 28 Nov 2014 09:26:56 GMT (envelope-from mexas) From: Anton Shterenlikht Message-Id: <201411280926.sAS9QuVB097335@mech-as221.men.bris.ac.uk> To: erichsfreebsdlist@alogt.com, freebsd-arm@freebsd.org Subject: RE: built xorg-server, what next? Reply-To: mexas@bris.ac.uk X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Nov 2014 12:13:03 -0000 >Hi, > >On Thu, 27 Nov 2014 02:35:53 -0800 (PST) >Anton Shterenlikht wrote: > >> I managed to build xorg-server-1.12.4_9,1 >> on RPI-B 10.1-RELEASE, no build failures >> along the way, just a couple of panics. >> >> I then followed: >> >> http://blog.cochard.me/2013/03/xorg-for-freebsd-on-raspberry-pi.html >> ( Is this guide still valid?) >> >> and built xf86-video-scfb-0.0.4_1 >> >I did the normal builds just like on a x86. > >> On X -configure I got: > >I did not do this. > >I use an xorg.conf with this content: > >Section "Files" > ModulePath "/usr/local/lib/xorg/modules" > FontPath "/usr/local/lib/X11/fonts/misc/" > FontPath "/usr/local/lib/X11/fonts/TTF/" > FontPath "/usr/local/lib/X11/fonts/OTF" > FontPath "/usr/local/lib/X11/fonts/Type1/" > FontPath "/usr/local/lib/X11/fonts/100dpi/" > FontPath "/usr/local/lib/X11/fonts/75dpi/" > FontPath "/usr/local/lib/X11/fonts/dejavu/" > FontPath "/usr/local/lib/X11/fonts/Droid/" > FontPath "/usr/local/lib/X11/fonts/webfonts/" >EndSection >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 16 > SubSection "Display" > Depth 16 > EndSubsection >EndSection > >Section "ServerLayout" > Identifier "layout" > Screen 0 "Screen" 0 0 > InputDevice "Mouse1" "CorePointer" > InputDevice "Keyboard1" "CoreKeyboard" >EndSection > >Please check the output and the log file of startx for errors. I'm trying to use xdm. Ideally I'd like to use this RPI as a dumb graphical terminal, i.e. to connect to X clients via XDMCP. But something is wrong with xdm. The login screen comes up, but when I type the username, the characters appear in the top left corner, instead of in the centre of the screen, where the login prompt is. The password prompt never appears, and if I switch back to the text virtial terminal and again to the graphical terminal, the graphical xdm login prompt is not there at all. Perhaps xdm is not ready to use on RPI? Anyway, building the fonts right now. > >> Is scfb the wrong driver for this board? > >I also use it. ok, thank you for the confirmation. Looking ahead, what is your experience of using X on RPI? Are you able to build any clients? firefox? Thank you Anton