Pagina 4 di 4

Re: abilitazione direct rendering

Inviato: martedì 19 maggio 2009, 16:51
da paoloci
ma non capisco, se hai jaunty, perchè non installi direttamente quello che dice,
vai su Sistema--amministrazione--Driver hardware e installi quello che ti propone e basta.

Re: abilitazione direct rendering

Inviato: martedì 19 maggio 2009, 17:57
da Frankie2031
perchè lì la lista è vuota.. infatti il mio problema è nato proprio da lì.

Re: abilitazione direct rendering

Inviato: martedì 19 maggio 2009, 18:04
da paoloci
segui allora questa dalla nvidia per la riva

http://www.nvidia.it/object/linux_displ ... 82_it.html

Re: abilitazione direct rendering

Inviato: martedì 19 maggio 2009, 18:10
da paoloci
Mi son dimenticato
Attento che se hai 64 bit è un altro

Re: abilitazione direct rendering

Inviato: martedì 19 maggio 2009, 18:14
da Frankie2031
no no ho 32 bit.. la seguo e faccio sapere.. grazie

edit: dice
Digitare "sh NVIDIA-Linux-x86-1.0-7182-pkg1.run" per installare il driver, quindi modificare il file config X secondo necessità.
io non so come si modifica il file config X..
so che per entrarci e per modificarlo devo andare sul terminale e digitare
gksudo gedit /etc/X11/xorg.conf
ma non so cosa devo scrivere nel file perchè funzioni..

edit2:
sul file README c'è questa parte:
__________________________________________________________________________

(sec-03) EDITING YOUR X CONFIG FILE
__________________________________________________________________________

In April of 2004, the X.org Foundation released an X server based on
the XFree86 X server.  Many Linux distributions will use the X.org
X server in the future, rather than XFree86.  The differences between
the two X servers should have no impact on NVIDIA Linux users with
two exceptions:

    1) The X.org configuration file name, though it uses the same syntax
      as XFree86's XF86Config file, is called /etc/X11/xorg.conf;
      this README refers generically to these configuration files as
      "the X config file".

    2) The X.org log file, though its output is nearly identical
      to the XFree86.0.log file, is called /var/log/Xorg.0.log; this
      README refers generically to these files as "the X log file".


When XFree86 4.0 was released, it used a slightly different XF86Config
file syntax than the 3.x series did, and so to allow both 3.x and 4.x
versions of XFree86 to co-exist on the same system, it was decided that
XFree86 4.x was to use the configuration file "/etc/X11/XF86Config-4"
if it existed, and only if that file did not exist would the file
"/etc/X11/XF86Config" be used (actually, that is an over-simplification
of the search criteria; please see the XF86Config man page for a
complete description of the search path).  Please make sure you know
what configuration file your X server is using.  If you are in doubt,
look for a line beginning with "(==) Using config file:" in your X log
file ("/var/log/XFree86.0.log" or "/var/log/Xorg.0.log").

If you do not have a working X config file, there are several ways
to start: there is a sample config file that comes with XFree86,
and there is a sample config file included with the NVIDIA driver
package (it gets installed in /usr/share/doc/NVIDIA_GLX-1.0/).
You could also use a program like 'xf86config'; some distributions
provide their own tool for generating an X config file.  For more
on X config file syntax, please refer to the man page (`man XF86Config`,
or `man xorg.conf`).

If you already have an X config file working with a different driver
(such as the 'nv' or 'vesa' driver), then all you need to do is find
the relevant Device section and replace the line:

        Driver "nv"
    (or Driver "vesa")

with

        Driver "nvidia" 

In the Module section, make sure you have:

        Load  "glx"

You should also remove the following lines:
     
        Load  "dri"
        Load  "GLcore"

if they exist.  There are also numerous options that can be added to the
X config file to fine-tune the NVIDIA X driver.  Please see Appendix D
for a complete list of these options.

Once you have configured your X config file, you are ready to restart X
and begin using the accelerated OpenGL libraries.  After you restart X,
you should be able to run any OpenGL application and it will automatically
use the new NVIDIA libraries.  If you encounter any problems, please
see the FREQUENTLY ASKED QUESTIONS section below.
ma non so se cambiare
driver "nv"
con
driver "nvidia"
e rimuovere
load "dri"
e
load "GLcore"
basti.. ci sarà altro da fare perchè funzioni?

ps. il driver della pagina di nvidia devo installarlo cliccando CTRL-ALT-F1?

Re: abilitazione direct rendering

Inviato: martedì 19 maggio 2009, 18:45
da paoloci
Dice:
Se già avete un file X config che sta lavorando con un driver diverso,( nv o vesa)
tutto quello che dovete fare è di cercare la sezione "Device Section"
e sostituire la riga:


        Driver "nv"
    (oppure Driver "vesa")

con

        Driver "nvidia"

Nella sezione Module section, assicurarsi di avere

        Load  "glx"

Dovrete anche rimuovere le seguenti righe
   
        Load  "dri"
        Load  "GLcore"

Se esistono.
Ci dono anche numerose opzioni che posso essere aggiunte al file x config per meglio settare il driver NVIDIA X
X config file to fine-tune the NVIDIA X driver. Si prega di leggere l' appendice D ( Appendix D)
per una completa lista di queste opzioni

Re: abilitazione direct rendering

Inviato: martedì 19 maggio 2009, 19:57
da Frankie2031
ho installato il driver nvidia-linux-x86-1.0-7182-pkg1.run seguendo questa guida:
http://forum.ubuntu-it.org/viewtopic.php?t=20441
ma mi da cmq errore..
ERROR: unable to determine the version of the kernel sources located in "/lib/modules/2.6.28-11-generic/build".
Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on red hat linux system, for example, be sure you have the "kernel-source" RPM installed. if you know the correct kernel source files are installed, you may specify the kernel source path with the "--kernel-source-path" command line option.

                                                            |  ok  |
