[ATI] Driver Proprio + dual head + dri ? Possible ?

Bonjour tout le monde,

alors donc depuis peu je suis sous Debian SID.

uname -a Linux debian 2.6.18-5-686 #1 SMP Wed Oct 3 00:12:50 UTC 2007 i686 GNU/Linux

J’ai le dernier xserver-xorg installé, et j’ai les drivers proprios d’ati installés par le .run ( oui je sais c’est mal … :smiley: )

Alors donc, j’ai un deuxième écran ( une télé en fait, branchée en HDMI ) , et depuis que j’ai installé le dual head, j’ai plusieurs bugs :

-Quand le pc part en veille, le retour de veille est impossible : je n’ai plus la main. La souris se balade, mais impossible de cliquer, le clavier non plus ne fonctionne pas, mais les progs continuent de tourner comme si de rien était.

  • Quand je fais ctrl + alt + backspace , les écrans deviennent tout noir et là aussi je ne peux rien faire, à part reboot.
  • Sinon gnome est bizarre, certain prog se lancent bizarrement, les iccones disparaissent etc …

Alors donc j’ai regardé dans la Xorg.0.log et j’ai ca ::

code fglrx(1): [DRI] Locking deadlock.
Already locked with context 136429588,
trying to lock with context 2.
(EE) fglrx(1): [DRI] Unlocking inconsistency:
Context 136429588 trying to unlock lock held by context 2
(EE) fglrx(1): [DRI] Unlocking inconsistency:
Context 136429588 trying to unlock lock held by context 2
[/code]

J’ai juste copié ce qui me paraissait bizarre , sinon le log doit faire 10 000lignes à cause de cette erreur qui se répete inlassablement.

Voici mon 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  manual page.
# (Type "man " at the shell prompt.)
#
# This file is automatically updated on  package upgrades *only*
# if it has not been modified since the last upgrade of the 
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh 

Section "ServerLayout"
	Identifier     "Default Layout"
	Screen      0  "aticonfig-Screen[0]" 0 0
	Screen      1  "aticonfig-Screen[1]" RightOf "aticonfig-Screen[0]"
	InputDevice    "Generic Keyboard"
	InputDevice    "Configured Mouse"
EndSection

Section "Files"
EndSection

Section "Module"
	Load  "bitmap"
	Load  "i2c"
	#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	    "XkbVariant" "latin9"
EndSection

Section "InputDevice"
	Identifier  "Configured Mouse"
	Driver      "mouse"
	Option	    "Core Pointer"
	Option	    "Emulate3Buttons" "true"
EndSection

Section "Monitor"
	Identifier   "aticonfig-Monitor[0]"
	Option	    "VendorName" "ATI Proprietary Driver"
	Option	    "ModelName" "Generic Autodetecting Monitor"
	Option	    "DPMS" "true"
EndSection

Section "Monitor"
	Identifier   "aticonfig-Monitor[1]"
	Option	    "VendorName" "ATI Proprietary Driver"
	Option	    "ModelName" "Generic Autodetecting Monitor"
	Option	    "DPMS" "true"
EndSection

Section "Device"
	Identifier  "aticonfig-Device[0]"
	Driver      "fglrx"
	Option	    "SwapScreens" "off"
	BusID       "PCI:5:0:0"
EndSection

Section "Device"
	Identifier  "aticonfig-Device[1]"
	Driver      "fglrx"
	BusID       "PCI:5:0:0"
	Screen      1
EndSection

Section "Screen"
	Identifier "aticonfig-Screen[0]"
	Device     "aticonfig-Device[0]"
	Monitor    "aticonfig-Monitor[0]"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "Screen"
	Identifier "aticonfig-Screen[1]"
	Device     "aticonfig-Device[1]"
	Monitor    "aticonfig-Monitor[1]"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes  "1280x768"
	
	EndSubSection
EndSection

J’ai commenté la ligne load dri parce que visiblement il ne voulait pas charger le module.

Sinon comme carte graphique j’ai une X850 XT PE. Les deux écrans sont branchés en HDMI, et j’ai utitilsé :

aticonfig --initital=dual-head

Dans mon dmesg /var/log/xorg.0.log

fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel. [fglrx] Maximum main memory to use for locked dma buffers: 1899 MBytes. [fglrx] ASYNCIO init succeed! [fglrx] PAT is enabled successfully! [fglrx] module loaded - fglrx 8.42.3 [Oct 19 2007] on minor 0 ACPI: PCI Interrupt 0000:05:00.0[A] -> Link [APC3] -> GSI 18 (level, low) -> IRQ 74 [fglrx] Reserve Block - 0 offset = 0X7ffb400 length = 0X4c00 [fglrx] Reserve Block - 1 offset = 0X0 length = 0X40000 [fglrx] Reserve Block - 2 offset = 0Xffff000 length = 0X1000 [fglrx] Reserve Block - 3 offset = 0X7fbb000 length = 0X40000 [fglrx:firegl_addmap] *ERROR* existing map 0xf5811900 (handle 0x00000000) [fglrx:firegl_lock_free] *ERROR* lock was not held by 2! (*lock=0x80000001) [fglrx:firegl_unlock] *ERROR* firegl_lock_free failed!

J’espère que quelqu’un pourra m’aider :’(

première anomalie détectée: tu dis étre en SID, et ton noyau est un 2.6.18. Il y a comme un anachronisme là!
Installe un nouveau noyau plus récent, et les drivers ATI par module-assistant

Il me semble que le dual head n’est indispensable que si tu veux 2 résolutions différente sur tes 2 écrans. Est ce le cas ?

Hmmm … j’ai les deux kernels installé en fait… et je pensais pas qu’être sous sid voulait dire absolument le denier kernel en date !

J’vais reboot et voir ce que ça donne.

Sinon oui 2 réso différentes , 12801024 et 1280768 :slightly_smiling:

HAN !

Ca à l’air d’être déjà mieux :open_mouth: !

Bon en fait non ce n’est pas réglé,
à cause de l’erreur citée précedemment… mon :0.log.2 ou 1 faisait 1Go … et mon Xorg.0.log 406Mo …

Donc là je ne sais pas quoi faire :confused:

Je ne veux pas virer les drivers proprios :angry:

essai l’install des drivers proprio via module-assistant.
Ils sont certainement plus compatible avec le reste de ta SID.

Mouarf, j’ai essayé de downgradé xserver-xorg … mais pareil

enfin il semblerait que je ne sois pas le seul :confused: