Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

rk3188 mali 3D support

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    rk3188 mali 3D support

    Click image for larger version

Name:	SAM_1046.jpg
Views:	1
Size:	203.6 KB
ID:	438715Click image for larger version

Name:	SAM_1045.jpg
Views:	1
Size:	219.1 KB
ID:	438714

    Hi all.

    How to force xorg to work in 3D with GPU Mali.
    Kernel module loaded correctly xorg.log writes that .? "module abi major version (11) doesn't match the server's version (14)".
    ? "xf86openconsole setpgid failed operation not permitted"
    ?" open /dev/dri/card0 no such file or directory"

    I have compiled kernel from > https://github.com/aloksinha2001/Linux3188.git .
    It may be that I need to compile kernel with>
    <*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
    but if they choose this option the kernel will not boot.

    Help appreciated

    flycast mk809iii

    #2
    The kernel you mention (https://github.com/aloksinha2001/Linux3188.git) does not contain working GPU driver.
    MALI GPU driver is propriatary and not available as open source.
    Kernel driver included into tablets is pre-compiled available as module, but it can't be loaded into linux kernels (because kernel need some code built in in order to load GPU driver module, and this code are not available too)
    There is open-source version of MALI driver somewhere, but compile/install instructions were terrible last time I checked, maybe they changed later, if you want you can try to find and compile it.
    Just to mention - additionally to kernel GPU driver, you also need X-server driver for GPU. It is also not available.

    Comment


      #3
      Originally posted by mmm123 View Post
      The kernel you mention (https://github.com/aloksinha2001/Linux3188.git) does not contain working GPU driver.
      MALI GPU driver is propriatary and not available as open source.
      Kernel driver included into tablets is pre-compiled available as module, but it can't be loaded into linux kernels (because kernel need some code built in in order to load GPU driver module, and this code are not available too)
      There is open-source version of MALI driver somewhere, but compile/install instructions were terrible last time I checked, maybe they changed later, if you want you can try to find and compile it.
      Just to mention - additionally to kernel GPU driver, you also need X-server driver for GPU. It is also not available.
      Thanks for your reply -

      You're right, it's not easy, I'm not a Linux expert, but I try to continue.
      I'm trying to learn this > http://dri.freedesktop.org/wiki/DRM/
      and this work .
      kernel needs to be compiled as a module xf86
      I have created module "drm ,mali_drm"
      mali-driver is now visible in the xorg.log as / dev/dri/card0
      What do I still lack the xf86-video-driver = UMP User Space Source Code.


      http://www.google.pl/url?sa=t&rct=j&...55980276,d.YmsI have tested from sunxi-linux but without success.
      Now I have xf86-video-exynos works better, but of course without 3D.
      another problem I'm not sure if there is something messed up in the kernel source from "alok" , apparently requires correction or update.
      sunxi-linux-driver sees as "r3p2" and should be "r3p2-01rel1-4"
      source code from mali-dev would do well to compile from scratch.
      Click image for larger version

Name:	SAM_1048.jpg
Views:	1
Size:	213.7 KB
ID:	431134



      flycast mk809iii

      Comment


        #4
        Originally posted by mmm123 View Post
        The kernel you mention (https://github.com/aloksinha2001/Linux3188.git) does not contain working GPU driver.
        MALI GPU driver is propriatary and not available as open source.
        Kernel driver included into tablets is pre-compiled available as module, but it can't be loaded into linux kernels (because kernel need some code built in in order to load GPU driver module, and this code are not available too)
        There is open-source version of MALI driver somewhere, but compile/install instructions were terrible last time I checked, maybe they changed later, if you want you can try to find and compile it.
        Just to mention - additionally to kernel GPU driver, you also need X-server driver for GPU. It is also not available.
        I do not want to start a lengthy discussion, but is it not the case that Mir can use Android drivers, hence that we may be able to use it in the future to drive our MALI gpus?

        Comment


          #5
          Originally posted by dkcm View Post
          I do not want to start a lengthy discussion, but is it not the case that Mir can use Android drivers, hence that we may be able to use it in the future to drive our MALI gpus?
          It seems to me that you're right, you can use the method that he used "olegk0" for rk3066 .
          I try all methods at once, and already I do not know so begins Mali to work.

          I'm one step further, but again error :
          ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
          [ 52.308]
          X.Org X Server 1.14.3
          Release Date: 2013-09-12
          [ 52.308] X Protocol Version 11, Revision 0
          [ 52.308] Build Operating System: Linux 3.2.0-51-highbank armv7l Ubuntu
          [ 52.308] Current Operating System: Linux g8picuntu 3.0.36+ #15 SMP PREEMPT Tue Oct 29 21:51:16 CET 2013 armv7l
          [ 52.308] Kernel command line: init=/sbin/init root=/dev/mtdblock2 mtdparts=rk29xxnand:0x00008000@0x00002000(boot),0x 00008000@0x0000A000(kernel),-@0x00012000(system)
          [ 52.308] Build Date: 15 October 2013 09:25:29AM
          [ 52.308] xorg-server 2:1.14.3-3ubuntu2 (For technical support please see http://www.ubuntu.com/support)
          [ 52.308] Current version of pixman: 0.30.2
          [ 52.308] Before reporting problems, check http://wiki.x.org
          to make sure that you have the latest version.
          [ 52.308] Markers: (--) probed, (**) from config file, (==) default setting,
          (++) from command line, (!!) notice, (II) informational,
          (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
          [ 52.309] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Nov 7 03:04:17 2013
          [ 52.322] (==) Using config file: "/etc/X11/xorg.conf"
          [ 52.322] (==) Using config directory: "/etc/X11/xorg.conf.d"
          [ 52.322] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
          [ 52.358] (==) No Layout section. Using the first Screen section.
          [ 52.358] (**) |-->Screen "Mali-Screen" (0)
          [ 52.358] (**) | |-->Monitor "<default monitor>"
          [ 52.358] (**) | |-->Device "Mali-Fbdev"
          [ 52.358] (==) No monitor specified for screen "Mali-Screen".
          Using a default monitor configuration.
          [ 52.359] (**) Option "IgnoreABI"
          [ 52.359] (**) Ignoring ABI Version
          [ 52.359] (==) Automatically adding devices
          [ 52.359] (==) Automatically enabling devices
          [ 52.359] (==) Automatically adding GPU devices
          [ 52.372] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
          [ 52.372] Entry deleted from font path.
          [ 52.402] (==) FontPath set to:
          /usr/share/fonts/X11/misc,
          /usr/share/fonts/X11/100dpi/:unscaled,
          /usr/share/fonts/X11/75dpi/:unscaled,
          /usr/share/fonts/X11/Type1,
          /usr/share/fonts/X11/100dpi,
          /usr/share/fonts/X11/75dpi,
          built-ins
          [ 52.402] (==) ModulePath set to "/usr/lib/arm-linux-gnueabihf/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
          [ 52.402] (II) The server relies on udev to provide the list of input devices.
          If no devices become available, reconfigure udev or disable AutoAddDevices.
          [ 52.402] (II) Loader magic: 0x40176ee0
          [ 52.402] (II) Module ABI versions:
          [ 52.402] X.Org ANSI C Emulation: 0.4
          [ 52.402] X.Org Video Driver: 14.1
          [ 52.402] X.Org XInput driver : 19.1
          [ 52.402] X.Org Server Extension : 7.0
          [ 52.403] (II) xfree86: Adding drm device (/dev/dri/card0)
          [ 52.403] Initializing built-in extension Generic Event Extension
          [ 52.403] Initializing built-in extension SHAPE
          [ 52.403] Initializing built-in extension MIT-SHM
          [ 52.403] Initializing built-in extension XInputExtension
          [ 52.403] Initializing built-in extension XTEST
          [ 52.403] Initializing built-in extension BIG-REQUESTS
          [ 52.404] Initializing built-in extension SYNC
          [ 52.404] Initializing built-in extension XKEYBOARD
          [ 52.404] Initializing built-in extension XC-MISC
          [ 52.404] Initializing built-in extension SECURITY
          [ 52.404] Initializing built-in extension XINERAMA
          [ 52.404] Initializing built-in extension XFIXES
          [ 52.404] Initializing built-in extension RENDER
          [ 52.404] Initializing built-in extension RANDR
          [ 52.404] Initializing built-in extension COMPOSITE
          [ 52.404] Initializing built-in extension DAMAGE
          [ 52.404] Initializing built-in extension MIT-SCREEN-SAVER
          [ 52.404] Initializing built-in extension DOUBLE-BUFFER
          [ 52.404] Initializing built-in extension RECORD
          [ 52.404] Initializing built-in extension DPMS
          [ 52.404] Initializing built-in extension X-Resource
          [ 52.404] Initializing built-in extension XVideo
          [ 52.404] Initializing built-in extension XVideo-MotionCompensation
          [ 52.404] Initializing built-in extension SELinux
          [ 52.404] Initializing built-in extension XFree86-VidModeExtension
          [ 52.404] Initializing built-in extension XFree86-DGA
          [ 52.404] Initializing built-in extension XFree86-DRI
          [ 52.404] Initializing built-in extension DRI2
          [ 52.404] (II) "glx" will be loaded by default.
          [ 52.404] (WW) "xmir" is not to be loaded by default. Skipping.
          [ 52.404] (II) LoadModule: "dri2"
          [ 52.405] (II) Module "dri2" already built-in
          [ 52.405] (II) LoadModule: "glamoregl"
          [ 52.413] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
          [ 52.563] (II) Module glamoregl: vendor="X.Org Foundation"
          [ 52.563] compiled for 1.14.2.901, module version = 0.5.1
          [ 52.563] ABI class: X.Org ANSI C Emulation, version 0.4
          [ 52.563] (II) LoadModule: "glx"
          [ 52.564] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
          [ 52.585] (II) Module glx: vendor="X.Org Foundation"
          [ 52.585] compiled for 1.14.3, module version = 1.0.0
          [ 52.585] ABI class: X.Org Server Extension, version 7.0
          [ 52.585] (==) AIGLX enabled
          [ 52.586] Loading extension GLX
          [ 52.586] (II) LoadModule: "mali"
          [ 52.588] (II) Loading /usr/lib/xorg/modules/drivers/mali_drv.so
          [ 52.599] (II) Module mali: vendor="X.Org Foundation"
          [ 52.599] compiled for 1.13.3, module version = 0.4.2
          [ 52.599] ABI class: X.Org Video Driver, version 13.1
          [ 52.599] (WW) module ABI major version (13) doesn't match the server's version (14)
          [ 52.599] MaliSetup
          [ 52.599] MaliIdentify
          [ 52.599] (II) MALI: driver for Mali Framebuffer: mali
          [ 52.599] (++) using VT number 7

          [ 52.600] (WW) Falling back to old probe method for mali
          [ 52.600] MaliProbe
          [ 52.600] MaliHWProbe
          [ 52.600] (II) MALI(0): using /dev/fb0
          [ 52.600] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
          [ 52.600] (II) MALI(0): MaliPreInit: ENTER
          [ 52.600] (II) MALI(0): MaliGetRec: ENTER
          [ 52.600] (II) MALI(0): MaliHWInit: ENTER
          [ 52.600] (II) MALI(0): MaliHWGetDepth: ENTER
          [ 52.600] (II) MALI(0): Creating default Display subsection in Screen section
          "Mali-Screen" for depth/fbbpp 16/16
          [ 52.600] (**) MALI(0): Depth 16, (--) framebuffer bpp 16
          [ 52.600] (==) MALI(0): RGB weight 565
          [ 52.601] (==) MALI(0): Default visual is TrueColor
          [ 52.601] (==) MALI(0): Using gamma correction (1.0, 1.0, 1.0)
          [ 52.601] (II) MALI(0): MaliHWGetVidmem: ENTER
          [ 52.601] (II) MALI(0): MaliHWGetName: ENTER
          [ 52.601] (II) MALI(0): hardware: fb0 (video memory: 24576kB)
          [ 52.601] (**) MALI(0): Option "DRI2" "true"
          [ 52.601] (**) MALI(0): Option "DRI2_PAGE_FLIP" "true"
          [ 52.601] (**) MALI(0): Option "DRI2_WAIT_VSYNC" "true"
          [ 52.601] (**) MALI(0): Option "UMP_CACHED" "true"
          [ 52.601] (**) MALI(0): Option "UMP_LOCK" "false"
          [ 52.601] (**) MALI(0): DRI Fullscreen page flip enabled
          [ 52.601] (**) MALI(0): DRI Fullscreen page flip VSYNC'd
          [ 52.601] (**) MALI(0): Use cached UMP memory
          [ 52.601] (**) MALI(0): Don't use umplock across processes
          [ 52.601] (EE) MALI(0): mali_drm_open_master DRM OPEN (fd: 0x8)
          [ 52.601] (**) MALI(0): DRI Fullscreen page flip enabled
          [ 52.601] (**) MALI(0): DRI Fullscreen page flip VSYNC'd
          [ 52.601] (**) MALI(0): Use cached UMP memory
          [ 52.601] (**) MALI(0): Don't use umplock across processes
          [ 52.602] (**) MALI(0): 2d acceleration disabled
          [ 52.602] (II) MALI(0): MaliHWGetFD: ENTER
          [ 52.602] (II) MALI(0): FBDev_crtc_config: ENTER
          [ 52.602] (II) MALI(0): FBDev_crtc_config: EXIT
          [ 52.602] (II) MALI(0): Output LCD has no monitor section
          [ 52.602] (II) MALI(0): Mode 1920 x 1080 valid
          [ 52.602] (II) MALI(0): Printing probed modes for output LCD
          [ 52.602] (II) MALI(0): Modeline "1920x1080"x60.0 139.20 1920 1940 1960 2000 1080 1100 1120 1160 (69.6 kHz e)
          [ 52.602] (II) MALI(0): Output LCD connected
          [ 52.602] (II) MALI(0): Using sloppy heuristic for initial modes
          [ 52.602] (II) MALI(0): Output LCD using initial mode 1920x1080
          [ 52.602] (II) MALI(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
          [ 52.602] (II) MALI(0): MaliHWSetVideoModes: ENTER
          [ 52.602] (--) MALI(0): Virtual size is 1920x1080 (pitch 1920)
          [ 52.602] (**) MALI(0): Driver mode "1920x1080": 139.2 MHz (scaled from 0.0 MHz), 69.6 kHz, 60.0 Hz
          [ 52.602] (II) MALI(0): Modeline "1920x1080"x60.0 139.20 1920 1940 1960 2000 1080 1100 1120 1160 (69.6 kHz e)
          [ 52.602] (==) MALI(0): DPI set to (96, 96)
          [ 52.602] (II) Loading sub module "fb"
          [ 52.602] (II) LoadModule: "fb"
          [ 52.603] (II) Loading /usr/lib/xorg/modules/libfb.so
          [ 52.613] (II) Module fb: vendor="X.Org Foundation"
          [ 52.613] compiled for 1.14.3, module version = 1.0.0
          [ 52.613] ABI class: X.Org ANSI C Emulation, version 0.4
          [ 52.613] (II) MALI(0): MaliScreenInit: ENTER
          [ 52.619] (II) MALI(0): DRI2 version: 1.2
          [ 52.619] (II) MALI(0): [DRI2] Setup complete
          [ 52.619] (II) MALI(0): [DRI2] DRI driver: Mali DRI2
          [ 52.619] (II) MALI(0): MaliHWMapVidmem: ENTER
          [ 52.620] (II) MALI(0): MaliHWLinearOffset: ENTER
          [ 52.620] (II) MALI(0): MaliHWSave: ENTER
          [ 52.620] (II) MALI(0): MaliHWModeInit: ENTER
          [ 52.620] (II) MALI(0): MaliHWSetMode: ENTER
          [ 52.620] (II) MALI(0): MaliHWSaveScreen: ENTER
          [ 52.620] (II) MALI(0): MaliHWAdjustFrame: ENTER
          [ 52.622] (II) Loading sub module "exa"
          [ 52.622] (II) LoadModule: "exa"
          [ 52.622] (II) Loading /usr/lib/xorg/modules/libexa.so
          [ 52.632] (II) Module exa: vendor="X.Org Foundation"
          [ 52.632] compiled for 1.14.3, module version = 2.6.0
          [ 52.632] ABI class: X.Org Video Driver, version 14.1
          [ 52.632] (II) MALI(0): maliSetupExa: ENTER
          [ 52.632] (II) MALI(0): Mali EXA driver is loaded successfully
          [ 52.632] (II) MALI(0): maliSetupExa: EXIT
          [ 52.632] (WW) MALI(0): Initializing EXA Driver!
          [ 52.632] (II) EXA(0): Driver allocated offscreen pixmaps
          [ 52.632] (II) EXA(0): Driver registered support for the following operations:
          [ 52.633] (II) Solid
          [ 52.633] (II) Copy
          [ 52.633] (II) Composite (RENDER acceleration)
          [ 52.633] (==) MALI(0): Backing store disabled
          [ 52.633] (==) MALI(0): Silken mouse enabled
          [ 52.633] (II) MALI(0): Changing mode to 1920 1080 1920 2160
          [ 52.690] (II) MALI(0): RandR 1.2 enabled, ignore the following RandR disabled message.
          [ 52.690] (==) MALI(0): DPMS enabled
          [ 52.690] (--) RandR disabled
          [ 52.715] (II) SELinux: Disabled on system
          [ 52.719] (EE) AIGLX error: dlopen of /usr/lib/arm-linux-gnueabihf/dri/Mali DRI2_dri.so failed (/usr/lib/arm-linux-gnueabihf/dri/Mali DRI2_dri.so: cannot open shared object file: No such file or directory)
          [ 52.719] (EE) AIGLX: reverting to software rendering
          [ 52.719] (II) AIGLX: Screen 0 is not DRI capable
          [ 52.823] (II) AIGLX: Loaded and initialized swrast
          [ 52.823] (II) GLX: Initialized DRISWRAST GL provider for screen 0
          [ 52.824] GET_UMP_SECURE_ID_BUF1 returned 0xffffffff offset: 0 virt address: 0x40a65000 fb_virt: 0x40a65000
          [ 52.824] (EE) MALI(0): [maliModifyPixmapHeader:440] UMP failed to retrieve secure id
          [ 52.824] (II) MALI(0): Setting screen physical size to 508 x 285
          [ 52.824] (II) MALI(0): fbdev_crtc_config_resize: width = 1920 height = 1080
          [ 52.824] (EE)
          [ 52.824] (EE) Backtrace:
          [ 52.825] (EE)
          [ 52.825] (EE) Segmentation fault at address 0xc
          [ 52.825] (EE)
          Fatal server error:
          [ 52.825] (EE) Caught signal 11 (Segmentation fault). Server aborting
          [ 52.825] (EE)
          [ 52.825] (EE)
          Please consult the The X.Org Foundation support
          at http://wiki.x.org
          for help.
          [ 52.825] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
          [ 52.825] (EE)
          [ 52.826] (II) MALI(0): MaliHWLeaveVT: ENTER
          [ 52.826] (II) MALI(0): MaliHWRestore: ENTER
          [ 52.852] (EE) Server terminated with error (1). Closing log file.

          maybe tomorrow will go better .

          flycast mk809iii

          Comment


            #6
            I am not going to continue with my dog zar this dongle 3188.

            flycast mk809iii

            Comment


              #7
              Mali Disassembler

              With curiosity I wanted to compare the original file with this mali.ko compiled by me and has come to the conclusion that everything is okey.
              The difference is only in this that my file is bigger because I compiled with the debug option mali = on.

              It gives links to online debugger to these files.
              All in all a great tools online!

              my mali.ko >http://www.onlinedisassembler.com/od...w/tab-sections
              org. mali.ko >http://www.onlinedisassembler.com/od...w/tab-sections

              can you switch the view ect.




              So what we really we need to GPU working properly.
              1 gralloc
              2.Libhybris

              helping Literature
              . http://www.cnx-software.com/2013/04/...he-cubieboard/
              . https://wiki.linaro.org/Resources/Ho...sungOrigenMali
              . https://wiki.mozilla.org/Platform/GFX/Gralloc

              Attached Files
              Last edited by taki-arm; 01-15-2014, 23:14.
              flycast mk809iii

              Comment


                #8
                ubuntu 14

                And we'll do it with the help of a mir-

                Comment


                  #9
                  hi taki-arm,
                  a few weeks ago i got libhybris working on my mk809iii stick running ubuntu 12.04; made a kernel and androidfs build and now i can use gralloc, mali.ko and all kind of egl-libs from android. it kind of works, however not yet together with X (i only got a flickering triangle turning around on console screen using androids surfaceflinger on ubuntu, hwcomposer is not yet working).
                  my question is: which xf86 mali driver do you use or recommend for X? do i also need to build drm as kernel module?
                  greetz-
                  mac
                  Support my work to make you a better multimedia experience...
                  And Donate...

                  Comment


                    #10
                    Originally posted by MAC_L1 View Post
                    hi taki-arm,

                    my question is: which xf86 mali driver do you use or recommend for X? do i also need to build drm as kernel module?
                    greetz-
                    mac

                    Welcome.

                    I am using modules ump,drm,mali,mali_drm
                    xf86 you can try the quickest way of odroid ready package. deb, the only problem is that xorg can scatter, ABI server version differs.
                    Use the options Finally, add this to your xorg.conf:

                    Section "ServerFlags"
                    Option "IgnoreABI" "True"
                    EndSection

                    and always please use "dev/fb0" odroid use FB6.

                    download> http://dn.odroid.com/MALI400_R3P2/20...ackages.tar.gz

                    cd mali_packages
                    sudo dpkg-i mali400_2.1-13_armhf.deb
                    sudo dpkg-i Mali400-dev_2.1-13_armhf.deb
                    sudo dpkg-i xf86-video-mali_1.0.1-7_armhf.deb
                    sudo rm-fr / usr / lib / arm-linux-gnueabihf / mesa-egl


                    Read more: http://www.cnx-software.com/2013/02/...#ixzz2rinDWpEQ

                    - Does not guarantee the will succeed , xorg can deny , or try to downgrade xorg server version .
                    If the reboot screen will be black , " rm /etc/X11/xorg.config then coming back to the standard fbdev .
                    How to remove xorg.config if ist black screen please use another kernel with another initramfs .


                    I have an old mk809iii, the kernel should work
                    this is my old kernel, as I find the time it compile new without usb debug, and no screen blinking
                    >kernel monter http://www30.zippyshare.com/v/87595558/file.html

                    login:root
                    mkdir /my-system
                    mount /dev/mtdblock2 /my-system
                    rm /my-system/etc/X11/xorg.conf
                    see log from xorg > nano /my-system/var/log/Xorg.0.log

                    -------------------------------------------------------------------------------------------------------------------------------------------------------

                    Surer way to Build Drivers Using Binaries .

                    we need some development package :
                    apt- get install gcc make git-core autoconf automake pkg-config
                    libltdl-dev libtool automake git libdrm-dev build-essential xorg-dev xutils-dev x11proto-DRI2-dev
                    --------------------------------------------------------------
                    cd / my- folder /

                    git clone https://github.com/robclark/libdri2.git ? " if you have it you can skip libdri2 "
                    git clone https://github.com/linux-sunxi/sunxi-mali.git
                    git clone https://github.com/ssvb/xf86-video-fbturbo
                    --------------------------------------------------------------
                    libdri2 build : cd / my-folder/libdri2
                    . / autogen.sh - prefix = / usr
                    make install
                    -----------------------------------------------------------
                    build sunxi-mali: cd /my-folder/sunxi-mali
                    git submodule init
                    git submodule update
                    make config ABI = armhf VERSION = r3p2-01rel1
                    make install

                    I do not know whether the error is corrected "8tab" edit the file and change the spaces at the table "

                    --------------------------------------------------------
                    build and install xf86-video-fbturbo: cd /my-folder/xf86-video-fbturbo
                    autoreconf-vi
                    . / configure - prefix =/usr
                    make
                    make install

                    fbturbo xorg.conf >

                    Section "Device"
                    Identifier "Allwinner A10/A13 FBDEV"
                    Driver "fbturbo"
                    Option "fbdev" "/dev/fb0"
                    Option "ShadowFB" "on"
                    Option "HWCursor" "true"
                    Option "DRI2" "true"
                    Option "DRI2HWOverlay" "true"
                    Option "SwapbuffersWait" "true"
                    EndSection


                    Section "DRI"
                    Mode 0666
                    EndSection

                    I'm not quite sure if this my xorg.conf is correct.
                    Try it out because original config has a problem with the disappearance of graphics.

                    I tested on the basis of this> http://archlinuxarm.org/forum/viewtopic.php?f=33&t=5979.
                    and >http://www.cubieforums.com/index.php?topic=30.0
                    when you have time you can testing use XMir >https://wiki.ubuntu.com/Mir/Spec?act...direct=MirSpec
                    technical info and how to build >http://unity.ubuntu.com/mir/
                    XMir ist flexible and can use all from android !

                    • good luck and let us know .
                    flycast mk809iii

                    Comment


                      #11
                      Originally posted by taki-arm View Post
                      Now I have xf86-video-exynos works better, but of course without 3D.
                      Hi there,

                      I've been following this as I have a fleet of these that I want to use for a networked-video project - and I need them to be able to play back decent-quality 1080p video. So far I have them stripped to one of the 720p kernels (not Picuntu .. something else I can't remember now) .. playback is OK, but it seems that getting the MALI working will solve all of this, and allow me to move back to a 1080p kernel. I can see how hard it is looking around at other posts as well ...

                      I have no need for 3D support - only hardware accelerated video. I'm quite new to this and reading this above reply (from taki-arm / 11-05-2013, 06:13 PM), I was wondering if this previous post indicated that you have something that would let the MALI handle video (but not 3D)? Apologies if I'm missing the point here - I'm just curious if there's something half-baked that would actually handle all that I need it to handle.

                      Best,
                      S

                      Comment


                        #12
                        Originally posted by sa4 View Post
                        Hi there,

                        I was wondering if this previous post indicated that you have something that would let the MALI handle video (but not 3D)? Apologies if I'm missing the point here - I'm just curious if there's something half-baked that would actually handle all that I need it to handle.

                        Best,
                        S
                        Hi all

                        yes you are right if you use "xf86mali-driver" it will help you in video play, but you have to run; videobuf-core.ko, videobuf-vmalloc.ko, videobuf2-core.ko, videobuf2-memops.ko, videobuf2-vmalloc. ko. - And something else.

                        I'm sorry but I did not have too much time, sometimes trying something after experymento-but lately I have no time.
                        If you run these modules is the experyment in Mplayer you can use directframebufer or other options, just make experyment.
                        • do not be surprised if you get video play directly from the hardware and you will not have control over it from the ubuntu.
                        • a you must use vpu-service.ko module
                        • Mplayer ist wonderfull.
                        flycast mk809iii

                        Comment


                          #13
                          Originally posted by taki-arm View Post
                          Hi all

                          yes you are right if you use "xf86mali-driver" it will help you in video play, but you have to run; videobuf-core.ko, videobuf-vmalloc.ko, videobuf2-core.ko, videobuf2-memops.ko, videobuf2-vmalloc. ko. - And something else.

                          I'm sorry but I did not have too much time, sometimes trying something after experymento-but lately I have no time.
                          If you run these modules is the experyment in Mplayer you can use directframebufer or other options, just make experyment.
                          • do not be surprised if you get video play directly from the hardware and you will not have control over it from the ubuntu.
                          • a you must use vpu-service.ko module
                          • Mplayer ist wonderfull.
                          Thanks so much for this reply - hopefully I'll be able to work according to your suggestion. Mplayer has been good to me so far!

                          So I need:

                          xf86mali-driver
                          videobuf-core.ko
                          videobuf-vmalloc.ko
                          videobuf2-core.ko
                          videobuf2-memops.ko
                          videobuf2-vmalloc.ko
                          vpu-service.ko

                          I'm trying to follow the previous posts in this thread but I'm still unsure about where to find these resources, or whether I need to compile them myself? Apologies - I am a beginner. Any quick help will be greatly appreciated - I understand you don't have much time.

                          I am running PicUntu 4.5 on a set of the Momi M1 / Chiseltek sticks, if that makes any difference.

                          Many thanks!

                          S

                          Comment


                            #14
                            Originally posted by sa4 View Post
                            Thanks so much for this reply - hopefully I'll be able to work according to your suggestion. Mplayer has been good to me so far!

                            So I need:

                            xf86mali-driver
                            videobuf-core.ko
                            videobuf-vmalloc.ko
                            videobuf2-core.ko
                            videobuf2-memops.ko
                            videobuf2-vmalloc.ko
                            vpu-service.ko

                            I'm trying to follow the previous posts in this thread but I'm still unsure about where to find these resources, or whether I need to compile them myself? Apologies - I am a beginner. Any quick help will be greatly appreciated - I understand you don't have much time.

                            I am running PicUntu 4.5 on a set of the Momi M1 / Chiseltek sticks, if that makes any difference.

                            Many thanks!

                            S
                            Hi all

                            modules you can compile yourself or download > http://www.sendspace.com/file/a8dw1h
                            extract this and "sudo rm -r /lib/modules/3.0.36+ "
                            then " sudo cp -a /from folder who ist your download/3.0.36+ /lib/modules/ "

                            "sudo nano /etc/modules add this >
                            ump
                            drm
                            mali_drm
                            mali
                            rk29-ipp
                            vpu_service
                            videobuf-core
                            videobuf-vmalloc
                            videobuf2-core
                            videobuf2-memops
                            videobuf2-vmalloc
                            vivi
                            "
                            I wish you successful experiments feature

                            flycast mk809iii

                            Comment


                              #15
                              Thanks again for this help!

                              I followed those instructions, rebooted, and got the blinking cursor. Rebooted holding down 'shift' key and got a prompt - logged in as root, then tried 'startx' and the log shows that it experiences a fatal server error - 'no screens found'. Last lines before that were:

                              Initializing built-in extension XFree86-DRI
                              Initializing built-in extension DRI2
                              Loading extension GLX

                              Fatal server error:
                              No screens found

                              *

                              Any thoughts?

                              S

                              Comment

                              Working...
                              X