| FORUM

FEDEVEL
Platform forum

Testing Rex's GPU Performance

paul_aldana , 10-25-2016, 05:01 PM
Hello Robert,

I'm trying to do what you did in this video (https://www.youtube.com/watch?v=N3QY74keH_E) by following Jasbir's blog. I downloaded the rootfs from the page you instructed to click on and got stuck on trying to figure out how to deploy the rootfs to the iMX6 Rex. This may sound silly to some but I'm really new to Linux. Do I need a host PC to prepare the file system I downloaded from Jasbir or I could just save that FS to a USB and then just deploy it straight from the Rex's GUI?

Regards,

Paul
paul_aldana , 10-25-2016, 05:09 PM
Also, from this link: http://www.imx6rex.com/open-rex/soft...esystem-yocto/ I do not have to do the "Prepare YOCTO _____" since it talks about installing it to a custom board, correct? I just want to make sure that the Rex is not defined as a custom board.

robertferanec , 10-26-2016, 06:02 AM
Here are exact steps how to do it for OpenRex, it is very similar for iMX6 Rex module: http://www.imx6rex.com/open-rex/soft...system/#copied

Basically, download the Jasbir's filesystem, format the partition with your current filesystem and unpack the Jasbirs filesystem on the empty partition. But I believe, your filesystem is the Jasbir's filesystem. You should be able to run the demos just by following the steps.
paul_aldana , 10-26-2016, 09:23 AM
Wait, so the default filesystem in the SD card that the board came in with is Jasbir's?
robertferanec , 10-26-2016, 09:34 AM
From the screenshots you attached in the other post it looks to me like it is Jasbir's filesystem.
paul_aldana , 10-26-2016, 10:06 AM
Ah, I see. How convenient! I got to run the gpu demos now although the folder is different from the steps provided in http://jas-hacks.blogspot.sk/2013/10...gging-gpu.html

Thanks again, Robert!
robertferanec , 10-26-2016, 10:27 AM
So, you are able to run the demos, correct? Perfect
paul_aldana , 10-26-2016, 11:02 AM
Question though. Do you know if the video in Jasbir's blog (http://jas-hacks.blogspot.co.uk/2013...eleration.html) is included in the filesystem as well?
robertferanec , 10-26-2016, 11:17 AM
I do not know how he is doing that
paul_aldana , 10-26-2016, 11:43 AM
Oh okay. It would've been neat if that was included in the FS. Also. on step #4 of this link (http://jas-hacks.blogspot.sk/2013/10...gging-gpu.html), whenever I enter "lsmod", I only get the headers " Module Size Used by" and nothing else even though I followed the steps correctly. Is it necessary to have those two in there in the long run? I checked if the /dev/dri/card0 exist and it does. Any ideas?

I tried doing the "glxinfo" and "es2_info". I got a lot of error log for glxinfo, one is libGL error: open DRM failed (Operation not permitted) and for es2_info I got a segmentation fault.
robertferanec , 10-27-2016, 06:50 AM
Paul, you will need to google. There are not many people who knows how to correctly use the iMX6 GPU and many do not share it on internet. I personally do not know exactly a lot about software - we are a hardware design company. Try to ask at NXP / Freescale forum for help and if you find out it would be awesome if you share it here

About lsmod - we do not include modules in the kernel. You may want to recompile the kernel or create the modules: http://www.imx6rex.com/software/imx6...ests/#gpu_test
paul_aldana , 10-27-2016, 09:15 AM
I see. I'm sorry if I ask a lot of questions. It's hard for me to understand Linux since I only know a few about it. But still, that's not an excuse, you're right. Google is my friend most of the time. Thought of asking those questions cause I thought you would know best since you designed the board. I will post whatever solution I find out here.

Thanks again, Robert!
robertferanec , 10-27-2016, 09:44 AM
Oh, do not worry Paul. Software topic is huge. I would love to answer all the questions - if I knew the answers . I do not understand everything, however, I do know some software stuff and to help people starting with uBoot & Linux I am just finishing a course, maybe it will help you too: Online – Learn the Essentials of creating uBoot, Linux and YOCTO for a board >
Use our interactive Discord forum to reply or ask new questions.
Discord invite
Discord forum link (after invitation)

Didn't find what you were looking for?