[Arm-dev] RPI3 and Gnome

Sun Jan 8 07:40:55 UTC 2017
Paul R. Ganci <ganci at nurdog.com>

I am playing around with making a "desktop" workstation out of a 
Raspberry PI3 using the armv7hl CentOS. I have had no problems 
installing the OS and pretty much have everything working except a Gnome 
desktop.

I did:

 > yum groupinstall "GNOME Desktop"

and from what I can tell everything necessary is installed. However when 
I try to start X up I see it try and start, the display blinks as if 
everything is good and then drops back down to the console. The log file 
shown below shows a single error ([  2665.952] (EE) AIGLX: reverting to 
software rendering).

[  2665.710]
X.Org X Server 1.17.2
Release Date: 2015-06-16
[  2665.725] X Protocol Version 11, Revision 0
[  2665.731] Build Operating System:  4.5.7-fedora-4
[  2665.736] Current Operating System: Linux centos-rpi3 4.4.33-v7.1.el7 
#1 SMP Mon Nov 21 18:48:06 UTC 2016 armv7l
[  2665.736] Kernel command line: 8250.nr_uarts=0 dma.dmachans=0x7f35 
bcm2708_fb.fbwidth=1872 bcm2708_fb.fbheight=1168 
bcm2709.boardrev=0xa22082 bcm2709.serial=0x54bd9ed0 
smsc95xx.macaddr=B8:27:EB:BD:9E:D0 bcm2708_fb.fbswap=1 
bcm2709.uart_clock=48000000 vc_mem.mem_base=0x3dc00000 
vc_mem.mem_size=0x3f000000  dwc_otg.lpm_enable=0 console=ttyS0,115200 
console=tty1 root=/dev/mmcblk0p3 rootfstype=ext4 elevator=deadline 
rootwait selinux=1 security=selinux enforcing=0
[  2665.756] Build Date: 09 November 2016  05:46:31PM
[  2665.763] Build ID: xorg-x11-server 1.17.2-22.el7
[  2665.769] Current version of pixman: 0.34.0
[  2665.783]    Before reporting problems, check http://wiki.x.org
         to make sure that you have the latest version.
[  2665.783] Markers: (--) probed, (**) from config file, (==) default 
setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  2665.812] (==) Log file: "/var/log/Xorg.1.log", Time: Sat Dec 31 
20:08:58 2016
[  2665.819] (==) Using config file: "/etc/X11/xorg.conf"
[  2665.827] (==) Using system config directory 
"/usr/share/X11/xorg.conf.d"
[  2665.828] (==) ServerLayout "Default Layout"
[  2665.828] (**) |-->Screen "Screen0" (0)
[  2665.828] (**) |   |-->Monitor "Monitor0"
[  2665.829] (**) |   |-->Device "VideocoreIV"
[  2665.829] (**) |-->Input Device "Keyboard0"
[  2665.829] (==) Automatically adding devices
[  2665.829] (==) Automatically enabling devices
[  2665.830] (==) Automatically adding GPU devices
[  2665.830] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  2665.830] (==) FontPath set to:
         catalogue:/etc/X11/fontpath.d,
         built-ins
[  2665.830] (==) ModulePath set to "/usr/lib/xorg/modules"
[  2665.830] (II) The server relies on udev to provide the list of input 
devices.
         If no devices become available, reconfigure udev or disable 
AutoAddDevices.
[  2665.830] (WW) Hotplugging is on, devices using drivers 'kbd', 
'mouse' or 'vmmouse' will be disabled.
[  2665.830] (WW) Disabling Keyboard0
[  2665.830] (II) Loader magic: 0x54cf7004
[  2665.830] (II) Module ABI versions:
[  2665.830]    X.Org ANSI C Emulation: 0.4
[  2665.830]    X.Org Video Driver: 19.0
[  2665.830]    X.Org XInput driver : 21.0
[  2665.830]    X.Org Server Extension : 9.0
[  2665.831] (II) no primary bus or device found
[  2665.831] (II) LoadModule: "glx"
[  2665.832] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  2665.855] (II) Module glx: vendor="X.Org Foundation"
[  2665.855]    compiled for 1.17.2, module version = 1.0.0
[  2665.855]    ABI class: X.Org Server Extension, version 9.0
[  2665.855] (==) AIGLX enabled
[  2665.855] (II) LoadModule: "fbdev"
[  2665.856] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[  2665.857] (II) Module fbdev: vendor="X.Org Foundation"
[  2665.857]    compiled for 1.17.2, module version = 0.4.3
[  2665.857]    Module class: X.Org Video Driver
[  2665.857]    ABI class: X.Org Video Driver, version 19.0
[  2665.857] (II) FBDEV: driver for framebuffer: fbdev
[  2665.857] (++) using VT number 1

