Jump to content

Lime2 / jessie / default / desktop: no fbturbo?


borsti67

Recommended Posts

have there been more changes for Desktop recently except the repos?

 

Yesterday I have updated and tried to compile, noticed that the function "fetch_from_github" was gone (replaced by "fetch_from_repo"?). After I changed my script accordingly I was able to compile, but the desktop doesn't come up any more.

It looks like "fbturbo" module is completely missing?

 

I don't see any reference to this in the logs; where should it be so I can try to debug?

Link to comment
Share on other sites

fetch_from_github was replaced by fetch_from_repo, which has advanced handling for submodules and better logic for updating branches, but currently only heads and tags are supported as remote refs to pull.

 

fbturbo and other packages that were provided as prebuilt only can now be compiled or installed from Armbian repository.

 

Setting EXTERNAL_NEW=yes will build (all packages for all supported targets) and install them to images.

Setting EXTERNAL_NEW=nobuild will install prebuilt packages from apt.armbian.com repository.

 

Notes:

  • Only Jessie and Xenial are available as targets for these additional packages.
  • Fresh build may take a long time (i.e. ~10 hours for me), rebuilding after that will be faster, but still may take an hour or more
  • Rebuild will happen after Armbian REVISION number update or if you delete packages manually.

I'm surprised that desktop doesn't work without hardware acceleration with default settings, this needs to be checked later.

Link to comment
Share on other sites

Hi Zador,

 

(just for info - I will have to check the new fetch routine, unfortunately it doesn't work well with my mirrored repos at the moment and for QT automatic inclusion of submodules is not ideal)

 

I have set the variable to "nobuild" and it seems I have the driver now. :)

But there is still no desktop... I noticed the following:

[ o.k. ] Installing [ armbian-tools-jessie_5.17_armhf.deb ]
[ o.k. ] Installing additional application [ USB redirector ]
make: *** No rule to make target 'clean'.  Stop.
install: cannot stat 'a10disp': No such file or directory
[ o.k. ] Installing desktop [ XFCE ]

this seems unplanned to me. ;)

 

From messages log:

