Page 1 sur 1

[Resolu][AIGLX][XORG] Probleme Resolution et Acceleration

Publié : ven. 19 oct. 2007, 19:42
par dad_tmp
Bonjour, nouvel user d'archlinux depuis 2 semaine, je gelere depuis une semaine a optimisé l'affichage sur un Dell latitude D520 (chip graphique : i915).

J'ai reussis a afficher la resolution max sur mon ecran (1400*1050) en utilisant 915resolution et les derniers drivers xf86-video-intel de la zone testing, mais l'affichage est "bizarre". Les bordures de fenetre sont tres large, un peu applatie en longueur. De meme pour le panel gnome.

Voila une screen :
Image


Autre probleme (qui est peut etre liée). Je n'arrive pas activer l'acceleration graphique. Voila ce que me crash glxinfo lorsque je set LIBGL_DEBUG :

Code : Tout sélectionner

libGL: XF86DRIGetClientDriverName: 1.8.0 i915 (screen 0)
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri//i915_dri.so
libGL error: dlopen /usr/lib/xorg/modules/dri//i915_dri.so failed (/usr/lib/xorg/modules/dri//i915_dri.so: undefined symbol: _glapi_add_dispatch)
libGL error: unable to find driver: i915_dri.so
libGL: XF86DRIGetClientDriverName: 1.8.0 i915 (screen 0)
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri//i915_dri.so
libGL error: dlopen /usr/lib/xorg/modules/dri//i915_dri.so failed (/usr/lib/xorg/modules/dri//i915_dri.so: undefined symbol: _glapi_add_dispatch)
libGL error: unable to find driver: i915_dri.so
Des idées ? Parceque la je suis a court ...

Merci

Publié : ven. 19 oct. 2007, 20:14
par _alexmyself
je sait pas si ca t'aidera mais voila comment j'ai eu la paix:

Code : Tout sélectionner

Section "Monitor"
	Identifier	"Monitor-radeon"
	VendorName	"Monitor toshiba"
	ModelName	"LCD 1280x800"
	# la formule du displaysize: (1280 x 25,4) / 75 ou 96, arrondir a l'inférieur, évite les problèmes de polices, idem pour verticale
	DisplaySize	432 270
EndSection

Publié : sam. 20 oct. 2007, 11:34
par dad_tmp
J'ai mis les bonne valeur pour une resolution de 1400x1050, et effectivement y'a du mieux. Mais pour avoir un affichage correcte il faut que :