e anche..
ERROR: installation has failed. Please see the file "/var/log/nvidia-installer.log" for details. you may find suggestion on fixing installation problems in the README available  on the linux driver  download page at www.nvidia.com

                                                            |  ok  |

Re: abilitazione direct rendering

Inviato: martedì 19 maggio 2009, 20:01
da paoloci
proprio ora c'è una discussione nel Forum, in essenza era

Prova così, da terminale
Codice:

sudo apt-get install linux-headers$(uname -r) build-essential gcc xserver-xorg-dev pkg-config


Codice:

sudo apt-get --purge remove nvidia-glx nvidia-settings nvidia-glx-legacy nvidia-glx-new linux-restricted-modules-$(uname -r)


premi ctrl-alt-F1 per passare in console e digiti questo comando
Codice:

sudo /etc/init.d/kdm stop


vai nella posizione dove hai salvato i drivers scaricati dal sito Nvidia es. cd /home/utente/Desktop e dai questo comando
Codice:

sudo sh NVIDIA-Linux-XXX.run

al posto di NVIDIA-Linux-XXX.run inserisci il nome dei tuoi drivers basta che inizi a digitare NV e poi premi tab e dovresti trovartelo scritto
Rispondi si a tutto

al termine dai il comando
Codice:

sudo /etc/init.d/kdm start

Re: abilitazione direct rendering

Inviato: martedì 19 maggio 2009, 20:57
da paoloci
correzione arrivata ora

Rivai alla pagina postata da Guiodic e ricopia di nuovo quel comando l'ho modificato, era sbagliato, quello giusto è questo
Codice:

sudo apt-get install linux-headers-$(uname -r) build-essential gcc xserver-xorg-dev pkg-config


Se usi ubuntu per arrestare X il comando è
Codice:

sudo /etc/init.d/gdm stop


quello scritto era per kubuntu (io manco l'avevo guardato che era kubuntu, scusami)

Re: abilitazione direct rendering

Inviato: mercoledì 20 maggio 2009, 11:16
da Frankie2031
ci riprovo (anche se la guida che ho seguito io era più o meno uguale)

Re: abilitazione direct rendering

Inviato: mercoledì 20 maggio 2009, 11:38
da Frankie2031
ho seguito la guida che mi hai consigliato passo per passo e mi da in successione questi messaggi:
ERROR: unable to connect to remote host download.nvidia.com (Connection timed out)
                                              |  ok  |
No matching precompiled kernel interface was found on the nvidia ftp site; this means that the installer will need to compile a kernel interface for your kernel
                                              |  ok  |
ERROR: unable to determine the version of the kernel sources located in "/lib/modules/2.6.28-11-generic/build".
Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on red hat linux system, for example, be sure you have the "kernel-source" RPM installed. if you know the correct kernel source files are installed, you may specify the kernel source path with the "--kernel-source-path" command line option.

                                            |  ok  |
ERROR: installation has failed. Please see the file "/var/log/nvidia-installer.log" for details. you may find suggestion on fixing installation problems in the README available  on the linux driver  download page at www.nvidia.com

                                            |  ok  |

Re: abilitazione direct rendering

Inviato: mercoledì 20 maggio 2009, 12:25
da paoloci
ma mi pareva che il link di nvidia ti aveva dato un file run già pronto

Re: abilitazione direct rendering

Inviato: mercoledì 20 maggio 2009, 12:28
da Frankie2031

Re: abilitazione direct rendering

Inviato: mercoledì 20 maggio 2009, 12:29
da bancaldo

Re: abilitazione direct rendering

Inviato: mercoledì 20 maggio 2009, 12:31
da Frankie2031
provo anche con questo e faccio sapere

Re: abilitazione direct rendering

Inviato: mercoledì 20 maggio 2009, 12:32
da bancaldo
Non installarne 200 contemporaneamente!
Se il primo link non fnuziona come dovrebbe, prima di installare l'altro .run, disinstalla il primo.

Re: abilitazione direct rendering

Inviato: mercoledì 20 maggio 2009, 15:23
da Frankie2031
ops...  ;D ;D ;D
come lo disinstallo il file run precedente?
(si vede che non sono pratico? eheheh)

Re: abilitazione direct rendering

Inviato: mercoledì 20 maggio 2009, 16:06
da bancaldo
Frankie2031 ha scritto: ops...   ;D ;D ;D
come lo disinstallo il file run precedente?
(si vede che non sono pratico? eheheh)
vai nella directory dove avevi il .run precedente

Codice: Seleziona tutto

sudo sh ./NVIDIA*.run --uninstall

Codice: Seleziona tutto

rm NVIDIA*.run
al posto NVIDIA*.run, metti la versione che vuoi disinstallare, magari aiutandoti con l'autocompletamento del nome (TAB), sopratutto quando cancelli il file run, perchè se hai anche quello nuovo, nella stessa posizione del vecchio, cancelli anche lui.
Poi installi il nuovo.


nella guida dei GLX-new
http://wiki.ubuntu-it.org/Hardware/Video/Nvidia/GlxNew
(anche se i tuoi sono i legacy), al paragrafo Installazione Manuale, trovi i comandi che ti ho detto.

Re: abilitazione direct rendering

Inviato: giovedì 28 maggio 2009, 18:51
da Frankie2031
allora.. ho disinstallato i driver precedenti e rifatto tutto il procedimento..
ho provato prima con NVIDIA-Linux-x86-1.0-7182-pkg1.run
poi ho provato a scaricare NVIDIA-Linux-x86-71.86.09-pkg1.run ma non riesco..