[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [video] direct rendering



Bonjour et merci pour vos réponses,

Donc,

# lspci
01:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX
4000 AGP 8x]


# Xorg.0.log

(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
        compiled for 4.0.2, module version = 1.0.7174
        Module class: XFree86 Server Extension
        ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension GLX
...
...
(**) NVIDIA(0): Enabling RENDER acceleration
(EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
(EE) NVIDIA(0):     log file that the GLX module has been loaded in your X
(EE) NVIDIA(0):     server, and that the module is the NVIDIA GLX
module.  If
(EE) NVIDIA(0):     you continue to encounter problems, Please try
(EE) NVIDIA(0):     reinstalling the NVIDIA driver.
(II) NVIDIA(0): NVIDIA GPU GeForce4 MX 4000 at PCI:1:0:0
...
...
(II) NVIDIA(0): Setting mode "1280x1024"
(II) Loading extension NV-GLX
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(**) Option "dpms"
(**) NVIDIA(0): DPMS enabled
(II) Loading extension NV-CONTROL
(WW) NVIDIA(0): Option "AllowGLXWithComposit" is not used
(==) RandR enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
(EE) Failed to initialize GLX extension (NVIDIA X driver not found)
error opening security policy file /etc/X11/xserver/SecurityPolicy


Je suis assez interessé par compiz, bien que ma carte soit pas terrible,
pour le moment je cherche à faire marcher l'accélération 3D apreès on
verra :-)

L'analyse des logs montre bien une erreur.... que je suis incapable
d'interpréter :-( ....

Merci pour votre aide !

Michael.




Hugues LARRIVE wrote:
> Didier Raboud a écrit :
>> Le mercredi 28 juin 2006 15:58, Michael EDLICH a écrit :
>>  
>>> précision, depuis j'ai installé nvidia-glx-legacy:
>>>
>>> # aptitude install nvidia-glx-legacy
>>> et mainteant glx info ou glxgears ne marche plus :-( (meme apres reboot
>>> ou réinstall de mesa-utils)
>>> visiblement ca touche tout ce qui utilise la 3D
>>> (...)
>>> une idée ?
>>> (...)
>>>     
> Oui, réinstall nvidia-glx, et le module qui va avec, les versions legacy
> c'est pour les vieilles cartes genre Riva...
> C'est quoi comme carte (lspci) ?
> 
>>>> voici quelques infos:
>>>> (...)
>>>> # cat /etc/X11/xorg.conf
>>>>
>>>> Section "ServerLayout"
>>>>     Identifier     "Default Layout"
>>>>     Screen         "Default Screen" 0 0
>>>>     InputDevice    "Generic Keyboard"
>>>>     InputDevice    "Configured Mouse"
>>>> EndSection
>>>>
>>>> Section "Files"
>>>>
>>>>         # path to defoma fonts
>>>>     FontPath        "/usr/share/fonts/X11/misc"
>>>>     FontPath        "/usr/X11R6/lib/X11/fonts/misc"
>>>>     FontPath        "/usr/share/fonts/X11/cyrillic"
>>>>     FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"
>>>>     FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
>>>>     FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
>>>>     FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
>>>>     FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
>>>>     FontPath        "/usr/share/fonts/X11/Type1"
>>>>     FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
>>>>     FontPath        "/usr/share/fonts/X11/100dpi"
>>>>     FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"
>>>>     FontPath        "/usr/share/fonts/X11/75dpi"
>>>>     FontPath        "/usr/X11R6/lib/X11/fonts/75dpi"
>>>>     FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
>>>> EndSection
>>>>
>>>> Section "Module"
>>>>       
> il faudrait peut-être mettre Load   "dri" (=direct rendering) ça devrait
> aider ;)
>>>>     Load           "bitmap"
>>>>     Load           "ddc"
>>>>     Load           "extmod"
>>>>     Load           "freetype"
>>>>     Load           "glx"
>>>>     Load           "int10"
>>>>     Load           "type1"
>>>>     Load           "vbe"
>>>>     Load           "dbe"
>>>>     Load           "v4l"
>>>> EndSection
>>>>
>>>> Section "InputDevice"
>>>>     Identifier     "Generic Keyboard"
>>>>     Driver         "kbd"
>>>>     Option         "CoreKeyboard"
>>>>     Option         "XkbRules" "xorg"
>>>>     Option         "XkbModel" "pc105"
>>>>     Option         "XkbLayout" "fr"
>>>>     Option         "XkbVariant" "latin9"
>>>> EndSection
>>>>
>>>> Section "InputDevice"
>>>>     Identifier     "Configured Mouse"
>>>>     Driver         "mouse"
>>>>     Option         "CorePointer"
>>>>     Option         "Device" "/dev/input/mice"
>>>>     Option         "Protocol" "ExplorerPS/2"
>>>> EndSection
>>>>
>>>> Section "Monitor"
>>>>     Identifier     "StudioWorks"
>>>>     Option         "DPMS"
>>>> EndSection
>>>>
>>>> Section "Device"
>>>>     Identifier     "Carte vidéo générique"
>>>>     Driver         "nvidia"
>>>>       
>>
>> Essaie de virer de ici :
>> ---------
>>  
>>>>     Option         "DPMS"
>>>>     Option         "NoLogo" "1"
>>>>     Option         "RenderAccel" "1"
>>>>     Option         "NvAGP" "3"
>>>>     Option         "AllowGLXWithComposit" "true"
>>>>       
>> ---------
>> À là (Composite avec «e»).
>>
>>  
>>>> EndSection
>>>>
>>>> Section "Screen"
>>>>     Identifier     "Default Screen"
>>>>     Device         "Carte vidéo générique"
>>>>     Monitor        "StudioWorks"
>>>>     DefaultDepth    24
>>>>     SubSection     "Display"
>>>>         Depth       1
>>>>         Modes      "1280x1024" "1024x768" "800x600" "640x480"
>>>>     EndSubSection
>>>>     SubSection     "Display"
>>>>         Depth       4
>>>>         Modes      "1280x1024" "1024x768" "800x600" "640x480"
>>>>     EndSubSection
>>>>     SubSection     "Display"
>>>>         Depth       8
>>>>         Modes      "1280x1024" "1024x768" "800x600" "640x480"
>>>>     EndSubSection
>>>>     SubSection     "Display"
>>>>         Depth       15
>>>>         Modes      "1280x1024" "1024x768" "800x600" "640x480"
>>>>     EndSubSection
>>>>     SubSection     "Display"
>>>>         Depth       16
>>>>         Modes      "1280x1024" "1024x768" "800x600" "640x480"
>>>>     EndSubSection
>>>>     SubSection     "Display"
>>>>         Depth       24
>>>>         Modes      "1280x1024" "1024x768" "800x600" "640x480"
>>>>     EndSubSection
>>>> EndSection
>>>>       
>>
>> Enlève aussi les extensions (tu rajouteras après, si ça joue)...
>>
>>  
>>>> Section "Extensions"
>>>>     Option          "Composite"     "Enable"
>>>>  Option "RENDER" "Enable"
>>>> EndSection
>>>>       
>>
>>
>> T'as quoi dans /var/log/Xorg.0.log ?
>>
>> $ grep  \(EE\) /var/log/Xorg.0.log
>> $ grep  \(WW\) /var/log/Xorg.0.log
>>
>> ++, Didier
>>   
> Pour le reste je suis d'accord avec didier...
> 
> Tu cherches à faire quoi au juste ? si c'est pour installer xgl / compiz
> je peux approfondir un peu,
> je l'ai installé avec succès sur 5 machines en etch équipés de carte
> nvidia (geforce2, geforce4, et 7800gtx).
> C'est vraiment magnifique, je suis accro !
> 
> @+
> 
> 



Reply to: