tag:blogger.com,1999:blog-6487105202596390783.post4189891956449794918..comments2023-05-22T10:39:14.072+02:00Comments on Hardware & Software Useful bits: 3D HW acceleration on Picuntu Linux (Mali400)Unknownnoreply@blogger.comBlogger8125tag:blogger.com,1999:blog-6487105202596390783.post-3540325482049066882015-04-25T18:02:25.529+02:002015-04-25T18:02:25.529+02:00Hi again this is my last post here don't worry...Hi again this is my last post here don't worry because you ae maybe the only one who can find the solution :-) but i'm struggling to make 3d hardware acceleration work on our device with ubuntu 14.04 (using sgjava work)<br /><br />i tried everything i can but without successs (all kernels and mod files found )<br />i'm using your kernel 3.0.36+<br /><br />and i first tried to use files provided by your tutorial http://hwswbits.blogspot.fr/2013/04/...ntu-linux.html<br /><br />but it has some incompatibility with ubuntu 14.04 xorg<br />so i recompiled the mali driver (RK30FB)<br />but also mali.ko, ump.ko, drm.ko ,mali_drm.ko libMALI.so and libUMP.so in order to get everything compatible with my system using the same version of mali drivers r3p2-01rel2!<br />but when i try to run an opengl ES app i get this<br /><br />root@ubuntu:/home/test# glmark2-es2<br />Error: eglInitialize() failed with error: 12291<br />Error: Error: Could not get a valid XVisualInfo!<br />Error: Error: Couldn't create X Window!<br />Error: main: Could not initialize canvas<br /><br />is someone have an idea of what to do ? i'm about to give up XD<br /><br />thanks by advance for your answers !<br /><br />information you could need :<br /><br />root@ubuntu:/home/test# dmesg | grep -i mali<br />[ 18.777305] Mali: init_mali_clock mali_clock c0e259c0<br />[ 18.784194] Mali: Mali device driver loaded<br />[ 18.824661] DRM: mali_platform_drm_probe()<br />[ 18.824676] mali_drm_init(), driver name: mali_drm, version 0.1<br />[ 18.825569] DRM: mali_driver_load()<br />[ 18.825622] [drm] Initialized mali_drm 0.1.0 20100520 on minor 0<br />root@ubuntu:/home/test# dmesg | grep -i UMP<br />[ 18.744755] UMP: UMP device driver loaded<br /><br />Xorg.0.log<br />[ 2262.425] (II) RK30FB: driver for framebuffer: rk30fb<br />[ 2262.427] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support<br />[ 2262.427] (II) RK30FB(0): RK30: Try setup nonstd mode for dev:/dev/fb0<br />[ 2262.428] (II) RK30FB(0): RK30: Setup for bpp:32<br />[ 2262.430] (II) RK30FB(0): RK30: Setup nonstd mode completed<br />[ 2262.430] (**) RK30FB(0): Depth 24, (--) framebuffer bpp 32<br />[ 2262.430] (==) RK30FB(0): RGB weight 888<br />[ 2262.430] (==) RK30FB(0): Default visual is TrueColor<br />[ 2262.430] (==) RK30FB(0): Using gamma correction (1.0, 1.0, 1.0)<br />[ 2262.430] (II) RK30FB(0): hardware: fb0 (video memory: 32768kB)<br />[ 2262.431] (**) RK30FB(0): Option "HWCursor" "false"<br />[ 2262.431] (**) RK30FB(0): Option "WaitForSync" "true"<br />[ 2262.431] (II) RK30FB(0): checking modes against framebuffer device...<br />[ 2262.431] (II) RK30FB(0): mode "1280x720" ok<br />[ 2262.431] (EE) RK30FB(0): FBIOPUT_VSCREENINFO: Invalid argument<br />[ 2262.431] (II) RK30FB(0): mode "1920x1080" test failed<br />[ 2262.431] (II) RK30FB(0): mode "1920x1080" not found<br />[ 2262.432] (II) RK30FB(0): checking modes against monitor...<br />[ 2262.432] (--) RK30FB(0): Virtual size is 1280x720 (pitch 1280)<br />[ 2262.432] (**) RK30FB(0): Mode "1280x720": 74.2 MHz (scaled from 0.0 MHz), 45.0 kHz, 60.0 Hz<br />[ 2262.432] (II) RK30FB(0): Modeline "1280x720"x0.0 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync (45.0 kHz)<br />[ 2262.432] (==) RK30FB(0): DPI set to (96, 96)<br />[ 2262.447] (II) RK30FB(0): Init mode: 1280x720<br />[ 2262.464] (==) RK30FB(0): Backing store enabled<br />[ 2262.465] (**) RK30FB(0): DPMS enabled<br />[ 2262.465] (II) RK30FB(0): HW:Main setup ovl<br />[ 2262.465] (II) RK30FB(0): Overlay memory pages<br />[ 2262.465] (II) RK30FB(0): --------------------<br />[ 2262.465] (EE) RK30FB(0): HW:Error overlay mem block size:0<br />[ 2262.465] (EE) RK30FB(0): HW:Error init ovl<br />[ 2262.465] (II) RK30FB(0): XV:Init begin<br />[ 2262.465] (II) RK30FB(0): XV:Init complete<br /><br /><br /><br />Module Size Used by<br />mali_drm 5284 0<br />drm 133568 1 mali_drm<br />mali 105154 0<br />disp_ump 807 0<br />ump 26264 4 disp_ump,mali<br />rk29_ipp 5253 0<br />rfcomm 29888 0<br />bnep 8848 2<br />bluetooth 129935 10 bnep,rfcomm<br />sr9700 6407 0<br />dm9601 5416 0<br />gc2035 16753 0Anonymoushttps://www.blogger.com/profile/07946466826933564688noreply@blogger.comtag:blogger.com,1999:blog-6487105202596390783.post-28374229475814716162013-11-28T14:31:58.429+01:002013-11-28T14:31:58.429+01:00Really nice. One suggested change in step 3:
in r...Really nice. One suggested change in step 3: <br />in rc.local:<br />chmod 666 /dev/mali /dev/ump /dev/dri/card0<br />Otherwise only superusers are able to access the driver. At least in my case.butaprenhttps://www.blogger.com/profile/10559342480032316295noreply@blogger.comtag:blogger.com,1999:blog-6487105202596390783.post-40715344387685920802013-09-25T01:35:02.135+02:002013-09-25T01:35:02.135+02:00hi great work. i see you have 1.6ghz. i was wonder...hi great work. i see you have 1.6ghz. i was wondering if you can make a kernel of 1.7ghz and 1.8ghz like omegamoon's kernel. i have a mk802iii with heatsink and fan i would like to test this on. i want to try but i dont know how to compile the modifications.Anonymoushttps://www.blogger.com/profile/06447355841798694223noreply@blogger.comtag:blogger.com,1999:blog-6487105202596390783.post-42240087153185979392013-09-04T19:39:49.845+02:002013-09-04T19:39:49.845+02:00check in video_drv folder :)check in video_drv folder :)mariposaokupahttps://www.blogger.com/profile/12471959491655599176noreply@blogger.comtag:blogger.com,1999:blog-6487105202596390783.post-8733254826092114722013-07-31T00:58:54.805+02:002013-07-31T00:58:54.805+02:00I cant find the xorg.conf!
Under the Link is nothi...I cant find the xorg.conf!<br />Under the Link is nothing (no Dokument)<br />Can You post the xorg.conf normal.?<br /><br />Thanks!Joehttps://www.blogger.com/profile/04759675600247270083noreply@blogger.comtag:blogger.com,1999:blog-6487105202596390783.post-4504496449266992442013-05-09T02:48:28.442+02:002013-05-09T02:48:28.442+02:00So your code use the lcdc0 for HDMI , how can you ...So your code use the lcdc0 for HDMI , how can you do that ? <br />I want to learn , can you show me how to do . Thanks Anonymoushttps://www.blogger.com/profile/14770952686111862635noreply@blogger.comtag:blogger.com,1999:blog-6487105202596390783.post-22839814622571214882013-04-18T12:35:21.993+02:002013-04-18T12:35:21.993+02:00amazing just what we need in this small pcamazing just what we need in this small pcAnonymoushttps://www.blogger.com/profile/09297375497479443024noreply@blogger.comtag:blogger.com,1999:blog-6487105202596390783.post-32169861235332777762013-04-16T23:34:15.368+02:002013-04-16T23:34:15.368+02:00Congratulations for the sucessCongratulations for the sucessmanutihttps://www.blogger.com/profile/12479048080369674130noreply@blogger.com