[GEM-dev] Problem with textures on Ubuntu

chris clepper cgclepper at gmail.com
Thu Jun 25 17:14:47 CEST 2009


You are just going to have to test it.  On OSX video textures that are
multiples of 16 have been twice as efficient or more.

On Thu, Jun 25, 2009 at 11:10 AM, Jack <jack at rybn.org> wrote:

> Hello Chris,
> Excuse me to come back on this question. But can you help me about width
> image size and drivers ? Do you know if there is optimization with the
> NVidia driver 180.44 and images with size multiple of 16 px in width ? If
> the answer is yes, i have to resize my images because i use 768 textures
> with different size at 4 fps (enough for me but if i can optimize, why not
> ;). (I use GeForce 9700M GTS on Ubuntu 9.04).
> Thanx.
> ++
>
> Jack
>
>
> Le 24 juin 09 à 16:55, Jack a écrit :
>
> Thanx Chris, but the solution given by Iohannes seems to work perfectly.However,
> is it better for performance to give to an image a width multiple of
> 16 in any cases or not ?
> I use the last NVidia driver 180.44 on Ubuntu 9.04.
> ++
>
> Jack
>
>
> Le 24 juin 09 à 16:32, chris clepper a écrit :
>
> On Wed, Jun 24, 2009 at 8:53 AM, Jack <jack at rybn.org> wrote:
>
>>
>> However, there is something very strange if it's about memory because on
>> my MacPro 2x2.66 GHz Dual-Core Intel Xeon, i have only 256 MB on the GPU and
>> all works fine on it (only 2 fps but it is not so slow).
>> The size of the images are between 127x108 and 72x123 pixels (so the total
>> size at 24bit is near 12 MB ! : 127x108x3x300/1048576 = 11.77 MB).
>>
>
> Most of the drivers have optimizations for images that are a multiple of 16
> in width, so maybe try using 128 pixel wide images and see if that helps.
>
>
> _______________________________________________
> GEM-dev mailing list
> GEM-dev at iem.at
> http://lists.puredata.info/listinfo/gem-dev
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20090625/2ba984a0/attachment.htm>


More information about the GEM-dev mailing list