SimpleGL :: libqscreensimplegl.so :: driver cannot connect problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SimpleGL :: libqscreensimplegl.so :: driver cannot connect problem

2,944 Views
KrishnaPavan
Contributor II

Hi,

I am using Qt_Every_Where_OpenSource_4.7.4. on Ubuntu10.04LTS.
I am using Qt_Embedded for ARM. I have successfully built Qt for target.

Info about SimpleGL can be found here :: SimpleGL

I also have libqscreensimplegl.so in
<Qt_Every…..Source>/plugins/gfxdrivers/libqscreensimplegl.so

I ran make & sudo make install, but it is not available in the
/usr/local/Trolltech/Qt-target-version/plugins/

gfxdrivers directory itself is not present in the /usr/local/Troll…/…../plugins/ directory.

I am facing a problem when this is used on target.
How to get that ported onto target’s rootfs?

Please Suggest!

Thanks :: Krishna Pavan

Tags (2)
0 Kudos
Reply
13 Replies

2,581 Views
KrishnaPavan
Contributor II

Did you have libqcscreensimplegl.so? in your rootfs?

0 Kudos
Reply

2,581 Views
tanshoana
Contributor I

hi, I am facing the same problem, how do you solve the problem?

H R Krishna Pavan said:

Hi Daniele,

Thank You for your reply.

I am using ltib 9.1.1 for i.MX51, BSP is 10.07.

I am using amd-gpu-bin-mx51.

From above screenshot, I see that QEgl is fine, but SimpleGL seems to be facing some problem.

0 Kudos
Reply

2,581 Views
KrishnaPavan
Contributor II

Hi Daniele,

Thank You for your reply.

I am using ltib 9.1.1 for i.MX51, BSP is 10.07.

I am using amd-gpu-bin-mx51.

From above screenshot, I see that QEgl is fine, but SimpleGL seems to be facing some problem.

0 Kudos
Reply

2,581 Views
DanieleDall_Acq
NXP Employee
NXP Employee

Hi Krishna

             Which BSP version are you using?

              Also ltib offer 2 GPU drivers amd-gpu-bin-mx51 and amd-gpu-x11-gpu-bin-mx51, which of the 2 you added?

             The right one for this case is the former.

              

              Ciao 

                     --daniele

              


Krishna Pavan said:

Hi Daniele,

282-Screenshot2.png

This is what I am facing trouble with.

Please Suggest!

0 Kudos
Reply

2,581 Views
KrishnaPavan
Contributor II

Hi Daniele,

284-Screenshot2.png

This is what I am facing trouble with.

Please Suggest!

0 Kudos
Reply

2,581 Views
KrishnaPavan
Contributor II

Hi Daniele,

The (document) spec file is a good work, which will ease out many tasks.

However, XTRA_OPTS will facilitate phonon inclusion more as it is used, clearly.

Probably, I should add/include support for SimpleGL.

Thanks for giving me something which could get me something.

Let me try it and inform you.

Regards :: Krishna Pavan

0 Kudos
Reply

2,581 Views
DanieleDall_Acq
NXP Employee
NXP Employee

Hi Krishna,

  Definitely there are many equivalent ways for building QT.

  Here is my method, since it looks you are stuck, you may want give it a try... It is valid for mx51/mx53

  Get FSL BSP and install it without forgetting to add the drivers for the gpu.

 

  Copy the attached spec into 

    ltib/dist/lfs-5.1/qt/

  

  ./ltib -p qt-embedded.spec -f

  

  This should align with my build and you can start the procedure originally mentioned.

  On my side it did work...

    Ciao 

       --daniele

0 Kudos
Reply

2,581 Views
KrishnaPavan
Contributor II

Hi Daniele,

Thing is that, I copy /usr/local/Trolltech/Qt-target-version to /ltib/rootfs/usr/local/Trolltech/ once I get everything in the /usr/local/Trolltech/Qt-target-version properly.

Difference is that you make a link, so that every change gets reflected as it is an when it is done.

I copy once everything is fine.

So, Procedurally, everything is proper, with you as well as me.

I have made a demo application and ran it on my board.

demo of fluidlauncher executed properly.

But my application requires simplegl, which is thrown as an error, that is when I recognised that it was missing in /plugins/gfxdrivers directory.

file_list_host is a list of files on my host

file_list_target is a list of files on my target

Where you can see that, liqscreensimplegl.so is present on Host but not on target.

0 Kudos
Reply

2,581 Views
DanieleDall_Acq
NXP Employee
NXP Employee

