Hi. I have a Cubox-i 4x4 and I've followed "How to Get ALARM working on a CuBox-i4 Pro" to install ArchLinux with success.
To move on installing X and XFCE I've started by following the Solid-Run wiki:
- http://wiki.solid-run.com/doku.php?id=products:imx6:software:os:archlinux
I've installed
- extra/xf86-video-fbdev
- alarm/imx-gpu-viv-fb
- ln -sf /opt/fsl/lib/libGL.so /usr/lib/libGL.so.1
and additionally:
- alarm/firmware-imx
- alarm/xf86-video-imx
And the remaining normal Xorg and XFCE stuff.
I've also created a file /etc/X11/xorg.conf.d/20-vivante.conf with:
$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 "Configured Monitor"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "i.MX Accelerated Framebuffer Device"
DefaultDepth 24
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
EndSection
Section "DRI"
Mode 0666
EndSection
')
The graphical interface is running fine but I'm not having success trying the most basic OpenGL application.
Anyone knows a noobs guide on how to be able to run an OpenGL program from inside X, or even from outside (I've not tried from outside and dunno whether it's possible)?
Thanks