[  2665.857] (WW) Falling back to old probe method for fbdev
[  2665.857] (II) Loading sub module "fbdevhw"
[  2665.857] (II) LoadModule: "fbdevhw"
[  2665.858] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[  2665.859] (II) Module fbdevhw: vendor="X.Org Foundation"
[  2665.859]    compiled for 1.17.2, module version = 0.0.2
[  2665.859]    ABI class: X.Org Video Driver, version 19.0
[  2665.859] (II) FBDEV(0): using default device
[  2665.859] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card 
support
[  2665.860] (**) FBDEV(0): Depth 24, (--) framebuffer bpp 32
[  2665.860] (==) FBDEV(0): RGB weight 888
[  2665.860] (==) FBDEV(0): Default visual is TrueColor
[  2665.860] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[  2665.860] (II) FBDEV(0): hardware: BCM2708 FB (video memory: 8541kB)

[  2665.860] (II) FBDEV(0): checking modes against framebuffer device...
[  2665.860] (II) FBDEV(0):     mode "1920x1200" not found
[  2665.860] (II) FBDEV(0):     mode "1600x1200" ok
[  2665.860] (II) FBDEV(0):     mode "1280x1024" ok
[  2665.860] (II) FBDEV(0):     mode "1152x864" ok
[  2665.860] (II) FBDEV(0):     mode "1024x768" ok
[  2665.861] (II) FBDEV(0):     mode "800x600" ok
[  2665.861] (II) FBDEV(0):     mode "720x400" ok
[  2665.861] (II) FBDEV(0):     mode "640x480" ok
[  2665.861] (II) FBDEV(0): checking modes against monitor...
[  2665.861] (--) FBDEV(0): Virtual size is 1600x1200 (pitch 1600)
[  2665.861] (**) FBDEV(0):  Default mode "1600x1200": 162.0 MHz (scaled 
from 0.0 MHz), 75.0 kHz, 60.0 Hz
[  2665.861] (II) FBDEV(0): Modeline "1600x1200"x0.0  162.00  1600 1664 
1856 2160  1200 1201 1204 1250 +hsync +vsync (75.0 kHz d)
[  2665.861] (**) FBDEV(0):  Default mode "1280x1024": 108.0 MHz (scaled 
from 0.0 MHz), 64.0 kHz, 60.0 Hz
[  2665.861] (II) FBDEV(0): Modeline "1280x1024"x0.0  108.00  1280 1328 
1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz d)
[  2665.861] (**) FBDEV(0):  Default mode "1152x864": 108.0 MHz (scaled 
from 0.0 MHz), 67.5 kHz, 75.0 Hz
[  2665.861] (II) FBDEV(0): Modeline "1152x864"x0.0  108.00  1152 1216 
1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz d)
[  2665.861] (**) FBDEV(0):  Default mode "1024x768": 65.0 MHz (scaled 
from 0.0 MHz), 48.4 kHz, 60.0 Hz
[  2665.861] (II) FBDEV(0): Modeline "1024x768"x0.0   65.00  1024 1048 
1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz d)
[  2665.861] (**) FBDEV(0):  Default mode "800x600": 36.0 MHz (scaled 
from 0.0 MHz), 35.2 kHz, 56.2 Hz
[  2665.861] (II) FBDEV(0): Modeline "800x600"x0.0   36.00  800 824 896 
1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
[  2665.862] (**) FBDEV(0):  Default mode "640x480": 25.2 MHz (scaled 
from 0.0 MHz), 31.5 kHz, 59.9 Hz
[  2665.862] (II) FBDEV(0): Modeline "640x480"x0.0   25.18  640 656 752 
800  480 490 492 525 -hsync -vsync (31.5 kHz d)
[  2665.862] (**) FBDEV(0): Display dimensions: (518, 324) mm
[  2665.862] (**) FBDEV(0): DPI set to (78, 94)
[  2665.862] (II) Loading sub module "fb"
[  2665.862] (II) LoadModule: "fb"
[  2665.863] (II) Loading /usr/lib/xorg/modules/libfb.so
[  2665.864] (II) Module fb: vendor="X.Org Foundation"
[  2665.864]    compiled for 1.17.2, module version = 1.0.0
[  2665.865]    ABI class: X.Org ANSI C Emulation, version 0.4
[  2665.865] (**) FBDEV(0): using shadow framebuffer
[  2665.865] (II) Loading sub module "shadow"
[  2665.865] (II) LoadModule: "shadow"
[  2665.865] (II) Loading /usr/lib/xorg/modules/libshadow.so
[  2665.865] (II) Module shadow: vendor="X.Org Foundation"
[  2665.865]    compiled for 1.17.2, module version = 1.1.0
[  2665.866]    ABI class: X.Org ANSI C Emulation, version 0.4
[  2665.866] (==) Depth 24 pixmap format is 32 bpp
[  2665.892] (==) FBDEV(0): Backing store enabled
[  2665.894] (**) FBDEV(0): DPMS enabled
[  2665.894] (==) RandR enabled
[  2665.945] (II) SELinux: Disabled by boolean
[  2665.952] (II) AIGLX: Screen 0 is not DRI2 capable
[  2665.952] (EE) AIGLX: reverting to software rendering
[  2665.998] (II) AIGLX: Loaded and initialized swrast
[  2665.998] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[  2666.260] (II) config/udev: Adding input device CM Storm QuickFire 
Rapid keyboard (/dev/input/event0)
[  2666.260] (**) CM Storm QuickFire Rapid keyboard: Applying InputClass 
"evdev keyboard catchall"
[  2666.260] (II) LoadModule: "evdev"
[  2666.261] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[  2666.263] (II) Module evdev: vendor="X.Org Foundation"
[  2666.263]    compiled for 1.17.2, module version = 2.9.2
[  2666.264]    Module class: X.Org XInput Driver
[  2666.264]    ABI class: X.Org XInput driver, version 21.0
[  2666.264] (II) Using input driver 'evdev' for 'CM Storm QuickFire 
Rapid keyboard'
[  2666.264] (**) CM Storm QuickFire Rapid keyboard: always reports core 
events
[  2666.264] (**) evdev: CM Storm QuickFire Rapid keyboard: Device: 
"/dev/input/event0"
[  2666.264] (--) evdev: CM Storm QuickFire Rapid keyboard: Vendor 
0x2516 Product 0x4
[  2666.265] (--) evdev: CM Storm QuickFire Rapid keyboard: Found keys
[  2666.265] (II) evdev: CM Storm QuickFire Rapid keyboard: Configuring 
as keyboard
[  2666.265] (**) Option "config_info" 
"udev:/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3.1/1-1.3.1:1.0/0003:2516:0004.000E/input/input13/event0"
[  2666.265] (II) XINPUT: Adding extended input device "CM Storm 
QuickFire Rapid keyboard" (type: KEYBOARD, id 6)
[  2666.265] (**) Option "xkb_rules" "evdev"
[  2666.270] (II) config/udev: Adding input device CM Storm QuickFire 
Rapid keyboard (/dev/input/event1)
[  2666.270] (**) CM Storm QuickFire Rapid keyboard: Applying InputClass 
"evdev keyboard catchall"
[  2666.270] (II) Using input driver 'evdev' for 'CM Storm QuickFire 
Rapid keyboard'
[  2666.270] (**) CM Storm QuickFire Rapid keyboard: always reports core 
events
[  2666.270] (**) evdev: CM Storm QuickFire Rapid keyboard: Device: 
"/dev/input/event1"
[  2666.271] (--) evdev: CM Storm QuickFire Rapid keyboard: Vendor 
0x2516 Product 0x4
[  2666.271] (--) evdev: CM Storm QuickFire Rapid keyboard: Found keys
[  2666.271] (II) evdev: CM Storm QuickFire Rapid keyboard: Configuring 
as keyboard
[  2666.271] (**) Option "config_info" 
"udev:/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3.1/1-1.3.1:1.1/0003:2516:0004.000F/input/input14/event1"
[  2666.271] (II) XINPUT: Adding extended input device "CM Storm 
QuickFire Rapid keyboard" (type: KEYBOARD, id 7)
[  2666.271] (**) Option "xkb_rules" "evdev"
[  2666.623] (II) evdev: CM Storm QuickFire Rapid keyboard: Close
[  2666.623] (II) UnloadModule: "evdev"
[  2666.623] (II) evdev: CM Storm QuickFire Rapid keyboard: Close
[  2666.623] (II) UnloadModule: "evdev"
[  2666.703] (II) Server terminated successfully (0). Closing log file.

