poor nvidia 3d performance

Asked by hadi

hi
ive bought a new laptop from dell ( studio xps 1340 ) that shipped with vista as the default os .
i realized that the gameplay of doom3 under vista is very smoother than linux . and then i ran the lightsmark 3d benchmark
to see how ubuntu will perform . and here the results of benchmark :

Vista :

This is Lightsmark 2008 [Windows 64bit] log. Check it if benchmark doesn't work properly.

Started: "C:\Users\Hadi\Desktop\Lightsmark2008.2.0\bin\x64\backend.exe" in C:\Users\Hadi\Desktop\Lightsmark2008.2.0\bin\x64

Warning: Failed to set default 1280x1024 fullscreen, falling back to 1024x768 fullscreen.

Penumbra quality: 8/8 on GeForce G210M/PCI/SSE2.

Loading Lightsmark2008.cfg...

  Loading objects/I_Robot_female_HD.3DS...

  Loading scenes/wop_padattic/wop_padatticBB.ani...

  Detection quality: auto->high.

  Loading scene scenes/wop_padattic/wop_padatticBB.bsp...

Finished, average fps = 120.72.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

UBUNTU :

This is Lightsmark 2008 [Linux 64bit] log. Check it if benchmark doesn't work properly.
Failed to set default 1280x1024 fullscreen, falling back to 1024x768 fullscreen.
Penumbra quality: 8/8 on GeForce 9400M G/PCI/SSE2.
Loading Lightsmark2008.cfg...
  Loading objects/I_Robot_female_HD.3DS...
  Loading scenes/wop_padattic/wop_padatticBB.ani...
  Detection quality: auto->high.
  Loading scene scenes/wop_padattic/wop_padatticBB.bsp...
Finished, average fps = 75.48.

as you can see the average fps in vista is 120.72 and in ubuntu is about 75
why ?????????????????????

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu xserver-xorg-video-nv Edit question
Assignee:
No assignee Edit question
Solved by:
hadi
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Microsoft are a multi billion dollar corporation so support for them is massive. You luckily have an nvidia whom love linux and make excellent driver (althouugh are closed source so purists moan they aren't open)

Windows has a level of abstraction called DirectX which handles a lot of the game APIs (including video) which makes the platform very easy to code for, coders can simply throw data at directx with a few simple commands and it will do it. Linux does not have this but sticks rigidly to market standards which microsoft do not.

Although the app may appear to be the same name, the quality of coding may be less on one app so performance may be lesser.

75 fps is by no means bad, a standard television set runs at about 24 fps and looks fine, you brain simply cannot percieve fast enough so as a human you will not see a difference between the 2. You may want to tweak the video drivers to force low antialiasing or lesser colour depth to achieve higher frames, you may also want to compile the testing tool so it is super optomised for your systen ratehr than a generic compile which is intended for all available systems using the same architecture as you (AMD64)

Revision history for this message
hadi (modarres-zadeh-gmail) said :
#2

Thanks for the answer

Im not talking about DirectX , im talking about an open source 3d benchmark program that uses OpenGL API called Lightsmark . the game doom 3 is written in OpenGL too .
I know 75 fps is not that bad but it doesnt show anything . when it comes to real applications the fps in ubuntu sometimes
drops to 30 for example while in vista its about 60 and still usable . the numbers 75 and 120 just show that my laptop performance
in 3d applications under vista is much better than in linux .
when i set the powersaving mode to powersaver in vista the benchmark result is nearly the same as ubuntu .

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

interesting how its the same, is your laptop set to powersaving mode when you ran the test?

Revision history for this message
hadi (modarres-zadeh-gmail) said :
#4

vista in high performance : 120.72
vista in powersave : 73
ubuntu in high performance mode : 75.48
ubuntu in powersave : i dont know , maybe with the average of 25

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Thats all I got. I play frets on fire and penumbra on my 6150 onboard nvidia with the 190 driver and its fine. I use a 1.6Ghz AMD64 Sempron Soc AM2 with 2Gb DDR2 RAM with a SATA HDD.

Not exactly blinding fast, try the 190 driver from the nvidia PPA, you may get better results:
https://launchpad.net/~nvidia-vdpau/+archive/ppa

Revision history for this message
hadi (modarres-zadeh-gmail) said :
#6

i am currently using the 195.30 version of nvidia driver . (Beta)
i tested the 190.XX and result was the same .
what do you mean "fine" ? vista has twice as the 3d performance of ubuntu and its not fine at all for me if i want to play .

thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

Fine as in, it runs well and gives a decent number of frames for the game. I can't think of any other way to qualify it. Maybe your card is really new and support for all its functionality is in the pipeline. I don't know what is new and old in hardware as I lost interest a long time ago. Maybe there is a logged bug with your particular chip. Have you looked into any of this?

Revision history for this message
hadi (modarres-zadeh-gmail) said :
#8

no i dont think that my hardware is too new to ubuntu . i remember when i was customizing this laptop at the dell site
dell was shipping laptops with this very same hardware configuration with ubuntu preinstalled .

Revision history for this message
hadi (modarres-zadeh-gmail) said :
#9

ok now i understand what is going on .
my laptop has two gpus . one discrete gpu (g210m) and one integrated gpu (geforce 9400m) .
and it uses the hybrid sli technology and it is currently not supported under linux .
when i set the scheme to powersaver in vista only one gpu remains active ( the integrated one) .
and thats why benchmark results in powersaver mode are the same as ubuntu because ubuntu only can use the
integrated one .

the ugly thing is that dell sells hybrid sli laptops with ubuntu on them . it means you buy a hardware and you can use
half of its real power . however mine was a vista laptop .

thank you actionparsnip .