[Xorg] Failed to initialize the NVIDIA GPU

Xorg, Compiz, KDE / Gnome / Xfce / Fluxbox / e17 / fvwm ... GDM/KDM/XDM...
daan
Hankyu
Messages : 20
Inscription : sam. 31 déc. 2016, 01:25

[Xorg] Failed to initialize the NVIDIA GPU

Message par daan »

Bonjour,

après quelques essais avec la connexion wifi en cli (qui ne sont toujours pas terminés) je me suis lancé dans l'installation du serveur graphique.
ma carte graphique étant une nvidia 8600M GS je procède je la façon suivante :

Code : Tout sélectionner

pacman -S nvidia-340xx
sur demande : lib32-nvidia-340xx-libgl
sur demande : xf86-input-libinput

Code : Tout sélectionner

pacman -S xorg-server

Code : Tout sélectionner

pacman -S xorg-server-utils

Code : Tout sélectionner

pacman -S xorg-xinit

Code : Tout sélectionner

pacman -S xterm openbox
modification de .xinitrc pour y ajouter : exec openbox-session:

Code : Tout sélectionner

nano ~/.xinitrc
mais au premier essai du lancement de X via :

Code : Tout sélectionner

startx
j'obtiens un message d'erreur qui me renvoie vers /var/log/Xorg.0.log que voici:

Code : Tout sélectionner

[  1311.206] 
X.Org X Server 1.18.4
Release Date: 2016-07-19
[  1311.208] X Protocol Version 11, Revision 0
[  1311.208] Build Operating System: Linux 4.5.4-1-ARCH x86_64 
[  1311.211] Current Operating System: Linux bibiarch 4.8.13-1-ARCH #1 SMP PREEMPT Fri Dec 9 07:24:34 CET 2016 x86_64
[  1311.211] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=a088e6a9-233d-46f7-9f72-a847f2f12455 rw quiet
[  1311.217] Build Date: 19 July 2016  05:54:24PM
[  1311.218]  
[  1311.221] Current version of pixman: 0.34.0
[  1311.225] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  1311.226] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1311.238] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jan 10 21:18:59 2017
[  1311.242] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1311.242] (==) No Layout section.  Using the first Screen section.
[  1311.242] (==) No screen section available. Using defaults.
[  1311.242] (**) |-->Screen "Default Screen Section" (0)
[  1311.242] (**) |   |-->Monitor "<default monitor>"
[  1311.242] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[  1311.242] (==) Automatically adding devices
[  1311.242] (==) Automatically enabling devices
[  1311.242] (==) Automatically adding GPU devices
[  1311.242] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  1311.242] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[  1311.242] 	Entry deleted from font path.
[  1311.243] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  1311.243] 	Entry deleted from font path.
[  1311.243] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  1311.243] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  1311.243] 	Entry deleted from font path.
[  1311.243] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  1311.243] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/
[  1311.243] (==) ModulePath set to "/usr/lib/xorg/modules"
[  1311.243] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  1311.243] (II) Loader magic: 0x821d40
[  1311.243] (II) Module ABI versions:
[  1311.243] 	X.Org ANSI C Emulation: 0.4
[  1311.243] 	X.Org Video Driver: 20.0
[  1311.243] 	X.Org XInput driver : 22.1
[  1311.243] 	X.Org Server Extension : 9.0
[  1311.244] (++) using VT number 1

[  1311.244] (--) controlling tty is VT number 1, auto-enabling KeepTty
[  1311.246] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[  1311.247] (II) xfree86: Adding drm device (/dev/dri/card0)
[  1311.248] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 8 paused 0
[  1311.250] (--) PCI:*(0:5:0:0) 10de:0425:1734:110c rev 161, Mem @ 0xc1000000/16777216, 0xd0000000/268435456, 0xc2000000/33554432, I/O @ 0x00005000/128, BIOS @ 0x????????/131072
[  1311.250] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  1311.250] (II) LoadModule: "glx"
[  1311.251] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  1311.285] (II) Module glx: vendor="NVIDIA Corporation"
[  1311.285] 	compiled for 4.0.2, module version = 1.0.0
[  1311.285] 	Module class: X.Org Server Extension
[  1311.285] (II) NVIDIA GLX Module  340.101  Thu Dec  1 15:12:41 PST 2016
[  1311.285] (II) Applying OutputClass "nvidia" to /dev/dri/card0
[  1311.285] 	loading driver: nvidia
[  1311.285] (==) Matched nvidia as autoconfigured driver 0
[  1311.285] (==) Matched nouveau as autoconfigured driver 1
[  1311.285] (==) Matched nv as autoconfigured driver 2
[  1311.286] (==) Matched nouveau as autoconfigured driver 3
[  1311.286] (==) Matched nv as autoconfigured driver 4
[  1311.286] (==) Matched modesetting as autoconfigured driver 5
[  1311.286] (==) Matched fbdev as autoconfigured driver 6
[  1311.286] (==) Matched vesa as autoconfigured driver 7
[  1311.286] (==) Assigned the driver to the xf86ConfigLayout
[  1311.286] (II) LoadModule: "nvidia"
[  1311.286] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[  1311.287] (II) Module nvidia: vendor="NVIDIA Corporation"
[  1311.287] 	compiled for 4.0.2, module version = 1.0.0
[  1311.287] 	Module class: X.Org Video Driver
[  1311.287] (II) LoadModule: "nouveau"
[  1311.287] (WW) Warning, couldn't open module nouveau
[  1311.287] (II) UnloadModule: "nouveau"
[  1311.287] (II) Unloading nouveau
[  1311.287] (EE) Failed to load module "nouveau" (module does not exist, 0)
[  1311.287] (II) LoadModule: "nv"
[  1311.288] (WW) Warning, couldn't open module nv
[  1311.288] (II) UnloadModule: "nv"
[  1311.288] (II) Unloading nv
[  1311.288] (EE) Failed to load module "nv" (module does not exist, 0)
[  1311.288] (II) LoadModule: "modesetting"
[  1311.288] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[  1311.288] (II) Module modesetting: vendor="X.Org Foundation"
[  1311.288] 	compiled for 1.18.4, module version = 1.18.4
[  1311.288] 	Module class: X.Org Video Driver
[  1311.288] 	ABI class: X.Org Video Driver, version 20.0
[  1311.288] (II) LoadModule: "fbdev"
[  1311.288] (WW) Warning, couldn't open module fbdev
[  1311.288] (II) UnloadModule: "fbdev"
[  1311.288] (II) Unloading fbdev
[  1311.288] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  1311.288] (II) LoadModule: "vesa"
[  1311.289] (WW) Warning, couldn't open module vesa
[  1311.289] (II) UnloadModule: "vesa"
[  1311.289] (II) Unloading vesa
[  1311.289] (EE) Failed to load module "vesa" (module does not exist, 0)
[  1311.289] (II) NVIDIA dlloader X Driver  340.101  Thu Dec  1 14:50:13 PST 2016
[  1311.289] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[  1311.289] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  1311.289] (II) Loading sub module "fb"
[  1311.289] (II) LoadModule: "fb"
[  1311.289] (II) Loading /usr/lib/xorg/modules/libfb.so
[  1311.289] (II) Module fb: vendor="X.Org Foundation"
[  1311.289] 	compiled for 1.18.4, module version = 1.0.0
[  1311.289] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  1311.289] (WW) Unresolved symbol: fbGetGCPrivateKey
[  1311.289] (II) Loading sub module "wfb"
[  1311.290] (II) LoadModule: "wfb"
[  1311.290] (II) Loading /usr/lib/xorg/modules/libwfb.so
[  1311.290] (II) Module wfb: vendor="X.Org Foundation"
[  1311.290] 	compiled for 1.18.4, module version = 1.0.0
[  1311.290] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  1311.290] (II) Loading sub module "ramdac"
[  1311.290] (II) LoadModule: "ramdac"
[  1311.290] (II) Module "ramdac" already built-in
[  1311.291] (WW) Falling back to old probe method for modesetting
[  1311.291] (II) NVIDIA(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[  1311.291] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[  1311.291] (==) NVIDIA(0): RGB weight 888
[  1311.291] (==) NVIDIA(0): Default visual is TrueColor
[  1311.291] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[  1311.291] (**) NVIDIA(0): Enabling 2D acceleration
[  1311.406] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:5:0:0.  Please
[  1311.406] (EE) NVIDIA(GPU-0):     check your system's kernel log for additional error
[  1311.406] (EE) NVIDIA(GPU-0):     messages and refer to Chapter 8: Common Problems in the
[  1311.406] (EE) NVIDIA(GPU-0):     README for additional information.
[  1311.406] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA graphics device!
[  1311.406] (EE) NVIDIA(0): Failing initialization of X screen 0
[  1311.406] (II) UnloadModule: "nvidia"
[  1311.406] (II) UnloadSubModule: "wfb"
[  1311.407] (II) UnloadSubModule: "fb"
[  1311.407] (EE) Screen(s) found, but none have a usable configuration.
[  1311.407] (EE) 
Fatal server error:
[  1311.407] (EE) no screens found(EE) 
[  1311.407] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[  1311.407] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  1311.407] (EE) 
[  1311.415] (EE) Server terminated with error (1). Closing log file.
je note la ligne :
1311.406] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:5:0:0. Please

je me dis alors qu'un redémarrage ne ferait pas de mal.
mais après le redémarrage je note un changement au niveau de la console (tty1) .
cette derniere n'a plus la meme résolution qu'avant: le texte est écrit très grand.
a tout hasard je tente un nouveau

Code : Tout sélectionner

startx
et cette fois X se lance.
dans un premier temps j'aperçois le logo nvidia puis ce dernier fais place a openbox.
je pense être sorti d'affaire mais après 1 ou 2 minutes l'écran scintille et le menu openbox voit son contenu text disparaitre.
pour finir la sourie reste bloquée et je ne peux plus rien faire.

après redémarrage le texte de la console est toujours très grand (pb de résolution).
je tente de relancer X avec "startx" mais j'ai a nouveau le message me renvoyant vers le fichier log ( avec le même contenu).

après quelques essais successif je remarque que x se lance parfois et fini par freezer ou ne se lance tout simplement pas .
quand il ne se lance pas je retrouve toujours les même lignes dans le log.

l'un d'entre vous aurait il une idée?

d'avance merci pour votre aide.
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17188
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [Xorg] Failed to initialize the NVIDIA GPU

Message par benjarobin »

Bonjour, Pour la console c'est parfaitement normal comme KMS est désactivé, il y a la possibilité de changer de résolution via vga=ask (mais clairement je et conseil de te concentrer sur un problème à la fois)
Sinon pour ton problème de freeze c'est bien dommage, cela ressemble à un bug, et on ne peut pas y faire grand chose ici. Tu peux quand même essayer de rajouter nomodeset sur la ligne kernel, mais en théorie cela ne devrait rien changer
Zsh | KDE | PC fixe : core i7, carte nvidia
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
daan
Hankyu
Messages : 20
Inscription : sam. 31 déc. 2016, 01:25

Re: [Xorg] Failed to initialize the NVIDIA GPU

Message par daan »

Bonjour,

depuis plusieurs jours X ne se lance plus du tout.
cela ne peut il pas venir d'une erreur de config ?
si vraiment c'est un bug , l'utilisation du driver "nouveau" devrait résoudre mon problème non ?

d'avance merci.
Répondre