Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ennesimo problema nvidia
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
danielinux
Apprentice
Apprentice


Joined: 10 Nov 2004
Posts: 202

PostPosted: Wed Apr 06, 2005 1:15 pm    Post subject: ennesimo problema nvidia Reply with quote

Ho seguito la guida all'installazione dei driver nvidia ma ho un problema:
Ho il kernel 2.6.11-gentoo-r5
Le versioni che ho emerso sono la 1.0.7167-r1.
La mia scheda grafica è
VGA compatible controller: nVidia Corporation NV5M64 [RIVA TNT2 Model 64/Model 64 Pro] (rev 15)
Avendo emerso i driver ed aggiunto i moduli all'avvio, questi vengono caricati correttamente senza apparenti errori.
Ora, avendo configurato il file xorg.conf a dovere per usare i driver nvidia anzichè i driver nv, quando avvio l'X server,
ho un increddibile calo di qualità (i colori sono calati a 256ed è tutto + lento )
Se faccio un glxinfo questo è l'output
Code:

name of display: :0.0
Error: couldn't find RGB GLX visual

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x21  8 pc  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None
0x22  8 gs  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None
0x23  8 sc  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None
0x24  8 tc  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None
0x25  8 dc  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None
0x26  8 sg  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None


Se lancio un glxgears l'output è:

Code:


glxgears: Error: couldn't get an RGB, Double-buffered visual


Cosa c'è che non funge secondo voi?
Back to top
View user's profile Send private message
redmatrix
Apprentice
Apprentice


Joined: 13 Jan 2005
Posts: 211

PostPosted: Wed Apr 06, 2005 1:18 pm    Post subject: Reply with quote

Se posti il tuo xorg.conf forse riusciamo a capire cosa c'è che non va, cmq controlla se gli nvidia-glx sono la stessa versione di nvidia-kernel (non si sa mai che versioni differenti possano creare problemi) e vedi se opengl è switchato su nvidia dando un:
Code:

opengl-update nvidia


Attendiamo il tuo xorg.conf, facci sapere qualcosa.

Ciao.
Back to top
View user's profile Send private message
danielinux
Apprentice
Apprentice


Joined: 10 Nov 2004
Posts: 202

PostPosted: Wed Apr 06, 2005 1:25 pm    Post subject: Reply with quote

Le versioni del nvidia-kernel e glx coincidono

Il mio xorg.conf è:

Code:

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/lib/X11/rgb"
        ModulePath   "/usr/X11R6/lib/modules"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/CID/"
        FontPath     "/usr/share/fonts/75dpi/"
        FontPath     "/usr/share/fonts/100dpi/"
EndSection

Section "Module"
        Load  "record"
        Load  "extmod"
        Load  "dbe"
        #Load  "dri"
        Load  "glx"
        Load  "xtrap"
        Load  "freetype"
        Load  "type1"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbRules" "xorg"
        Option      "XkbLayout" "it"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "Auto"
        Option      "Device" "/dev/psaux"
EndSection

Section "Monitor"

        #DisplaySize      320   240     # mm
        Identifier   "Monitor0"
        VendorName   "SAM"
        ModelName    "1057"
        HorizSync    30.0 - 70.0
        VertRefresh  50.0 - 160.0
        Option      "DPMS"
EndSection

Section "Device"

        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"                  # [<bool>]
        #Option     "HWcursor"                  # [<bool>]
        #Option     "NoAccel"                   # [<bool>]
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "UseFBDev"                  # [<bool>]
        #Option     "Rotate"                    # [<str>]
        #Option     "VideoKey"                  # <i>
        #Option     "FlatPanel"                 # [<bool>]
        #Option     "FPDither"                  # [<bool>]
        #Option     "CrtcNumber"                # <i>
        #Option     "FPScale"                   # [<bool>]
        #Option     "FPTweak"                   # <i>
        Identifier  "Card0"
        Driver      "nvidia"
        VendorName  "nVidia Corporation"
        BoardName   "NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]"
        BusID       "PCI:1:0:0"
#       VideoRam    32768       
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "DRI"
        Group        0
EndSection

Back to top
View user's profile Send private message
danielinux
Apprentice
Apprentice


Joined: 10 Nov 2004
Posts: 202

PostPosted: Wed Apr 06, 2005 1:33 pm    Post subject: Reply with quote

Se faccio un modinfo nvidia esce:

Code:

license:        NVIDIA
alias:          char-major-195-*
parmtype:       nv_disable_pat:int
parmtype:       NVreg_VideoMemoryTypeOverride:int
parmtype:       NVreg_EnableVia4x:int
parmtype:       NVreg_EnableALiAGP:int
parmtype:       NVreg_ReqAGPRate:int
parmtype:       NVreg_NvAGP:int
parmtype:       NVreg_EnableAGPSBA:int
parmtype:       NVreg_EnableAGPFW:int
parmtype:       NVreg_SoftEDIDs:int
parmtype:       NVreg_Mobile:int
parmtype:       NVreg_ResmanDebugLevel:int
parmtype:       NVreg_FlatPanelMode:int
parmtype:       NVreg_DevicesConnected:int
parmtype:       NVreg_VideoEnhancement:int
parmtype:       NVreg_RmLogonRC:int
vermagic:       2.6.11-gentoo-r5 preempt K6 4KSTACKS gcc-3.3
depends:       
alias:          pci:v000010DEd*sv*sd*bc03sc00i00*

Nel kernel ho selezionato [*] Use 4Kb for kernel stacks instead of 8Kb

Tuttavia nella guida per installare i driver nvidia mi sorge un dubbio
Cito testuali parole:

Quote:

I pacchetti nvidia-kernel più vecchi di 1.0.6106 supportano solo kernel che usano 8K stack size. I kernel più recenti (2.6.6 e superiori) hanno il supporto per lo stack size 4K. Non selezionare 4K stack size nel kernel se si usano pachetti nvidia-kernel. Questa opzione si trova nella sezione Kernel Hacking.



Ma se tolgo questa opzione, non succederà mica un casino?
Back to top
View user's profile Send private message
Thrain
Guru
Guru


Joined: 01 Sep 2003
Posts: 380

PostPosted: Wed Apr 06, 2005 2:16 pm    Post subject: Reply with quote

Puoi toglierla tranquillamente, non c'è problema.
_________________
Thrain

"...only astonishment knows..."
Back to top
View user's profile Send private message
danielinux
Apprentice
Apprentice


Joined: 10 Nov 2004
Posts: 202

PostPosted: Wed Apr 06, 2005 3:56 pm    Post subject: Reply with quote

Allora, ho tolto l'opzione Use 4Kb for kernel stacks instead of 8Kb nel kernel, ho ricompilato, riavviato e tutti i moduli davano errore... quindi ho ricompilato TUTTI i moduli, nvidia compreso
Ho riavviato e stavolta i moduli venivano caricati.
Ho eseguito ancora il server grafico, ottenendo ancora lo stesso risultato!!
Come faccio a far funzionare questi maledetti driver???
Back to top
View user's profile Send private message
danielinux
Apprentice
Apprentice


Joined: 10 Nov 2004
Posts: 202

PostPosted: Fri Apr 08, 2005 1:05 pm    Post subject: Reply with quote

Qualcuno ha il mio stesso modello di scheda che possa dire di aver compilato nvidia-kernel e funzioni il tutto?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum