Hi,
I have an ati 9800pro card on my computer which is double-boot with
both linux and windows. I compiled my program on both linux and
windows sides. With exact same souce code, I got pretty different
rendering results. On Windows side, it is much slower. I installed the
driver from ati on both linux and windows side.
My assumption about the performance difference is that, ati linux
driver directly replaced system opengl libraries, like libGL.so.1,
etc. But on windows side, a new dll (atioglxx.dll) was placed in
system32 directory. The microsoft opengl32.dll is still used in my
program linking. I could replace every opengl32.dll with atioglxx.dll,
but I don't have opengl32.lib to link against.
What do I missed for windows opengl programming using ati (or
nvidia) opengl library?
Thanks.
-Feng
|
|
0
|
|
|
|
Reply
|
mafeng (1)
|
7/16/2004 5:39:22 PM |
|
"Feng Ma" <mafeng@gmail.com> wrote in message
news:1ede493d.0407160939.797fd2ca@posting.google.com...
> What do I missed for windows opengl programming using ati (or
> nvidia) opengl library?
Have you disabled "wait for vertical sync" on your
Windows machine?
--
Dave Eberly
http://www.magic-software.com
|
|
0
|
|
|
|
Reply
|
Dave
|
7/16/2004 5:54:44 PM
|
|
Feng Ma wrote:
>
> My assumption about the performance difference is that, ati linux
> driver directly replaced system opengl libraries, like libGL.so.1,
> etc. But on windows side, a new dll (atioglxx.dll) was placed in
> system32 directory. The microsoft opengl32.dll is still used in my
> program linking. I could replace every opengl32.dll with atioglxx.dll,
> but I don't have opengl32.lib to link against.
>
Opengl32.dll is never replaced, it's just a bridge to
the underlying drivers. It's not the source of your
problem.
What difference in speed are you seeing? Actual numbers
would help...
> What do I missed for windows opengl programming using ati (or
> nvidia) opengl library?
>
Nothing, that's the way it works on Windows.
--
<\___/>
/ O O \
\_____/ FTB. For email, remove my socks.
Governments, like diapers, should be changed often,
and for the same reason.
|
|
0
|
|
|
|
Reply
|
fungus
|
7/16/2004 10:50:18 PM
|
|
Feng Ma wrote:
> Hi,
>
> I have an ati 9800pro card on my computer which is double-boot with
> both linux and windows. I compiled my program on both linux and
> windows sides. With exact same souce code, I got pretty different
> rendering results. On Windows side, it is much slower. I installed the
> driver from ati on both linux and windows side.
>
> My assumption about the performance difference is that, ati linux
> driver directly replaced system opengl libraries, like libGL.so.1,
> etc. But on windows side, a new dll (atioglxx.dll) was placed in
> system32 directory. The microsoft opengl32.dll is still used in my
> program linking. I could replace every opengl32.dll with atioglxx.dll,
> but I don't have opengl32.lib to link against.
>
> What do I missed for windows opengl programming using ati (or
> nvidia) opengl library?
>
> Thanks.
>
> -Feng
Two things to check :
1. As noted by a previous poster, check your Display Properties in
windows to see if 'wait for vertical sync' is enabled. If it is, you
should be getting somethign like 60 FPS (or whatever the refresh
frequency of your monitor is).
2. A little bit more obscure but, are you running Windows on 16 bit
depth? I've had a case where I was requesting a 24 bit depth buffer and
8 bit stencil, but I was running at 16bit color. I think the library I
was using (SDL) didn't give an error, but emulated the depth/stencil in
software....resulting in very poor performance!
|
|
0
|
|
|
|
Reply
|
Morfeas
|
7/22/2004 9:30:31 AM
|
|
|
3 Replies
393 Views
(page loaded in 0.341 seconds)
Similiar Articles: Question with linking program with ATI opengl library - comp ...Hi, I have an ati 9800pro card on my computer which is double-boot with both linux and windows. I compiled my program on both linux and windows sid... combining GLEW, OpenInventor, SoQt, Qt and OpenGL - comp.graphics ...Question with linking program with ATI opengl library - comp ... combining GLEW, OpenInventor, SoQt, Qt and OpenGL - comp.graphics ..... be a conflict in the libraries? Cards with partial GLSL support - comp.graphics.api.opengl ...Question with linking program with ATI opengl library - comp ... Cards with partial GLSL support - comp.graphics.api.opengl ... Do you've GLSL experience with the ATI 9600? WANTED: OpenGL 2D plotting library - comp.graphics.api.opengl ...Question with linking program with ATI opengl library - comp ..... graphics.api.opengl ... <flamebait> Go, ATI, go, show it to these GNU/Linux/OpenGL supporting ... OpenGL without window system? - comp.graphics.api.opengl ...Question with linking program with ATI opengl library - comp ... Question with linking program with ATI opengl library - comp ... OpenGL without window system? - comp ... speed up software emulated OpenGL - comp.graphics.api.opengl ...Question with linking program with ATI opengl library - comp ..... linux driver directly replaced system opengl ... What difference in speed are you seeing ... using ... How can I Compile this program using the alias Cgfx? - comp.lang.c ...Question with linking program with ATI opengl library - comp ... Post Question | ... How can I Compile this program using the alias ... help about glsl - comp.graphics.api ... Link and Anchor, what is the difference ??? - comp.lang.javascript ...Question with linking program with ATI opengl library - comp ... My assumption about the performance difference is that, ati linux driver directly ... every opengl32.dll ... Java 3D visualization library? - comp.lang.java.programmer ...... Post Question | Groups ... Graph layout libraries - comp.lang.java.gui... linking program with ATI opengl library ... Linker Error: cannot find -lGL [in Cygwin] - comp.graphics.api ...... theres' a straightforward answer to this question. I'm trying to link an object file (main.o) with the OpenGL libraries ... that glut32.dll to glut.dll, so that the program ... Question with linking program with ATI opengl library - comp ...Hi, I have an ati 9800pro card on my computer which is double-boot with both linux and windows. I compiled my program on both linux and windows sid... GLUT and OpenGL Utility LibrariesPlease refer to the OpenGL Registry for more information and links; GLU Library. GLU is the OpenGL Utility Library. This is a set of functions to create texture mipmaps from a ... 7/21/2012 5:08:47 PM
|