Re: SGX library modifications?

2010-04-06 Thread Ahmed Ammar
On Thu, 2010-04-01 at 21:55 +0200, Ahmed Ammar wrote:
 On Thu, 2010-04-01 at 11:05 +0300, Kimmo Hämäläinen wrote:
   I've currently got most things ported correctly using your xorg server.
   Just doing the big part of porting your kernel changes to 2.6.33.
 
 Kimmo,
 
 I've ported the pvr stuff to the 2.6.33 kernel but I'm now hitting a
 problem with X:
 
 (EE) AIGLX error: dlopen of /usr/lib/dri/pvr2d_dri.so failed 
 (/usr/lib/dri/pvr2d
 _dri.so: cannot open shared object file: No such file or directory)   
   
 (EE) AIGLX: reverting to software rendering   
 
 Now, I can't find pvr2d_dri.so anywhere in maemo SDK too, is X
 supposed to fall back to software rendering?

Kimmo,

Any response on the above?

Best Regards,
-- 
Ahmed A. Ammar
Senior Systems Engineer 
ConnectmeTV

email:  ahmed.am...@connectmetv.com
tel:+2010 600-5516

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: SGX library modifications?

2010-04-06 Thread Kimmo Hämäläinen
On Tue, 2010-04-06 at 12:34 +0200, ext Ahmed Ammar wrote:
 On Thu, 2010-04-01 at 21:55 +0200, Ahmed Ammar wrote:
  On Thu, 2010-04-01 at 11:05 +0300, Kimmo Hämäläinen wrote:
I've currently got most things ported correctly using your xorg server.
Just doing the big part of porting your kernel changes to 2.6.33.
  
  Kimmo,
  
  I've ported the pvr stuff to the 2.6.33 kernel but I'm now hitting a
  problem with X:
  
  (EE) AIGLX error: dlopen of /usr/lib/dri/pvr2d_dri.so failed 
  (/usr/lib/dri/pvr2d
  _dri.so: cannot open shared object file: No such file or directory) 
  
  (EE) AIGLX: reverting to software rendering   
  
  Now, I can't find pvr2d_dri.so anywhere in maemo SDK too, is X
  supposed to fall back to software rendering?
 
 Kimmo,
 
 Any response on the above?

I see libpvr2d.so in the device, maybe that's the one?  I see no
*_dri.so anywhere...

-Kimmo

 
 Best Regards,

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: SGX library modifications?

2010-04-06 Thread Ahmed Ammar
On Tue, 2010-04-06 at 14:02 +0300, Kimmo Hämäläinen wrote:
 I see libpvr2d.so in the device, maybe that's the one?  I see no
 *_dri.so anywhere...

Well libpvr2d.so is not what I'm looking for, looking at the source of
maemo5 xf86-video-fbdev, I find the following in sgx_dri2.c:

info.driverName = pvr2d;

Which instructs X to look for a dri module with name pvr2d_dri.so. Am I
completely missing something here? 

Best Regards,
-- 
Ahmed A. Ammar
Senior Systems Engineer 
ConnectmeTV

email:  ahmed.am...@connectmetv.com
tel:+2010 600-5516


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: SGX library modifications?

2010-04-06 Thread Carsten Munk
 Which instructs X to look for a dri module with name pvr2d_dri.so. Am I
 completely missing something here?
I believe that my N900 says pvr2d_dri.so is missing, on boot. So don't
think it's required

Best regards,
Carsten Munk
maemo.org distmaster
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: SGX library modifications?

2010-04-01 Thread Kimmo Hämäläinen
On Wed, 2010-03-31 at 17:28 +0200, ext Ahmed Ammar wrote:
 On Wed, 2010-03-31 at 18:18 +0300, Kimmo Hämäläinen wrote:
  On Wed, 2010-03-31 at 15:16 +0200, ext Ahmed Ammar wrote:
   Hello,
   
   While trying to compile xserver-xorg-video-fbdev_0.4.0-180+0m5.tar.gz I
   have come across missing definitions:
   
   sgx_exa.c:79: error: ‘EURASIA_TAG_STRIDE_THRESHOLD’ undeclared (first
   use in this function)
   
   After further digging and installing of the maemo5 SDK I found that
   these are provided by opengles-sgx-img-common-dev. And after chatting
   with Stskeeps on IRC I was informed that Nokia have actually modified
   the SGX libraries.
   
   I would like to know how Nokia have managed to do so? Have they gotten
   the source for the drivers from ImgTec? Are they actually different to
   those available from TI? 
  
  Yes, we had access to the source code, but mostly the modifications were
  done by ImgTec developers.
  
   Would it be possible for someone to use your binaries outside the maemo
   project?
  
  I guess if the SGX chip is the same (and you have compatible X parts).
  
   Also, could this be forward ported to newer libraries from TI/ImgTec? 
  
  I'm sure all generic fixes were forward ported, but notice that the
  driver in Fremantle is a bit old compared to the upstream.
 
 Thanks for the quick response Kimmo,
 
 So as I expected, any reason why ImgTec decided not to take this into
 their TI driver pack? 

Janusz, do you know/remember?

 I've currently got most things ported correctly using your xorg server.
 Just doing the big part of porting your kernel changes to 2.6.33.

