Jump to content

opengl in osx


  • Please log in to reply
34 replies to this topic

#1
Alex DeWolf

Alex DeWolf

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 313 posts
  • Gender:Male
  • Location:San Diego California USA
Hello all:
I have an Asus F8SN with a Nvidia 9500M with 512MB VRAM. I got 10.5.4 installed and working with QE/CI support using the latest NVinject. However the OPENGL support is really slow. How can I get topengl working properly?

Alex

#2
spanakorizo

spanakorizo

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 747 posts
how do u know is slow?

#3
Alex DeWolf

Alex DeWolf

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 313 posts
  • Gender:Male
  • Location:San Diego California USA

how do u know is slow?


I think the attached image shows pretty slow opengl tests. Also HalfLife2 on Crossover is really slow on this machine, on a Mac Book with the ATI X3100 it is much smoother and faster.

Alex

Attached Files



#4
Slice

Slice

    InsanelyMacaholic

  • Local Moderators
  • 3,016 posts
  • Gender:Male
  • Location:Moscow

I think the attached image shows pretty slow opengl tests. Also HalfLife2 on Crossover is really slow on this machine, on a Mac Book with the ATI X3100 it is much smoother and faster.

Alex

OpenGL Extension Viewer is a strange program. As well as XBench. Better try Open Mark and Cinebench.
Crossover uses windows drivers so I doubt it can run fast OpenGL.
What is ATI X3100? May be you mean Intel X3100?

It would be nice if you publish your config

sudo -s
kextstat >kextstatDeWolf.txt
ioreg -l -x -w 2048 >ioregDeWolf.txt



#5
aqua-mac

aqua-mac

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 839 posts
  • Gender:Male
  • Location:England
Can you show your info from system profiler under the section Graphics card. I doubt very much that you do actually have QE or CI enabled.

#6
mitch_de

mitch_de

    InsanelyMacaholic

  • Retired
  • 2,885 posts
  • Gender:Male
  • Location:Stuttgart / Germany

OpenGL Extension Viewer is a strange program. As well as XBench. Better try Open Mark and Cinebench.
Crossover uses windows drivers so I doubt it can run fast OpenGL.
What is ATI X3100? May be you mean Intel X3100?

It would be nice if you publish your config


No, OpenGL Extensions Viewer benches are very good and reliable - much better than Xbench, where GMA950 are faster than ATI 2600XT!!!! Xbench OpenGL values are for the trash (rest of valuesa are OK).

Perhaps you use Softwarerendering mode (CPU) , not hardware OpenGL mode(GPU)!
how check if sw rendering (CPU!!) or hw (GPU) rendering:
Look in TAB Extensions , there should NOT be an Apple Software Renderer .... Rendering, insted Intel GMA X3100 Renderer (HW)
I posted my ATI HD3850 Info : Renderer: ATI..... (GPU) and my Bench Vales at 1600x1200/32 Bit/BenchMode
Also in the test this is shown upper left corner Renderer:

If it shows Intel GMA X3100 then all is right, i would set the framebuffer as standard).
X3100 isnt so fast in higer resolution - as yours.

Attached Files



#7
Alex DeWolf

Alex DeWolf

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 313 posts
  • Gender:Male
  • Location:San Diego California USA
Attached is the system profiler screen shot, ioreg and kext txt files. Thanks for everyone's help.

Alex DeWolf

Attached Files



#8
Cheops

Cheops

    InsanelyMac Protégé

  • Members
  • PipPip
  • 67 posts
Try setting one of your corners in expose to put the display to sleep then re awake it and re-run the tests

Ade.

#9
Alex DeWolf

Alex DeWolf

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 313 posts
  • Gender:Male
  • Location:San Diego California USA

No, OpenGL Extensions Viewer benches are very good and reliable - much better than Xbench, where GMA950 are faster than ATI 2600XT!!!! Xbench OpenGL values are for the trash (rest of valuesa are OK).

