Results 1 to 3 of 3

Thread: The glReadPixel is slow in ATI X300 series card!!

  1. #1
    Senior Member Regular Contributor
    Join Date
    Dec 2002
    Posts
    120

    The glReadPixel is slow in ATI X300 series card!!

    I find something strange with my graphic card.
    My computer system is

    1GB DDR2 ram.
    Pentium 4 3.00GB.
    ATI X300 series.

    I try to read a block of pixel with the glReadPixel functions but it was very slow. It takes about 0.2 second to read a block of 1024*1024 pixels.

    So I check the setting of my graphics driver and there are 3 options for the "z-buffer". 1)Force 24 bit. 2)Force 16 bit. 3) Disable. The default setting is Disable. So I try to set it to 16 bits and now the glReadPixel works fine in this mode (about 0.015 second). But another problem exist. I render a few line of text using the font that created by wglUseFontOutlines. The text is 100 length and 10 lines so its about 1000 characters. The rendering of these text is very slow and about 8 fps. I change the z-buffer setting back to disable and the rendering of text is fast now but glReadPixels is slow. I run the same program in anothor computer system.

    Pentium III 700
    384 Sd Ram
    Geforce Ti 4200.

    The both text rendering and glReadPixel are fast under this computer system.

    Can anyone explain why would this happen and any solution?

  2. #2
    Senior Member OpenGL Pro Zengar's Avatar
    Join Date
    Sep 2001
    Location
    Germany
    Posts
    1,931

    Re: The glReadPixel is slow in ATI X300 series card!!

    First of all, it is very possible that your context with 16-bit z-buffer uses software rendering. What about full depth-buffer(24-bit)? Also, readback (AFAIK particularly on ATI cards) was always slow. Maybe you should try updating your drivers or using the Gl_arb_pixel_buffer_object
    extension (if supported ).

  3. #3
    Senior Member Regular Contributor
    Join Date
    Dec 2002
    Posts
    120

    Re: The glReadPixel is slow in ATI X300 series card!!

    You are right Zengar, after update the latest graphic driver it solve the problem. Thanks.

Similar Threads

  1. OpenCL slow compiling on AMD card
    By Gopal_HC in forum OpenCL
    Replies: 4
    Last Post: 01-02-2013, 04:31 AM
  2. Anyone here have an Radeon 5k series card?
    By Mars_999 in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 12-30-2009, 08:22 AM
  3. Slow shaders on RADEON X300/X550 Series (128 MB)
    By devdept in forum OpenGL: GLSL
    Replies: 8
    Last Post: 06-02-2009, 10:16 AM
  4. glReadPixel and volume rendering - SLOW!!
    By in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 02-23-2006, 01:35 AM
  5. glTexSubImage2D() REALLY slow on a GeForce2 card....HELP
    By TheGecko in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 07-05-2000, 05:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean