#1 Le 29/04/2009, à 20:07
- arnaud_d
Badalloc sur portable avec 2ème écran : impossible de lire une video
Bonsoir,
Je suis passé de Hardy à Jaunty il y a quelques jours. Je rencontre surtout des problèmes d'affichage : rallentissements et impossible de lire des videos.
Ce poste concerne mon problème de lecture de video, j'ai posté ailleurs pour mon problème de rallentissement.
Que j'utilise VLC ou totem pour ouvrir une vidéo, le lecteur plante à l'ouverture et j'obtiens le message suivant :
[????????] x11 video output error: X11 request 132.19 failed with error code 11:
BadAlloc (insufficient resources for operation)
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 132 (XVideo)
Minor opcode of failed request: 19 ()
Serial number of failed request: 81
Current serial number in output stream: 82
Je dispose d'un PC portable avec chipset intel, voici mon lspci -nn | grep VGA :
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller [8086:27a2] (rev 03)
Sur cet orinateur portable est branché un deuxième écran 17".
Sous Hardy j'utilisais Xinerama, voici mon xorg.conf de HARDY :
Section "Module"
Load "glx"
Load "GLcore"
Load "dri"
Load "v4l"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "fr"
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"
Option "SHMConfig" "on"
Option "MinSpeed" "0.60"
Option "MaxSpeed" "0.80"
Option "AccelFactor" "0.05"
EndSection
Section "Device"
Identifier "Failsafe Device"
Boardname "vesa"
Busid "PCI:0:2:1"
Driver "vesa"
Screen 0
EndSection
Section "Monitor"
Identifier "Failsafe Monitor"
Vendorname "Plug 'n' Play"
Modelname "Plug 'n' Play"
modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
Gamma 1.0
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Failsafe Device"
Monitor "Failsafe Monitor"
Defaultdepth 24
SubSection "Display"
Depth 24
Virtual 640 480
Modes "640x480@60"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
screen 0 "screen3" 0 0
screen 1 "screen4" rightof "screen3"
Inputdevice "Generic Keyboard"
Inputdevice "Configured Mouse"
Inputdevice "Synaptics Touchpad"
EndSection
Section "device" #
Identifier "device1"
Boardname "Intel 945"
Busid "PCI:0:2:0"
Driver "intel"
Screen 0
Vendorname "Intel"
EndSection
Section "screen" #
Identifier "screen1"
Device "device1"
Defaultdepth 24
Monitor "monitor1"
SubSection "Display"
Depth 24
Virtual 1280 800
Modes "1280x800@60" "1280x720@60" "1280x768@60" "800x600@60" "800x600@56"
EndSubSection
EndSection
Section "monitor" #
Identifier "monitor1"
Vendorname "Generic LCD Display"
Modelname "LCD Panel 1280x800"
Horizsync 31.5-50.0
Vertrefresh 56.0 - 65.0
modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
modeline "1280x768@60" 80.14 1280 1344 1480 1680 768 769 772 795 -hsync +vsync
modeline "1280x720@60" 74.48 1280 1336 1472 1664 720 721 724 746 -hsync +vsync
modeline "1280x800@60" 83.46 1280 1344 1480 1680 800 801 804 828 -hsync +vsync
Gamma 1.0
EndSection
Section "device" #
Identifier "device2"
Boardname "vesa"
Busid "PCI:0:2:1"
Driver "vesa"
Screen 1
EndSection
Section "screen" #
Identifier "screen2"
Device "device2"
Defaultdepth 24
Monitor "monitor2"
EndSection
Section "monitor" #
Identifier "monitor2"
Gamma 1.0
EndSection
Section "ServerFlags"
Option "Xinerama" "true"
EndSection
Section "device" #
Identifier "device3"
Boardname "Intel 945"
Busid "PCI:0:2:0"
Driver "i810"
Screen 0
Vendorname "Intel"
Option "MonitorLayout" "CRT,LFP"
EndSection
Section "screen" #
Identifier "screen3"
Device "device3"
Defaultdepth 24
Monitor "monitor3"
SubSection "Display"
Depth 24
Virtual 1280 800
Modes "1280x800@60" "1280x720@60" "1280x768@60" "800x600@60" "800x600@56"
EndSubSection
EndSection
Section "monitor" #
Identifier "monitor3"
Vendorname "Generic LCD Display"
Modelname "LCD Panel 1280x800"
Horizsync 31.5-50.0
Vertrefresh 56.0 - 65.0
modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
modeline "1280x768@60" 80.14 1280 1344 1480 1680 768 769 772 795 -hsync +vsync
modeline "1280x720@60" 74.48 1280 1336 1472 1664 720 721 724 746 -hsync +vsync
modeline "1280x800@60" 83.46 1280 1344 1480 1680 800 801 804 828 -hsync +vsync
Gamma 1.0
EndSection
Section "device" #
Identifier "device4"
Boardname "Intel 945"
Busid "PCI:0:2:0"
Driver "i810"
Screen 1
Vendorname "Intel"
Option "MonitorLayout" "CRT,LFP"
EndSection
Section "screen" #
Identifier "screen4"
Device "device4"
Defaultdepth 24
Monitor "monitor4"
SubSection "Display"
Depth 24
Modes "1280x1024@60" "1280x960@60" "1024x768@60" "800x600@60" "800x600@56" "640x480@60"
EndSubSection
EndSection
Section "monitor" #
Identifier "monitor4"
Vendorname "Generic LCD Display"
Modelname "LCD Panel 1280x1024"
Horizsync 31.5-64.0
Vertrefresh 56.0 - 65.0
modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
modeline "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
modeline "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
modeline "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
modeline "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
Gamma 1.0
EndSection
Je sais c'est un peu le bordel mais ça avait fini par marcher
Maintenant que je suis sous Jaunty je m'incline devant la facilité de configurer les multi-écrans et j'utilise donc l'utilitaire approprié pour configurer :
Ecran LCD 1200 x 800
Ecran 17" 1024 x 768
voici mon xorg.conf :
Section "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
SubSection "Display"
Virtual 2304 800
EndSubSection
EndSection
Section "Device"
Identifier "Configured Video Device"
Option "MigrationHeuristic" "greedy"
Option "PseudoColorVisuals" "off"
Option "OpenGLOverlay" "off"
Option "VideoOverlay" "on"
EndSection
Section "ServerFlags"
Option "DontZap" "False"
EndSection
L'option MigrationHeuristic est liée à la résolution de mon problème de lenteur voir ce post.
Les options PseudoColorVisuals, OpenGLOverlay et VideoOverlay sont issues de mes tentatives de résolution de ce problème comme proposé ici
Si je désactive COMPLETEMENT mon écran et que je configure tout pour mon écran de portable uniquement, je peux lire les vidéos (même plein écran).
Ce que je conclue c'est qu'avec les deux écrans X panique devant le 2304 x 800 indiqué par xorg.conf, pourtant je lui en demande pas tant pour la video (même en mode fenêtré il me fait une erreur).
Comment puis-je faire pour pouvoir lire mes videos, que si je demande un plein écran il me le fasse sur un écran seulement lorsque mon écran 17" est activé ?
Merci beaucoup à tous ceux qui auront pris le temps de me lire et de m'aider.
Arnaud
EDIT : Tiens, mes deux problèmes sont liés, depuis que j'ai désactivé mon deuxième écran je n'ai plus de problème de vitesse d'affichage. Pourtant je sais que mon PC est assez puissant pour gérer les deux écrans...
Dernière modification par arnaud_d (Le 29/04/2009, à 21:36)
Hors ligne