[ati]probleme decalages et resolutions d'images[résolu]

Xorg, Compiz, KDE / Gnome / Xfce / Fluxbox / e17 / fvwm ... GDM/KDM/XDM...
milambert
Hankyu
Messages : 38
Inscription : mar. 21 août 2007, 09:47
Localisation : Belgique

[ati]probleme decalages et resolutions d'images[résolu]

Message par milambert »

Bonjour tous le monde.

J'ai quelques petits problèmes avec le driver libre ATI.

Avant tout, j'ai une 9600XT "made in asus" et un écran CRT 17" Philips. Si j'utilise FGLRX je n'ai aucun problèmes, mais avec le driver libre (aussi bien la version stable que la git) deux petits problèmes apparaissent

1er problème (le plus gênant):

Mon image est décalée vers la gauche (bande noir a droite). Si je règle mon écran, j'ai le même décalage sous windows ce qui n'arrange rien au final.

2e problème

Les résolutions que j'ai spécifiées dans le xorg.conf ne sont absolument pas prisent en compte. A la place, j'ai par défaut une résolution de "1152 * 864" au lieu de "1024*768".

EDIT: problème 2 résolut en spécifiant une résolution "Virtuelle" (voir xorg.conf)

Si quelqu'un a une idée pour corrigée ces problèmes, je suis preneur.

Merci d'avance.

PS: voici mon xorg.conf:

Code : Tout sélectionner

# /etc/X11/xorg.conf (xorg X Window System server configuration file)

Section "Files"
	RgbPath     "/usr/share/X11/rgb"
	ModulePath  "/usr/lib/xorg/modules"
#	FontPath    "/usr/share/fonts/misc:unscaled"
	FontPath    "/usr/share/fonts/misc"
	FontPath    "/usr/share/fonts/75dpi:unscaled"
	FontPath    "/usr/share/fonts/75dpi"
	FontPath    "/usr/share/fonts/100dpi:unscaled"
	FontPath    "/usr/share/fonts/100dpi"
#	FontPath    "/usr/share/fonts/PEX"
# Additional fonts: Locale, Gimp, TTF...
	FontPath    "/usr/share/fonts/cyrillic"
#	FontPath    "/usr/share/lib/X11/fonts/latin2/75dpi"
#	FontPath    "/usr/share/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
	FontPath    "/usr/share/fonts/Type1"
#	FontPath    "/usr/share/fonts/ttf/western"
#	FontPath    "/usr/share/fonts/ttf/decoratives"
    FontPath    "/usr/share/fonts/TTF"
#	FontPath    "/usr/share/fonts/truetype"
#	FontPath    "/usr/share/fonts/truetype/openoffice"
#	FontPath    "/usr/share/fonts/truetype/ttf-bitstream-vera"
#	FontPath    "/usr/share/fonts/latex-ttf-fonts"
#	FontPath    "/usr/share/fonts/defoma/CID"
#    FontPath    "/usr/share/fonts/defoma/TrueType"
EndSection

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

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"      "xorg"
	Option		"XkbModel"      "pc105"
	Option		"XkbLayout"     "us"
	Option		"XkbOptions"	"lv3:ralt_switch, compose:rwin, eurosign:5"
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 "Device"
	Identifier	"ATI Technologies, Inc. RV350 AR [Radeon 9600 XT]"
	Driver		"radeon"
#    Driver      "vesa"
    BusID		"PCI:2:0:0"
    Option      "AccelMethod"       "EXA"
    Option      "AccelDFS"          "on"
    Option      "AGPMode"           "8"
#    Option      "AGPFastWrite"      "true"
#    Option      "AGPSize"           "128"
#    Option      "GARTSize"          "64"
#    Option      "RingSize"          "8"
#    Option      "BufferSize"        "2"
    Option      "EnablePageFlip"    "true"
    Option      "ColorTiling"       "on"
    Option      "XaaNoOffscreenPixmaps" "true"
    Option      "EnableDepthMoves"  "true"
    Option      "UseFBDev"          "false"
    Option      "RenderAccel"       "true"
    Option      "DRI"               "true"
    Option      "DMAForXv"          "true"
    Option      "mtrr"              "on"
    Option      "SubPixelOrder"     "none"
#    Option      "DynamicClocks"     "on"
#   Option      "ReverseDDC"        "true"
#    Option      "DDCMode"           "on"
#    Option      "DefaultConnectorTable" "on"
EndSection

Section "Monitor"
	Identifier	"PHILIPS 107T"
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"ATI Technologies, Inc. RV350 AR [Radeon 9600 XT]"
	Monitor		"PHILIPS 107T"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1024x768" "800x600" "720x400" "640x480" "640x350"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1024x768" "800x600" "720x400" "640x480" "640x350"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1024x768" "800x600" "720x400" "640x480" "640x350"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1024x768" "800x600" "720x400" "640x480" "640x350"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1024x768" "800x600" "720x400" "640x480" "640x350"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1024x768" "800x600" "720x400" "640x480" "640x350"
                Virtual          1024 768
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
EndSection

Section "DRI"
	Mode	0666
EndSection

Section "ServerFlags"
    Option  "AIGLX" "true"
EndSection

Section "Extensions"
    Option "RENDER" "Enable"
    Option	"Composite" "Enable"
EndSection

#end /etc/X11/xorg.conf
Dernière modification par milambert le dim. 30 mars 2008, 10:38, modifié 1 fois.
Avatar de l’utilisateur
marc[i1]
Maître du Kyudo
Messages : 1753
Inscription : ven. 27 oct. 2006, 10:48
Localisation : Nantes (44)

Message par marc[i1] »

Salut,

pour le point 1, c'est simple, vire Windows® XP™

Pour le point 2, j'ai une 9600 Mobility et voici mon xorg.conf pour la partie utile :

Code : Tout sélectionner

Section "Monitor"
        Identifier "Monitor0"
        Option "DPMS" "true"
        HorizSync    28.0 - 96.0 # Warning: This may fry old Monitors
        VertRefresh  50.0 - 75.0 # Very conservative. May flicker.
        #  Default modes distilled from
        # 1280x960 @ 60Hz (VESA) hsync: 60.0kHz
        ModeLine "1280x960"  108.0 1280 1376 1488 1800    960  961  964 1000 +hsync +vsync
        # 1280x960 @ 85Hz (VESA) hsync: 85.9kHz
        ModeLine "1280x960"  148.5 1280 1344 1504 1728    960  961  964 1011 +hsync +vsync
        # 1280x1024 @ 60Hz (VESA) hsync: 64.0kHz
        ModeLine "1280x1024" 108.0 1280 1328 1440 1688   1024 1025 1028 1066 +hsync +vsync
        # 1280x1024 @ 75Hz (VESA) hsync: 80.0kHz
        ModeLine "1280x1024" 135.0 1280 1296 1440 1688   1024 1025 1028 1066 +hsync +vsync
        # 1280x1024 @ 85Hz (VESA) hsync: 91.1kHz
        ModeLine "1280x1024" 157.5 1280 1344 1504 1728   1024 1025 1028 1072 +hsync +vsync
EndSection

Section "Device"
        Identifier  "ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]"
        Driver  "radeon"
        BusID           "PCI:1:0:0"
        VendorName  "ATI Technologies Inc"
        BoardName   "RV350 [Mobility Radeon 9600 M10]"
        Option  "AccelMethod" "EXA" # XAA ou EXA
        Option  "AccelDFS" "on" # à utiliser avec EXA
        Option  "AGPMode" "4"
        Option  "AGPSize" "128"
        Option  "GARTSize" "64"
        Option  "RingSize" "8"
        Option  "BufferSize" "2"
        Option  "EnablePageFlip" "on"
        Option  "EnableDepthMoves" "yes"
#       Option  "UseFBDev" "false"
        Option  "ColorTiling" "on"
        Option  "RenderAccel" "true"
        Option  "mtrr" "on"
        Option  "SubPixelOrder" "off"
        Option  "DPMS" "true"
        Option  "DynamicClocks" "on"
#       Option  "XAANoOffscreenPixmaps" "true"
        Option  "DRI" "true"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]"
        Monitor    "Monitor0"
        DefaultColorDepth 24
#       Option          "AddARGBGLXVisuals"     "true"
   SubSection "Display"
        Depth     24
        Modes "1400x1050" "1280x960" "1024x768" "800x600" "640x480"
   EndSubSection
EndSection

Section "Extensions"
        Option  "RENDER" "Enable"
        Option  "Composite"     "Enable"
EndSection

Section "DRI"
        Mode 0666
EndSection
Ne vous emmerdez plus, emmerdez les autres.
milambert
Hankyu
Messages : 38
Inscription : mar. 21 août 2007, 09:47
Localisation : Belgique

Message par milambert »

ok, merci marc[i1]

bon, le premier à été résolut en indiquant les modelines quivontbiens.

Par contre, je comprends toujours pas pourquoi il ne prends pas en compte les Modes, vus que je suis obliger donner une résolution pour l'écran virtuel.

ps: non, j'ai encore besoins d'XP pour le moment.
Répondre