Perhaps you use Softwarerendering mode (CPU) , not hardware OpenGL mode(GPU)!
how check if sw rendering (CPU!!) or hw (GPU) rendering:
Look in TAB Extensions , there should NOT be an Apple Software Renderer .... Rendering, insted Intel GMA X3100 Renderer (HW)
I posted my ATI HD3850 Info : Renderer: ATI..... (GPU) and my Bench Vales at 1600x1200/32 Bit/BenchMode
Also in the test this is shown upper left corner Renderer:

If it shows Intel GMA X3100 then all is right, i would set the framebuffer as standard).
X3100 isnt so fast in higer resolution - as yours.


Well what I was saying is that it seems like rendering on my Asus laptop with the Nvidia 9500M and 512MB VRAM is slower than my Mac Book with the Intel (sorry not ATI) X3100 with shared memory.
Here is a screenshot of the extensions tab.

Thanks
Alex

Attached Files



#10
Cheops

Cheops

    InsanelyMac Protégé

  • Members
  • PipPip
  • 67 posts
See my post above!

Ade.

#11
Alex DeWolf

Alex DeWolf

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 313 posts
  • Gender:Male
  • Location:San Diego California USA

Try setting one of your corners in expose to put the display to sleep then re awake it and re-run the tests

Ade.


I did this and no change.

Alex

Attached Files



#12
Cheops

Cheops

    InsanelyMac Protégé

  • Members
  • PipPip
  • 67 posts
Does anything else seem smoother?

Ade.

#13
Alex DeWolf

Alex DeWolf

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 313 posts
  • Gender:Male
  • Location:San Diego California USA

Does anything else seem smoother?

Ade.

Nope.

Alex

#14
Headrush69

Headrush69

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,441 posts

No, OpenGL Extensions Viewer benches are very good and reliable - much better than Xbench, where GMA950 are faster than ATI 2600XT!!!! Xbench OpenGL values are for the trash (rest of valuesa are OK).

They are both useless for any kind of real world benchmarking.

Using these the apps the results between my Geforce 7900GS and Geforce 8800GTX were hardly substantial. (and to average joe meaningless)
But any in game experience with 3D was incredibly dramatic. Using a benchmark tool like Santaduck's UT2004 tool showed the difference.

They are useful for things like noticing when hardware acceleration is or isn't working and maybe a rough level of performance, but other than that, not much.

#15
Alex DeWolf

Alex DeWolf

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 313 posts
  • Gender:Male
  • Location:San Diego California USA

Try setting one of your corners in expose to put the display to sleep then re awake it and re-run the tests

Ade.


Well check this out. There is an almost 10 fold speed improvement in the opengl test (1st screenshot is before and 2nd is after) However, HalfLife2 is still choppy.

Alex

Attached Files



#16
Alex DeWolf

Alex DeWolf

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 313 posts
  • Gender:Male
  • Location:San Diego California USA
bump

#17
mitch_de

mitch_de

    InsanelyMacaholic

  • Retired
  • 2,885 posts
  • Gender:Male
  • Location:Stuttgart / Germany

They are both useless for any kind of real world benchmarking.

Using these the apps the results between my Geforce 7900GS and Geforce 8800GTX were hardly substantial. (and to average joe meaningless)
But any in game experience with 3D was incredibly dramatic. Using a benchmark tool like Santaduck's UT2004 tool showed the difference.

They are useful for things like noticing when hardware acceleration is or isn't working and maybe a rough level of performance, but other than that, not much.