Sep  2 10:16:37 localhost rsyslogd-2007: action 'action 17' suspended, next retry is Fri Sep  2 10:17:07 2016 [try http://www.rsyslog.com/e/2007 ]
[EDIT: ^---- annoying repeating error!]

Sep  2 10:16:37 localhost kernel: [   39.695318] Warning: this sunxi disp driver will see significant redesign.
Sep  2 10:16:37 localhost kernel: [   39.700481] Applications using /dev/disp directly will break.
Sep  2 10:16:37 localhost kernel: [   39.707240] For more information visit: http://linux-sunxi.org/Sunxi_disp_driver
Sep  2 10:16:37 localhost kernel: [   39.718380] [DISP] layer allocated: 0,101
Sep  2 10:16:37 localhost kernel: [   39.876055] [drm] Initialized drm 1.1.0 20060810
Sep  2 10:16:37 localhost kernel: [   39.906110] Mali DRM initialize, driver name: mali_drm, version 2.1
Sep  2 10:16:38 localhost kernel: [   39.940313] [drm] Initialized mali_drm 2.1.1 20101111 on minor 0
Sep  2 10:16:38 localhost kernel: [   39.951726] Mali DRM initialize, driver name: mali_drm, version 2.1
Sep  2 10:16:38 localhost kernel: [   39.964014] [drm] Initialized mali_drm 2.1.1 20101111 on minor 1
Sep  2 10:16:38 localhost NetworkManager[485]: Libgcrypt warning: missing initialization - please fix the application

...look ok to me (not sure why 2 times mali init as the FEX has set disp_mode = 0)...

 

Xog.0.log:

[    38.090] 
X.Org X Server 1.16.4
Release Date: 2014-12-20
[    38.091] X Protocol Version 11, Revision 0
[    38.091] Build Operating System: Linux 3.16.0-0.bpo.4-armmp-lpae armv7l Debian
[    38.091] Current Operating System: Linux beasttx 3.4.112-sun7i #6 SMP PREEMPT Thu Sep 1 19:11:14 CEST 2016 armv7l
[    38.091] Kernel command line: console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p1 rootwait rootfstype=ext4 cgroup_enable=memory swapaccount=1 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 enforcing=0 loglevel=7
[    38.091] Build Date: 11 February 2015  01:18:06AM
[    38.091] xorg-server 2:1.16.4-1 (http://www.debian.org/support) 
[    38.091] Current version of pixman: 0.32.6
[    38.091] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    38.091] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    38.092] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Sep  2 10:16:36 2016
[    38.117] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    38.117] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    38.153] (==) No Layout section.  Using the first Screen section.
[    38.153] (==) No screen section available. Using defaults.
[    38.153] (**) |-->Screen "Default Screen Section" (0)
[    38.153] (**) |   |-->Monitor "<default monitor>"
[    38.154] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[    38.154] (**) |   |-->Device "Allwinner A10/A13 FBDEV"
[    38.154] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    38.155] (**) Option "BlankTime" "0"
[    38.155] (**) Option "StandbyTime" "0"
[    38.155] (**) Option "SuspendTime" "0"
[    38.155] (**) Option "OffTime" "0"
[    38.155] (==) Automatically adding devices
[    38.155] (==) Automatically enabling devices
[    38.155] (==) Automatically adding GPU devices
[    38.239] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    38.239] 	Entry deleted from font path.
[    38.239] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[    38.239] 	Entry deleted from font path.
[    38.239] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[    38.239] 	Entry deleted from font path.
[    38.240] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[    38.240] 	Entry deleted from font path.
[    38.240] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[    38.240] 	Entry deleted from font path.
[    38.240] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[    38.240] 	Entry deleted from font path.
[    38.240] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	built-ins
[    38.240] (==) ModulePath set to "/usr/lib/xorg/modules"
[    38.240] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    38.240] (II) Loader magic: 0xb6f19f18
[    38.240] (II) Module ABI versions:
[    38.240] 	X.Org ANSI C Emulation: 0.4
[    38.241] 	X.Org Video Driver: 18.0
[    38.241] 	X.Org XInput driver : 21.0
[    38.241] 	X.Org Server Extension : 8.0
[    38.241] (II) no primary bus or device found
[    38.242] (II) LoadModule: "glx"
[    38.749] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    39.074] (II) Module glx: vendor="X.Org Foundation"
[    39.074] 	compiled for 1.16.4, module version = 1.0.0
[    39.074] 	ABI class: X.Org Server Extension, version 8.0
[    39.077] (==) AIGLX enabled
[    39.078] (II) LoadModule: "fbturbo"
[    39.078] (II) Loading /usr/lib/xorg/modules/drivers/fbturbo_drv.so
[    39.361] (II) Module fbturbo: vendor="X.Org Foundation"
[    39.361] 	compiled for 1.16.4, module version = 0.5.1
[    39.361] 	Module class: X.Org Video Driver
[    39.361] 	ABI class: X.Org Video Driver, version 18.0
[    39.361] (II) FBTURBO: driver for framebuffer: fbturbo
[    39.361] (++) using VT number 7

