Newsgroup: it.comp.hardware.video-3d
Titolo: Geforce 3 e Linux

Ciao ho la Elas gladiac 920 e ho installato da 2 giorni Linux Mandrake
8.....
Qualcuno mi sa dire se è supportata? Io ho scaricato i driver Ndivia che
secondo il file readme dovrebbero essere buoni anche per la GF3 ma mi viene
riconosciuta come Geforce 2 DDR
Mi sapete spiegare?


Niente paura, è pienamente supportata dai driver nVidia 12.51 per M8. E' il
solo Xfree86 che la riconosce come Geforce2 poichè non è aggiornatissimo, ma
una volta aggiornati i driver non c'è il minimo problema. Io gioco a Quake
3, Unreal Tournament, Soldier of Fortune, Heretic 2 ecc.. con la tua stessa
scheda senza il minimo problema. L'unica cosa che può succedere è che appena
installato il tutto non ti partano i giochi: è un bug della Mandrake nella
gestione dei permessi, ho letto la soluzione da qualche parte ma non ricordo
dove, comunque a me non è successo.
Ciao,
Jena

 grazie.
Ho perso l'indirizzo ma avevo salvato la pagina sull'HD. Riporto il testo
dell'articolo:
The problem
okay. ever since mandrake 8.0 has been released, this has come up several
times. it seems to occur occasionally in redhat 7.1 as well, if you get it,
it's probably solvable in the same way. anyway, i digress
the setup that mandrake provided for the PAM libraries and utilities
(Pluggable Authentication Modules) have this annoying tendency to play with
the permissions of /dev/nvidiactl and /dev/nvidia[0-4]. however, while this
appears to be the problem, it's just a symtom, even when corrected, 3d will
not be able to initialise, even tho X-Windows can start correctly, shows the
nvidia splash logo at startup, and appear to have a correct library output.
the result is that you start quake3, it appears to run for a bit, makes the
screen black, waits for a minute or two, then happily dumps you back to the
console, with some sort of weird error message. now. i'm not sure what
exactly is making PAM do this, straces show it denying access even tho the
permissions appear to be usable by the user who's using X. anyway, onto the
workaround
The Workaround
now i get to the point. this problem only appears to occur, if you use
runlevel 5, ie you allow the graphical login client to kick in and start X
for you, it plays with /dev/nvidiactl and /dev/nvidia0, and changes both the
ownership and permissions when you login, as well as arbitrarily deciding
that you can't access it anyway (probably because X runs as root even when
you've logged in)
anyway. the solution to this, is to use runlevel 3. for some reason, if you
don't use kdm/gdm/xdm to get into X, it doesn't buggerise around with the
permissions of the devices, and it lets you start 3d applications. to get to
this particular form of nirvana, follow these instructions 1. edit
/etc/inittab this file contains the default runlevel. normally, you'd expect
to see
id:5:initdefault
this needs to be changed to
id:3:initdefault
this can be acheived two ways. you edit the file manually, and bypass the
lame mandrake utilities, or you use some dodgy utility, that doesn't tell
you enough about what it's doing so you can clean up later and restore any
comments it's happily erased (heh. yes. i'm biased. so sue me) don't ask me
what the dodgy utility is. i don't use mandrake, i only help people fix it.
2. getting TO runlevel 3 this can be done two ways reboot (shudder. the
things we do for 3d :/) or logout of x, back to the gui login screen, press
ctrl-alt-f1, login as root, and run telinit 3 that'll get you to more or
less the same place 3. fixing the permissions of /dev/nvidia*. these might
have been left in a slightly odd state. login as root, and run the following
two commands for basic "yay! it works!"
chmod 666 /dev/nvidia*
chown root.root /dev/nvidia*
okay that should get you in a position, where you can login as yourself at a
console, run startx, and you can then start a 3d game from within X now.
there's a couple of issues to cover a) "aaah! x just exits when i type in
startx!, i was using windowmanager *somefunkything* help!"
okay. startx reads ~/.xinitrc to get the windowmanager. if this file exists,
but is empty, X will exit immediately, if it doesn't exist, it'll use some
funky default. if you want to change it, run echo exec gnome-session <
~/.xinitrc . replace gnome-session with startkde, or wmaker or whatever.
b)"aah! that's hideously insecure! i'm a fanatic about security! ahhhh!"
and you're letting people play games that get almost complete access to the
video card? ouch. anyway, if you want a slightly more secure setup (ie, only
people who have permission to access those devices can use 3d) try this.
groupadd video;chown root.video /dev/nvidia*; chmod 660 /dev/nvidia*;
adduser username video;
okay. now i'm not entirely sure about the last command. i don't have access
to a mandrake box. it should work. if not, edit /etc/group and add usernames
to the end of the video line (i'm also not sure if video exists as a group
in mandrake 8 already. it doesn't in mandrake 7.2, from a box i checked in
this office here.separate the usernames with : in /etc/group, ie,
:user1:user2:user3 that'll only allow users you add to the video group to
have access to the 3d device. they should still be able to start x however.
if they can't, well, then you probably need to modify /dev/nvidiactl to have
mode 666, not 660. i don't know exactly.
Andrew 'ashridah' Pilley
Ciao,
Jena

 >
Mandrake consente di scegliere il livello di scurezza durante
l'installazione. Evitate come la peste i livelli alti, fanno piu' danno che
altro. Scegliete un livello basso, poi andate a chiudere le porte a mano nei
file di configurazione come inetd.conf. Tutto qui.

 ha scritto nel messaggio
news:A0K57.3364$8M2.1...@news.infostrada.it...

iena e matteo, grazie di cuore da parte mia e del mio pinguino i(nvidioso).