BeagleBone Black & Ubuntu & Rotate Screen

459 views
Skip to first unread message

Micka

unread,
Jun 25, 2014, 12:00:07 PM6/25/14
to beagl...@googlegroups.com, Robert Nelson
Hi,

Maybe we should update this wiki on how to rotate the screen :



Because we are now on Debian ... 



sudo nano /usr/share/X11/xorg.conf.d/40-monitor.conf =>

Section "Monitor"
        # This identifier would be the same as the name
        # of the connector printed by xrander.
        Identifier      "LVDS-0"
        Option          "Rotate"        "right"

        #Option "PreferredMode" "1920x1080
        # A line such as this ^ may be necesary if you
        # are not getting your prefered resolution.
        # These numbers need not be reversed with tallscreen orientation.
EndSection

after I reboot my Beagle and I got :

cat /var/log/Xorg.0.log

[    20.920] X Protocol Version 11, Revision 0
[    20.920] Build Operating System: Linux 3.2.0-4-mx5 armv7l Debian
[    20.920] Current Operating System: Linux beaglebone 3.8.13-bone56 #3 SMP Fri Jun 20 17:29:04 CEST 2014 armv7l
[    20.920] Kernel command line: console=ttyO0,115200n8 capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN,BB-BONE-EMMC-2G root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait fixrtc quiet init=/lib/systemd/systemd
[    20.920] Build Date: 17 December 2013  08:51:06PM
[    20.920] xorg-server 2:1.12.4-6+deb7u2 (Julien Cristau <jcri...@debian.org>)
[    20.920] Current version of pixman: 0.26.0
[    20.920]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    20.921] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    20.921] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Feb 24 21:47:03 2014
[    20.957] (==) Using config file: "/etc/X11/xorg.conf"
[    20.957] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    21.009] (==) ServerLayout "Builtin Default Layout"
[    21.009] (**) |-->Screen "Builtin Default fbdev Screen 0" (0)
[    21.009] (**) |   |-->Monitor "Builtin Default Monitor"
[    21.050] (**) |   |-->Device "Builtin Default fbdev Device 0"
[    21.050] (**) Option "BlankTime" "0"
[    21.050] (**) Option "StandbyTime" "0"
[    21.050] (**) Option "SuspendTime" "0"
[    21.050] (==) Automatically adding devices
[    21.050] (==) Automatically enabling devices
[    21.081] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    21.081]    Entry deleted from font path.
[    21.081] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[    21.081]    Entry deleted from font path.
[    21.081] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[    21.081]    Entry deleted from font path.
[    21.081] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[    21.081]    Entry deleted from font path.
[    21.081] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[    21.081]    Entry deleted from font path.
[    21.081] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[    21.081]    Entry deleted from font path.
[    21.081] (WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist.
[    21.081]    Entry deleted from font path.
[    21.082] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        built-ins
[    21.086] (==) ModulePath set to "/usr/lib/xorg/modules"
[    21.086] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[    21.086] (II) Loader magic: 0xb6f0ecf0
[    21.086] (II) Module ABI versions:
[    21.086]    X.Org ANSI C Emulation: 0.4
[    21.086]    X.Org Video Driver: 12.1
[    21.086]    X.Org XInput driver : 16.0
[    21.086]    X.Org Server Extension : 6.0
[    21.086] (II) LoadModule: "extmod"
[    21.113] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[    21.140] (II) Module extmod: vendor="X.Org Foundation"
[    21.140]    compiled for 1.12.4, module version = 1.0.0
[    21.141]    Module class: X.Org Server Extension
[    21.142]    ABI class: X.Org Server Extension, version 6.0
[    21.142] (II) Loading extension SELinux
[    21.142] (II) Loading extension MIT-SCREEN-SAVER
[    21.142] (II) Loading extension XFree86-VidModeExtension
[    21.142] (II) Loading extension XFree86-DGA
[    21.142] (II) Loading extension DPMS
[    21.142] (II) Loading extension XVideo
[    21.142] (II) Loading extension XVideo-MotionCompensation
[    21.142] (II) Loading extension X-Resource
[    21.158] (II) LoadModule: "dbe"
[    21.159] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[    21.166] (II) Module dbe: vendor="X.Org Foundation"
[    21.166]    compiled for 1.12.4, module version = 1.0.0
[    21.166]    Module class: X.Org Server Extension
[    21.167]    ABI class: X.Org Server Extension, version 6.0
[    21.167] (II) Loading extension DOUBLE-BUFFER
[    21.167] (II) LoadModule: "glx"
[    21.167] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    21.205] (II) Module glx: vendor="X.Org Foundation"
[    21.205]    compiled for 1.12.4, module version = 1.0.0
[    21.205]    ABI class: X.Org Server Extension, version 6.0
[    21.205] (==) AIGLX enabled
[    21.205] (II) Loading extension GLX
[    21.206] (II) LoadModule: "record"
[    21.206] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[    21.219] (II) Module record: vendor="X.Org Foundation"
[    21.219]    compiled for 1.12.4, module version = 1.13.0
[    21.219]    Module class: X.Org Server Extension
[    21.219]    ABI class: X.Org Server Extension, version 6.0
[    21.219] (II) Loading extension RECORD
[    21.219] (II) LoadModule: "dri"
[    21.220] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[    21.248] (II) Module dri: vendor="X.Org Foundation"
[    21.249]    compiled for 1.12.4, module version = 1.0.0
[    21.249]    ABI class: X.Org Server Extension, version 6.0
[    21.249] (II) Loading extension XFree86-DRI
[    21.249] (II) LoadModule: "dri2"
[    21.254] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[    21.256] (II) Module dri2: vendor="X.Org Foundation"
[    21.256]    compiled for 1.12.4, module version = 1.2.0
[    21.256]    ABI class: X.Org Server Extension, version 6.0
[    21.256] (II) Loading extension DRI2
[    21.256] (II) LoadModule: "modesetting"
[    21.257] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    21.273] (II) Module modesetting: vendor="X.Org Foundation"
[    21.274]    compiled for 1.12.4, module version = 0.8.1
[    21.274]    Module class: X.Org Video Driver
[    21.274]    ABI class: X.Org Video Driver, version 12.1
[    21.274] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    21.274] (--) using VT number 2

