Résolution coincée en 1024x768 avec Intel Graphics HD Family

Bonjour,

Je n’arrive pas à modifier ma résolution graphique. La résolution optimale est
1366x768. Or, le système ne me propose que les résolutions 800x600 et 1024x768
(qui est d’ailleurs la résolution par défaut).
Je ne suis pas réellement habitué à la nouvelle méthode de détection des
caractéristiques vidéo ; j’en suis encore pour ma part resté à l’ancienne
méthode, qui fonctionnait grâce à un ‘xorg.conf’ bien construit.
J’ai parcouru pas mal de documentation, ainsi que ce forum, mais aucune piste
ne m’a été réellement utile. La question la plus proche que j’ai trouvée est à
l’adresse http://www.debian-fr.org/resolution-coincee-en-800x600-avec-geforce-gts-450-t38177.html, mais cela ne m’a pas aidé.

Voici quelques démarches que j’ai effectuées après un ‘/etc/init.d/gdm3 stop’.

A l’instar du post ‘http://www.debian-fr.org/resolution-coincee-en-800x600-avec-geforce-gts-450-t38177.html’,
j’obtiens le message Number of created screens does not match number of detected devices..

dpkg-reconfigure x11-common
dpkg-reconfigure xserver-org

Rien de bien visible ne survient.

Malgré un ‘updatedb’ et un ‘locate xorg.conf’, je n’ai pas réussi à trouver le fichier ‘xorg.conf’.

Manifestement, cet utilitaire n’est plus vraiment d’actualité avec la nouvelle
méthode de détection des périphériques. D’ailleurs, je n’ai pas réussi à le
trouver.

Merci de votre aide,
Par avance, merci,
Cordialement,

comment as tu installé le pilote graphique?

Et bien en fait, j’ai bien l’impression que le problème vient de là.

J’ai fait deux tentatives.

1. Avec un paquet Debian.

J’ai installé le paquet ‘i965-va-driver-dbg-1.0.16-4_i386.deb’, car j’ai eu l’impression que le pilote s’y trouvais (à tord peut-être). Le paquet s’est installé correctement, mais ça n’a manifestement rien changé.
Mes doutes sur cette démarche :

  • il ne s’agit pas d’un pilote ;
  • il ne s’agit pas du bon pilote ;
  • c’est un pilote, c’est le bon pilote, mais il est nécessaire de procéder à une configuration supplémentaire.

2. Avec un tarball.

J’ai décompressé le fichier ‘xf86-video-intel-2.19.0.tar.gz’, qui semble contenir tous les pilotes Intel Graphics. Et là, je n’ai pas su quoi faire, même la lecture du fichier ‘RELEASING’.

The process for releasing a new tarball is as follows:

1. Make sure you have the latest build requirements installed:

	git://git.freedesktop.org/git/util/macros
	git://git.freedesktop.org/git/util/modular

2. Add relevant release notes to the NEWS files

	Skim the git log since the last release, and add notes in a
	similar style to previous releases.

	For major releases list added features and known limitations.

	For minor releases indicate which bugs were fixed and which
	are still present.


3. Update your module version (usually found in configure.ac)

	$ vi configure.ac # bump version
	$ git commit
	$ git push origin # make sure you're on the release branch

4. Verify your module builds

	$ make distcheck

5. Tag the release

	$ git tag -m "Intel <ver> release" <ver>

6. Run the release script (this should push the tag)

	$ <path_to>/util/modular/release.sh driver <last_ver> <ver>

7. Edit and send the generated release message.

	At the very least, add the release notes from the NEWS file.

	The message is generated as xf86-video-intel-<version>.announce

	For snapshots and release candidates, mail to:

		intel-gfx@lists.freedesktop.org

	For major releases also send to:

		xorg@lists.freedesktop.org
		xorg-announce@lists.freedesktop.org

8. Throw a release party, you're done! :)

Je n’ai rien compris à ce fichier, dès le 1…

j’ai pas bien compris,tu as quelle carte graphique?nvidia?intégrée à la carte mère?autre?

un lspci serait le bienvenu.

zut!! la réponse est dans le titre du post! :075
carte intel graphics hd

as tu essayé d’installer le paquet xserver-xorg-video-intel au lieu de t’emmerder à compiler?

Bonjour, ce paquet est bien installé.

envoie tout de même le résultat de:

j’ai trouvé de la doc:

http://doc.ubuntu-fr.org/intel_graphics

si tu ne l’a pas déjà lue.

1. Configuration PCI.

Voici quelques sorties de commandes inspirées par la documentation dont tu m’as mis la référence.

$ lspci -nn | egrep "VGA|Display"
00:02.0 VGA compatible controller [0300]: Intel Corporation Sandy Bridge Integrated Graphics Controller [8086:0116] (rev 09)

$ grep Chipset /var/log/Xorg.0.log
(II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
(II) VESA(0): VESA VBE OEM: Intel(R)Sandybridge Mobile Graphics Chipset Accelerated VGA BIOS
(II) VESA(0): VESA VBE OEM: Intel(R)Sandybridge Mobile Graphics Chipset Accelerated VGA BIOS

$ dmesg | grep agp
[    1.355684] Linux agpgart interface v0.103

2. Documentation.

La lecture de cette documentation ne m’a rien apporté. Il n’y a rien de bien intéressant concernant ma carte (Sandy Bridge).

3. Compilation d’un pilote.

J’ai voulu tenter un nouveau fichier de pilotes : ‘xf86-video-intel-2.14.0.tar.bzip’. J’ai l’impression que c’est le bon pilote, mais la bibliothèque ‘libdrm’ fournie par défaut par Debian n’est pas assez récente.

$ ./configure 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... none
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... none
checking for gcc option to accept ISO C99... -std=gnu99
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
Package xorg-macros was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-macros.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-macros' found
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc -std=gnu99... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if gcc -std=gnu99 static flag -static works... yes
checking if gcc -std=gnu99 supports -c -o file.o... yes
checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu99 linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for GEN4ASM... no
checking for UDEV... no
checking if RANDR is defined... yes
checking if RENDER is defined... yes
checking if XF86DRI is defined... yes
checking if DPMSExtension is defined... yes
checking for XORG... yes
checking for DRM... no
configure: error: Package requirements (libdrm >= 2.4.23) were not met:

Requested 'libdrm >= 2.4.23' but version of libdrm is 2.4.21

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables DRM_CFLAGS
and DRM_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

http://packages.debian.org/search?keywords=libdrm&searchon=names&suite=all&section=all

installe les libdrm depuis les backports de squeeze

Je n’arrive pas à installer ce fichier. Voici les démarches que j’ai tentées ou envisagées.

1. Téléchargement du fichier et installation en local.

Il y a pas mal de dépendance à résoudre. Je préfèrerais donc ne pas faire une installation locale en utilisant ‘dpkg -i’.

2. Utilisation d’un utilitaire de gestion de paquets.

Je ne trouve pas le fichier, que ce soit en utilisant ‘synaptic’, ‘aptitude’ ou ‘apt-get’.
Voici mon fichier ‘/etc/apt/sources.list’.

#deb cdrom:[Debian GNU/Linux 6.0.4 _Squeeze_ - Official i386 NETINST Binary-1 20120129-00:42]/ squeeze main

deb http://ftp.fr.debian.org/debian/ squeeze main non-free contrib
deb-src http://ftp.fr.debian.org/debian/ squeeze main non-free contrib

deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free

# squeeze-updates, previously known as 'volatile'
deb http://ftp.fr.debian.org/debian/ squeeze-updates main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ squeeze-updates main contrib non-free


#* personnally added *

# backports
deb http://backports.debian.org/debian-backports squeeze-backports main

J’ai bien pu récupérer le fichier à partir de ‘backports.debian.org/debian-backports’ (donc ce miroir le propose bien).

mais tu as installé le paquet libdrm des backports? ce paquet satisfait les exigences de la compilation.
pour installer un paquet des backports:

L’installation du paquet ‘libdrm-dev’ s’est bien passée, grâce à tes indications.
J’ai pu lancer avec succès ‘./configure’, ‘make’ et ‘make install’. Malheureusement, cela ne change rien quant aux possibilités de résolution qui me sont offertes.

Suppositions :

  • il ne s’agissait pas du bon pilote ;
  • il s’agissait du bon pilote, mais il manque une action de configuration (peut-être une création et une modification de ‘xorg.conf’).

ta compilation s’est correctement déroulée,pour savoir si c’est le bon pilote tu peux essayer la commande xrandr:

http://www.myokyawhtun.com/ubuntu-linux/how-to-change-custom-resolution-in-ubuntu-10.html

Voici ce que j’obtiens.

$ gtf 1366 768 60

  # 1368x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 85.86 MHz
  Modeline "1368x768_60.00"  85.86  1368 1440 1584 1800  768 769 772 795  -HSync +Vsync

$ xrandr -q
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 800 x 600, current 1024 x 768, maximum 1024 x 768
default connected 1024x768+0+0 0mm x 0mm
   1024x768        0.0* 
   800x600        61.0  

Penses-tu que ce soit le signe que mon pilote est mauvais ?

Tu devrais essayer de te créer un xorg.conf s’il s’agit d’une méthode avec laquelle tu es à l’aise.
Même s’il n’est plus présent par défaut, il est toujours aussi efficace pour parer aux problèmes de mauvaise détection de ta carte/ton écran.

Je ne suis pas réellement à l’aise avec la création d’un fichier ‘xorg.conf’. J’arrive tout juste à le modifier à la marge quand il existe.

—> http://casteyde.christian.free.fr/system/linux/guide/online/x11348.html

je ne peux que te donner des liens pour t’aider,je n’ai jamais utilisé de carte graphique intégrée intel et donc je ne les connais pas du tout.

C’est déjà très bien. Merci.

J’ai commencé à exploiter ce document. Mais pour l’instant, ce n’est pas concluant.

J’ai à nouveau tenté de trouver les utilitaires ‘xorgconfig’ et ‘xorgcfg’, toujours sans succès.
J’ai à nouveau tenté d’utiliser la commande ‘X -configure’. J’obtiens la même erreur que précédemment. Le fichier ‘~root/xorg.conf.new’ est bien créé, mais son déplacement dans ‘/etc/X11/xorg.conf’ ne change a priori rien.

Je continue l’exploitation du document, et rend compte de mes investigations.