[xorg] impossible de lancer startx

Questions et astuces concernant l'installation et la configuration d'archlinux
jney
Hankyu
Messages : 11
Inscription : jeu. 02 sept. 2010, 20:11

[xorg] impossible de lancer startx

Message par jney »

Bonjour,

Je possède un samsung NP700Z5C-S01FR que j'aimerais passer sous archlinux.
Malheureusement je suis confronté une embûche majeure, je n'arrive pas à configurer Xorg.
J'ai donc 2 cartes graphiques, mais je n'arrive pas les configurer (j'essaie sur tout avec la nvidia)

Code : Tout sélectionner

$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GK107 [GeForce GT 640M] (rev a1)
j'ai fait des essais en natif (pas encore de driver installer), avec les drivers fournis par nvidia, ainsi que le driver nouveau

bref, rien.

à l'heure actuelle j'ai voulu tester avec une config minimale, voici mon xconf.org :

Code : Tout sélectionner

Section "Device"
    Identifier "Nvidia card"
    Driver "nouveau"
EndSection
voici le log :

Code : Tout sélectionner

$ cat /var/log/Xorg.0.log
[  5147.143] 
X.Org X Server 1.12.3
Release Date: 2012-07-09
[  5147.147] X Protocol Version 11, Revision 0
[  5147.149] Build Operating System: Linux 3.4.4-3-ARCH x86_64 
[  5147.151] Current Operating System: Linux architect 3.4.7-1-ARCH #1 SMP PREEMPT Sun Jul 29 22:02:56 CEST 2012 x86_64
[  5147.151] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=/dev/sda1
[  5147.154] Build Date: 09 July 2012  03:59:39PM
[  5147.156]  
[  5147.156] Current version of pixman: 0.26.2
[  5147.158] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  5147.158] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  5147.161] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Aug 10 21:42:09 2012
[  5147.161] (==) Using config file: "/etc/X11/xorg.conf"
[  5147.162] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  5147.162] (==) No Layout section.  Using the first Screen section.
[  5147.162] (==) No screen section available. Using defaults.
[  5147.162] (**) |-->Screen "Default Screen Section" (0)
[  5147.162] (**) |   |-->Monitor "<default monitor>"
[  5147.162] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[  5147.162] (**) |   |-->Device "Nvidia card"
[  5147.162] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[  5147.162] (==) Automatically adding devices
[  5147.162] (==) Automatically enabling devices
[  5147.162] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[  5147.162] 	Entry deleted from font path.
[  5147.162] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[  5147.162] 	Entry deleted from font path.
[  5147.162] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  5147.162] 	Entry deleted from font path.
[  5147.162] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  5147.162] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  5147.162] 	Entry deleted from font path.
[  5147.162] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  5147.162] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/
[  5147.162] (==) ModulePath set to "/usr/lib/xorg/modules"
[  5147.162] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  5147.162] (II) Loader magic: 0x7c8b00
[  5147.162] (II) Module ABI versions:
[  5147.162] 	X.Org ANSI C Emulation: 0.4
[  5147.162] 	X.Org Video Driver: 12.0
[  5147.162] 	X.Org XInput driver : 16.0
[  5147.162] 	X.Org Server Extension : 6.0
[  5147.163] (--) PCI:*(0:0:2:0) 8086:0166:144d:c0d5 rev 9, Mem @ 0xf1000000/4194304, 0xe0000000/268435456, I/O @ 0x00004000/64
[  5147.163] (--) PCI: (0:1:0:0) 10de:0fd2:144d:c0d5 rev 161, Mem @ 0xf0000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00003000/128
[  5147.163] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  5147.163] (II) LoadModule: "extmod"
[  5147.163] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[  5147.163] (II) Module extmod: vendor="X.Org Foundation"
[  5147.163] 	compiled for 1.12.3, module version = 1.0.0
[  5147.163] 	Module class: X.Org Server Extension
[  5147.163] 	ABI class: X.Org Server Extension, version 6.0
[  5147.163] (II) Loading extension MIT-SCREEN-SAVER
[  5147.163] (II) Loading extension XFree86-VidModeExtension
[  5147.163] (II) Loading extension XFree86-DGA
[  5147.163] (II) Loading extension DPMS
[  5147.163] (II) Loading extension XVideo
[  5147.163] (II) Loading extension XVideo-MotionCompensation
[  5147.163] (II) Loading extension X-Resource
[  5147.163] (II) LoadModule: "dbe"
[  5147.163] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[  5147.163] (II) Module dbe: vendor="X.Org Foundation"
[  5147.163] 	compiled for 1.12.3, module version = 1.0.0
[  5147.163] 	Module class: X.Org Server Extension
[  5147.163] 	ABI class: X.Org Server Extension, version 6.0
[  5147.163] (II) Loading extension DOUBLE-BUFFER
[  5147.163] (II) LoadModule: "glx"
[  5147.163] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  5147.163] (EE) Failed to load /usr/lib/xorg/modules/extensions/libglx.so: /usr/lib/xorg/modules/extensions/libglx.so: cannot open shared object file: No such file or directory
[  5147.163] (II) UnloadModule: "glx"
[  5147.163] (II) Unloading glx
[  5147.163] (EE) Failed to load module "glx" (loader failed, 7)
[  5147.163] (II) LoadModule: "record"
[  5147.163] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[  5147.163] (II) Module record: vendor="X.Org Foundation"
[  5147.163] 	compiled for 1.12.3, module version = 1.13.0
[  5147.163] 	Module class: X.Org Server Extension
[  5147.163] 	ABI class: X.Org Server Extension, version 6.0
[  5147.163] (II) Loading extension RECORD
[  5147.163] (II) LoadModule: "dri"
[  5147.163] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[  5147.163] (II) Module dri: vendor="X.Org Foundation"
[  5147.163] 	compiled for 1.12.3, module version = 1.0.0
[  5147.163] 	ABI class: X.Org Server Extension, version 6.0
[  5147.163] (II) Loading extension XFree86-DRI
[  5147.163] (II) LoadModule: "dri2"
[  5147.163] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[  5147.164] (II) Module dri2: vendor="X.Org Foundation"
[  5147.164] 	compiled for 1.12.3, module version = 1.2.0
[  5147.164] 	ABI class: X.Org Server Extension, version 6.0
[  5147.164] (II) Loading extension DRI2
[  5147.164] (II) LoadModule: "nouveau"
[  5147.164] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[  5147.164] (II) Module nouveau: vendor="X.Org Foundation"
[  5147.164] 	compiled for 1.12.2, module version = 1.0.1
[  5147.164] 	Module class: X.Org Video Driver
[  5147.164] 	ABI class: X.Org Video Driver, version 12.0
[  5147.164] (II) NOUVEAU driver 
[  5147.164] (II) NOUVEAU driver for NVIDIA chipset families :
[  5147.164] 	RIVA TNT        (NV04)
[  5147.164] 	RIVA TNT2       (NV05)
[  5147.164] 	GeForce 256     (NV10)
[  5147.164] 	GeForce 2       (NV11, NV15)
[  5147.164] 	GeForce 4MX     (NV17, NV18)
[  5147.164] 	GeForce 3       (NV20)
[  5147.164] 	GeForce 4Ti     (NV25, NV28)
[  5147.164] 	GeForce FX      (NV3x)
[  5147.164] 	GeForce 6       (NV4x)
[  5147.164] 	GeForce 7       (G7x)
[  5147.164] 	GeForce 8       (G8x)
[  5147.164] 	GeForce GTX 200 (NVA0)
[  5147.164] 	GeForce GTX 400 (NVC0)
[  5147.164] (--) using VT number 7

[  5147.166] (EE) No devices detected.
[  5147.166] 
Fatal server error:
[  5147.166] no screens found
[  5147.166] 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[  5147.166] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  5147.166] 
Et lorsque que je lance un sudo X -configure j'ai aussi une erreur dont voici les logs :

Code : Tout sélectionner

$ cat /var/log/Xorg.0.log
[  5241.546] 
X.Org X Server 1.12.3
Release Date: 2012-07-09
[  5241.548] X Protocol Version 11, Revision 0
[  5241.548] Build Operating System: Linux 3.4.4-3-ARCH x86_64 
[  5241.549] Current Operating System: Linux architect 3.4.7-1-ARCH #1 SMP PREEMPT Sun Jul 29 22:02:56 CEST 2012 x86_64
[  5241.549] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=/dev/sda1
[  5241.550] Build Date: 09 July 2012  03:59:39PM
[  5241.551]  
[  5241.552] Current version of pixman: 0.26.2
[  5241.553] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  5241.553] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  5241.556] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Aug 10 21:43:43 2012
[  5241.556] (II) Loader magic: 0x7c8b00
[  5241.556] (II) Module ABI versions:
[  5241.556] 	X.Org ANSI C Emulation: 0.4
[  5241.556] 	X.Org Video Driver: 12.0
[  5241.556] 	X.Org XInput driver : 16.0
[  5241.556] 	X.Org Server Extension : 6.0
[  5241.556] (--) PCI:*(0:0:2:0) 8086:0166:144d:c0d5 rev 9, Mem @ 0xf1000000/4194304, 0xe0000000/268435456, I/O @ 0x00004000/64
[  5241.556] (--) PCI: (0:1:0:0) 10de:0fd2:144d:c0d5 rev 161, Mem @ 0xf0000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00003000/128
[  5241.557] List of video drivers:
[  5241.558] 	nouveau
[  5241.558] (II) LoadModule: "nouveau"
[  5241.558] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[  5241.558] (II) Module nouveau: vendor="X.Org Foundation"
[  5241.558] 	compiled for 1.12.2, module version = 1.0.1
[  5241.558] 	Module class: X.Org Video Driver
[  5241.558] 	ABI class: X.Org Video Driver, version 12.0
[  5241.558] (II) NOUVEAU driver 
[  5241.558] (II) NOUVEAU driver for NVIDIA chipset families :
[  5241.558] 	RIVA TNT        (NV04)
[  5241.558] 	RIVA TNT2       (NV05)
[  5241.558] 	GeForce 256     (NV10)
[  5241.558] 	GeForce 2       (NV11, NV15)
[  5241.558] 	GeForce 4MX     (NV17, NV18)
[  5241.558] 	GeForce 3       (NV20)
[  5241.558] 	GeForce 4Ti     (NV25, NV28)
[  5241.558] 	GeForce FX      (NV3x)
[  5241.558] 	GeForce 6       (NV4x)
[  5241.558] 	GeForce 7       (G7x)
[  5241.558] 	GeForce 8       (G8x)
[  5241.558] 	GeForce GTX 200 (NVA0)
[  5241.558] 	GeForce GTX 400 (NVC0)
[  5241.560] (++) Using config file: "/root/xorg.conf.new"
[  5241.562] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  5241.562] (==) ServerLayout "X.org Configured"
[  5241.562] (**) |-->Screen "Screen0" (0)
[  5241.563] (**) |   |-->Monitor "Monitor0"
[  5241.563] (**) |   |-->Device "Card0"
[  5241.563] (**) |-->Input Device "Mouse0"
[  5241.563] (**) |-->Input Device "Keyboard0"
[  5241.563] (==) Automatically adding devices
[  5241.563] (==) Automatically enabling devices
[  5241.563] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[  5241.563] 	Entry deleted from font path.
[  5241.563] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[  5241.563] 	Entry deleted from font path.
[  5241.563] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  5241.563] 	Entry deleted from font path.
[  5241.563] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  5241.563] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  5241.563] 	Entry deleted from font path.
[  5241.563] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  5241.563] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[  5241.563] 	Entry deleted from font path.
[  5241.563] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[  5241.563] 	Entry deleted from font path.
[  5241.563] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  5241.563] 	Entry deleted from font path.
[  5241.563] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  5241.563] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  5241.563] 	Entry deleted from font path.
[  5241.563] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  5241.563] (**) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/
[  5241.563] (**) ModulePath set to "/usr/lib/xorg/modules"
[  5241.563] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[  5241.563] (WW) Disabling Mouse0
[  5241.563] (WW) Disabling Keyboard0
[  5241.563] (EE) [drm] No DRICreatePCIBusID symbol
[  5241.567] Number of created screens does not match number of detected devices.
  Configuration failed
merci, pour votre aide
Avatar de l’utilisateur
widapit
Maître du Kyudo
Messages : 1148
Inscription : mar. 30 mars 2010, 22:53
Localisation : Toulouse

Re: [xorg] impossible de lancer startx

Message par widapit »

Salut !

Il me semble que pour pouvoir profiter pleinement des 2 cartes, tu devrais regarder ici :
http://wiki.archlinux.fr/Bumblebee
Et lorsque que je lance un sudo X -configure j'ai aussi une erreur dont voici les logs :
cette commande est dépréciée selon le wiki ... :chinois:
routeur(OpenWRT); serveurs(Debian, Arch); cléUSB(Black-Arch);
mon ordi(Arch-hardened) = {spectrwm, zsh} || je m'amuse aussi avec des Arduino !
jney
Hankyu
Messages : 11
Inscription : jeu. 02 sept. 2010, 20:11

Re: [xorg] impossible de lancer startx

Message par jney »

Merci pour ta réponse, Bumblebee a l'air d'être tout à fait selon j'ai besoin, malheureusement, je ne suis pas arrivé à l'installer... erreurs au moment de la compilation
j'ai refait une install complète, mais au lieu de m'acharner sur le driver nvidia, j'ai réussi à installer le driver intel
petite victoire, mais au moins startx se lance et affiche qqchose, je vais continuer à investiguer, mais avec la certitude que j'aurais un affichage fonctionnel
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [xorg] impossible de lancer startx

Message par FoolEcho »

Pour info, il faut que tu précises BusId dans le fichier de configuration du nvidia (sans quoi X se base sur la première carte qu'il rencontre... l'intel en l'occurence).
«The following statement is not true. The previous statement is true.» :nage:
jney
Hankyu
Messages : 11
Inscription : jeu. 02 sept. 2010, 20:11

Re: [xorg] impossible de lancer startx

Message par jney »

merci à vous, j'ai réinstallé bumblebee avec bbswitch et ça a l'air de fonctionner
y a-t-il un moyen de savoir quelle carte Xorg utilise quand il est lancé ?
Avatar de l’utilisateur
onyx67
Elfe
Messages : 766
Inscription : dim. 06 nov. 2011, 18:12
Localisation : Alsace

Re: [xorg] impossible de lancer startx

Message par onyx67 »

jney a écrit :y a-t-il un moyen de savoir quelle carte Xorg utilise quand il est lancé ?
Il faut voir dans les logs d'Xorg.
"La complication est un effet de la simplicité mal acquise"

Intel i5-2320; Nvidia GeForce GT 520; ATA Hitachi 2To; ArchLinux-KDE
Répondre