Hello and thanks for the good work and support with these images. First, excuse my bad english, it's not my native. And i am a little rookie and a little noob, so sorry if i write crap and don't understand basics some time.
Recently i've try to install desktop on this board and hardware accelerated driver with partial result. I had Armbian_4.5_Lamobo-r1_Debian_wheezy_3.4.109 with installed Gnome. I install Gnome following this site:
...(II) Module fbturbo: vendor="X.Org Foundation" compiled for 1.12.4, module version = 0.4.0 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 12.1(II) FBTURBO: driver for framebuffer: fbturbo(--) using VT number 7...
but i also notice the following in Xorg.0.log:
[ 3266.851] (II) FBTURBO(0): please set fb0_framebuffer_num >= 3 in the fex file [ 3266.851] (II) FBTURBO(0): and sunxi_fb_mem_reserve >= 24 in the kernel cmdline
Aaaand my odyssey begin. I notice the second parameter is defined in boot.scr file. There where other parameters too, preventing 2Dand 3D acceleration - "sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_no_mali_mem_reserve sunxi_fb_mem_reserve=16". I notice the following lines are not present in version - Armbian_4.5_Lamobo-r1_Ubuntu_trusty_3.4.109_desktop (why i am not using this version - long story), so i follow this description:
edit boot.cmd file and create new boot.scr without these lines and reboot then try to install Gnome (i do this on fresh installation). The problem is - i don't know if i am cursed or this @#%^&%* board is cursed, but from the site maintenance yesterday i am unable to install Gnome anymore, no mater content of boot.scr file. At first i thought this is the problem but it appears to be something with apt-get because once i received the following error - apt-get error (100) or something similar. Tasksel freeze at around 55%, i try "apt-get install gnome" it freeze at some point too. I don't know what log to loot at, i couldn't find anything related to apt-get or aptitude in /var/log/ . I even try older images where i used to install the same desktop before and the result is the same. This is my major problem right now, because instead of going forward i am way beyond the start line at the moment.
About the first thing about FBTURBO(0) in Xorg0.log i understand this parameter is in script.bin which is not so easy to edit, but i am defiant... I install libusb-1.0-0-dev and use this guide to modify the file:
But i notice script.bin in this board is a simlink to /bin/lamobo-r1.bin so i edited this file and change parameter - fb0_framebuffer_num, from 2 to 3. And by the way i am using nano instead of vi because me and vi are old enemies and every time i risk and using it result in disastrous results - in this case - boot loop or various problems before boot. The problem is, after i change parameter from 2 to 3 (with nano) and reboot system is unable to load desktop anymore if i do this after i installed one. If i try to install desktop with this parameter enabled i can't startx later (and it can't autoload too). I have to make fresh install again.
Sorry for the long post. What am i doing wrong so i can't install desktop environment? And why setting framebuffer to 3 causing troubles when it's recommended value in sunxi site:
Question
RagnerBG
Hello and thanks for the good work and support with these images. First, excuse my bad english, it's not my native. And i am a little rookie and a little noob, so sorry if i write crap and don't understand basics some time.
Recently i've try to install desktop on this board and hardware accelerated driver with partial result. I had Armbian_4.5_Lamobo-r1_Debian_wheezy_3.4.109 with installed Gnome. I install Gnome following this site:
https://www.namhuy.net/1085/install-gui-on-debian-7-wheezy.html
Then i started to install and configure stuff based on sunxi site. First libUMP tnen this:
http://linux-sunxi.org/Mali_binary_driver
but i also notice the following in Xorg.0.log:
Aaaand my odyssey begin. I notice the second parameter is defined in boot.scr file. There where other parameters too, preventing 2Dand 3D acceleration - "sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_no_mali_mem_reserve sunxi_fb_mem_reserve=16". I notice the following lines are not present in version - Armbian_4.5_Lamobo-r1_Ubuntu_trusty_3.4.109_desktop (why i am not using this version - long story), so i follow this description:
http://linux-sunxi.org/Display#boot.scr
edit boot.cmd file and create new boot.scr without these lines and reboot then try to install Gnome (i do this on fresh installation). The problem is - i don't know if i am cursed or this @#%^&%* board is cursed, but from the site maintenance yesterday i am unable to install Gnome anymore, no mater content of boot.scr file. At first i thought this is the problem but it appears to be something with apt-get because once i received the following error - apt-get error (100) or something similar. Tasksel freeze at around 55%, i try "apt-get install gnome" it freeze at some point too. I don't know what log to loot at, i couldn't find anything related to apt-get or aptitude in /var/log/ . I even try older images where i used to install the same desktop before and the result is the same. This is my major problem right now, because instead of going forward i am way beyond the start line at the moment.
About the first thing about FBTURBO(0) in Xorg0.log i understand this parameter is in script.bin which is not so easy to edit, but i am defiant... I install libusb-1.0-0-dev and use this guide to modify the file:
http://docs.cubieboard.org/tutorials/common/edit_the_system_configuration
But i notice script.bin in this board is a simlink to /bin/lamobo-r1.bin so i edited this file and change parameter - fb0_framebuffer_num, from 2 to 3. And by the way i am using nano instead of vi because me and vi are old enemies and every time i risk and using it result in disastrous results - in this case - boot loop or various problems before boot. The problem is, after i change parameter from 2 to 3 (with nano) and reboot system is unable to load desktop anymore if i do this after i installed one. If i try to install desktop with this parameter enabled i can't startx later (and it can't autoload too). I have to make fresh install again.
Sorry for the long post. What am i doing wrong so i can't install desktop environment? And why setting framebuffer to 3 causing troubles when it's recommended value in sunxi site:
http://linux-sunxi.org/Display#boot.scr
Link to comment
Share on other sites
3 answers to this question
Recommended Posts