I used this /etc.X11/xorg.conf:

Section "ServerLayout"
         Identifier      "Default Layout"
         Screen       0  "Screen0" 0 0
         InputDevice     "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
         Identifier      "Keyboard0"
         Driver          "kbd"
         Option          "XkbModel" "pc105"
         Option          "XkbLayout" "us"
EndSection

Section "Device"
         Identifier      "VideocoreIV"
         VendorName      "Broadcom"
         BoardName       "RPI3Graphics"
         Driver          "fbdev"
EndSection

Section "Monitor"
         Identifier      "Monitor0"
         VendorName      "Dell"
         ModelName       "Ultrasharp U2410"
         DisplaySize      518   324
         HorizSync        30.0 - 81.0
         VertRefresh      56.0 - 75.0
         Option          "DPMS"
EndSection

Section "Screen"
         Identifier      "Screen0"
         Device          "VideocoreIV"
         Monitor         "Monitor0"
         DefaultDepth     24
         SubSection      "Display"
                 Viewport   0 0
                 Depth      24
                 Modes      "1920x1200" "1600x1200" "1280x1024" 
"1152x864" "1024x768" "800x600" "720x400" "640x480"
         EndSubSection
EndSection

Does anybody see what I am doing wrong? Like I said it looks like the 
desktop wants to startup but then just crashes.

Thanks for your help.
-- 
Paul (ganci at nurdog.com)
Cell: (303)257-5208