Merci pour tout liho, tout ça est très complet, pour l'instant j'essaie la méthode que tu as
décrite dans le post précédent et je n'arrive pas à faire fonctionner.
Mon xorg.conf ne se situe pas à la racine de /etc mais est dans /etc/X11 , ce n'est pas un problème, si ?
Tu mentionnes plusieurs fois "gmplayer", moi je n'ai que "mplayer", qui est "gmplayer sans interface graphique et qui me satisfait pleinement. Est-ce un problème si je remplace les "gmplayer" par des "mplayer" ?
J'ai remarqué en faisant les modifs que tu m'avais proposées qu'en faisant "startMP" après être passé en mode Ctrl+F2, il y avait ces erreurs qui s'affichaient (faut il exécuter la chose en "root" ou en simple utilisateur ?):
En essayant de suivre tes indications, j'en suis arrivé à avoir ce /etc/X11/xorg.conf:
# Xorg configuration created by system-config-display
Section "ServerLayout"
Identifier "Monitor sur display 0.0 & TV sur display 0.1"
Screen 0 "Screen0" 0 0
Screen 1 "screen_tv" rightof "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Synaptics" "CorePointer"
InputDevice "Mouse0" "AlwaysCore"
EndSection
Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, a font server independent of the X server is
# used to render fonts.
FontPath "unix/:7100"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
Load "synaptics"
Load "dri"
EndSection
Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "fr"
Option "XkbVariant" "latin9"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection
Section "InputDevice"
Identifier "Synaptics"
Driver "synaptics"
Option "Device" "/dev/input/mice"
Option "Protocol" "auto-dev"
Option "Emulate3Buttons" "yes"
EndSection
Section "Monitor"
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Dell 1024x768 Laptop Display Panel"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 31.5 - 48.5
VertRefresh 59.0 - 75.0
Option "dpms"
EndSection
Section "Monitor"
Identifier "monitor_tv"
HorizSync 30.0 - 50.0
VertRefresh 50.0 - 60.0
EndSection
Section "Device"
Identifier "Videocard0"
Driver "i810"
VendorName "Videocard vendor"
BoardName "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
EndSection
Section "Device"
Identifier "device_tv"
Driver "i810"
VendorName "Videocard vendor"
BoardName "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
Option "ConnectedMonitor" "TV"
Option "TVStandard" "PAL-N"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "screen_tv"
Device "device_tv"
Monitor "monitor_tv"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "800x600" "640x480"
EndSubSection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
J'ai aussi obtenu ce fichier /usr/local/share/.xsessiontv :
export DISPLAY=:1
mplayer -af <volnorm> > /dev/null 2>& 1 < /dev/null
J'ai aussi créé ce fichier /usr/bin/local/startMP :
xinit /usr/local/share/.xsessiontv -- :1 -screen screen_tv
Mais, quand je fais startMP en mode Ctrl+F2, j'obtiens ces erreurs:
X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.9-34.ELsmp i686Red Hat, Inc.
Current Operating System: Linux ip-82.net-81-220-180.nice.rev.numericable.fr 2.6.18-1.2200.fc5 #1 S at Oct 14 16:59:26 EDT 2006 i686
Build Date: 30 June 2006
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
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.1.log", Time: Thu Dec 14 20:34:15 2006
(==) Using config file: "/etc/X11/xorg.conf"
(WW) I810: No matching Device section for instance (BusID PCI:0:2:1) found
(EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI.
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
> Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
/usr/local/share/.xsessiontv: line 2: syntax error near unexpected token '>'
/usr/local/share/.xsessiontv: line 2: `mplayer -af <volnorm> > /dev/null 2>& 1 < /dev/null`
waiting for X server to shut down FreeFontPath: FPE "unix/:7100" refcount is 2
should be 1; fixing.
Puis, quand j'essaie cette ligne:
xterm -e "DISPLAY=:0.1 && export display && mplayer -af volnorm -fs -zoom -vo X11 film.avi"&
j'obtiens cette erreur:
xterm Xt error: Can't open display:0
(je croyais qu'il fallait mettre un "setenv" dans le cshrc alors j'ai mis "setenv DISPLAY 0", et je crois que c'est resté depuis ce moment là, le "0" qui fait partie du message d'erreur...
En tous cas, merci bien ! 🙂