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 06/01/2007, à 13:37

UtilisateurLambda

Soucis de résolution d'écran

Bonjour,

Je ne peux pas avoir la résolution souhaitée (1280x1024), l'outil (Système ->Préférences -> Résolution de l'écran) ne me proposant que 1024 x 768 maximum. Ma résolution souhaitée fonctionne avec mon matériel, testée sous le boot Windows (oui, j'ai honte smile) que j'ai dû garder.

Cela se produit avec le matériel suivant :

Européen - Ecran plat 19" 1907FP (TCO99) LCD UltraSharp, Noir
256MB ATI Radeon X1300 Pro (1xDVI, 1xVGA, 1xS-Video)

tournant sous la version d'Ubuntu Edgy 6.10 desktop i386 :

luc@Risoul:~$ uname -a
Linux Risoul 2.6.17-10-generic #2 SMP Tue Dec 5 22:28:26 UTC 2006 i686 GNU/Linux

et avec le fichier /etc/X11/xorg.conf :

# /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 "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"
        FontPath        "/usr/share/fonts/X11/misc"
        # 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          "XkbOptions"    "lv3:ralt_switch"
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      "ATI Technologies, Inc. ATI Default Card"
        Driver          "vesa"
        BusID           "PCI:1:0:0"
EndSection

Section "Monitor"
        Identifier      "Generic Monitor"
        Option          "DPMS"
        HorizSync       28-51
        VertRefresh     43-60
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "ATI Technologies, Inc. ATI Default Card"
        Monitor         "Generic Monitor"
        DefaultDepth    24
        SubSection "Display"
                Depth           1
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1280x1024" "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"
EndSection

Section "DRI"
        Mode    0666
EndSection

.

Après une recherche dans la documentation et les forums sur les différents soucis de driver, j'ai trouvé sur le site http://dri.freedesktop.org/wiki/ATIRade … bd2aa55e7d
l'information

2D support

Driver "radeon"

Stable.

All radeons have open source 2D support. Note that R500 series chips (X1300, X1800 etc) do not have a Radeon 2D core, so are only supported by the vesa driver (no acceleration).

(II) RADEON(0): Render acceleration unsupported on R300 type cards and newer.

ce qui me fait donc penser que de passer soit sous le driver libre Radeon, soit sous le driver propriétaire fglr ne résoudra pas mon souci.

Merci

Luc

Hors ligne

#2 Le 06/01/2007, à 13:42

slasher_fun

Re : Soucis de résolution d'écran

Euh tu luttes pas un peu avec le driver vesa quand même pour l'affichage ? D'ailleurs je doute que vesa soit capable d'afficher plus de 1024x768 justement...

Tu indiques que le driver libre ne résoudrait pas ton problème, quelle est ta carte graphique ? Le fglrx devrait sûrement améliorer les choses je pense...

Hors ligne

#3 Le 06/01/2007, à 13:43

michel2652

Re : Soucis de résolution d'écran

Bonjour,

Ce qui me fait donc penser que de passer soit sous le driver libre Radeon, soit sous le driver propriétaire fglr ne résoudra pas mon souci.

Je ne connais pas Ati wink, mais avec un de ces drivers tu auras la bonne résolution pour ton écran, ce que le driver générique "vesa" ne te permet pas.

A+

#4 Le 06/01/2007, à 18:41

UtilisateurLambda

Re : Soucis de résolution d'écran

Merci à slasher-fun et Michel2652 pour leur prompte réponse.

Mon premier message fut peut être trop touffu, je remets ici la carte utilisée :
256MB ATI Radeon X1300 Pro (1xDVI, 1xVGA, 1xS-Video)

Sinon, j'ai bien vu la réponse me disant que vesa ne peut supporter cette résolution, je fais donc suivre le tutoriel d'installation de flgx ou celui de Radeon (en fait, je pense en premier essayer avec Radeon, puis, en cas d'échec, sous flgx).

Ma remarque sur le non fonctionnement de ces pilotes portait plus sur l'accélération en fait (non supportée sur ma carte) que sur la résolution. Je reviens sur ce forum une fois les essais faits.

Luc

Hors ligne

#5 Le 06/01/2007, à 18:46

slasher_fun

Re : Soucis de résolution d'écran

Si l'on en croit le message que tu cites, tente directement fglrx...

Hors ligne

#6 Le 07/01/2007, à 16:56

UtilisateurLambda

Re : Soucis de résolution d'écran

PROBLEME RESOLU

Tout d'abord un grand merci à ceux qui m'ont apporté leur aide.

Les étapes :

1) Pour des raisons purement mécaniques de position physique de connecteur sur la carte par rapport au portes du meuble, j'ai changé la connexion entre l'ordinateur et l'écran de VGA à DVI.

2) J'ai ensuite essayé le pilote Radeon en changeant mon xorg.conf comme ci dessous :

# /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 "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"
        FontPath        "/usr/share/fonts/X11/misc"
        # 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 "Extensions"
        Option "RENDER" "Enable"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "fr"
        Option          "XkbOptions"    "lv3:ralt_switch"
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      "ATI Technologies, Inc. ATI Default Card"
        Driver          "radeon"
        BusID           "PCI:1:0:0"
EndSection

Section "Monitor"
        Identifier      "Generic Monitor"
        Option          "DPMS"
        HorizSync       28-51
        VertRefresh     43-60
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "ATI Technologies, Inc. ATI Default Card"
        Monitor         "Generic Monitor"
        DefaultDepth    24
        SubSection "Display"
                Depth           1
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1280x1024" "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"
EndSection

Section "DRI"
        Mode    0666
EndSection

soit une différence entre les fichiers :

luc@Risoul:~/EssaisDriversVideo$ diff EtcX11Xorg.conf RadeonBadFileTestXorg.conf
42a43,46
> Section "Extensions"
>       Option "RENDER" "Enable"
> EndSection
>
95c99
<       Driver          "vesa"
---
>       Driver          "radeon"
luc@Risoul:~/EssaisDriversVideo$

Un arrêt/redémarrage ne fonctionne pas, l'écran de connexion graphique ne s'affichant jamais.

3) Utilisation du live CD d'installation pour avoir un Ubuntu fonctionnel, puis montage des partitions du disque dur pour corriger le souci. (Je rappelle que je n'ai pas accès <ctr> <atl> F1 pour une connexion en ligne de commande, voir ma question à ce sujet). Là, sans doute suite au changement de connexion physique, mon CD me donne un écran en 1280x1024, ce que je n'avais pas lors de l'installation. Je m'empresse de sauvegarder le xorg.conf généré ainsi :

# /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 "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"
        FontPath        "/usr/share/fonts/X11/misc"
        # 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          "XkbOptions"    "lv3:ralt_switch"
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      "ATI Technologies, Inc. ATI Default Card"
        Driver          "vesa"
        BusID           "PCI:1:0:0"
EndSection

Section "Monitor"
        Identifier      "DELL 1907FP"
        Option          "DPMS"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "ATI Technologies, Inc. ATI Default Card"
        Monitor         "DELL 1907FP"
        DefaultDepth    24
        SubSection "Display"
                Depth           1
                Modes           "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "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

soit par rapport à mon fichier les différences :

luc@Risoul:~/EssaisDriversVideo$ diff EtcX11Xorg.conf GoodFileLiveCdXorg.conf
100c100
<       Identifier      "Generic Monitor"
---
>       Identifier      "DELL 1907FP"
102,103d101
<       HorizSync       28-51
<       VertRefresh     43-60
109c107
<       Monitor         "Generic Monitor"
---
>       Monitor         "DELL 1907FP"
113c111
<               Modes           "1280x1024" "1024x768" "800x600" "640x480"
---
>               Modes           "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
117c115
<               Modes           "1280x1024" "1024x768" "800x600" "640x480"
---
>               Modes           "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
121c119
<               Modes           "1280x1024" "1024x768" "800x600" "640x480"
---
>               Modes           "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
125c123
<               Modes           "1280x1024" "1024x768" "800x600" "640x480"
---
>               Modes           "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
129c127
<               Modes           "1280x1024" "1024x768" "800x600" "640x480"
---
>               Modes           "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
133c131
<               Modes           "1280x1024" "1024x768" "800x600" "640x480"
---
>               Modes           "1280x1024" "1152x864" "1024x768" "800x600" "720x400" "640x480"
luc@Risoul:~/EssaisDriversVideo$

Je décide alors de tester ce fichier généré "de frais" smile sur ma version.

4) Avec ce nouveau fichier généré, le compte de mon épouse fonctionne, mais pas le mien, la connexion faisant un écran noir puis un retour à l'écran graphique de connexion. La différence principale entre nos deux comptes est que j'ai essayé de changer ma résolution par Système -> Préférences -> Résolution de l'écran et pas elle, qui est restée avec les paramètres par défaut, et que ma résolution ainsi forcée ne semble plus convenir. Il me reste donc à voir dans quel(s) fichier(s) cette modification a été apportée. Pour ce faire, je crée un compte test, puis sauvegarde toute son arborescence, puis modifie sa résolution d'écran et compare les deux arborescences. Je découvre ainsi que trois fichiers ont été créés :

./.gconf/desktop/gnome/screen/default/0/%gconf.xml
./.gconf/desktop/gnome/screen/default/%gconf.xml
./.gconf/desktop/gnome/screen/%gconf.xml

et que, si les deux derniers sont des fichiers vides, le premier contient et la fréquence de l'écran et sa résolution. Il ne me reste plus qu'à mettre les bonnes valeurs et tout est bon !:):D

luc@Risoul:~$ cat ./.gconf/desktop/gnome/screen/default/0/%gconf.xml
<?xml version="1.0"?>
<gconf>
        <entry name="rate" mtime="1163530215" type="int" value="76">
        </entry>
        <entry name="resolution" mtime="1163530215" type="string">
                <stringvalue>1280x1024</stringvalue>
        </entry>
</gconf>
luc@Risoul:~$

Hors ligne