Then try it at higer res or (above 2000x1400 - like gamemagazines testresolutions), better aktivate the FSAA (Multisampling) to 4 or 8.
You will see a BIG difference between both cards !!!
FSAA ist very hard work for GPU and also VRAM-Speed. OpenGL driver differences and CPU-Limits have not more such a big effect aktivating FSAA*4 or FSAA*8.
ALSO:
real word game benches ahve some MINUS:
- much more CPU + RAM dependend - bad comparable between different CPU + RAM systems
- an GPU which wins GOLD on UNREAL may not get any upper place (means loose) in an other game bench (Crysis)
- its too much work to get an GPU value which is only comparable for systems with SAME MB RAM, SAME CPU TYPE, SAME CPU GHZ
conclusion:
real world benches are only great for testing GPUs in ONE system and it is a must to test at least 3 differnet real world games to get an good average bench value.
Game Magazines or HW Mags tests this way - one test pc , 3 games, 10 cards. To much work and not possible for us - complete different CPU+RAM systems, noone has chance to have 3+ realword games with same resolution, same game settings,...
Running OpenGLExtensionsViewer Benches (switching on FSAA at least *2, newer cards *4 or *8) helps here really for "homeuser GPU tests".

#18
Cheops

Cheops

    InsanelyMac Protégé

  • Members
  • PipPip
  • 67 posts
So it is proven that on laptops there are problems getting the nvidia hardware activated. Even though it says hardware accelorated the fact is it lies and isn't true so beware laptop users with nvidia cards we need a fix for this ASAP.

Thanks

Ade

#19
mitch_de

mitch_de

    InsanelyMacaholic

  • Retired
  • 2,885 posts
  • Gender:Male
  • Location:Stuttgart / Germany

So it is proven that on laptops there are problems getting the nvidia hardware activated. Even though it says hardware accelorated the fact is it lies and isn't true so beware laptop users with nvidia cards we need a fix for this ASAP.

Thanks

Ade

To check this you can test with OpenGLExtensionvierer the results from "hw opengl" and Apple Software Rendering".
If the two OpenGLExtemsiomsViewer Benchmark values are near the same hw opengl isnt really/not 100% working - even shown in systemprofiler as CI/QE card.
If HW Bench values are at least by 10* higher(faster) than SW bench values, hw opengl is working, maybe some driver glitches with your mobile gpu.
HOW: Look at my screenshoot , easy switch between those 2 modes (HW OPENGL / Apple Softwarerendering).

My ATI3850 is in Apple Software Rendering Mode > 200 Times (openGl 1.1 -2.0) SLOWER than HW Rendering, At 2.1 20 times faster. Running in my res: 1600x1200/ 32 Bit, C2D 2.4 GHZ. The smaller the resolution or faster the CPU, the less the difference between both modes.
So your Mobile GPUs should be at very least 20 times faster in HW OpenGL Mode in all is OK, or even 10 times faster with some OpenGL driver problems.

Attached Files



#20
Alex DeWolf

Alex DeWolf

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 313 posts
  • Gender:Male
  • Location:San Diego California USA

To check this you can test with OpenGLExtensionvierer the results from "hw opengl" and Apple Software Rendering".
If the two OpenGLExtemsiomsViewer Benchmark values are near the same hw opengl isnt really/not 100% working - even shown in systemprofiler as CI/QE card.
If HW Bench values are at least by 10* higher(faster) than SW bench values, hw opengl is working, maybe some driver glitches with your mobile gpu.
HOW: Look at my screenshoot , easy switch between those 2 modes (HW OPENGL / Apple Softwarerendering).

My ATI3850 is in Apple Software Rendering Mode > 200 Times (openGl 1.1 -2.0) SLOWER than HW Rendering, At 2.1 20 times faster. Running in my res: 1600x1200/ 32 Bit, C2D 2.4 GHZ. The smaller the resolution or faster the CPU, the less the difference between both modes.
So your Mobile GPUs should be at very least 20 times faster in HW OpenGL Mode in all is OK, or even 10 times faster with some OpenGL driver problems.

OK I ran this first using Apple software rendering then Nvidia's open GL engine. Ineed the Apple software rendering is like 100 times slower. What I am wondering about are the numbers for the last 2 tests. Is this why HalfLife2 is so slow?

Alex

Attached Files







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy