Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

[HS] Portable deux écrans

3 réponses
Avatar
Nicolas Roudninski
Bonsoir la liste,

J'avais pos=C3=A9 une question il y a quelque temps concernant le =20
param=C3=A9trage de xorg pour b=C3=A9n=C3=A9ficier de la sortie s-vhs de mon=
portable =20
(Fujitsu Amilo Pro).
Je n'ai pas eu de r=C3=A9ponse (snip) mais j'y suis (presque) arriv=C3=A9 ! =
(youpi)

Par contre, j'ai un l=C3=A9ger probl=C3=A8me :
J'ai cr=C3=A9=C3=A9 un script qui stoppe gdm, remplace le fichier xorg.conf =
=20
original (un seul =C3=A9cran) par un xorg.conf modifi=C3=A9 (deux =C3=A9cran=
s) et =20
relance gdm.
Cela fonctionne =C3=A0 quelques exceptions :

1/ Si je tape CTRL-ALT-F1 : plantage de X et impossibilit=C3=A9 de relancer =
=20
la session X (obligation d'un reboot) m=C3=AAme en prenant soin de remette =
=20
le xorg.cong original.

2/ Un deuxi=C3=A8me script fait l'inverse du premier : stop de gdm, copie =
=20
de xorg.conf original vers xorg.conf, relance de gdm. et l=C3=A0 : =20
plantage, impossibilit=C3=A9 de relancer X, obligation de reboot.

Xorg me dit juste : "no screen found"

Si une bonne =C3=A2me avait une id=C3=A9e, une piste =C3=A0 suivre, ce serai=
t avec plaisir.

Merci d'avance.

Cordialement,

--=20
Nicolas Roudninski

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

3 réponses

Avatar
zelos 414
Bonjour,

Peux-tu nous poster ton script et tes Xorg.conf pour voir ce qui clocherait ?

Zelos

2007/1/14, Nicolas Roudninski :
Bonsoir la liste,

J'avais posé une question il y a quelque temps concernant le
paramétrage de xorg pour bénéficier de la sortie s-vhs de mon porta ble
(Fujitsu Amilo Pro).
Je n'ai pas eu de réponse (snip) mais j'y suis (presque) arrivé ! (yo upi)

Par contre, j'ai un léger problème :
J'ai créé un script qui stoppe gdm, remplace le fichier xorg.conf
original (un seul écran) par un xorg.conf modifié (deux écrans) et
relance gdm.
Cela fonctionne à quelques exceptions :

1/ Si je tape CTRL-ALT-F1 : plantage de X et impossibilité de relancer
la session X (obligation d'un reboot) même en prenant soin de remette
le xorg.cong original.

2/ Un deuxième script fait l'inverse du premier : stop de gdm, copie
de xorg.conf original vers xorg.conf, relance de gdm. et là :
plantage, impossibilité de relancer X, obligation de reboot.

Xorg me dit juste : "no screen found"

Si une bonne âme avait une idée, une piste à suivre, ce serait avec plaisir.

Merci d'avance.

Cordialement,

--
Nicolas Roudninski

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




Avatar
Nicolas Roudninski
Le 15.01.2007, zelos 414 a écrit :

Bonjour,

Peux-tu nous poster ton script et tes Xorg.conf pour voir ce qui clocherai t?

Zelos



Je veux bien, mais ça risque d'être un peu long, non ?

Voici les scripts en question :

----------------------------------------------------------
1ecran.pl :
#!/usr/bin/perl -w
use strict;
use File::Copy;

my ($xorg, $xorg1, $xorg2);
$xorg = "/etc/X11/xorg.conf";
$xorg1 = "/etc/X11/xorg.conf.orig";
$xorg2 = "/etc/X11/xorg.conf.tv";

copy($xorg1,$xorg);
system "/etc/init.d/gdm stop";
exec "/etc/init.d/gdm start";
-----------------------------------------------------------
2ecrans.pl :
#!/usr/bin/perl -w
use strict;
use File::Copy;

my ($xorg, $xorg1, $xorg2);
$xorg = "/etc/X11/xorg.conf";
$xorg1 = "/etc/X11/xorg.conf.orig";
$xorg2 = "/etc/X11/xorg.conf.tv";

copy($xorg2,$xorg);
system "/etc/init.d/gdm stop";
exec "/etc/init.d/gdm start";
-----------------------------------------------------------
xorg.conf (deux écrans) :
(J'ai enlevé les sections qui ne présentent pas d'interet)

Section "Device"
Identifier "Intel Corporation Mobile 915GM/GMS/910GML Express
Graphics Controller"
Driver "i810"
BusID "PCI:0:2:0"
Option "MonitorLayout" "TV,LFP"
Option "DevicePresence" "true"
Screen 0
EndSection

Section "Device"
Identifier "i810 TV-A"
Driver "i810"
Option "MonitorLayout" "TV,LFP"
Option "DevicePresence" "true"
Screen 1
BusId "PCI:0:2:0"
EndSection

Section "Monitor"
Identifier "LCD"
Option "DPMS"
EndSection

Section "Monitor"
Identifier "Television"
HorizSync 30.0-50.0
VertRefresh 60
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics
Controller"
Monitor "LCD"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x800" "800x600"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x800" "800x600"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x800" "800x600"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x800" "800x600"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x800" "800x600"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x800" "800x600"
EndSubSection
EndSection

Section "Screen"
Identifier "TV Screen"
Device "i810 TV-A"
Monitor "Television"
DefaultDepth 24

Subsection "Display"
Depth 24
Modes "768x576"
ViewPort 0 0
EndSubsection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Default Screen"
Screen 1 "TV Screen" RightOf "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection

Section "DRI"
Mode 0666
EndSection
-------------------------------------------------------------------

--
Nicolas Roudninski

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
Avatar
Thomas Clavier
This is a cryptographically signed message in MIME format.

--------------ms020605010401070901080909
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Nicolas Roudninski a écrit :
Bonsoir la liste,

J'avais posé une question il y a quelque temps concernant le paramétrage
de xorg pour bénéficier de la sortie s-vhs de mon portable (Fujitsu
Amilo Pro).
Je n'ai pas eu de réponse (snip) mais j'y suis (presque) arrivé ! (youpi)



ha, sinon, j'ai un collègue qui utilises 2 écrans avec son portable au
bureau, et 1 écran chez lui. La sélection des écrans se fait toute seule
par Xorg. En gros avec 1 écran, pilote libre, avec 2 écrans pilote
proprio ATI. Voici le fichier xorg.conf généré par l'outils de conf ati :


# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "aticonfig-Screen[0]" 0 0
Screen "aticonfig-Screen[1]" Above "aticonfig-Screen[0]"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "Files"

# path to defoma fonts
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"
EndSection

Section "Module"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "fr"
Option "XkbVariant" "latin9"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
EndSection

Section "Monitor"
Identifier "Écran portable"
HorizSync 28.0 - 84.0
VertRefresh 43.0 - 60.0
Option "DPMS"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[1]"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "ATI Technologies Inc M24 1P [Radeon Mobility X600]"
Driver "ati"
BusID "PCI:1:0:0"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection

Section "Device"
Identifier "aticonfig-Device[1]"
Driver "fglrx"
BusID "PCI:1:0:0"
Screen 1
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies Inc M24 1P [Radeon Mobility X600]"
Monitor "Écran portable"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1680x1050" "1280x1024" "1152x768" "1024x768"
EndSubSection
SubSection "Display"
Depth 4
Modes "1680x1050" "1280x1024" "1152x768" "1024x768"
EndSubSection
SubSection "Display"
Depth 8
Modes "1680x1050" "1280x1024" "1152x768" "1024x768"
EndSubSection
SubSection "Display"
Depth 15
Modes "1680x1050" "1280x1024" "1152x768" "1024x768"
EndSubSection
SubSection "Display"
Depth 16
Modes "1680x1050" "1280x1024" "1152x768" "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1680x1050" "1280x1024" "1152x768" "1024x768"
EndSubSection
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]"
Device "aticonfig-Device[0]"
Monitor "aticonfig-Monitor[0]"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "aticonfig-Screen[1]"
Device "aticonfig-Device[1]"
Monitor "aticonfig-Monitor[1]"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Modes "1152x864"
Depth 24
EndSubSection
EndSection

Section "DRI"
Mode 0666
Group "video"
EndSection

Section "ServerFlags"
Option "AIGLX" "off"
EndSection

Section "Extensions"
Option "Composite" "Disable"
EndSection



--
Thomas Clavier http://www.tcweb.org
Lille Sans Fil http://www.lillesansfil.org
+33 (0)6 20 81 81 30 JabberID :

--------------ms020605010401070901080909
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJ1DCC
BOYwggLOoAMCAQICAwKBvDANBgkqhkiG9w0BAQUFADB5MRAwDgYDVQQKEwdSb290IENBMR4w
HAYDVQQLExVodHRwOi8vd3d3LmNhY2VydC5vcmcxIjAgBgNVBAMTGUNBIENlcnQgU2lnbmlu
ZyBBdXRob3JpdHkxITAfBgkqhkiG9w0BCQEWEnN1cHBvcnRAY2FjZXJ0Lm9yZzAeFw0wNjA3
MjkxMzA4NTdaFw0wNzA3MjkxMzA4NTdaMDgxGDAWBgNVBAMTD0NBY2VydCBXb1QgVXNlcjEc
MBoGCSqGSIb3DQEJARYNdG9tQHRjd2ViLm9yZzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC
AQoCggEBAL/cAiyRMB4lpCZxMXddQnV6FjtaW3UcYwowiDDLGt9pbyrkYuVaU3WtfZD+ft75
nS66j7JSxgrODCt8b/2rcdwOIfrXWug0dK7DtSUc55NfBwDt9hfI6srCWEB47mrNZ7UP6tgZ
qN3Fdkj2w4M0UiJ9vBj+jWv5FMCSJPwqfBJ9FOx+fOKcFzIaI3AsUnHPXM3QJK4CPOcVIwqg
iVeU0I3TpePXm0jmsAOlp5DV88VFIFA4YiXw0270SJLDSyaAHI/n2UTEIgzs8x8LIGxldGEY
KGOs5kaevf9HRbEZu1JzIZnFaBh/Vd+cb5ex/n8U19Mx7aRjHmfwt6FyEg71b3MCAwEAAaOB
tzCBtDAMBgNVHRMBAf8EAjAAMFYGCWCGSAGG+EI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zEiMCAGA1UEAxMZQ0EgQ2VydCBTaWduaW5nIEF1dGhvcml0eTEhMB8GCSqGSIb3DQEJ
ARYSc3VwcG9ydEBjYWNlcnQub3JnAgMCgbwwgZMGCyqGSIb3DQEJEAILMYGDoIGAMHkxEDAO
BgNVBAoTB1Jvb3QgQ0ExHjAcBgNVBAsTFWh0dHA6Ly93d3cuY2FjZXJ0Lm9yZzEiMCAGA1UE
AxMZQ0EgQ2VydCBTaWduaW5nIEF1dGhvcml0eTEhMB8GCSqGSIb3DQEJARYSc3VwcG9ydEBj
YWNlcnQub3JnAgMCgbwwDQYJKoZIhvcNAQEBBQAEggEAh2b2KKcitrma6XXpAEr2wiHXLwvE
NDBHFj4h/BY3RZi2Gt1qQrjmw55u70a2u3dBhErx0qzcxl2H8l/6diinv855AH+pBPUcF5pT
1+djdAECw7JxC+P+ZzBri4eUX698X5ygciAU7v9pex+p0CwkzUjGSLnYXLSZTNWbZTo2tmtU
SviJM1rEKbBYFUGgUDdozdtxW8M+wpoRRLpVy5mWXAz2ActZQrCFr40tRbl0mEqiqbtx5b6b
iaGUeep25BXNQxi37JL5fg4fiLu/gDg2fTBNIoJPwNsqrFAFp00jI2qvhXatIWyY0ToHoTss
KLrWWKxloKHiG7CniavTkaQy8gAAAAAAAA= --------------ms020605010401070901080909--


--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et
"Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact