Unix Technical Forum

SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-17-2008, 05:51 PM
jayachandran kamaraj
 
Posts: n/a
Default nvidia woes

Hi all,
My machine configuration is as follows
P4, 1.6GHz, Sony vaio desktop with 512 MB Ram and Nvidia TNT2 Video
Card.
I am running both Redhat 9 and debian woody unstable. I have 2.4.20
kernel for redhat and 2.6.1 kernel for debian.
Till 2.4.20 i was happy because the "nv" driver provided by xfree gave
a performance of 220 fps (with the help of glxgears) and when i
install binary driver from nvidia it will go upto 287 fps.
Even though it looks smaller when i read some mails in which people
claim that they get 1000 fps or something like that, but i was happy
to see some difference in the fps between the xfree driver and
original driver provided by the card manufacturer.
Back to the problem, after i installed 2.6.1 in debian first i had
some problem in installing nvidia binary because it complained about
the modversions.h file and sometime later i found about the patch from
http:://www.minion.de and used them and installed them as per their
instructions, i.e., the debian way of make-kpkg.
Now the nvidia driver gives me just 60 fps with the new kernel and
nvidia binary driver, whereas the xfree driver still gives me 220 fps.
If i go back to rh9 and check, nvidia driver gives 290 fps. FYI i use
current nvidia driver 5336.

thanks

jc
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-17-2008, 05:51 PM
The LinuxBuff
 
Posts: n/a
Default Re: nvidia woes

On Mon, 02 Feb 2004 06:02:38 -0800, jayachandran kamaraj wrote:

> Hi all,
> My machine configuration is as follows P4, 1.6GHz, Sony vaio desktop with
> 512 MB Ram and Nvidia TNT2 Video Card.
> I am running both Redhat 9 and debian woody unstable. I have 2.4.20 kernel
> for redhat and 2.6.1 kernel for debian. Till 2.4.20 i was happy because
> the "nv" driver provided by xfree gave a performance of 220 fps (with the
> help of glxgears) and when i install binary driver from nvidia it will go
> upto 287 fps. Even though it looks smaller when i read some mails in which
> people claim that they get 1000 fps or something like that, but i was
> happy to see some difference in the fps between the xfree driver and
> original driver provided by the card manufacturer. Back to the problem,
> after i installed 2.6.1 in debian first i had some problem in installing
> nvidia binary because it complained about the modversions.h file and
> sometime later i found about the patch from http:://www.minion.de and used
> them and installed them as per their instructions, i.e., the debian way of
> make-kpkg. Now the nvidia driver gives me just 60 fps with the new kernel
> and nvidia binary driver, whereas the xfree driver still gives me 220 fps.
> If i go back to rh9 and check, nvidia driver gives 290 fps. FYI i use
> current nvidia driver 5336.



I am not if the info spit out by glxgears is all that reliable. In my
system, glxgears reports some 180 fps with the XFree86 nv driver. However
when I use the 5336 nvidia driver from Nvidia it drops to a very
disappointing 50 fps. Indeed, if you look at the gears they seem to spin
much faster with the nv driver.

As it happens, if I use the 4496 nvidia driver then glxgears reports some
400 fps - which is much more satisfactory. However, the gears STILL seem
to spin much slower than with the XFree86 driver. Just as slow, in fact,
as with the 5336 driver.

I decided to test the whole setup finally with the GLX molecule
application, to be found packaged with xscreensaver. This application can
be invoked to report the fps performance, and is extremely
graphics-intensive. The results here were inambiguous: not only do both
4496 and 5336 drivers results in a much higher performance, as far as the
reported fps count is concerned (about 3 times as many fps as the XFree86
nv driver, on average), but, in addition, the molecules animation can be
clearly seen to be much smoother.

I do not know what is the matter with my glxgears, but I just don't trust
it any more. By the way, I am using 2.4.20 and 2.4.22 kernels in Slackware
9.1. My CPU is an old 1 GHz Athlon, in a VIA VT8363 motherboard.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-17-2008, 05:51 PM
Paul Black
 
Posts: n/a
Default Re: nvidia woes

jayachandran kamaraj wrote:
> Back to the problem, after i installed 2.6.1 in debian first i had
> some problem in installing nvidia binary because it complained about
> the modversions.h file and sometime later i found about the patch from
> http:://www.minion.de and used them and installed them as per their
> instructions, i.e., the debian way of make-kpkg.
> Now the nvidia driver gives me just 60 fps with the new kernel and
> nvidia binary driver, whereas the xfree driver still gives me 220 fps.
> If i go back to rh9 and check, nvidia driver gives 290 fps. FYI i use
> current nvidia driver 5336.


Have you tried the latest drivers from Nvidia? These claim to support
2.6 ...

--
Paul Black mailtoaul.black@oxsemi.com
Oxford Semiconductor Ltd http://www.oxsemi.com
25 Milton Park, Abingdon, Tel: +44 (0) 1235 824 909
Oxfordshire. OX14 4SH Fax: +44 (0) 1235 821 141
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-17-2008, 05:52 PM
Andy Baxter
 
Posts: n/a
Default Re: nvidia woes

At earth time Mon, 02 Feb 2004 06:02:38 -0800, the following transmission was received from the entity known as jayachandran kamaraj:

> Hi all,
> My machine configuration is as follows
> P4, 1.6GHz, Sony vaio desktop with 512 MB Ram and Nvidia TNT2 Video
> Card.
> I am running both Redhat 9 and debian woody unstable. I have 2.4.20
> kernel for redhat and 2.6.1 kernel for debian.
> Till 2.4.20 i was happy because the "nv" driver provided by xfree gave
> a performance of 220 fps (with the help of glxgears) and when i
> install binary driver from nvidia it will go upto 287 fps.
> Even though it looks smaller when i read some mails in which people
> claim that they get 1000 fps or something like that, but i was happy
> to see some difference in the fps between the xfree driver and
> original driver provided by the card manufacturer.
> Back to the problem, after i installed 2.6.1 in debian first i had
> some problem in installing nvidia binary because it complained about
> the modversions.h file and sometime later i found about the patch from
> http:://www.minion.de and used them and installed them as per their
> instructions, i.e., the debian way of make-kpkg.
> Now the nvidia driver gives me just 60 fps with the new kernel and
> nvidia binary driver, whereas the xfree driver still gives me 220 fps.
> If i go back to rh9 and check, nvidia driver gives 290 fps. FYI i use
> current nvidia driver 5336.
>
> thanks
>
> jc


I've been getting occasional total lockups which seem to be related to my
nvidia card - often happens if I kill X the wrong way, and it never used
to be a problem before i got that card. One problem with nvidia is
(last i heard) they don't release the card specs or release the
drivers under a free license, so you're stuck with what they're offering
if there's a problem.

I'm just downloading the latest driver, so i'll see if that's any better.

--
http://www.niftybits.ukfsn.org/

remove 'n-u-l-l' to email me. html mail or attachments will go in the spam
bin unless notified with [html] or [attachment] in the subject line.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-17-2008, 05:52 PM
Andy Baxter
 
Posts: n/a
Default Re: nvidia woes

At earth time Mon, 02 Feb 2004 06:02:38 -0800, the following transmission
was received from the entity known as jayachandran kamaraj:

> Hi all,
> My machine configuration is as follows
> P4, 1.6GHz, Sony vaio desktop with 512 MB Ram and Nvidia TNT2 Video
> Card.
> I am running both Redhat 9 and debian woody unstable. I have 2.4.20
> kernel for redhat and 2.6.1 kernel for debian.
> Till 2.4.20 i was happy because the "nv" driver provided by xfree gave
> a performance of 220 fps (with the help of glxgears) and when i
> install binary driver from nvidia it will go upto 287 fps.
> Even though it looks smaller when i read some mails in which people
> claim that they get 1000 fps or something like that, but i was happy
> to see some difference in the fps between the xfree driver and
> original driver provided by the card manufacturer.
> Back to the problem, after i installed 2.6.1 in debian first i had
> some problem in installing nvidia binary because it complained about
> the modversions.h file and sometime later i found about the patch from
> http:://www.minion.de and used them and installed them as per their
> instructions, i.e., the debian way of make-kpkg.
> Now the nvidia driver gives me just 60 fps with the new kernel and
> nvidia binary driver, whereas the xfree driver still gives me 220 fps.
> If i go back to rh9 and check, nvidia driver gives 290 fps. FYI i use
> current nvidia driver 5336.
>
> thanks
>
> jc


I've been getting system lockups, probably caused by the nvidia graphics
driver (RIVA TNT2 64 card). The crashes all seem to be from doing
something with X, like a ctrl-alt-backspace GUI shutdown, so I think it's
that. I've just installed the latest driver to see if its any better.
Maybe it will work OK, but I'm not impressed with it:

- now I'm getting a 2 second nvidia logo flash screen whenever i start X.
- the driver is released as binary only, and is a generic one for all
nvidia cards, so the kernel module and XFree86 drivers are huge (1.9 M and
559 K).
- they don't release the card specs either, from what i last heard, so
no-one can write an free driver.