Cool :)

-Kimmo

 Best Regards,

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: SGX library modifications?

2010-04-01 Thread Ahmed Ammar
On Thu, 2010-04-01 at 11:05 +0300, Kimmo Hämäläinen wrote:
  I've currently got most things ported correctly using your xorg server.
  Just doing the big part of porting your kernel changes to 2.6.33.

Kimmo,

I've ported the pvr stuff to the 2.6.33 kernel but I'm now hitting a
problem with X:

(EE) AIGLX error: dlopen of /usr/lib/dri/pvr2d_dri.so failed (/usr/lib/dri/pvr2d
_dri.so: cannot open shared object file: No such file or directory) 
(EE) AIGLX: reverting to software rendering   

Now, I can't find pvr2d_dri.so anywhere in maemo SDK too, is X
supposed to fall back to software rendering?

Best Regards,
-- 
Ahmed A. Ammar
Senior Systems Engineer 
ConnectmeTV

email:  ahmed.am...@connectmetv.com
tel:+2010 600-5516

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


SGX library modifications?

2010-03-31 Thread Ahmed Ammar
Hello,

While trying to compile xserver-xorg-video-fbdev_0.4.0-180+0m5.tar.gz I
have come across missing definitions:

sgx_exa.c:79: error: ‘EURASIA_TAG_STRIDE_THRESHOLD’ undeclared (first
use in this function)

After further digging and installing of the maemo5 SDK I found that
these are provided by opengles-sgx-img-common-dev. And after chatting
with Stskeeps on IRC I was informed that Nokia have actually modified
the SGX libraries.

I would like to know how Nokia have managed to do so? Have they gotten
the source for the drivers from ImgTec? Are they actually different to
those available from TI? 

Would it be possible for someone to use your binaries outside the maemo
project?

Also, could this be forward ported to newer libraries from TI/ImgTec? 

Best Regards,
-- 
Ahmed A. Ammar
Senior Systems Engineer 
ConnectmeTV

email:  ahmed.am...@connectmetv.com
tel:+2010 600-5516

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: SGX library modifications?

2010-03-31 Thread Kimmo Hämäläinen
On Wed, 2010-03-31 at 15:16 +0200, ext Ahmed Ammar wrote:
 Hello,
 
 While trying to compile xserver-xorg-video-fbdev_0.4.0-180+0m5.tar.gz I
 have come across missing definitions:
 
 sgx_exa.c:79: error: ‘EURASIA_TAG_STRIDE_THRESHOLD’ undeclared (first
 use in this function)
 
 After further digging and installing of the maemo5 SDK I found that
 these are provided by opengles-sgx-img-common-dev. And after chatting
 with Stskeeps on IRC I was informed that Nokia have actually modified
 the SGX libraries.
 
 I would like to know how Nokia have managed to do so? Have they gotten
 the source for the drivers from ImgTec? Are they actually different to
 those available from TI? 

Yes, we had access to the source code, but mostly the modifications were
done by ImgTec developers.

 Would it be possible for someone to use your binaries outside the maemo
 project?

I guess if the SGX chip is the same (and you have compatible X parts).

 Also, could this be forward ported to newer libraries from TI/ImgTec? 

I'm sure all generic fixes were forward ported, but notice that the
driver in Fremantle is a bit old compared to the upstream.

-Kimmo

 
 Best Regards,

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: SGX library modifications?

2010-03-31 Thread Ahmed Ammar
On Wed, 2010-03-31 at 18:18 +0300, Kimmo Hämäläinen wrote:
 On Wed, 2010-03-31 at 15:16 +0200, ext Ahmed Ammar wrote:
  Hello,
  
  While trying to compile xserver-xorg-video-fbdev_0.4.0-180+0m5.tar.gz I
  have come across missing definitions:
  
  sgx_exa.c:79: error: ‘EURASIA_TAG_STRIDE_THRESHOLD’ undeclared (first
  use in this function)
  
  After further digging and installing of the maemo5 SDK I found that
  these are provided by opengles-sgx-img-common-dev. And after chatting
  with Stskeeps on IRC I was informed that Nokia have actually modified
  the SGX libraries.
  
  I would like to know how Nokia have managed to do so? Have they gotten
  the source for the drivers from ImgTec? Are they actually different to
  those available from TI? 
 
 Yes, we had access to the source code, but mostly the modifications were
 done by ImgTec developers.
 
  Would it be possible for someone to use your binaries outside the maemo
  project?
 
 I guess if the SGX chip is the same (and you have compatible X parts).
 
  Also, could this be forward ported to newer libraries from TI/ImgTec? 
 
 I'm sure all generic fixes were forward ported, but notice that the
 driver in Fremantle is a bit old compared to the upstream.

Thanks for the quick response Kimmo,

So as I expected, any reason why ImgTec decided not to take this into
their TI driver pack? 

I've currently got most things ported correctly using your xorg server.
Just doing the big part of porting your kernel changes to 2.6.33.

Best Regards,
-- 
Ahmed A. Ammar
Senior Systems Engineer 
ConnectmeTV

email:  ahmed.am...@connectmetv.com
tel:+2010 600-5516

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers