All of lore.kernel.org
 help / color / mirror / Atom feed
* Fw:  Very low performance when streaming textures
@ 2013-01-22  5:33 Ben Widawsky
  2013-01-22  8:35 ` Zhang, Xiong Y
  0 siblings, 1 reply; 3+ messages in thread
From: Ben Widawsky @ 2013-01-22  5:33 UTC (permalink / raw)
  To: mesa-dev; +Cc: intel-gfx

mesa-dev is a better place for this question.

Begin forwarded message:

Date: Mon, 21 Jan 2013 22:13:34 +0100
From: Marcel Witte <wittemar@gmail.com>
To: intel-gfx@lists.freedesktop.org
Subject: [Intel-gfx] Very low performance when streaming textures


Hi,

I'm refering to the example of this article about streaming textures
and using Pixel Buffer Objects: http://www.songho.ca/opengl/gl_pbo.html

The PBO Unpack example
(http://www.songho.ca/opengl/files/pboUnpack.zip) is creating an
"animated texture" and can switch between three modes: Direct
transfering of the texture using glTexSubImage2D, and using one or two
PBOs for better performance.

I'm running this example on an notebook with an Intel Core i7-2630QM
and an Nvidia Geforce GT 550M with Optimus. If I'm using the Nvidia
card using optirun I get the expected high performance, using direct
tranfer about 150 fps and using PBOs about 400 fps. But if I'm using
the intel card I get really slow rates, about 40 fps in direct mode and
even worse about 10 fps using PBOs.

Running the same example with windows I get about 100 fps using the
intel card in every mode.

Is this expected behaviour or is this a bug in the intel linux driver?
How can I improve the performance? I hope you can help me here as I'm
writing a real application using a video as texture.

Regards,
Marcel Witte
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Fw:  Very low performance when streaming textures
  2013-01-22  5:33 Fw: Very low performance when streaming textures Ben Widawsky
@ 2013-01-22  8:35 ` Zhang, Xiong Y
  2013-01-22 18:56   ` [Intel-gfx] " Marcel Witte
  0 siblings, 1 reply; 3+ messages in thread
From: Zhang, Xiong Y @ 2013-01-22  8:35 UTC (permalink / raw)
  To: mesa-dev@lists.freedesktop.org; +Cc: intel-gfx@lists.freedesktop.org

Using the latest mesa master tree, I test it on my Core i7-2600 : 

1)  In default configuration, the monitor's refresh rate is 60FPS, so the test result is 59.3 FPS
2)  export vblank_mode = 0, then the test result is 170 FPS.
I don't see the big difference between using direct transfer or using PBO, the test result almost is the same on these two cases.

thanks

-----Original Message-----
From: intel-gfx-bounces+xiong.y.zhang=intel.com@lists.freedesktop.org [mailto:intel-gfx-bounces+xiong.y.zhang=intel.com@lists.freedesktop.org] On Behalf Of Ben Widawsky
Sent: Tuesday, January 22, 2013 1:34 PM
To: mesa-dev@lists.freedesktop.org
Cc: intel-gfx@lists.freedesktop.org
Subject: [Intel-gfx] Fw: Very low performance when streaming textures

mesa-dev is a better place for this question.

Begin forwarded message:

Date: Mon, 21 Jan 2013 22:13:34 +0100
From: Marcel Witte <wittemar@gmail.com>
To: intel-gfx@lists.freedesktop.org
Subject: [Intel-gfx] Very low performance when streaming textures


Hi,

I'm refering to the example of this article about streaming textures and using Pixel Buffer Objects: http://www.songho.ca/opengl/gl_pbo.html

The PBO Unpack example
(http://www.songho.ca/opengl/files/pboUnpack.zip) is creating an "animated texture" and can switch between three modes: Direct transfering of the texture using glTexSubImage2D, and using one or two PBOs for better performance.

I'm running this example on an notebook with an Intel Core i7-2630QM and an Nvidia Geforce GT 550M with Optimus. If I'm using the Nvidia card using optirun I get the expected high performance, using direct tranfer about 150 fps and using PBOs about 400 fps. But if I'm using the intel card I get really slow rates, about 40 fps in direct mode and even worse about 10 fps using PBOs.

Running the same example with windows I get about 100 fps using the intel card in every mode.

Is this expected behaviour or is this a bug in the intel linux driver?
How can I improve the performance? I hope you can help me here as I'm writing a real application using a video as texture.

Regards,
Marcel Witte
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Intel-gfx] Fw: Very low performance when streaming textures
  2013-01-22  8:35 ` Zhang, Xiong Y
@ 2013-01-22 18:56   ` Marcel Witte
  0 siblings, 0 replies; 3+ messages in thread
From: Marcel Witte @ 2013-01-22 18:56 UTC (permalink / raw)
  To: mesa-dev; +Cc: intel-gfx

Thanks for your testing. Can you give me any hints why the performance is so bad on my System?

I'm using openSUSE 12.2, Mesa 9.0.1, the latest xf86-video-intel and Kernel 3.7.3

Am Dienstag, 22. Januar 2013 schrieb Zhang, Xiong Y <xiong.y.zhang@intel.com>:
> Using the latest mesa master tree, I test it on my Core i7-2600 : 
> 
> 1)  In default configuration, the monitor's refresh rate is 60FPS, so the test result is 59.3 FPS
> 2)  export vblank_mode = 0, then the test result is 170 FPS.
> I don't see the big difference between using direct transfer or using PBO, the test result almost is the same on these two cases.
> 
> thanks
> 
> -----Original Message-----
> From: intel-gfx-bounces+xiong.y.zhang=intel.com@lists.freedesktop.org [mailto:intel-gfx-bounces+xiong.y.zhang=intel.com@lists.freedesktop.org] On Behalf Of Ben Widawsky
> Sent: Tuesday, January 22, 2013 1:34 PM
> To: mesa-dev@lists.freedesktop.org
> Cc: intel-gfx@lists.freedesktop.org
> Subject: [Intel-gfx] Fw: Very low performance when streaming textures
> 
> mesa-dev is a better place for this question.
> 
> Begin forwarded message:
> 
> Date: Mon, 21 Jan 2013 22:13:34 +0100
> From: Marcel Witte <wittemar@gmail.com>
> To: intel-gfx@lists.freedesktop.org
> Subject: [Intel-gfx] Very low performance when streaming textures
> 
> 
> Hi,
> 
> I'm refering to the example of this article about streaming textures and using Pixel Buffer Objects: http://www.songho.ca/opengl/gl_pbo.html
> 
> The PBO Unpack example
> (http://www.songho.ca/opengl/files/pboUnpack.zip) is creating an "animated texture" and can switch between three modes: Direct transfering of the texture using glTexSubImage2D, and using one or two PBOs for better performance.
> 
> I'm running this example on an notebook with an Intel Core i7-2630QM and an Nvidia Geforce GT 550M with Optimus. If I'm using the Nvidia card using optirun I get the expected high performance, using direct tranfer about 150 fps and using PBOs about 400 fps. But if I'm using the intel card I get really slow rates, about 40 fps in direct mode and even worse about 10 fps using PBOs.
> 
> Running the same example with windows I get about 100 fps using the intel card in every mode.
> 
> Is this expected behaviour or is this a bug in the intel linux driver?
> How can I improve the performance? I hope you can help me here as I'm writing a real application using a video as texture.
> 
> Regards,
> Marcel Witte
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-01-22 18:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-22  5:33 Fw: Very low performance when streaming textures Ben Widawsky
2013-01-22  8:35 ` Zhang, Xiong Y
2013-01-22 18:56   ` [Intel-gfx] " Marcel Witte

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.