# Xorg + nvidia = probleme glx

**URL:** <https://www.debian-fr.org/t/xorg-nvidia-probleme-glx/3804>\
**Category:** Support Debian\
**Created:** [Février 20, 2016, 12:52 UTC](https://www.debian-fr.org/t/xorg-nvidia-probleme-glx/3804 "2016-02-20T12:52:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ouabi](https://www.debian-fr.org/user_avatar/www.debian-fr.org/ouabi/32/3802_2.png) [@ouabi](https://www.debian-fr.org/u/ouabi)\
**Post date:** [Février 20, 2016, 12:52 UTC](https://www.debian-fr.org/t/xorg-nvidia-probleme-glx/3804/1 "2016-02-20T12:52:59Z")

</div>

Bonjour à tous,  
Alors ce problème a plus ou moins été abordé plusieurs fois.  
Mais ça ne m’a apporté de solution que pour une des deux erreurs que j’avais.

Il en reste une :

quote=“Xorg.0.log” LoadModule: “glx”  
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so  
(II) Module glx: vendor="[X.Org](http://X.Org) Foundation"  
compiled for 7.0.0, module version = 1.0.0  
ABI class: [X.Org](http://X.Org) Server Extension, version 0.2  
(II) Loading sub module “GLcore”  
(II) LoadModule: “GLcore”  
(WW) Warning, couldn’t open module GLcore  
(II) UnloadModule: “GLcore”  
(II) UnloadModule: “glx”  
(II) Unloading /usr/lib/xorg/modules/extensions/libglx.so  
(EE) Failed to load module “glx” (a required submodule could not be loaded, 0)

[…]plus bas…

(\*\*) 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 GeForce FX 5700 Ultra at PCI:1:0:0  
[/quote]

le syslog, qui m’a l’air normal quoique, il indique deux ports différents:

> [@](#):
>
> Jun 5 20:50:24 localhost kernel: agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0.  
> Jun 5 20:50:24 localhost kernel: agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode  
> Jun 5 20:50:24 localhost kernel: agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode

Concrêtement, je démarre bien X, j’ai le logo nvidia, mais pas d’accélération .  
glxinfo et glxgears me retournent cette erreur:  
zsh: command not found: glxinfo  
zsh: command not found: glxgears

Alors voici ce que j’ai fait pour en arriver là:

-1-installation de xorg:

```auto
apt-get install xserver-xorg
apt-get install xorg
```

-2- installation des drivers nvidia:  
sh NVIDIA-Linux-x86-1.0-8762-pkg1.run

-3-j’edite ensuite xorg.conf comme suit:

> [@](#):
>
> […]
> 
> Section "Module"  
> Load "bitmap"  
> Load "dbe"  
> Load "ddc"  
> Load "extmod"  
> Load "freetype"  
> Load "glx"  
> Load "int10"  
> Load "record"  
> Load "type1"  
> Load "vbe"  
> EndSection
> 
> […]
> 
> Section "Device"  
> Identifier "nVidia Corporation NV36.1 [GeForce FX 5700 Ultra] (rev a1)"  
> Driver "nvidia"  
> BusID “PCI:1:0:0”
> 
> EndSection
> 
> Section "Monitor"  
> Identifier "Écran générique"  
> HorizSync 30-70  
> VertRefresh 50-160  
> Option "DPMS"  
> EndSection
> 
> Section "Screen"  
> Identifier "Default Screen"  
> Device "nVidia Corporation NV36.1 [GeForce FX 5700 Ultra] (rev a1)"  
> Monitor "Écran générique"  
> 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
> 
> Section "ServerLayout"  
> Identifier "Default Layout"  
> Screen "Default Screen"  
> InputDevice "Generic Keyboard"  
> InputDevice "Configured Mouse"  
> EndSection
> 
> #Section “DRI”
> 
> # Mode 0666
> 
> #EndSection

à noter que j’ai entré les "nVidia Corporation NV36.1 [GeForce FX 5700 Ultra] (rev a1)"  
manuellement avec ce qui etait inscrit en tapant “lspci”.  
J’ai aussi ajouté ca manuellement: BusID "PCI:1:0:0"  
et supprimé load “dri”

-4- modules:  
vim /etc/modeprobe.d/nvidia

dedans on trouve:

> [@](#):
>
> alias /dev/nvidia\*  
> alias char-major-195 nvidia

Bon, là, j’avais une erreur de chargement du module nvidia, que j’ai solutionnée  
en ajoutant des liens symboliques:

```auto
ln /usr/X11R6/lib/modules/extensions/libglx.so libglx.so
ln /usr/X11R6/lib/modules/extensions/libglx.so.1.0.8762 libglx.so.1.0.8762
```

Et j’en suis là, avec mon problème de glx, que j’aimerais bien solutionner aussi.

Alors si quelqu’un a une solution, voire une piste, je le remercie d’avance.

---

<div class="post-metadata">

**Author:** ![ouabi](https://www.debian-fr.org/user_avatar/www.debian-fr.org/ouabi/32/3802_2.png) [@ouabi](https://www.debian-fr.org/u/ouabi)\
**Post date:** [Février 20, 2016, 12:53 UTC](https://www.debian-fr.org/t/xorg-nvidia-probleme-glx/3804/2 "2016-02-20T12:53:00Z")

</div>

bon, ben j’avais mal fait mes liens symboliques, c’est refait.

Il n’y a pas d’erreur:

> [@](#):
>
> 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.8762  
> Module class: [X.Org](http://X.Org) Server Extension  
> ABI class: [X.Org](http://X.Org) Server Extension, version 0.1  
> (II) Loading extension GLX

Mais j’ai l’impression que ca ne marche toujours pas, car quand je tape  
glxgears ou glxinfo, j’ai respectivement:

`23:10 ouabi@faroma ~% glxinfo
zsh: command not found: glxinfo
zsh: exit 127 glxinfo
`

```auto
23:11 ouabi@faroma ~% glxgears
zsh: command not found: glxgears
zsh: exit 127 glxgears
23:12 ouabi@faroma ~%
```

En attendant, je vais installer un jeu(enemy territory), et voir si ca marche.

---

<div class="post-metadata">

**Author:** ![le\_petit\_chat\_noir](https://www.debian-fr.org/letter_avatar_proxy/v4/letter/l/6f9a4e/32.png) [@le\_petit\_chat\_noir](https://www.debian-fr.org/u/le_petit_chat_noir)\
**Post date:** [Février 20, 2016, 12:53 UTC](https://www.debian-fr.org/t/xorg-nvidia-probleme-glx/3804/3 "2016-02-20T12:53:02Z")

</div>

23:10 ouabi@faroma ~% glxinfo  
zsh: command not found: glxinfo  
zsh: exit 127 glxinfo

il te manque peut etre un paquet contenant glxgears

```auto

```

je crois que c’est glx-util

---

<div class="post-metadata">

**Author:** ![ouabi](https://www.debian-fr.org/user_avatar/www.debian-fr.org/ouabi/32/3802_2.png) [@ouabi](https://www.debian-fr.org/u/ouabi)\
**Post date:** [Février 20, 2016, 12:53 UTC](https://www.debian-fr.org/t/xorg-nvidia-probleme-glx/3804/4 "2016-02-20T12:53:05Z")

</div>

aaah ok.  
J’ai installé enemy territory, et l’accéleration fonctionne très bien.
