#1 Le 08/11/2006, à 12:49
- tunahead
[résolu] mode clone nvidia => résolution
bonjour,
est-il possible d'utiliser une sortie TV d'une carte nvidia geforce4 en mode clone avec une résolution différente de celle de l'écran pc ?
je m'explique : tout marche bien chez moi, mode clone, sortie TV, affichage video sur TV, ça roule
MAIS
Je n'arrive pas à obtenir une résolution TV différence de celle de mon écran de bureau (1680x1050). Vous voyez le problème, je ne vois qu'une portion de mon affichage sur la télé
Mon xorg.conf ne doit pas etre bon :
Section "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
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" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "Device"
Identifier "NVIDIA Corporation NV25 [GeForce4 Ti 4200]"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "TwinView" "true"
Option "TwinViewOrientation" "Clone"
Option "TVOutFormat" "COMPOSITE"
Option "TVStandard" "PAL-N"
Option "SecondMonitorHorizSync" "30-50"
Option "SecondMonitorVertRefresh" "60"
Option "MetaModes" "1680x1050,800x600"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-51
VertRefresh 43-60
EndSection
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV25 [GeForce4 Ti 4200]"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1680x1050" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1680x1050" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1680x1050" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1680x1050" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1680x1050" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1680x1050" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection
Section "DRI"
Mode 0666
EndSection
Dernière modification par tunahead (Le 10/11/2006, à 11:15)
"Mieux vaut trop de précautions que suffisamment de précautions"
Hors ligne
#2 Le 09/11/2006, à 14:43
- freddo42
Re : [résolu] mode clone nvidia => résolution
hello, j'ai eu un pblm similaire
je pense que ton pblm viens de la section Device
ligne metamodes
voici mon xorg.conf si sa peut t'aider
Section "Device"
Identifier "NVIDIA Corporation NV43 [GeForce 6600 GT]"
Driver "nvidia"
Option "TwinView" "true"
Option "TwinViewOrientation" "Clone"
Option "TVOutFormat" "SVIDEO"
Option "TVStandard" "PAL-B"
Option "SecondMonitorHorizSync" "30-50"
Option "SecondMonitorVertRefresh" "60"
Option "MetaModes" "1024x768,1024x768;800x600,800x600;640x480,640x480;512x384,512x384"
EndSection
je pense que tu doit juste completer la derniere ligne
sinon tu peut aller voir sur cette page
http://doc.ubuntu-fr.org/materiel/multi-ecran
bonne chance
Dernière modification par freddo42 (Le 09/11/2006, à 14:46)
:D :D :D :D
et que linux soit avec vous.....
convertis : 1
Hors ligne
#3 Le 09/11/2006, à 23:48
- tunahead
Re : [résolu] mode clone nvidia => résolution
j'ai modifié mon xorg.conf comme tu me le conseilles :
Section "Device"
Identifier "NVIDIA Corporation NV25 [GeForce4 Ti 4200]"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "TwinView" "true"
Option "TwinViewOrientation" "Clone"
Option "TVOutFormat" "COMPOSITE"
Option "TVStandard" "PAL-N"
Option "SecondMonitorHorizSync" "30-50"
Option "SecondMonitorVertRefresh" "60"
Option "MetaModes" "1680x1050,1680x1050;800x600,800x600;640x480,640x480"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-51
VertRefresh 43-60
EndSection
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV25 [GeForce4 Ti 4200]"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1680x1050" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1680x1050" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1680x1050" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1680x1050" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1680x1050" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1680x1050" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection
Mais ma télé n'apprécie pas... bandes blanches et scintillement.
Comme celle que tu m'indiques, beaucoup de page du wiki ne mentionnent que la configuration pour l'extention de bureau à droite ou à gauche...
Même la page http://doc.ubuntu-fr.org/materiel/nvidia_tvout ne m'aide pas beaucoup...
quelqu'un peu me filer son xorg.conf complet (mode clone sur une carte nvidia) je suis sûr, comme me l'indique freddo42 que mon problème est lié aux résolution indiquées.
question de dernière minute : ma télé est 4/3, mon écran 16/10. ça pose un problème au serveur X ça ?
Dernière modification par tunahead (Le 09/11/2006, à 23:50)
"Mieux vaut trop de précautions que suffisamment de précautions"
Hors ligne
#4 Le 10/11/2006, à 00:42
- Tao
Re : [résolu] mode clone nvidia => résolution
Pour le moment je crois que le pilote ne permet pas ce que tu voudrais. Deux solutions :
- tu te limites à 1024x768 comme freddo42, dans ce cas tu pourras avoir un vrai clone mais c'est un peu léger comme résolution si on a un écran de plus de 15 pouces...
- tu changes de résolution quand tu as besoin d'avoir le bureau en entier sur ta TV.
Pour la deuxième solution, il est possible d'automatiser tout ça dans des scripts en y mettant xrandr. Il y a eu plusieurs astuces du genre poster dans le forum il me semble.
Un jour peut-être le pilote nvidia serait capable de faire une mise à l'échelle de n'importe quelle résolution vers la TV!
EDIT : ou alors il faut une TV HD, comme ça elle devrait être capable d'accepter des résolutions plus élevées nativement.
Dernière modification par Tao (Le 10/11/2006, à 00:43)
Hors ligne
#5 Le 10/11/2006, à 01:14
- incoming
Re : [résolu] mode clone nvidia => résolution
Jusqu'à présent j'étais obligé de passer en 800x600 pour les deux écrans.
Option "MetaModes" "1280x1024, NULL; 800x600, 800x600; 640x480, 640x480"
en effet au démarrage je ne veux pas la tv et je dois faire un 'xrandr -s 1' pour switcher en mode tv (800x600 sur les deux) puis 'xrandr -s 0' pour y revenir sans tv.
après j'ai créé un tiroir dans le tableau de bord du haut dans lequel j'ai ajouté 2 lanceurs. un pour chaque mode et choisi de beaux icons pour illustrer tout ça
Dernière modification par incoming (Le 10/11/2006, à 11:27)
Hors ligne
#6 Le 10/11/2006, à 09:41
- tunahead
Re : [résolu] mode clone nvidia => résolution
Ok ! changer la résolution à chaque fois, c'est ce que je m'étais résigné à faire
Je vais faire un ptit script "switch" pour xorg.conf et pis voilà !
Merci à vous 3 pour le coup de pouce
Dernière modification par tunahead (Le 10/11/2006, à 09:42)
"Mieux vaut trop de précautions que suffisamment de précautions"
Hors ligne
#7 Le 10/11/2006, à 10:32
- incoming
Re : [résolu] mode clone nvidia => résolution
Si tu pouvais publier ton petit script ici, une fois qu'il est ok. Ça ferait avancer le shimilimili euh, non le shililimimi euh , enfin tu m'a compris
merci
Hors ligne
#8 Le 10/11/2006, à 11:04
- tunahead
Re : [résolu] mode clone nvidia => résolution
c'est tout bête :
un premier xorg.conf pour le mode clone TV (que j'ai nommé /etc/X11/xorg_both.conf) :
Section "Device"
Identifier "NVIDIA Corporation NV25 [GeForce4 Ti 4200]"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "TwinView" "true"
Option "TwinViewOrientation" "Clone"
Option "TVOutFormat" "COMPOSITE"
Option "TVStandard" "PAL-N"
Option "SecondMonitorHorizSync" "30-50"
Option "SecondMonitorVertRefresh" "60"
Option "MetaModes" "800x600,800x600"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-51
VertRefresh 43-60
EndSection
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV25 [GeForce4 Ti 4200]"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "800x600" "640x480"
EndSubSection
EndSection
un second pour l'affichage sur mon moniteur TFT 22' (/etc/X11/xorg_alone.conf) :
Section "Device"
Identifier "NVIDIA Corporation NV25 [GeForce4 Ti 4200]"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "MetaModes" "1680x1050"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-51
VertRefresh 43-60
EndSection
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV25 [GeForce4 Ti 4200]"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1680x1050"
EndSubSection
SubSection "Display"
Depth 4
Modes "1680x1050"
EndSubSection
SubSection "Display"
Depth 8
Modes "1680x1050"
EndSubSection
SubSection "Display"
Depth 15
Modes "1680x1050"
EndSubSection
SubSection "Display"
Depth 16
Modes "1680x1050"
EndSubSection
SubSection "Display"
Depth 24
Modes "1680x1050"
EndSubSection
EndSection
et deux scripts :
~/.monoscreen
cp /etc/X11/xorg_alone.conf /etc/X11/xorg.conf
~/.dualscreen
cp /etc/X11/xorg_both.conf /etc/X11/xorg.conf
ensuite, deux icones dans la barre de tâche pour chacun des scripts avec les arguments :
- kdesu ~/.monoscreen (Pour KDE, bien entendu )
- kdesu ~/.dualscreen
Un petit "ctrl+alt+bckspace" et ça roule !
(fortement inspiré de ça)
Il y a moyen de n'avoir qu'un script et qu'une icone en incluant un booléen et un test mais je réserve ça à plus tard (ou à jamais ) à moins que ça interesse quelqu'un...
Je mets tout de même "résolu" dans le titre.
Dernière modification par tunahead (Le 10/11/2006, à 11:25)
"Mieux vaut trop de précautions que suffisamment de précautions"
Hors ligne