[    21.283] (WW) Falling back to old probe method for modesetting
[    21.284] (II) modesetting(0): using default device
[    21.284] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    21.285] (II) modesetting(0): Creating default Display subsection in Screen section
        "Builtin Default fbdev Screen 0" for depth/fbbpp 16/16
[    21.294] (**) modesetting(0): Depth 16, (--) framebuffer bpp 16
[    21.294] (**) modesetting(0): Option "SWcursor" "true"
[    21.294] (==) modesetting(0): RGB weight 565
[    21.294] (==) modesetting(0): Default visual is TrueColor
[    21.294] (II) modesetting(0): ShadowFB: preferred NO, enabled NO
[    21.296] (II) modesetting(0): Output LVDS-0 using monitor section LVDS-0
[    21.296] (**) modesetting(0): Option "Rotate" "right"
[    21.297] (II) modesetting(0): EDID for output LVDS-0
[    21.297] (II) modesetting(0): Printing probed modes for output LVDS-0
[    21.297] (II) modesetting(0): Modeline "800x480"x61.5   30.00  800 840 888 928  480 493 496 526 -hsync -vsync (32.3 kHz eP)
[    21.297] (II) modesetting(0): Output LVDS-0 connected
[    21.297] (II) modesetting(0): Using exact sizes for initial modes
[    21.297] (II) modesetting(0): Output LVDS-0 using initial mode 800x480
[    21.297] (II) modesetting(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[    21.297] (==) modesetting(0): DPI set to (96, 96)
[    21.297] (II) Loading sub module "fb"
[    21.297] (II) LoadModule: "fb"
[    21.298] (II) Loading /usr/lib/xorg/modules/libfb.so
[    21.313] (II) Module fb: vendor="X.Org Foundation"
[    21.313]    compiled for 1.12.4, module version = 1.0.0
[    21.313]    ABI class: X.Org ANSI C Emulation, version 0.4
[    21.331] (==) modesetting(0): Backing store disabled
[    21.332] (==) modesetting(0): Silken mouse enabled
[    21.332] (II) modesetting(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    21.342]
Fatal server error:
[    21.355] AddScreen/ScreenInit failed for driver 0
[    21.355]
[    21.359]
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[    21.359] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    21.359]
[    21.389] Server terminated with error (1). Closing log file.


Do you have any idea ? How can we fix that ?

Thx,

Micka

unread,
Jun 26, 2014, 3:40:20 AM6/26/14
to beagl...@googlegroups.com
well, I'm on debian.

I fixed the problem with :

sudo apt-get install xserver-xorg-video-fbdev

and with :

Section "Device"
        Identifier      "Builtin Default fbdev Device 0"
        Driver          "fbdev"
        Option         "Rotate" "CW"
EndSection



Reply all
Reply to author
Forward
0 new messages