altogether I'll give them a miss in the future.

--
http://www.niftybits.ukfsn.org/

remove 'n-u-l-l' to email me. html mail or attachments will go in the spam
bin unless notified with [html] or [attachment] in the subject line.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-17-2008, 05:52 PM
Andy Baxter
 
Posts: n/a
Default Re: nvidia woes

At earth time Mon, 02 Feb 2004 22:54:25 +0000, the following transmission
was received from the entity known as Andy Baxter:

> At earth time Mon, 02 Feb 2004 06:02:38 -0800, the following transmission was received from the entity known as jayachandran kamaraj:
>
>> Hi all,
>> My machine configuration is as follows
>> P4, 1.6GHz, Sony vaio desktop with 512 MB Ram and Nvidia TNT2 Video
>> Card.
>> I am running both Redhat 9 and debian woody unstable. I have 2.4.20
>> kernel for redhat and 2.6.1 kernel for debian.
>> Till 2.4.20 i was happy because the "nv" driver provided by xfree gave
>> a performance of 220 fps (with the help of glxgears) and when i
>> install binary driver from nvidia it will go upto 287 fps.
>> Even though it looks smaller when i read some mails in which people
>> claim that they get 1000 fps or something like that, but i was happy
>> to see some difference in the fps between the xfree driver and
>> original driver provided by the card manufacturer.
>> Back to the problem, after i installed 2.6.1 in debian first i had
>> some problem in installing nvidia binary because it complained about
>> the modversions.h file and sometime later i found about the patch from
>> http:://www.minion.de and used them and installed them as per their
>> instructions, i.e., the debian way of make-kpkg.
>> Now the nvidia driver gives me just 60 fps with the new kernel and
>> nvidia binary driver, whereas the xfree driver still gives me 220 fps.
>> If i go back to rh9 and check, nvidia driver gives 290 fps. FYI i use
>> current nvidia driver 5336.
>>
>> thanks
>>
>> jc

>
> I've been getting occasional total lockups which seem to be related to my
> nvidia card - often happens if I kill X the wrong way, and it never used
> to be a problem before i got that card. One problem with nvidia is
> (last i heard) they don't release the card specs or release the
> drivers under a free license, so you're stuck with what they're offering
> if there's a problem.
>
> I'm just downloading the latest driver, so i'll see if that's any better.


got it running - there's now an annoying nvidia logo flash screen when i
start X, and it won't run more than one X server at the same time.
Altogether I think i'll avoid them in future.

--
http://www.niftybits.ukfsn.org/

remove 'n-u-l-l' to email me. html mail or attachments will go in the spam
bin unless notified with [html] or [attachment] in the subject line.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-17-2008, 05:52 PM
Andy Baxter
 
Posts: n/a
Default Re: nvidia woes

At earth time Tue, 03 Feb 2004 00:16:35 +0000, the following transmission
was received from the entity known as Andy Baxter:

> At earth time Mon, 02 Feb 2004 22:54:25 +0000, the following transmission
> was received from the entity known as Andy Baxter:
>


>>
>> I've been getting occasional total lockups which seem to be related to my
>> nvidia card - often happens if I kill X the wrong way, and it never used
>> to be a problem before i got that card. One problem with nvidia is
>> (last i heard) they don't release the card specs or release the
>> drivers under a free license, so you're stuck with what they're offering
>> if there's a problem.
>>
>> I'm just downloading the latest driver, so i'll see if that's any better.

>
> got it running - there's now an annoying nvidia logo flash screen when i
> start X, and it won't run more than one X server at the same time.
> Altogether I think i'll avoid them in future.


managed to get rid of the logo (but not the flash screen) with the
following shell script:


#!/bin/bash
# removes logo from nv driver startup flash screen.
echo "patching nv driver"
cd /usr/X11R6/lib/modules/drivers
if [ `md5sum nvidia_drv.o | tr -s ' ' ' ' | cut -f1 '-d '` != "dae9d62191112964743224569b7daebb" ] ; then
echo "driver md5sum doesn't match - exiting"
exit
fi
cp nvidia_drv.o nvidia_drv.o.old
dd if=nvidia_drv.o of=/tmp/nvdrv1 bs=1 count=`printf "%d" 0x6a990`
dd if=nvidia_drv.o of=/tmp/nvdrv2 bs=1 skip=`printf "%d" 0x6d6bc`
dd if=/dev/zero of=/tmp/nvdrvzero bs=1 count=$(( `printf "%d" 0x6d6bc` - `printf "%d" 0x6a990`))
cat /tmp/nvdrv1 /tmp/nvdrvzero /tmp/nvdrv2 > nvidia_drv.o
rm /tmp/nvdrv*
echo "done"