je passe en 1280*800
j'aille dans Systeme-Apparence (la taille des bordure retrécisse)
je repasse en 1400*1050 (la taille des bordures s'ajuste correctement)

Si je retourne alors dans Apparence, la taille des bordure repasse en grande. Si je reboot de même.

Publié : lun. 22 oct. 2007, 01:37
par d2_racing
Peux-tu poster ton fichier /etc/X11/xorg.conf, car on dirait que tu as des valeurs pas correct au niveau de ton écran...

je veux juste confirmer le tout.

Regarde le mien sous Gentoo :

Code : Tout sélectionner

sylvain@gentootux ~ $ cat /etc/X11/xorg.conf
# File generated by xorgconfig.

#
# Copyright 2004 The X.Org Foundation
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# The X.Org Foundation BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# Except as contained in this notice, the name of The X.Org Foundation shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from
# The X.Org Foundation.
#

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

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"   # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the font modules
#    Load        "type1"
    Load        "freetype"
#    Load        "xtt"

# This loads the GLX module
    Load       "glx"
# This loads the DRI module
    Load       "dri"
# Corepointer du Thinkpad
    load       "evdev"

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

#    RgbPath    "/usr/share/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
#

    FontPath   "/usr/share/fonts/misc/"
#    FontPath   "/usr/share/fonts/TTF/"
#    FontPath   "/usr/share/fonts/OTF"
    FontPath   "/usr/share/fonts/Type1/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/75dpi/"
#    FontPath   "/usr/lib/X11/fonts/local/"
#    FontPath   "/usr/lib/X11/fonts/misc/"
#    FontPath   "/usr/lib/X11/fonts/75dpi/:unscaled"
#    FontPath   "/usr/lib/X11/fonts/100dpi/:unscaled"
#    FontPath   "/usr/lib/X11/fonts/Speedo/"
#    FontPath   "/usr/lib/X11/fonts/Type1/"
#    FontPath   "/usr/lib/X11/fonts/TrueType/"
#    FontPath   "/usr/lib/X11/fonts/freefont/"
#    FontPath   "/usr/lib/X11/fonts/75dpi/"
#    FontPath   "/usr/lib/X11/fonts/100dpi/"

# The module search path.  The default path is shown here.

#    ModulePath "/usr/lib/modules"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier  "Keyboard1"
    Driver      "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"   "xorg"
    Option "XkbModel"   "pc105"
    Option "XkbLayout"  "ca(fr)"

EndSection


#***********************************************************************
#CorePointer du Thinkpad
#***********************************************************************

#Section "InputDevice"
#    Identifier  "Corepointer"
#    Driver "mouse"
#    Option "CorePointer"
#    Option "Device" "/dev/psaux"
#    Option "Protocol" "auto-dev"
#EndSection

#***********************************************************************
#Touchpad du Thinkpad
#***********************************************************************

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

#**********************************************************************
#Core Pointer's InputDevice section
#**********************************************************************

Section "InputDevice"

# Identifier and driver

    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "Auto" # Auto detect
#    Option "Protocol"    "IMPS/2"      # Auto detect
    Option "Device"      "/dev/input/mice"
    Option "Name"        "Logitech USB Gaming Mouse"
    Option "ZAxisMapping"   "4 5 6 7"
    Option "SendCoreEvents" "true"
    Option "Emulate3Buttons"

EndSection


# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

    Identifier  "LCD"

#    HorizSync  15-25, 30-50
#    VertRefresh 50-70

EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device"
    Identifier  "Standard VGA"
    VendorName  "Unknown"
    BoardName   "Unknown"

#    Chipset    "generic"
    Driver     "vga"
#    BusID      "PCI:0:10:0"
#    VideoRam   256
#    Clocks     25.2 28.3

EndSection

# Device configured by xorgconfig:

Section "Device"
    Identifier  "ATI FIREGL"
    #Driver      "vesa"
     Driver      "fglrx"
    #VideoRam    262144
    # Insert Clocks lines here if appropriate
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
    Identifier  "Screen 1"
    Device      "ATI FireGL"
    Monitor     "LCD"
    DefaultDepth 24

#    Subsection "Display"
#        Depth       8
#        Modes       "1280x1024" "1024x768" "800x600" "640x480"
#        ViewPort    0 0
#    EndSubsection
#    Subsection "Display"
#        Depth       16
#        Modes       "1280x1024" "1024x768" "800x600" "640x480"
#        ViewPort    0 0
#    EndSubsection
#    Subsection "Display"
#        Depth       24
#        Modes       "1400x1050" "1024x768" "800x600" "640x480"
#        ViewPort    0 0
#    EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present.  Each describes
# the way multiple screens are organised.  A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option.  In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
    Identifier  "Simple Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens.  The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen.  In this example, screen 2 is located to the
# right of screen 1.

    Screen "Screen 1"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used.  Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

    InputDevice "Mouse1"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

Section "DRI"
    Mode 0666
EndSection
J'ai même mis
# HorizSync 15-25, 30-50
# VertRefresh 50-70

en commentaire pour être certain que X.ORG choisit la bonne résolution etc...

Publié : lun. 22 oct. 2007, 22:31
par dad_tmp
J'ai pris la motiv' ce weekend et grand bien m'en a pris, puisque tout marche parfaitement désormais.

Je commence a maitriser un peu les bases avec archlinux, donc c'est aller tres vite et tout a marcher du premier coup.

Briévement :
xorg-server 1.4-4
xf86-video-intel 2.1.1-2
un xorg.conf de base généré avec hwd,

et la resolution etait parfaite sans l'utilisation de 915resolution (je crois que c'est sa qui m'avait mis dans mouise ).

Et apres un tuning de rigueur du xorg.conf, compiz fusion et awn carbure. :)