Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 03/09/2007, à 00:25

gedefix

pb résolution à moitié résolu... en changeant de distribution!?

Salut à tous.

Je suis débutant sous UBUNTU mais franchement je trouve ça exceptionnel.
Je n'ai plus qu'un pb de résolution.
Je suis sur un portable TOSHIBA Satellite M60-154 avec une carte ATI Mobility X700
Sous UBUNTU ma résolution ne dépasse pas 1024x768, ce qui m'aplatit les images (ce qui fait du coup prendre 3kg à ma fille lorsque je la regarde en photo... alors qu'elle n'en pèse que 8!!!)
j'ai essayé Mandriva spring, et là j'arrive à passer en 1440x900 (la résolution optimale de l'ordinateur selon TOSHIBA)

J'ai donc essayé de copier tout ou partie du xorg.conf de mandriva sur le xorg.conf d'ubuntu.
Mais ça coince : ça plante le redémarrage d'ubuntu.

Que me conseillez vous de faire?
Voici mon xconf qui marche mal:

# /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 xorg.conf(5) manual page.
# (Type "man 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 "Files"
	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"
	# 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	"vbe"
EndSection

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

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

Section "InputDevice"
	Identifier	"Synaptics Touchpad"
	Driver		"synaptics"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"auto-dev"
	Option		"HorizScrollDelta"	"0"
EndSection

Section "InputDevice"
	Driver		"wacom"
	Identifier	"stylus"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"		"stylus"
	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
EndSection

Section "InputDevice"
	Driver		"wacom"
	Identifier	"eraser"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"		"eraser"
	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
EndSection

Section "InputDevice"
	Driver		"wacom"
	Identifier	"cursor"
	Option		"Device"	"/dev/input/wacom"
	Option		"Type"		"cursor"
	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
EndSection

Section "Device"
	Identifier	"ATI Technologies Inc Radeon Mobility X700 (PCIE)"
	Driver		"ati"
	BusID		"PCI:1:0:0"
EndSection

Section "Monitor"
	Identifier	"Écran générique"
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"ATI Technologies Inc Radeon Mobility X700 (PCIE)"
	Monitor		"Écran générique"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1024x768" "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"
	InputDevice	"Synaptics Touchpad"
EndSection

Section "DRI"
	Mode	0666
EndSection

#2 Le 03/09/2007, à 00:28

gedefix

Re : pb résolution à moitié résolu... en changeant de distribution!?

désolé pour le message précédent, il est parti avant que je finisse!!
Donc, je continue:
voici lexconf qui marche sous mandriva:

# File generated by XFdrake (rev 142098)

# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
    # font server independent of the X server to render fonts.
    FontPath "unix/:-1"
    
    # minimal fonts to allow X to run without xfs
    FontPath "/usr/share/fonts/misc:unscaled"
EndSection

Section "ServerFlags"
    #DontZap # disable <Crtl><Alt><BS> (server abort)
    AllowMouseOpenFail # allows the server to start up even if the mouse does not work
    #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx" # 3D layer
    Load "dri" # direct rendering
EndSection

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "kbd"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "fr"
    Option "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "ExplorerPS/2"
    Option "Device" "/dev/mouse"
EndSection

Section "InputDevice"
    Identifier "SynapticsMouse1"
    Driver "synaptics"
    Option "EdgeMotionMinSpeed" "200"
    Option "MaxSpeed" "1.00"
    Option "MinSpeed" "0.8"
    Option "BottomEdge" "650"
    Option "EdgeMotionMaxSpeed" "200"
    Option "CircScrollTrigger" "2"
    Option "UpDownScrolling" "0"
    Option "SHMConfig" "on"
    Option "LeftEdge" "120"
    Option "FingerLow" "14"
    Option "HorizScrollDelta" "20"
    Option "MaxTapMove" "110"
    Option "FingerHigh" "15"
    Option "VertScrollDelta" "20"
    Option "CircularScrolling" "1"
    Option "AccelFactor" "0.015"
    Option "TopEdge" "120"
    Option "RightEdge" "830"
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Generic"
    ModelName "Flat Panel 1024x768"
    HorizSync 31.5-55
    VertRefresh 40-70
    
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
    
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1440x900_120"  229.75  1440 1552 1712 1984  900 901 904 965  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1440x900_100"  187.55  1440 1544 1704 1968  900 901 904 953  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1440x900_85"  156.79  1440 1536 1696 1952  900 901 904 945  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1440x900_75"  136.49  1440 1536 1688 1936  900 901 904 940  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1440x900_60"  106.47  1440 1520 1672 1904  900 901 904 932  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1440x900_50"  87.41  1440 1512 1664 1888  900 901 904 926  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_120"  181.21  1280 1376 1520 1760  800 801 804 858  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_100"  147.89  1280 1376 1512 1744  800 801 804 848  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_85"  123.38  1280 1368 1504 1728  800 801 804 840  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_75"  107.21  1280 1360 1496 1712  800 801 804 835  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_60"  83.46  1280 1344 1480 1680  800 801 804 828  -HSync +Vsync
    
    # modeline generated by gtf(1) [handled by XFdrake]
    ModeLine "1280x800_50"  68.56  1280 1336 1472 1664  800 801 804 824  -HSync +Vsync
EndSection

Section "Device"
    Identifier "device1"
    VendorName "ATI Technologies Inc"
    BoardName "ATI Radeon 9500 - X850"
    Driver "fglrx"
    Option "DPMS"
    Option "FSAAMSPosY1" "0.000000"
    Option "StereoSyncEnable" "1"
    
    # === disable PnP Monitor  ===
    #Option "NoDDC"
    Option "FSAAMSPosX5" "0.000000"
    Option "FSAAMSPosX2" "0.000000"
    Option "FSAAMSPosY4" "0.000000"
    Option "FSAAMSPosX4" "0.000000"
    Option "FSAAMSPosY0" "0.000000"
    Option "FSAADisableGamma" "no"
    
    # === Video Overlay for the Xv extension ===
    Option "VideoOverlay" "on"
    Option "GammaCorrectionII" "0x00000000"
    Option "ForceGenericCPU" "no"
    Option "VRefresh2" "unspecified"
    Option "CenterMode" "off"
    Option "FSAAMSPosY5" "0.000000"
    Option "IgnoreEDID" "off"
    
    # === OpenGL Overlay ===
    # Note: When OpenGL Overlay is enabled, Video Overlay
    # will be disabled automatically
    Option "OpenGLOverlay" "off"
    Option "FSAACustomizeMSPos" "no"
    
    # === FSAA ===
    Option "FSAAScale" "1"
    
    # === FireGL DDX driver module specific settings ===
    # === Screen Management ===
    Option "DesktopSetup" "0x00000000"
    Option "HSync2" "unspecified"
    Option "TVHStartAdj" "0"
    Option "FSAAMSPosX0" "0.000000"
    Option "no_dri" "no"
    Option "GammaCorrectionI" "0x00000000"
    Option "FSAAMSPosX1" "0.000000"
    Option "UseInternalAGPGART" "no"
    Option "BlockSignalsOnLock" "on"
    Option "MonitorLayout" "AUTO, AUTO"
    
    # === Misc Options ===
    Option "UseFastTLS" "0"
    
    # === disable/enable XAA/DRI ===
    Option "no_accel" "no"
    
    # === OpenGL specific profiles/settings ===
    Option "Capabilities" "0x00000000"
    Option "FSAAMSPosY3" "0.000000"
    Option "TVColorAdj" "0"
    Option "TVVPosAdj" "0"
    Option "TVStandard" "NTSC-M"
    Option "FSAAMSPosY2" "0.000000"
    
    # === TV-out Management ===
    Option "NoTV" "yes"
    Option "TVHPosAdj" "0"
    Option "TVHSizeAdj" "0"
    
    # === QBS Support ===
    Option "Stereo" "off"
    Option "ScreenOverlap" "0"
    Option "FSAAMSPosX3" "0.000000"
    Option "TVVSizeAdj" "0"
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24
    
    Subsection "Display"
        Depth 8
        Modes "1440x900" "1280x800"
    EndSubsection
    
    Subsection "Display"
        Depth 15
        Modes "1440x900" "1280x800"
    EndSubsection
    
    Subsection "Display"
        Depth 16
        Modes "1440x900" "1280x800"
    EndSubsection
    
    Subsection "Display"
        Depth 24
        Modes "1440x900" "1280x800"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "SynapticsMouse1" "AlwaysCore"
    Screen "screen1"
EndSection

Vous remarquerez que mandriva lui donne un autre nom à ma carte graphique...

pour modifier le xconf je l'édite sous un live de mandriva je l'enregistre puis je relance l'ordi.
Est ce comme cela qu'il faut procéder??

Merci beaucoup!!

gedefix

#3 Le 03/09/2007, à 01:02

Astier

Re : pb résolution à moitié résolu... en changeant de distribution!?

Alors en ce qui concerne la résolution de la résolution de l'écran tout se passe dans la section Screen du fichier xorg.conf.

Tu constateras donc qu'entre tes deux fichiers, il y a une différence flagrante.

Sous Ubuntu, deux possiblités pour régler ton problème :
-soit tu édites à la main le fichier /etc/X11/xorg.conf en rajoutant les fréquences qui vont bien.
- soit tu passes par

sudo dpkg-reconfigure -phigh xserver-xorg

et ça te permettra de choisir (touche espace) les résolutions disponibles.

Voilà, sinon pour reconfigurer complètement le serveurX la commande est

sudo dpkg-reconfigure xserver-xorg

Voilà, à+

Hors ligne

#4 Le 03/09/2007, à 15:52

gedefix

Re : pb résolution à moitié résolu... en changeant de distribution!?

Salut!

Merci pour la réponse, mais


Astier a écrit :

-soit tu édites à la main le fichier /etc/X11/xorg.conf en rajoutant les fréquences qui vont bien.

j'ai déjà essayé et lorsque je choisis ensuite 1440x900 ça me fait des lignes noires de partout
bref cela ne fonctionne pas

Une fois édité il faut faire quelque chose de spécial? Relancer qualque chose?

Astier a écrit :

- soit tu passes par

sudo dpkg-reconfigure -phigh xserver-xorg

et ça te permettra de choisir (touche espace) les résolutions disponibles.

même réponse: déjà essayé mais hélas ça ne me fait que des lignes noires sur la partie gauche et j'ai du mal à revenir à la résolution précédente

Astier a écrit :

Voilà, sinon pour reconfigurer complètement le serveurX la commande est

sudo dpkg-reconfigure xserver-xorg

Voilà, à+

Même effet que précedemment mais en plus long

bref, je n'y arrive toujours pas...

merci quand même pour tes réponses...

si quelqu'un a une petite idée???

gedefix

#5 Le 03/09/2007, à 16:22

Astier

Re : pb résolution à moitié résolu... en changeant de distribution!?

Alors il se trouve qu'après nouvelle analyse de tes deux fichiers xorg.conf, on peut noter que tu utilises sous ubuntu le driver "ati" alors que sous mandriva tu utilises le driver propriétaire fglrx.

Donc pour installer le pilote fglrx sous Ubuntu le plus simple c'est d'aller dans Système-->Administration-->Gestionaire de pilotes propriétaires (sous Feisty) sinon passes par Synaptic pour trouver le pilote fglrx.

Après cette installation tu peux ajouter à la main les options que tu as sous Mandriva (section Device du xorg.conf). Ensuite pour que tout cela fonctionne il faudra que tu redémares le serveurX (Ctrl+Alt+Backspace).

A+

Hors ligne