[    39.459] (WW) Falling back to old probe method for fbturbo
[    39.459] (II) Loading sub module "fbdevhw"
[    39.459] (II) LoadModule: "fbdevhw"
[    39.465] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    39.467] (II) Module fbdevhw: vendor="X.Org Foundation"
[    39.468] 	compiled for 1.16.4, module version = 0.0.2
[    39.468] 	ABI class: X.Org Video Driver, version 18.0
[    39.469] (II) FBTURBO(0): using /dev/fb0
[    39.469] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    39.469] (II) FBTURBO(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    39.469] (==) FBTURBO(0): Depth 24, (==) framebuffer bpp 32
[    39.470] (==) FBTURBO(0): RGB weight 888
[    39.470] (==) FBTURBO(0): Default visual is TrueColor
[    39.470] (==) FBTURBO(0): Using gamma correction (1.0, 1.0, 1.0)
[    39.470] (II) FBTURBO(0): hardware:  (video memory: 24300kB)
[    39.470] (**) FBTURBO(0): Option "fbdev" "/dev/fb0"
[    39.470] (**) FBTURBO(0): Option "SwapbuffersWait" "true"
[    39.478] (II) FBTURBO(0): processor: ARM Cortex-A7
[    39.478] (II) FBTURBO(0): checking modes against framebuffer device...
[    39.478] (II) FBTURBO(0): checking modes against monitor...
[    39.478] (--) FBTURBO(0): Virtual size is 1920x1080 (pitch 1920)
[    39.478] (**) FBTURBO(0):  Built-in mode "current": 148.5 MHz, 67.5 kHz, 60.0 Hz
[    39.479] (II) FBTURBO(0): Modeline "current"x0.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync -csync (67.5 kHz 
[    39.479] (==) FBTURBO(0): DPI set to (96, 96)
[    39.479] (II) Loading sub module "fb"
[    39.479] (II) LoadModule: "fb"
[    39.506] (II) Loading /usr/lib/xorg/modules/libfb.so
[    39.628] (II) Module fb: vendor="X.Org Foundation"
[    39.629] 	compiled for 1.16.4, module version = 1.0.0
[    39.629] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    39.629] (==) Depth 24 pixmap format is 32 bpp
[    39.672] (II) FBTURBO(0): using backing store heuristics
[    39.712] (II) FBTURBO(0): enabled G2D acceleration
[    39.713] (==) FBTURBO(0): Backing store enabled
[    39.744] (==) FBTURBO(0): DPMS enabled
[    39.750] (II) FBTURBO(0): using sunxi disp layers for X video extension
[    39.750] (II) FBTURBO(0): using hardware cursor
[    39.996] (II) Loading sub module "dri2"
[    39.997] (II) LoadModule: "dri2"
[    39.997] (II) Module "dri2" already built-in
[    40.023] (II) FBTURBO(0): enabled display controller hardware overlays for DRI2
[    40.024] (II) FBTURBO(0): Wait on SwapBuffers? enabled
[    40.024] (II) FBTURBO(0): [DRI2] Setup complete
[    40.024] (II) FBTURBO(0): [DRI2]   DRI driver: lima
[    40.024] (II) FBTURBO(0): [DRI2]   VDPAU driver: sunxi
[    40.024] (II) FBTURBO(0): using DRI2 integration for Mali GPU (UMP buffers)
[    40.024] (II) FBTURBO(0): Mali binary drivers can only accelerate EGL/GLES
[    40.024] (II) FBTURBO(0): so AIGLX/GLX is expected to fail or fallback to software
[    40.024] (==) RandR enabled
[    40.102] (II) SELinux: Disabled on system
[    40.121] (EE) AIGLX error: dlopen of /usr/lib/arm-linux-gnueabihf/dri/lima_dri.so failed (/usr/lib/arm-linux-gnueabihf/dri/lima_dri.so: cannot open shared object file: No such file or directory)
[    40.121] (EE) AIGLX: reverting to software rendering
[    40.121] (EE) AIGLX error: dlopen of /usr/lib/arm-linux-gnueabihf/dri/swrast_dri.so failed (/usr/lib/arm-linux-gnueabihf/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
[    40.121] (EE) GLX: could not load software renderer
[    40.121] (II) GLX: no usable GL providers found for screen 0
[    41.346] (II) config/udev: Adding drm device (/dev/dri/card0)
[    41.346] (II) xfree86: Adding drm device (/dev/dri/card0)
[    41.346] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[    41.347] (II) config/udev: Adding drm device (/dev/dri/card1)
[    41.347] (II) xfree86: Adding drm device (/dev/dri/card1)
[    41.347] (II) LoadModule: "modesetting"
[    41.348] (WW) Warning, couldn't open module modesetting
[    41.348] (II) UnloadModule: "modesetting"
[    41.349] (II) Unloading modesetting
[    41.349] (EE) Failed to load module "modesetting" (module does not exist, 0)
[    41.349] xf86: found device 0
[    41.352] (II) config/udev: Adding input device axp20-supplyer (/dev/input/event0)
[    41.352] (**) axp20-supplyer: Applying InputClass "evdev keyboard catchall"
[    41.352] (II) LoadModule: "evdev"
[    41.352] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    41.426] (II) Module evdev: vendor="X.Org Foundation"
[    41.426] 	compiled for 1.16.0, module version = 2.9.0
[    41.426] 	Module class: X.Org XInput Driver
[    41.426] 	ABI class: X.Org XInput driver, version 21.0
[    41.426] (II) Using input driver 'evdev' for 'axp20-supplyer'
[    41.426] (**) axp20-supplyer: always reports core events
[    41.427] (**) evdev: axp20-supplyer: Device: "/dev/input/event0"
[    41.427] (--) evdev: axp20-supplyer: Vendor 0x1 Product 0x1
[    41.427] (--) evdev: axp20-supplyer: Found keys
[    41.427] (II) evdev: axp20-supplyer: Configuring as keyboard
[    41.428] (**) Option "config_info" "udev:/sys/devices/platform/sunxi-i2c.0/i2c-0/0-0034/axp20-supplyer.28/input/input0/event0"
[    41.428] (II) XINPUT: Adding extended input device "axp20-supplyer" (type: KEYBOARD, id 6)
[    41.428] (**) Option "xkb_rules" "evdev"
[    41.429] (**) Option "xkb_model" "pc105"
[    41.429] (**) Option "xkb_layout" "de"
[    41.592] (II) config/udev: Adding input device ft5x_ts (/dev/input/event4)
[    41.592] (**) ft5x_ts: Applying InputClass "evdev touchscreen catchall"
[    41.592] (**) ft5x_ts: Applying InputClass "ft5x_ts"
[    41.592] (II) Using input driver 'evdev' for 'ft5x_ts'
[    41.592] (**) Option "SendCoreEvents" "yes"
[    41.592] (**) ft5x_ts: always reports core events
[    41.592] (**) evdev: ft5x_ts: Device: "/dev/ft5x_ts"
[    41.593] (II) evdev: ft5x_ts: Using mtdev for this device
[    41.593] (--) evdev: ft5x_ts: Vendor 0 Product 0
[    41.593] (--) evdev: ft5x_ts: Found absolute axes
[    41.593] (--) evdev: ft5x_ts: Found absolute multitouch axes
[    41.593] (II) evdev: ft5x_ts: No buttons found, faking one.
[    41.593] (--) evdev: ft5x_ts: Found x and y absolute axes
[    41.593] (--) evdev: ft5x_ts: Found absolute touchscreen
[    41.594] (**) Option "SwapAxes" "on"
[    41.594] (II) evdev: ft5x_ts: Configuring as touchscreen
[    41.594] (**) evdev: ft5x_ts: YAxisMapping: buttons 4 and 5
[    41.594] (**) evdev: ft5x_ts: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    41.594] (**) Option "config_info" "udev:/sys/devices/platform/sunxi-i2c.1/i2c-1/1-0038/input/input4/event4"
[    41.594] (II) XINPUT: Adding extended input device "ft5x_ts" (type: TOUCHSCREEN, id 7)
[    41.595] (II) evdev: ft5x_ts: initialized for absolute axes.
[    41.595] (**) ft5x_ts: (accel) keeping acceleration scheme 1
[    41.596] (**) ft5x_ts: (accel) acceleration profile 0
[    41.596] (**) ft5x_ts: (accel) acceleration factor: 2.000
[    41.596] (**) ft5x_ts: (accel) acceleration threshold: 4
[    41.597] (II) config/udev: Adding input device ft5x_ts (/dev/input/mouse1)
[    41.598] (**) ft5x_ts: Applying InputClass "ft5x_ts"
[    41.598] (II) Using input driver 'evdev' for 'ft5x_ts'
[    41.598] (**) Option "SendCoreEvents" "yes"
[    41.598] (**) ft5x_ts: always reports core events
[    41.598] (**) evdev: ft5x_ts: Device: "/dev/ft5x_ts"
[    41.598] (WW) evdev: ft5x_ts: device file is duplicate. Ignoring.
[    41.610] (EE) PreInit returned 8 for "ft5x_ts"
[    41.610] (II) UnloadModule: "evdev"
[    41.614] (II) config/udev: Adding input device BTC USB Multimedia Keyboard (/dev/input/event1)
[    41.615] (**) BTC USB Multimedia Keyboard: Applying InputClass "evdev keyboard catchall"
[    41.615] (II) Using input driver 'evdev' for 'BTC USB Multimedia Keyboard'
[    41.615] (**) BTC USB Multimedia Keyboard: always reports core events
[    41.615] (**) evdev: BTC USB Multimedia Keyboard: Device: "/dev/input/event1"
[    41.615] (--) evdev: BTC USB Multimedia Keyboard: Vendor 0x46d Product 0xc312
[    41.615] (--) evdev: BTC USB Multimedia Keyboard: Found keys
[    41.615] (II) evdev: BTC USB Multimedia Keyboard: Configuring as keyboard
[    41.615] (**) Option "config_info" "udev:/sys/devices/platform/sw-ehci.1/usb2/2-1/2-1.6/2-1.6.1/2-1.6.1:1.0/input/input1/event1"
[    41.615] (II) XINPUT: Adding extended input device "BTC USB Multimedia Keyboard" (type: KEYBOARD, id 8)
[    41.615] (**) Option "xkb_rules" "evdev"
[    41.615] (**) Option "xkb_model" "pc105"
[    41.616] (**) Option "xkb_layout" "de"
[    41.619] (II) config/udev: Adding input device BTC USB Multimedia Keyboard (/dev/input/event2)
[    41.619] (**) BTC USB Multimedia Keyboard: Applying InputClass "evdev keyboard catchall"
[    41.619] (II) Using input driver 'evdev' for 'BTC USB Multimedia Keyboard'
[    41.619] (**) BTC USB Multimedia Keyboard: always reports core events
[    41.619] (**) evdev: BTC USB Multimedia Keyboard: Device: "/dev/input/event2"
[    41.619] (--) evdev: BTC USB Multimedia Keyboard: Vendor 0x46d Product 0xc312
[    41.620] (--) evdev: BTC USB Multimedia Keyboard: Found keys
[    41.620] (II) evdev: BTC USB Multimedia Keyboard: Configuring as keyboard
[    41.620] (**) Option "config_info" "udev:/sys/devices/platform/sw-ehci.1/usb2/2-1/2-1.6/2-1.6.1/2-1.6.1:1.1/input/input2/event2"
[    41.620] (II) XINPUT: Adding extended input device "BTC USB Multimedia Keyboard" (type: KEYBOARD, id 9)
[    41.620] (**) Option "xkb_rules" "evdev"
[    41.620] (**) Option "xkb_model" "pc105"
[    41.620] (**) Option "xkb_layout" "de"
[    41.624] (II) config/udev: Adding input device OPM-U06 (/dev/input/event3)
[    41.624] (**) OPM-U06: Applying InputClass "evdev pointer catchall"
[    41.624] (II) Using input driver 'evdev' for 'OPM-U06'
[    41.624] (**) OPM-U06: always reports core events
[    41.624] (**) evdev: OPM-U06: Device: "/dev/input/event3"
[    41.624] (--) evdev: OPM-U06: Vendor 0x54c Product 0x36b
[    41.624] (--) evdev: OPM-U06: Found 9 mouse buttons
[    41.624] (--) evdev: OPM-U06: Found scroll wheel(s)
[    41.624] (--) evdev: OPM-U06: Found relative axes
[    41.624] (--) evdev: OPM-U06: Found x and y relative axes
[    41.625] (II) evdev: OPM-U06: Configuring as mouse
[    41.625] (II) evdev: OPM-U06: Adding scrollwheel support
[    41.625] (**) evdev: OPM-U06: YAxisMapping: buttons 4 and 5
[    41.625] (**) evdev: OPM-U06: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    41.625] (**) Option "config_info" "udev:/sys/devices/platform/sw-ehci.1/usb2/2-1/2-1.6/2-1.6.2/2-1.6.2:1.0/input/input3/event3"
[    41.625] (II) XINPUT: Adding extended input device "OPM-U06" (type: MOUSE, id 10)
[    41.625] (II) evdev: OPM-U06: initialized for relative axes.
[    41.626] (**) OPM-U06: (accel) keeping acceleration scheme 1
[    41.626] (**) OPM-U06: (accel) acceleration profile 0
[    41.626] (**) OPM-U06: (accel) acceleration factor: 2.000
[    41.626] (**) OPM-U06: (accel) acceleration threshold: 4
[    41.628] (II) config/udev: Adding input device OPM-U06 (/dev/input/mouse0)
[    41.628] (II) No input driver specified, ignoring this device.
[    41.628] (II) This device may have been added with another device file.
[    41.643] removing GPU device /sys/devices/platform/mali_drm.0/drm/card0 /dev/dri/card0
[    41.644] (II) config/udev: Adding drm device (/dev/dri/card0)
[    41.644] (II) xfree86: Adding drm device (/dev/dri/card0)
[    41.644] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[    41.644] removing GPU device /sys/devices/platform/mali_drm.1/drm/card1 /dev/dri/card1
[    41.644] (II) config/udev: Adding drm device (/dev/dri/card1)
[    41.644] (II) xfree86: Adding drm device (/dev/dri/card1)
[    41.644] (II) LoadModule: "modesetting"
[    41.646] (WW) Warning, couldn't open module modesetting
[    41.646] (II) UnloadModule: "modesetting"
[    41.646] (II) Unloading modesetting
[    41.646] (EE) Failed to load module "modesetting" (module does not exist, 0)
[    41.646] xf86: found device 0

I wonder about 41.346 - the permission denied error as well as the missing module "modesetting"?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines