Xorg.conf et startx

Bonjour,

je voudrai lancer l’interface graphique sur un pc dont la carte graphique est USB - VGA de ce type i-tec-europe.eu/?t=3&v=145

Mon problème, après avoir installé les drivers et la couche graphique c’est au niveau du lancement de la commande “startx” :

[code]Fatal server error:
no screens found

Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
Please also check the log file at “/var/log/Xorg.0.log” for additional information.

giving up.
xinit: No such file or directory (errno 2): unable to connect to X server
xinit: No such process (errno 3): Server error.[/code]
Pourtant le composant est bien reconnu suite à la commande dmesg ou lsusb :

root@ion:/etc/X11# lsusb Bus 004 Device 002: ID 1ef5:0200 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub [b]Bus 001 Device 002: ID 17e9:02ee Newnham Research[/b] Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub root@ion:/etc/X11#

[code]root@ion:/etc/X11# cat /var/log/Xorg.0.log

X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32-5-amd64 i686 Debian
Current Operating System: Linux ion 3.0.0+ #1 Thu Oct 27 17:27:43 CEST 2011 i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.0.0+ root=UUID=d598c795-8055-4662-aed9-04e1db80fb28 ro console=ttyS0,115200 loglevel=6 reboot=bios quiet
Build Date: 30 October 2011 08:56:49PM
xorg-server 2:1.7.7-14 (Julien Cristau jcristau@debian.org)
Current version of pixman: 0.16.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (–) probed, () from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: “/var/log/Xorg.0.log”, Time: Thu Jun 14 14:36:14 2012
(==) Using config file: “/etc/X11/xorg.conf”
(==) Using system config directory “/usr/share/X11/xorg.conf.d”
(==) ServerLayout “X.org Configured”
(
) |–>Screen “Screen0” (0)
() | |–>Monitor “Monitor0”
(
) | |–>Device “Card0”
() |–>Input Device “Mouse0”
(
) |–>Input Device “Keyboard0”
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory “/usr/share/fonts/X11/cyrillic” does not exist.
Entry deleted from font path.
(WW) `fonts.dir’ not found (or not valid) in “/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType”.
Entry deleted from font path.
(Run ‘mkfontdir’ on “/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType”).
(==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
(**) ModulePath set to “/usr/lib/xorg/modules,/usr/local/lib/xorg/modules,/usr/local/lib/xorg/modules/drivers”
(WW) AllowEmptyInput is on, devices using drivers ‘kbd’, ‘mouse’ or ‘vmmouse’ will be disabled.
(WW) Disabling Mouse0
(WW) Disabling Keyboard0
(II) Loader magic: 0x81ecce0
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 6.0
X.Org XInput driver : 7.0
X.Org Server Extension : 2.0
(–) using VT number 7

(–) PCI:*(0:0:2:0) 8086:8108:8086:8119 Intel Corporation System Controller Hub (SCH Poulsbo) Graphics Controller rev 7, Mem @ 0xdff80000/524288, 0xc0000000/268435456, 0xdff40000/262144, I/O @ 0x0000e880/8
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) “extmod” will be loaded. This was enabled by default and also specified in the config file.
(II) “dbe” will be loaded. This was enabled by default and also specified in the config file.
(II) “glx” will be loaded. This was enabled by default and also specified in the config file.
(II) “record” will be loaded. This was enabled by default and also specified in the config file.
(II) “dri” will be loaded. This was enabled by default and also specified in the config file.
(II) “dri2” will be loaded. This was enabled by default and also specified in the config file.
(II) LoadModule: “dbe”
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: “dri2”
(II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.1.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: “record”
(II) Loading /usr/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.13.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: “dri”
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: “glx”
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: “extmod”
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension SELinux
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: “sisusb”
(II) Loading /usr/lib/xorg/modules/drivers/sisusb_drv.so
(II) Module sisusb: vendor="X.Org Foundation"
compiled for 1.7.6.901, module version = 0.9.3
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 6.0
(II) SISUSB: driver for SiSUSB chipsets: SIS315E/PRO USB
(WW) Falling back to old probe method for sisusb
(EE) No devices detected.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
Please also check the log file at “/var/log/Xorg.0.log” for additional information.[/code]

Si vous avez une idée au passage, je vous en remercie d’avance

As-tu essayé de créer un fichier xorg.conf pour y définir ta carte graphique ainsi que le pilote à utiliser ?
Si oui peux-tu le poster ici qu'on y jette un oeil ?

As-tu essayé de créer un fichier xorg.conf pour y définir ta carte graphique ainsi que le pilote à utiliser ?
Si oui peux-tu le poster ici qu’on y jette un oeil ?

j’ai tenté avec :

[code]Section "ServerLayout"
Identifier "Server Layout"
Screen 0 “DisplayLinkScreen” 0 0
EndSection

Section "Files"
ModulePath "/usr/lib/xorg/modules"
ModulePath "/usr/local/lib/xorg/modules"
ModulePath "/usr/local/lib/xorg/modules/drivers"
EndSection

Section "Device"
Identifier "DisplayLinkDevice"
Driver "displaylink"
Option “fbdev” "/dev/fb0
Option “DPI” "140×140
EndSection

Section "Monitor"
Identifier “DisplayLinkMonitor”

DisplaySize 152 92

EndSection

Section "Screen"
Identifier "DisplayLinkScreen"
Device "DisplayLinkDevice"
Monitor "DisplayLinkMonitor"
SubSection "Display"
Depth 16
Modes "800×480"
EndSubSection
EndSection[/code]

OU :

[code]Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 “Screen0” 0 0
InputDevice “Mouse0” "CorePointer"
InputDevice “Keyboard0” "CoreKeyboard"
EndSection

Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "built-ins"
EndSection

Section "Module"
Load "dbe"
Load "dri2"
Load "record"
Load "dri"
Load "glx"
Load "extmod"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option “Protocol” "auto"
Option “Device” "/dev/input/mice"
Option “ZAxisMapping” "4 5 6 7"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
VertRefresh 50-75
HorizSync 30-90
#Option “DPMS” "false"
EndSection

Section “Device”
#Option “ShadowFB” # []
#Option “Rotate” #
#Option “fbdev” #
#Option “debug” # []
Identifier "Card0"
Driver "sisusb"
VendorName “SiS” # Value does not matter
BoardName “SiS” # Value does not matter
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 16
Modes “1024x768” “800x600” "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes “1024x768” “800x600” "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes “1024x768” “800x600” "640x480"
EndSubSection
EndSection[/code]

Le problème se situe aussi sur les drivers, je ne sais lesquels utiliser …
Mais déjà visiblement, il ne détecte pas l’écran et le “xinit” n’existe pas

Bien que ce soit un peu contre-intuitif, cette erreur “no screens found” révèle rarement un problème de détection de l’écran.
D’après tes fichiers journaux, c’est bien ta crate grahpique (“device”) qui est en cause.

Quand à savoir quel pilote utiliser et comment l’utiliser, ça sort de mes compétences : je ne connais pas ce type de carte graphique.

Tu devrais mettre le nom de cette carte graphique dans le titre de ton sujet, ça favoriserait le passage d’un membre du forum plus calé sur le sujet.

J’ai pourtant fait des tests avec les drivers : libdlo qui m’affiche des écrans, mais j’ai constamment un écran vert sinon …
Je vois d’ou peux venir le conflit … surement du xorg.conf , mais je n’ai pas d’iée

J’espère pour toi que tu causes allemand, parce que je n’ai pas trouvé mieux : debianforum.de/forum/viewtopic.php?f=2&t=131458

Apparemment il faut un kernel >= 2.6.38 et aussi installer le pilote à partir des sources (dernier message du fil). Ils parlent aussi de la config Xorg.
Bon courage, moi cette langue me rebute trop…

+1 pour syam je me serais aussi pencher du côté du noyau ou de la config noyau

J’ai bien un écran vert :
"displaylink-mod is already running on your displaylink devices (you get a green screen upon device insertion)"
Ce qui montre qu’il est bien reconnu par les drivers (kernel 3.0)

Je pense que mon problème se situe au niveau de mon xorg.conf, car je n’ai aucune idée de comment le créer …