foxterrier Posted October 25, 2015 Posted October 25, 2015 Hello, First of all thanks for your very good job on armbian !!! I cannot adapt screen resolution on olimex A20 micro + 10 inch LCD (connected on board). normal resolution is 1024x600. I tried some varions in boot.cmd, as : setenv bootargs "console=tty1 root=/dev/mmcblk0p1 rootwait rootfstype=ext4 hdmi.audio=EDID:0 disp.screen0_output_mode=1024x600@60 panic=10 consoleblank=0 enforcing=0 loglevel=1" many variation as -1024x600 -1024x600 @25 @50 @60 MR-16, or other thinks found on net... The screen never correctly configured. Boot text is bad, graphical work, but not at right resolution visible area is cutted/bad placed...) Did you have advice ? Thanks ! I also tried to use pygame, and i have problem to make glx working. glxinfo answer : "could not find RGB GLX visual or FBconfig" Xorg.log give : [ 20.350] X.Org X Server 1.15.1 Release Date: 2014-04-13 [ 20.351] X Protocol Version 11, Revision 0 [ 20.351] Build Operating System: Linux 3.2.0-67-highbank armv7l Ubuntu [ 20.351] Current Operating System: Linux micro 3.4.109-sun7i #4 SMP PREEMPT Sun Oct 11 14:32:15 CEST 2015 armv7l [ 20.351] Kernel command line: console=tty1 root=/dev/mmcblk0p1 rootwait rootfstype=ext4 hdmi.audio=EDID:0 disp.screen0_output_mode=1024x600@60 panic=10 consoleblank=0 enforcing=0 loglevel=1 [ 20.351] Build Date: 12 February 2015 02:55:07PM [ 20.351] xorg-server 2:1.15.1-0ubuntu2.7 (For technical support please see http://www.ubuntu.com/support) [ 20.351] Current version of pixman: 0.30.2 [ 20.351] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 20.352] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 20.352] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Oct 25 15:10:15 2015 [ 20.363] (==) Using config file: "/etc/X11/xorg.conf" [ 20.364] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 20.379] (==) No Layout section. Using the first Screen section. [ 20.379] (==) No screen section available. Using defaults. [ 20.379] (**) |-->Screen "Default Screen Section" (0) [ 20.379] (**) | |-->Monitor "<default monitor>" [ 20.381] (==) No device specified for screen "Default Screen Section". Using the first device section listed. [ 20.381] (**) | |-->Device "Allwinner A10/A13 FBDEV" [ 20.381] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 20.381] (==) Automatically adding devices [ 20.381] (==) Automatically enabling devices [ 20.381] (==) Automatically adding GPU devices [ 20.392] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist. [ 20.393] Entry deleted from font path. [ 20.393] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist. [ 20.393] Entry deleted from font path. [ 20.393] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist. [ 20.393] Entry deleted from font path. [ 20.393] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist. [ 20.393] Entry deleted from font path. [ 20.393] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist. [ 20.393] Entry deleted from font path. [ 20.393] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist. [ 20.393] Entry deleted from font path. [ 20.393] (==) FontPath set to: /usr/share/fonts/X11/misc, built-ins [ 20.393] (==) ModulePath set to "/usr/lib/arm-linux-gnueabihf/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules" [ 20.393] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [ 20.394] (II) Loader magic: 0xb6f30f10 [ 20.394] (II) Module ABI versions: [ 20.394] X.Org ANSI C Emulation: 0.4 [ 20.394] X.Org Video Driver: 15.0 [ 20.394] X.Org XInput driver : 20.0 [ 20.394] X.Org Server Extension : 8.0 [ 20.394] Initializing built-in extension Generic Event Extension [ 20.395] Initializing built-in extension SHAPE [ 20.395] Initializing built-in extension MIT-SHM [ 20.395] Initializing built-in extension XInputExtension [ 20.395] Initializing built-in extension XTEST [ 20.395] Initializing built-in extension BIG-REQUESTS [ 20.395] Initializing built-in extension SYNC [ 20.395] Initializing built-in extension XKEYBOARD [ 20.395] Initializing built-in extension XC-MISC [ 20.395] Initializing built-in extension SECURITY [ 20.395] Initializing built-in extension XINERAMA [ 20.395] Initializing built-in extension XFIXES [ 20.395] Initializing built-in extension RENDER [ 20.395] Initializing built-in extension RANDR [ 20.395] Initializing built-in extension COMPOSITE [ 20.395] Initializing built-in extension DAMAGE [ 20.395] Initializing built-in extension MIT-SCREEN-SAVER [ 20.395] Initializing built-in extension DOUBLE-BUFFER [ 20.396] Initializing built-in extension RECORD [ 20.396] Initializing built-in extension DPMS [ 20.396] Initializing built-in extension Present [ 20.396] Initializing built-in extension DRI3 [ 20.396] Initializing built-in extension X-Resource [ 20.396] Initializing built-in extension XVideo [ 20.396] Initializing built-in extension XVideo-MotionCompensation [ 20.396] Initializing built-in extension SELinux [ 20.396] Initializing built-in extension XFree86-VidModeExtension [ 20.396] Initializing built-in extension XFree86-DGA [ 20.396] Initializing built-in extension XFree86-DRI [ 20.396] Initializing built-in extension DRI2 [ 20.396] (II) LoadModule: "glx" [ 20.407] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so [ 20.492] (II) Module glx: vendor="X.Org Foundation" [ 20.492] compiled for 1.15.1, module version = 1.0.0 [ 20.492] ABI class: X.Org Server Extension, version 8.0 [ 20.492] (==) AIGLX enabled [ 20.493] Loading extension GLX [ 20.493] (II) LoadModule: "fbturbo" [ 20.494] (II) Loading /usr/lib/xorg/modules/drivers/fbturbo_drv.so [ 20.501] (II) Module fbturbo: vendor="X.Org Foundation" [ 20.502] compiled for 1.15.1, module version = 0.5.1 [ 20.502] Module class: X.Org Video Driver [ 20.502] ABI class: X.Org Video Driver, version 15.0 [ 20.502] (II) FBTURBO: driver for framebuffer: fbturbo [ 20.502] (++) using VT number 7 [ 20.509] (WW) Falling back to old probe method for fbturbo [ 20.509] (II) Loading sub module "fbdevhw" [ 20.509] (II) LoadModule: "fbdevhw" [ 20.516] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so [ 20.519] (II) Module fbdevhw: vendor="X.Org Foundation" [ 20.519] compiled for 1.15.1, module version = 0.0.2 [ 20.519] ABI class: X.Org Video Driver, version 15.0 [ 20.519] (II) FBTURBO(0): using /dev/fb0 [ 20.519] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support [ 20.520] (II) FBTURBO(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [ 20.520] (==) FBTURBO(0): Depth 24, (==) framebuffer bpp 32 [ 20.520] (==) FBTURBO(0): RGB weight 888 [ 20.520] (==) FBTURBO(0): Default visual is TrueColor [ 20.520] (==) FBTURBO(0): Using gamma correction (1.0, 1.0, 1.0) [ 20.520] (II) FBTURBO(0): hardware: (video memory: 3000kB) [ 20.520] (**) FBTURBO(0): Option "fbdev" "/dev/fb0" [ 20.521] (**) FBTURBO(0): Option "SwapbuffersWait" "true" [ 20.521] (II) FBTURBO(0): processor: ARM Cortex-A7 [ 20.521] (II) FBTURBO(0): checking modes against framebuffer device... [ 20.521] (II) FBTURBO(0): checking modes against monitor... [ 20.522] (--) FBTURBO(0): Virtual size is 800x480 (pitch 800) [ 20.522] (**) FBTURBO(0): Built-in mode "current": 33.0 MHz, 31.3 kHz, 59.6 Hz [ 20.522] (II) FBTURBO(0): Modeline "current"x0.0 33.00 800 1009 1039 1055 480 502 503 525 -hsync -vsync -csync (31.3 kHz [ 20.522] (==) FBTURBO(0): DPI set to (96, 96) [ 20.522] (II) Loading sub module "fb" [ 20.522] (II) LoadModule: "fb" [ 20.523] (II) Loading /usr/lib/xorg/modules/libfb.so [ 20.532] (II) Module fb: vendor="X.Org Foundation" [ 20.532] compiled for 1.15.1, module version = 1.0.0 [ 20.532] ABI class: X.Org ANSI C Emulation, version 0.4 [ 20.532] (==) Depth 24 pixmap format is 32 bpp [ 20.540] (II) FBTURBO(0): using backing store heuristics [ 20.573] (II) FBTURBO(0): enabled G2D acceleration [ 20.573] (==) FBTURBO(0): Backing store enabled [ 20.580] (==) FBTURBO(0): DPMS enabled [ 20.580] (II) FBTURBO(0): using sunxi disp layers for X video extension [ 20.580] (II) FBTURBO(0): using hardware cursor [ 20.580] (II) FBTURBO(0): no 3D acceleration because the driver has been compiled without libUMP [ 20.581] (II) FBTURBO(0): if this is wrong and needs to be fixed, please check ./configure log [ 20.581] (==) RandR enabled [ 20.624] (II) SELinux: Disabled on system [ 20.630] (II) AIGLX: Screen 0 is not DRI2 capable [ 20.630] (EE) AIGLX: reverting to software rendering [ 20.631] (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) [ 20.631] (EE) GLX: could not load software renderer [ 20.631] (II) GLX: no usable GL providers found for screen 0 [ 20.712] (II) XKB: reuse xkmfile /var/lib/xkb/server-B20D7FC79C7F597315E3E501AEF10E0D866E8E92.xkm [ 20.731] (II) config/udev: Adding input device axp20-supplyer (/dev/input/event0) [ 20.731] (**) axp20-supplyer: Applying InputClass "evdev keyboard catchall" [ 20.731] (II) LoadModule: "evdev" [ 20.732] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so [ 20.740] (II) Module evdev: vendor="X.Org Foundation" [ 20.741] compiled for 1.15.0, module version = 2.8.2 [ 20.741] Module class: X.Org XInput Driver [ 20.741] ABI class: X.Org XInput driver, version 20.0 [ 20.741] (II) Using input driver 'evdev' for 'axp20-supplyer' [ 20.741] (**) axp20-supplyer: always reports core events [ 20.741] (**) evdev: axp20-supplyer: Device: "/dev/input/event0" [ 20.741] (--) evdev: axp20-supplyer: Vendor 0x1 Product 0x1 [ 20.741] (--) evdev: axp20-supplyer: Found keys [ 20.741] (II) evdev: axp20-supplyer: Configuring as keyboard [ 20.741] (**) Option "config_info" "udev:/sys/devices/platform/sunxi-i2c.0/i2c-0/0-0034/axp20-supplyer.28/input/input0/event0" [ 20.742] (II) XINPUT: Adding extended input device "axp20-supplyer" (type: KEYBOARD, id 6) [ 20.742] (**) Option "xkb_rules" "evdev" [ 20.742] (**) Option "xkb_model" "pc105" [ 20.742] (**) Option "xkb_layout" "us" [ 20.746] (II) config/udev: Adding input device Lite-On Technology Corp. USB Mouse (/dev/input/event1) [ 20.746] (**) Lite-On Technology Corp. USB Mouse: Applying InputClass "evdev pointer catchall" [ 20.746] (II) Using input driver 'evdev' for 'Lite-On Technology Corp. USB Mouse' [ 20.746] (**) Lite-On Technology Corp. USB Mouse: always reports core events [ 20.746] (**) evdev: Lite-On Technology Corp. USB Mouse: Device: "/dev/input/event1" [ 20.747] (--) evdev: Lite-On Technology Corp. USB Mouse: Vendor 0x4ca Product 0x30 [ 20.747] (--) evdev: Lite-On Technology Corp. USB Mouse: Found 3 mouse buttons [ 20.747] (--) evdev: Lite-On Technology Corp. USB Mouse: Found scroll wheel(s) [ 20.747] (--) evdev: Lite-On Technology Corp. USB Mouse: Found relative axes [ 20.747] (--) evdev: Lite-On Technology Corp. USB Mouse: Found x and y relative axes [ 20.747] (II) evdev: Lite-On Technology Corp. USB Mouse: Configuring as mouse [ 20.747] (II) evdev: Lite-On Technology Corp. USB Mouse: Adding scrollwheel support [ 20.747] (**) evdev: Lite-On Technology Corp. USB Mouse: YAxisMapping: buttons 4 and 5 [ 20.747] (**) evdev: Lite-On Technology Corp. USB Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200 [ 20.747] (**) Option "config_info" "udev:/sys/devices/platform/sw-ohci.1/usb3/3-1/3-1:1.0/input/input1/event1" [ 20.747] (II) XINPUT: Adding extended input device "Lite-On Technology Corp. USB Mouse" (type: MOUSE, id 7) [ 20.748] (II) evdev: Lite-On Technology Corp. USB Mouse: initialized for relative axes. [ 20.748] (**) Lite-On Technology Corp. USB Mouse: (accel) keeping acceleration scheme 1 [ 20.749] (**) Lite-On Technology Corp. USB Mouse: (accel) acceleration profile 0 [ 20.749] (**) Lite-On Technology Corp. USB Mouse: (accel) acceleration factor: 2.000 [ 20.749] (**) Lite-On Technology Corp. USB Mouse: (accel) acceleration threshold: 4 [ 20.750] (II) config/udev: Adding input device Lite-On Technology Corp. USB Mouse (/dev/input/mouse0) [ 20.751] (II) No input driver specified, ignoring this device. [ 20.751] (II) This device may have been added with another device file. [ 20.752] (II) config/udev: Adding input device USB Keyboard (/dev/input/event2) [ 20.753] (**) USB Keyboard: Applying InputClass "evdev keyboard catchall" [ 20.753] (II) Using input driver 'evdev' for ' USB Keyboard' [ 20.753] (**) USB Keyboard: always reports core events [ 20.753] (**) evdev: USB Keyboard: Device: "/dev/input/event2" [ 20.753] (--) evdev: USB Keyboard: Vendor 0x1241 Product 0x1503 [ 20.753] (--) evdev: USB Keyboard: Found keys [ 20.753] (II) evdev: USB Keyboard: Configuring as keyboard [ 20.753] (**) Option "config_info" "udev:/sys/devices/platform/sw-ohci.2/usb5/5-1/5-1:1.0/input/input2/event2" [ 20.753] (II) XINPUT: Adding extended input device " USB Keyboard" (type: KEYBOARD, id 8) [ 20.753] (**) Option "xkb_rules" "evdev" [ 20.753] (**) Option "xkb_model" "pc105" [ 20.754] (**) Option "xkb_layout" "us" [ 20.757] (II) config/udev: Adding input device USB Keyboard (/dev/input/event3) [ 20.757] (**) USB Keyboard: Applying InputClass "evdev keyboard catchall" [ 20.757] (II) Using input driver 'evdev' for ' USB Keyboard' [ 20.757] (**) USB Keyboard: always reports core events [ 20.757] (**) evdev: USB Keyboard: Device: "/dev/input/event3" [ 20.757] (--) evdev: USB Keyboard: Vendor 0x1241 Product 0x1503 [ 20.757] (--) evdev: USB Keyboard: Found keys [ 20.757] (II) evdev: USB Keyboard: Configuring as keyboard [ 20.757] (**) Option "config_info" "udev:/sys/devices/platform/sw-ohci.2/usb5/5-1/5-1:1.1/input/input3/event3" [ 20.757] (II) XINPUT: Adding extended input device " USB Keyboard" (type: KEYBOARD, id 9) [ 20.758] (**) Option "xkb_rules" "evdev" [ 20.758] (**) Option "xkb_model" "pc105" [ 20.758] (**) Option "xkb_layout" "us" Did you have some advice or solution ? Thanks a lot ! Fox
foxterrier Posted October 25, 2015 Author Posted October 25, 2015 Hello, I found how to adapt resolution... but STILL GLXINFO problem !!! :-( (i it can help someone else) Adapt FEx file, like this : Extract FEX from bin with : bin2dex /boot/script.bin fex.txt then edit fex.txt and replace [lcd0_para] section with this : lcd_used = 1lcd_x = 1024lcd_y = 600lcd_dclk_freq = 45lcd_pwm_not_used = 0lcd_pwm_ch = 0lcd_pwm_freq = 10000lcd_pwm_pol = 1lcd_if = 0lcd_hbp = 160lcd_ht = 1200lcd_vbp = 23lcd_vt = 1250lcd_hv_if = 0lcd_hv_smode = 0lcd_hv_s888_if = 0lcd_hv_syuv_if = 0lcd_hv_vspw = 2lcd_hv_hspw = 10lcd_lvds_ch = 0lcd_lvds_mode = 0lcd_lvds_bitwidth = 0lcd_lvds_io_cross = 0lcd_cpu_if = 0lcd_frm = 1lcd_io_cfg0 = 268435456lcd_gamma_correction_en = 0lcd_gamma_tbl_0 = 0x0lcd_gamma_tbl_1 = 0x10101lcd_gamma_tbl_255 = 0xfffffflcd_bl_en_used = 1lcd_bl_en = port:PH07<1><0><default><1>lcd_power_used = 1lcd_power = port:PH08<1><0><default><1>lcd_pwm_used = 1lcd_pwm = port:PB02<2><0><default><default>lcdd0 = port:PD00<2><0><default><default>lcdd1 = port:PD01<2><0><default><default>lcdd2 = port:PD02<2><0><default><default>lcdd3 = port:PD03<2><0><default><default>lcdd4 = port:PD04<2><0><default><default>lcdd5 = port:PD05<2><0><default><default>lcdd6 = port:PD06<2><0><default><default>lcdd7 = port:PD07<2><0><default><default>lcdd8 = port:PD08<2><0><default><default>lcdd9 = port:PD09<2><0><default><default>lcdd10 = port:PD10<2><0><default><default>lcdd11 = port:PD11<2><0><default><default>lcdd12 = port:PD12<2><0><default><default>lcdd13 = port:PD13<2><0><default><default>lcdd14 = port:PD14<2><0><default><default>lcdd15 = port:PD15<2><0><default><default>lcdd16 = port:PD16<2><0><default><default>lcdd17 = port:PD17<2><0><default><default>lcdd18 = port:PD18<2><0><default><default>lcdd19 = port:PD19<2><0><default><default>lcdd20 = port:PD20<2><0><default><default>lcdd21 = port:PD21<2><0><default><default>lcdd22 = port:PD22<2><0><default><default>lcdd23 = port:PD23<2><0><default><default>lcdclk = port:PD24<2><0><default><default>lcdde = port:PD25<2><0><default><default>lcdhsync = port:PD26<2><0><default><default>lcdvsync = port:PD27<2><0><default><default>then recreate fex with : fex2bin fex.txt script.txt and replace original one : cp script.bin /boot/bin/micro.bin and reboot. it work.... ;-) Can someone help me about the GLX problem ??? Thanks.
foxterrier Posted October 25, 2015 Author Posted October 25, 2015 opengl is now working, but so slowly !!! :-(((((
Igor Posted October 26, 2015 Posted October 26, 2015 I think you should check this: http://linux-sunxi.org/Mali_binary_driver
foxterrier Posted October 26, 2015 Author Posted October 26, 2015 Hello, Many thanks for your answer ! I followed job description from your link, thank you. [i removed all details about errors/retry/found solutions, ...] All seems now to be OK, But, now, each time i run a glxinfo, glxgear pygame, or kivy (kivy is may goal), i got : libGL error: MESA-LOADER: malformed or no PCI ID libGL error: dlopen /usr/lib/arm-linux-gnueabihf/dri/mali_drm_dri.so failed (/usr/lib/arm-linux-gnueabihf/dri/mali_drm_dri.so: cannot open shared object file: No such file or directory) libGL error: dlopen ${ORIGIN}/dri/mali_drm_dri.so failed (${ORIGIN}/dri/mali_drm_dri.so: cannot open shared object file: No such file or directory) libGL error: dlopen /usr/lib/dri/mali_drm_dri.so failed (/usr/lib/dri/mali_drm_dri.so: cannot open shared object file: No such file or directory) libGL error: unable to load driver: mali_drm_dri.so libGL error: driver pointer missing libGL error: failed to load driver: mali_drm and it work, but exactly at begining speed, without any modules or drivers... :-( (ex: glxgears give 51fps) lsmod give : Module Size Used by disp_ump 850 0 mali_drm 2638 2 cpufreq_userspace 3524 0 drm 213190 3 mali_drm mali 112352 0 bnep 14462 2 ump 57103 4 mali,disp_ump a20_tp 3365 0 8021q 18593 0 garp 6072 1 8021q stp 2032 1 garp llc 5365 2 stp,garp hidp 17640 0 rfcomm 58686 0 hci_uart 25000 0 bluetooth 264185 12 bnep,hidp,hci_uart,rfcomm XLOG give : [ 20.829] (==) ModulePath set to "/usr/lib/arm-linux-gnueabihf/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules" [ 20.830] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [ 20.830] (II) Loader magic: 0xb6f38f10 [ 20.830] (II) Module ABI versions: [ 20.830] X.Org ANSI C Emulation: 0.4 [ 20.830] X.Org Video Driver: 15.0 [ 20.830] X.Org XInput driver : 20.0 [ 20.830] X.Org Server Extension : 8.0 [ 20.831] Initializing built-in extension Generic Event Extension [ 20.831] Initializing built-in extension SHAPE [ 20.831] Initializing built-in extension MIT-SHM [ 20.831] Initializing built-in extension XInputExtension [ 20.831] Initializing built-in extension XTEST [ 20.831] Initializing built-in extension BIG-REQUESTS [ 20.831] Initializing built-in extension SYNC [ 20.831] Initializing built-in extension XKEYBOARD [ 20.831] Initializing built-in extension XC-MISC [ 20.831] Initializing built-in extension SECURITY [ 20.832] Initializing built-in extension XINERAMA [ 20.832] Initializing built-in extension XFIXES [ 20.832] Initializing built-in extension RENDER [ 20.832] Initializing built-in extension RANDR [ 20.832] Initializing built-in extension COMPOSITE [ 20.832] Initializing built-in extension DAMAGE [ 20.832] Initializing built-in extension MIT-SCREEN-SAVER [ 20.832] Initializing built-in extension DOUBLE-BUFFER [ 20.832] Initializing built-in extension RECORD [ 20.832] Initializing built-in extension DPMS [ 20.832] Initializing built-in extension Present [ 20.832] Initializing built-in extension DRI3 [ 20.832] Initializing built-in extension X-Resource [ 20.832] Initializing built-in extension XVideo [ 20.832] Initializing built-in extension XVideo-MotionCompensation [ 20.833] Initializing built-in extension SELinux [ 20.833] Initializing built-in extension XFree86-VidModeExtension [ 20.833] Initializing built-in extension XFree86-DGA [ 20.833] Initializing built-in extension XFree86-DRI [ 20.833] Initializing built-in extension DRI2 [ 20.833] (II) LoadModule: "glx" [ 20.847] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so [ 20.948] (II) Module glx: vendor="X.Org Foundation" [ 20.948] compiled for 1.15.1, module version = 1.0.0 [ 20.948] ABI class: X.Org Server Extension, version 8.0 [ 20.948] (==) AIGLX enabled [ 20.948] Loading extension GLX [ 20.948] (II) LoadModule: "fbturbo" [ 20.949] (II) Loading /usr/lib/xorg/modules/drivers/fbturbo_drv.so [ 20.972] (II) Module fbturbo: vendor="X.Org Foundation" [ 20.973] compiled for 1.15.1, module version = 0.4.0 [ 20.973] Module class: X.Org Video Driver [ 20.973] ABI class: X.Org Video Driver, version 15.0 [ 20.973] (II) FBTURBO: driver for framebuffer: fbturbo [ 20.973] (++) using VT number 7 [ 20.983] (WW) Falling back to old probe method for fbturbo [ 20.983] (II) Loading sub module "fbdevhw" [ 20.983] (II) LoadModule: "fbdevhw" [ 20.984] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so [ 20.988] (II) Module fbdevhw: vendor="X.Org Foundation" [ 20.988] compiled for 1.15.1, module version = 0.0.2 [ 20.988] ABI class: X.Org Video Driver, version 15.0 [ 20.988] (II) FBTURBO(0): using /dev/fb0 [ 20.988] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support [ 20.989] (II) FBTURBO(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [ 20.989] (==) FBTURBO(0): Depth 24, (==) framebuffer bpp 32 [ 20.989] (==) FBTURBO(0): RGB weight 888 [ 20.989] (==) FBTURBO(0): Default visual is TrueColor [ 20.989] (==) FBTURBO(0): Using gamma correction (1.0, 1.0, 1.0) [ 20.989] (II) FBTURBO(0): hardware: (video memory: 4800kB) [ 20.989] (**) FBTURBO(0): Option "fbdev" "/dev/fb0" [ 20.989] (**) FBTURBO(0): Option "SwapbuffersWait" "true" [ 20.989] (**) FBTURBO(0): Option "AccelMethod" "G2D" [ 20.990] (II) FBTURBO(0): processor: ARM Cortex-A7 [ 20.990] (II) FBTURBO(0): checking modes against framebuffer device... [ 20.990] (II) FBTURBO(0): checking modes against monitor... [ 20.990] (--) FBTURBO(0): Virtual size is 1024x600 (pitch 1024) [ 20.990] (**) FBTURBO(0): Built-in mode "current": 45.0 MHz, 37.5 kHz, 60.0 Hz [ 20.991] (II) FBTURBO(0): Modeline "current"x0.0 45.00 1024 1040 1050 1200 600 602 604 625 -hsync -vsync -csync (37.5 kHz [ 20.991] (==) FBTURBO(0): DPI set to (96, 96) [ 20.991] (II) Loading sub module "fb" [ 20.991] (II) LoadModule: "fb" [ 20.992] (II) Loading /usr/lib/xorg/modules/libfb.so [ 21.000] (II) Module fb: vendor="X.Org Foundation" [ 21.001] compiled for 1.15.1, module version = 1.0.0 [ 21.001] ABI class: X.Org ANSI C Emulation, version 0.4 [ 21.001] (==) Depth 24 pixmap format is 32 bpp [ 21.009] (II) FBTURBO(0): using backing store heuristics [ 21.041] (II) FBTURBO(0): enabled G2D acceleration [ 21.041] (==) FBTURBO(0): Backing store enabled [ 21.048] (==) FBTURBO(0): DPMS enabled [ 21.048] (II) FBTURBO(0): using sunxi disp layers for X video extension [ 21.048] (II) FBTURBO(0): using hardware cursor [ 21.119] (II) Loading sub module "dri2" [ 21.119] (II) LoadModule: "dri2" [ 21.124] (II) Module "dri2" already built-in [ 21.148] (II) FBTURBO(0): tear-free zero-copy double buffering needs more video memory [ 21.148] (II) FBTURBO(0): please set fb0_framebuffer_num >= 3 in the fex file [ 21.148] (II) FBTURBO(0): and sunxi_fb_mem_reserve >= 8 in the kernel cmdline [ 21.148] (II) FBTURBO(0): enabled display controller hardware overlays for DRI2 [ 21.148] (II) FBTURBO(0): Wait on SwapBuffers? enabled [ 21.149] (II) FBTURBO(0): [DRI2] Setup complete [ 21.149] (II) FBTURBO(0): [DRI2] DRI driver: lima [ 21.149] (II) FBTURBO(0): using DRI2 integration for Mali GPU (UMP buffers) [ 21.149] (II) FBTURBO(0): Mali binary drivers can only accelerate EGL/GLES [ 21.149] (II) FBTURBO(0): so AIGLX/GLX is expected to fail or fallback to software [ 21.149] (==) RandR enabled [ 21.185] (II) SELinux: Disabled on system [ 21.200] (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) [ 21.201] (EE) AIGLX: reverting to software rendering [ 21.357] (II) AIGLX: Loaded and initialized swrast [ 21.357] (II) GLX: Initialized DRISWRAST GL provider for screen 0 [ 21.464] (II) XKB: reuse xkmfile /var/lib/xkb/server-B20D7FC79C7F597315E3E501AEF10E0D866E8E92.xkm [ 21.483] (II) config/udev: Adding drm device (/dev/dri/card0) card0 /sys/devices/platform/mali_drm.0/drm/card0 [ 21.483] (II) xfree86: Adding drm device (/dev/dri/card0) [ 21.483] (II) LoadModule: "modesetting" [ 21.484] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so [ 21.489] (II) Module modesetting: vendor="X.Org Foundation" [ 21.489] compiled for 1.15.0, module version = 0.8.1 [ 21.489] Module class: X.Org Video Driver [ 21.489] ABI class: X.Org Video Driver, version 15.0 [ 21.490] xf86: found device 0 [ 21.491] (II) config/udev: Adding drm device (/dev/dri/card1) card1 /sys/devices/platform/mali_drm.1/drm/card1 [ 21.491] (II) xfree86: Adding drm device (/dev/dri/card1) [ 21.491] (II) LoadModule: "modesetting" [ 21.492] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so [ 21.492] (II) Module modesetting: vendor="X.Org Foundation" [ 21.492] compiled for 1.15.0, module version = 0.8.1 [ 21.492] Module class: X.Org Video Driver [ 21.492] ABI class: X.Org Video Driver, version 15.0 [ 21.492] (II) UnloadModule: "modesetting" [ 21.492] (II) Unloading modesetting [ 21.492] (II) Failed to load module "modesetting" (already loaded, 0) [ 21.493] xf86: found device 0 [ 21.496] (II) config/udev: Adding input device axp20-supplyer (/dev/input/event0) [ 21.496] (**) axp20-supplyer: Applying InputClass "evdev keyboard catchall" [ 21.496] (II) LoadModule: "evdev" [ 21.497] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so [ 21.506] (II) Module evdev: vendor="X.Org Foundation" [ 21.506] compiled for 1.15.0, module version = 2.8.2 [ 21.506] Module class: X.Org XInput Driver [ 21.506] ABI class: X.Org XInput driver, version 20.0 [ 21.506] (II) Using input driver 'evdev' for 'axp20-supplyer' [ 21.506] (**) axp20-supplyer: always reports core events [ 21.506] (**) evdev: axp20-supplyer: Device: "/dev/input/event0" [ 21.506] (--) evdev: axp20-supplyer: Vendor 0x1 Product 0x1 [ 21.507] (--) evdev: axp20-supplyer: Found keys [ 21.507] (II) evdev: axp20-supplyer: Configuring as keyboard [ 21.507] (**) Option "config_info" "udev:/sys/devices/platform/sunxi-i2c.0/i2c-0/0-0034/axp20-supplyer.28/input/input0/event0" [ 21.507] (II) XINPUT: Adding extended input device "axp20-supplyer" (type: KEYBOARD, id 6) [ 21.507] (**) Option "xkb_rules" "evdev" [ 21.507] (**) Option "xkb_model" "pc105" [ 21.507] (**) Option "xkb_layout" "be" [ 21.523] (II) XKB: reuse xkmfile /var/lib/xkb/server-BCDBD3DBC93B3E588F97965C4D87FE91FAEC6B41.xkm [ 21.533] (II) config/udev: Adding input device Lite-On Technology Corp. USB Mouse (/dev/input/event1) [ 21.533] (**) Lite-On Technology Corp. USB Mouse: Applying InputClass "evdev pointer catchall" [ 21.533] (II) Using input driver 'evdev' for 'Lite-On Technology Corp. USB Mouse' [ 21.533] (**) Lite-On Technology Corp. USB Mouse: always reports core events [ 21.533] (**) evdev: Lite-On Technology Corp. USB Mouse: Device: "/dev/input/event1" [ 21.533] (--) evdev: Lite-On Technology Corp. USB Mouse: Vendor 0x4ca Product 0x30 [ 21.534] (--) evdev: Lite-On Technology Corp. USB Mouse: Found 3 mouse buttons [ 21.534] (--) evdev: Lite-On Technology Corp. USB Mouse: Found scroll wheel(s) [ 21.534] (--) evdev: Lite-On Technology Corp. USB Mouse: Found relative axes [ 21.534] (--) evdev: Lite-On Technology Corp. USB Mouse: Found x and y relative axes [ 21.534] (II) evdev: Lite-On Technology Corp. USB Mouse: Configuring as mouse [ 21.534] (II) evdev: Lite-On Technology Corp. USB Mouse: Adding scrollwheel support [ 21.534] (**) evdev: Lite-On Technology Corp. USB Mouse: YAxisMapping: buttons 4 and 5 [ 21.534] (**) evdev: Lite-On Technology Corp. USB Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200 [ 21.534] (**) Option "config_info" "udev:/sys/devices/platform/sw-ohci.1/usb3/3-1/3-1:1.0/input/input1/event1" [ 21.534] (II) XINPUT: Adding extended input device "Lite-On Technology Corp. USB Mouse" (type: MOUSE, id 7) [ 21.535] (II) evdev: Lite-On Technology Corp. USB Mouse: initialized for relative axes. [ 21.535] (**) Lite-On Technology Corp. USB Mouse: (accel) keeping acceleration scheme 1 [ 21.536] (**) Lite-On Technology Corp. USB Mouse: (accel) acceleration profile 0 [ 21.536] (**) Lite-On Technology Corp. USB Mouse: (accel) acceleration factor: 2.000 [ 21.536] (**) Lite-On Technology Corp. USB Mouse: (accel) acceleration threshold: 4 [ 21.538] (II) config/udev: Adding input device Lite-On Technology Corp. USB Mouse (/dev/input/mouse0) [ 21.538] (II) No input driver specified, ignoring this device. [ 21.538] (II) This device may have been added with another device file. [ 21.541] (II) config/udev: Adding input device USB Keyboard (/dev/input/event2) [ 21.541] (**) USB Keyboard: Applying InputClass "evdev keyboard catchall" [ 21.541] (II) Using input driver 'evdev' for ' USB Keyboard' [ 21.541] (**) USB Keyboard: always reports core events [ 21.541] (**) evdev: USB Keyboard: Device: "/dev/input/event2" [ 21.542] (--) evdev: USB Keyboard: Vendor 0x1241 Product 0x1503 [ 21.542] (--) evdev: USB Keyboard: Found keys [ 21.542] (II) evdev: USB Keyboard: Configuring as keyboard [ 21.542] (**) Option "config_info" "udev:/sys/devices/platform/sw-ohci.2/usb5/5-1/5-1:1.0/input/input2/event2" [ 21.542] (II) XINPUT: Adding extended input device " USB Keyboard" (type: KEYBOARD, id 8) [ 21.542] (**) Option "xkb_rules" "evdev" [ 21.542] (**) Option "xkb_model" "pc105" [ 21.542] (**) Option "xkb_layout" "be" [ 21.546] (II) config/udev: Adding input device USB Keyboard (/dev/input/event3) [ 21.546] (**) USB Keyboard: Applying InputClass "evdev keyboard catchall" [ 21.546] (II) Using input driver 'evdev' for ' USB Keyboard' [ 21.546] (**) USB Keyboard: always reports core events [ 21.546] (**) evdev: USB Keyboard: Device: "/dev/input/event3" [ 21.546] (--) evdev: USB Keyboard: Vendor 0x1241 Product 0x1503 [ 21.546] (--) evdev: USB Keyboard: Found keys [ 21.546] (II) evdev: USB Keyboard: Configuring as keyboard [ 21.546] (**) Option "config_info" "udev:/sys/devices/platform/sw-ohci.2/usb5/5-1/5-1:1.1/input/input3/event3" [ 21.547] (II) XINPUT: Adding extended input device " USB Keyboard" (type: KEYBOARD, id 9) [ 21.547] (**) Option "xkb_rules" "evdev" [ 21.547] (**) Option "xkb_model" "pc105" [ 21.547] (**) Option "xkb_layout" "be" [ 21.567] (II) config/udev: Adding drm device (/dev/dri/card0) card0 /sys/devices/platform/mali_drm.0/drm/card0 [ 21.567] (II) xfree86: Adding drm device (/dev/dri/card0) [ 21.567] (II) LoadModule: "modesetting" [ 21.568] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so [ 21.569] (II) Module modesetting: vendor="X.Org Foundation" [ 21.569] compiled for 1.15.0, module version = 0.8.1 [ 21.569] Module class: X.Org Video Driver [ 21.569] ABI class: X.Org Video Driver, version 15.0 [ 21.569] (II) UnloadModule: "modesetting" [ 21.569] (II) Unloading modesetting [ 21.569] (II) Failed to load module "modesetting" (already loaded, 0) [ 21.569] xf86: found device 0 [ 21.570] (II) config/udev: Adding drm device (/dev/dri/card1) card1 /sys/devices/platform/mali_drm.1/drm/card1 [ 21.570] (II) xfree86: Adding drm device (/dev/dri/card1) [ 21.570] (II) LoadModule: "modesetting" [ 21.571] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so [ 21.571] (II) Module modesetting: vendor="X.Org Foundation" [ 21.571] compiled for 1.15.0, module version = 0.8.1 [ 21.571] Module class: X.Org Video Driver [ 21.571] ABI class: X.Org Video Driver, version 15.0 [ 21.571] (II) UnloadModule: "modesetting" [ 21.571] (II) Unloading modesetting [ 21.571] (II) Failed to load module "modesetting" (already loaded, 0) [ 21.571] xf86: found device 0 Any Suggestion ? Thanks.....
foxterrier Posted October 28, 2015 Author Posted October 28, 2015 I found many poeple talking about LIMA driver... see that glxgear can run up to 150 FPS with this driver on linux A20.... but the link is dead... Anyone has tried ? Anyone has source file to share ? Thanks !!!
Igor Posted October 28, 2015 Posted October 28, 2015 I was not playing around those features since I don't even use a desktop. The core mission from start is to provide a stable server images. What I read / hear around: http://limadriver.org/opensource driver but no updates since ... Than we had a problem to compile MALI with kernel sunxi (3.4x) which was on Armibian up to 4.4, with latest 4.5 (kernel named sun7i v3.4.109) it should work but I never try to. I hope someone else can give you more information regarding this.
foxterrier Posted October 28, 2015 Author Posted October 28, 2015 the gitourious link to download source redirect to "archive.org" and i cannot found the file to download on this :-( is LIMA the complement, or a part of MALI ? not really clear for me. MALI is for OPEN GL ES2 and LIMA for openGL "normal" ..... ???
foxterrier Posted October 28, 2015 Author Posted October 28, 2015 someone has LIMA driver source archive to share please ? (some advices welcome too !)
Recommended Posts