Hi Krishna,

    Sorry but I would expect a different directory configuration: 

   

    In my case I use LTIB for building QT, using the patches you can find in this forum.

    Once build is complete I have  /home/daniele/MX/53/ltib/rootfs/

    Which represent the targetfs with /home/daniele/MX/53/ltib/rootfs/usr/local/Trolltech/

    containing the installation files for QT and other utilities. This folder will be linked 

    to /usr/local/Trolltech/

   The method I showed you it assumes you've followed these steps, otherwise I fear it would not work.

   Ciao

      --daniele

    

   

   

    

   

    

    

   

     

 

    


Krishna Pavan said:

Hi Daniele,

I ran this in my source directory

pavan@ubuntu/qt-target$[ ! -d /usr/local/Trolltech ] && sudo ln -s /usr/local/Trolltech/Qt-target-version /usr/local/Troltech

later on I updated my make file with

pavan@ubuntu/qt-target$/usr/local/Trolltech/Qt-target-version/bin/qmake

By doing this I have updated my Makefile

later I ran make and sudo make install in my source directory.

I got nothing like plugins/gfxdrivers/libqscreensimplegl.so in my target_filesystem which is on my Host.

Regards :: Krishna Pavan

.

0 Kudos
Reply

2,581 Views
KrishnaPavan
Contributor II

Hi Daniele,

I ran this in my source directory

pavan@ubuntu/qt-target$[ ! -d /usr/local/Trolltech ] && sudo ln -s /usr/local/Trolltech/Qt-target-version /usr/local/Troltech

later on I updated my make file with

pavan@ubuntu/qt-target$/usr/local/Trolltech/Qt-target-version/bin/qmake

By doing this I have updated my Makefile

later I ran make and sudo make install in my source directory.

I got nothing like plugins/gfxdrivers/libqscreensimplegl.so in my target_filesystem which is on my Host.

Regards :: Krishna Pavan

.

0 Kudos
Reply

2,581 Views
DanieleDall_Acq
NXP Employee
NXP Employee

Hi Krishna,

    Yes I know, I found this procedure for installing simplegl and quick3D, indeed :)

    The link I make at the begin plays the trick :) such that when you do make install

    anything that has to go under QT_targe_version  get copied  there. 

    Give it a try and let me know.

      Ciao 

            --daniele

  


Krishna Pavan said:

Thanks Daniele,

I have installed and I have target rootfs, I have also got SimpleGL plug-in.

But, As you can see, the library for SimpleGL is not present by default.

If you can check in <SourceDirectory>/src/plugins/gfxdrivers/ here you should have libqscreensimplegl.so, which is not available by default. Please check in your system.

Instead you should get it gone by downloading the code and prepare it.

By means of default procedure, I was able to get all the libraries, demos, examples for Target.

But simpleGL is something which I made using qmake & make.

SimpleGL library is now available in <qt_Source_directory./plugins/gfxdrivers/

But how to place it in /usr/local/TrollTech/Qt_target_version/plugins/gfxdrivers/ is what I could not understand at all.

Do you have libqscreensimplegl.so in /usr/local/TrollTech/Qt_target_version/plugins/gfxdrivers/ ?

Thanks & Regards :: Krishna Pavan

0 Kudos
Reply

2,581 Views
KrishnaPavan
Contributor II

Thanks Daniele,

I have installed and I have target rootfs, I have also got SimpleGL plug-in.

But, As you can see, the library for SimpleGL is not present by default.

If you can check in <SourceDirectory>/src/plugins/gfxdrivers/ here you should have libqscreensimplegl.so, which is not available by default. Please check in your system.

Instead you should get it gone by downloading the code and prepare it.

By means of default procedure, I was able to get all the libraries, demos, examples for Target.

But simpleGL is something which I made using qmake & make.

SimpleGL library is now available in <qt_Source_directory./plugins/gfxdrivers/

But how to place it in /usr/local/TrollTech/Qt_target_version/plugins/gfxdrivers/ is what I could not understand at all.

Do you have libqscreensimplegl.so in /usr/local/TrollTech/Qt_target_version/plugins/gfxdrivers/ ?

Thanks & Regards :: Krishna Pavan

0 Kudos
Reply

2,581 Views
DanieleDall_Acq
NXP Employee
NXP Employee

Hi Krishna,

  I  compile QT application/Library outside ltib in this way, it was working also fro simplegl on my side, hope it will be the same for you:

 

[ ! -d /usr/local/Trolltech ] && sudo ln -s <full/path/to/your/rootfs/>/usr/local/Troltech /usr/local/Trolltech

(basically it checks the the link does not exist already and if does not it create it).

export PATH=$PATH:</full/path/to/crosscompiler/used/for/building/qt-4-i.MX>

Then in the directory of the applcaition library you want to build

/usr/local/Trolltech/qt-everywhere-opensource-src-4.7.4/bin/qmake

make 

make  install (<-- this will probably sudo because it is the owner of the rootfs...)

Ciao 

   --daniele

0 Kudos
Reply