--
http://www.niftybits.ukfsn.org/

remove 'n-u-l-l' to email me. html mail or attachments will go in the spam
bin unless notified with [html] or [attachment] in the subject line.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-17-2008, 05:52 PM
Matt H
 
Posts: n/a
Default Re: nvidia woes

Andy Baxter wrote:

> At earth time Tue, 03 Feb 2004 00:16:35 +0000, the following transmission
> was received from the entity known as Andy Baxter:
>
>> At earth time Mon, 02 Feb 2004 22:54:25 +0000, the following transmission
>> was received from the entity known as Andy Baxter:
>>

>
>>>
>>> I've been getting occasional total lockups which seem to be related to
>>> my nvidia card - often happens if I kill X the wrong way, and it never
>>> used to be a problem before i got that card. One problem with nvidia is
>>> (last i heard) they don't release the card specs or release the
>>> drivers under a free license, so you're stuck with what they're offering
>>> if there's a problem.
>>>
>>> I'm just downloading the latest driver, so i'll see if that's any
>>> better.

>>
>> got it running - there's now an annoying nvidia logo flash screen when i
>> start X, and it won't run more than one X server at the same time.
>> Altogether I think i'll avoid them in future.

>
> managed to get rid of the logo (but not the flash screen) with the
> following shell script:
>
>
> #!/bin/bash
> # removes logo from nv driver startup flash screen.
> echo "patching nv driver"
> cd /usr/X11R6/lib/modules/drivers
> if [ `md5sum nvidia_drv.o | tr -s ' ' ' ' | cut -f1 '-d '` !=
> "dae9d62191112964743224569b7daebb" ] ; then
> echo "driver md5sum doesn't match - exiting"
> exit
> fi
> cp nvidia_drv.o nvidia_drv.o.old
> dd if=nvidia_drv.o of=/tmp/nvdrv1 bs=1 count=`printf "%d" 0x6a990`
> dd if=nvidia_drv.o of=/tmp/nvdrv2 bs=1 skip=`printf "%d" 0x6d6bc`
> dd if=/dev/zero of=/tmp/nvdrvzero bs=1 count=$(( `printf "%d" 0x6d6bc` -
> `printf "%d" 0x6a990`)) cat /tmp/nvdrv1 /tmp/nvdrvzero /tmp/nvdrv2 >
> nvidia_drv.o rm /tmp/nvdrv*
> echo "done"
>
>


Sometimes it helps to read the documentation.

From <ftp://download.nvidia.com/XFree86/Linux-x86/1.0-5336/README>

__________________________________________________ ________________________

(app-d) APPENDIX D: XF86CONFIG OPTIONS
__________________________________________________ ________________________

The following driver options are supported by the NVIDIA XFree86 driver:

..skip...

Option "NoLogo" "boolean"
Disable drawing of the NVIDIA logo splash screen at
X startup. Default: the logo is drawn.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 01-17-2008, 05:52 PM
Paul Black
 
Posts: n/a
Default Re: nvidia woes

Andy Baxter wrote:
> got it running - there's now an annoying nvidia logo flash screen when i
> start X,


Easily fixable.


> and it won't run more than one X server at the same time.


Yes it will: "X :1" work fine for me.


> Altogether I think i'll avoid them in future.


Yes, that might be wise.


--
Paul Black mailtoaul.black@oxsemi.com
Oxford Semiconductor Ltd http://www.oxsemi.com
25 Milton Park, Abingdon, Tel: +44 (0) 1235 824 909
Oxfordshire. OX14 4SH Fax: +44 (0) 1235 821 141
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 01-17-2008, 05:52 PM
Thomas Richter
 
Posts: n/a
Default Re: nvidia woes

Hi,

> I've been getting system lockups, probably caused by the nvidia graphics
> driver (RIVA TNT2 64 card). The crashes all seem to be from doing
> something with X, like a ctrl-alt-backspace GUI shutdown, so I think it's
> that.



Which kernel version are you using? 2.4.18 has a definite bug in the AGP
handling that can create lookups on graphics.

> I've just installed the latest driver to see if its any better.
> Maybe it will work OK, but I'm not impressed with it:


> - now I'm getting a 2 second nvidia logo flash screen whenever i start X.


RTFM.

> - the driver is released as binary only, and is a generic one for all
> nvidia cards, so the kernel module and XFree86 drivers are huge (1.9 M and
> 559 K).


That's huge?

So long,
Thomas
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:07 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
UnixAdminTalk.com

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553