Wandboard Quad - X11

This forum is for supported devices using an ARMv7 Freescale SoC.

Wandboard Quad - X11

Postby Kenp » Thu Apr 17, 2014 9:26 pm

Hello,

I am wondering first how to get a basic x11 working.

After that is working, is it possible to get a gpu accelerated vivante x11 with the current xorg-server?

I have gpu-viv-bin-mx6q-fb installed but it doesn't seem to be working (if that's even what I should be using). Any hints on getting X working on this device?

Thanks.

Using the linux-imx6-wandboard-dt kernel btw.
Kenp
 
Posts: 1
Joined: Thu Apr 17, 2014 6:48 pm

Re: Wandboard Quad - X11

Postby Yenal » Fri Apr 25, 2014 6:32 am

You can use the gpu-viv-bin-mx6q-fb driver together with xf86-video-fbdev for current Xorg, but you wont have gpu accelerated and playing flash-/html5-vids via chrome and pepper-flash will be slow.

Just make a new config file in /etc/X11/xorg.conf.d/ eg. 20-vivante.conf

$this->bbcode_second_pass_code('', 'Section "Device"
Identifier "i.MX Accelerated Framebuffer Device"
Driver "fbdev"
Option "UseFBDev" "true"
Option "fbdev" "/dev/fb0"
Option "HWcursor" "false"
EndSection

Section "Monitor"
Identifier "DISP3 BG"
EndSection

Section "Screen"
Identifier "Screen0"
Device "i.MX Accelerated Framebuffer Device"
Monitor "DISP3 BG"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes "1280x960"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Screen0"
EndSection

Section "ServerFlags"
Option "BlankTime" "0"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"
EndSection

Section "DRI"
Mode 0666
EndSection')

Afaik the vivante driver for X11 (gpu-viv-bin-mx6q linked to x11 + xserver-xorg-video-imx-viv, source: http://www.freescale.com/lgfiles/NMG/MA ... eta.tar.gz) doesnt run with 1.15.1-1 ..maybe with a lot of patching. In Yocto/Poky master this combination runs with 3.10.17-drivers + Xorg-server 1.14.4 and gives you full accelerated gpu for 3D, but flash-/html5-vids via chrome and pepper-flash will still be slow - I guess because the vpu unit for decoding isnt used.

For both solutions: if you're using vpu to play vids, e.g. with the Freescale gplay-plugin or xbmc even HD-movies shouldnt lag

I tried to adopt the Yocto sources to build custom pkgs to get gplay-plugin & vivante driver for X11 running in alarm (https://github.com/Yenals/PKGBUILDs/tree/master/alarm/) but it's not completely working as if you just use Yocto... maybe I missed some Yocto-patches or I have to downgrade more stuff - dunno.

Lacking in time I actually use Xorg + xfce4 with gpu-viv-bin-mx6q-fb + xf86-video-fbdev. To watch movies I use xbmc (for flash/html5: extracting from chromium cache to disk is quiet well documented on the web)
Yenal
 
Posts: 18
Joined: Wed Jan 29, 2014 6:31 pm


Return to Freescale

Who is online

Users browsing this forum: No registered users and 26 guests