xorg abnormalitäten

Du kommst mit der Installation nicht voran oder willst noch was nachfragen? Schau auch in den "Tipps und Tricks"-Bereich.
Antworten
Benutzeravatar
mosa
Beiträge: 324
Registriert: 29.10.2004 09:53:35

xorg abnormalitäten

Beitrag von mosa » 08.09.2010 11:29:42

hi, OS ist Lenny - in letzter Zeit häufen sich X-Abstürze die sich so auszeichnen:
- über sensible Handhabung offener Programme, z,B. Iceweaswl, Kedit usw
- ein offenes *.txt zu bearbeiten, geschweige teil davon zu kopieren, ist nur noch via Tastatur möglich
versuche ich es via Maus. kommt es zum Absturz (Programm wird beendet, überblende in ein anderes im Hintergrung offenes Programm.
Vorgeschicht ist dies hier: http://debianforum.de/forum/viewtopic.php?f=12&t=123022
Hier mal ein paar infos:

Code: Alles auswählen

# xorg.conf (X.Org 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 xorg.conf manual page.
# (Type "man 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 "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"ch"
	Option		"XkbVariant"	"de"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
EndSection

Section "Device"
	Identifier	"Configured Video Device"
EndSection

Section "Monitor"
	Identifier	"Configured Monitor"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
EndSection
Der Auszug von lspci

Code: Alles auswählen

> 
00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02)
00:02.1 Display controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1e.2 Multimedia audio controller: Intel Corporation 82801G (ICH7 Family) AC'97 Audio Controller (rev 01)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
01:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express (rev 01)
hier die Log-Datei dazu: http://debianforum.de/forum/pastebin.ph ... ew&s=34944
habe versucht x.org neu zu installieren, doch hat es nichts gebracht
thx
Zuletzt geändert von mosa am 08.09.2010 13:09:55, insgesamt 2-mal geändert.

Benutzeravatar
debdog
Beiträge: 652
Registriert: 11.02.2007 10:53:12
Wohnort: Do,womrkoihochdeitschko

Re: xorg abnormalitäten

Beitrag von debdog » 08.09.2010 12:16:55

mosa hat geschrieben:hier die Log-Datei dazu: http://debianforum.de/forum/pastebin.php?mode=view&s=
Da stimmt was nicht.
Oben gemachte Angaben, Falls nicht anderweitig Erwähnt, beziehen sich auf Debian Stable (Squeeze) amd64.
"Die Einen glauben zu Wissen, die Anderen wissen zu Glauben."

Benutzeravatar
mosa
Beiträge: 324
Registriert: 29.10.2004 09:53:35

Re: xorg abnormalitäten

Beitrag von mosa » 08.09.2010 13:10:39

Danke @debdog für den Hinweis :THX:

rendegast
Beiträge: 15041
Registriert: 27.02.2006 16:50:33
Lizenz eigener Beiträge: MIT Lizenz

Re: xorg abnormalitäten

Beitrag von rendegast » 08.09.2010 14:29:22

Dein Log hat geschrieben:

Code: Alles auswählen

$ cat /tmp/Xorg.log.34944.txt | egrep -i "mous|input|keyb|kbd"
(==) |-->Input Device "Configured Mouse"
(==) |-->Input Device "Generic Keyboard"
        Using the first mouse device.
(==) The core keyboard device wasn't specified explicitly in the layout.
        Using the first keyboard device.
        X.Org XInput driver : 2.0
(II) LoadModule: "mouse"
(II) Loading /usr/lib/xorg/modules/input//mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 2.0
(II) LoadModule: "kbd"
(II) Loading /usr/lib/xorg/modules/input//kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 2.0
(II) intel(0): SDVO device VID/DID: 04:AA.02, clock range 25.0MHz - 165.0MHz, input 1: Y, input 2: N, output 1: Y, output 2: N
(==) intel(0): Silken mouse enabled
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XKEYBOARD
(WW) Configured Mouse: No Device specified, looking for one...
(II) Configured Mouse: Setting Device option to "/dev/input/mice"
(--) Configured Mouse: Device: "/dev/input/mice"
(==) Configured Mouse: Protocol: "Auto"
(**) Configured Mouse: always reports core events
(==) Configured Mouse: Emulate3Buttons, Emulate3Timeout: 50
(**) Configured Mouse: ZAxisMapping: buttons 4 and 5
(**) Configured Mouse: Buttons: 9
(**) Configured Mouse: Sensitivity: 1
(**) Option "CoreKeyboard"
(**) Generic Keyboard: always reports core events
(**) Generic Keyboard: Protocol: standard
(**) Generic Keyboard: XkbRules: "xorg"
(**) Generic Keyboard: XkbModel: "pc105"
(**) Generic Keyboard: XkbLayout: "ch"
(**) Generic Keyboard: XkbVariant: "de"
(**) Generic Keyboard: CustomKeycodes disabled
(II) evaluating device (Configured Mouse)
(II) XINPUT: Adding extended input device "Configured Mouse" (type: MOUSE)
(II) evaluating device (Generic Keyboard)
(II) XINPUT: Adding extended input device "Generic Keyboard" (type: KEYBOARD)
(--) Configured Mouse: PnP-detected protocol: "ExplorerPS/2"
(II) Configured Mouse: ps2EnableDataReporting: succeeded
noch was in der ~/.xsession-errors ?


Daß eine "schlechte" Maus Programme abschießt ist schon seltsam.
Welche anderen devices außer "mice" gibt es noch?

Code: Alles auswählen

ls -lR /dev/input
Mal einen der event-devices benutzen?

Code: Alles auswählen

(modprobe -v evdev)
ls -lR /dev/input
cat /proc/bus/input/devices
Falls die Änderung nicht übernommen wird (Xorg.log), muß eventuell noch die Autoerkennung deaktiviert werden:

Code: Alles auswählen

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen" 0 0
#    InputDevice    "Generic Keyboard"
#    InputDevice    "Configured Mouse"
# 20090913, 7.5, hal+dbus+consolekit: hal-Funktion deaktivieren
    Option      "AllowEmptyinput"       "off"
    Option      "AutoAddDevices"        "off"
    Option      "AutoEnableDevices"     "off"
EndSection
->
(**) Option "AllowEmptyInput" "off"
(**) Option "AutoAddDevices" "off"
(**) Option "AutoEnableDevices" "off"
(**) Not automatically adding devices
(**) Not automatically enabling devices
....
(II) config/udev: Adding input device Power Button (/dev/input/event3)
(II) AutoAddDevices is off - not adding device.
(II) config/udev: Adding input device Power Button (/dev/input/event2)
(II) AutoAddDevices is off - not adding device.
(II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
(II) AutoAddDevices is off - not adding device.
(II) config/udev: Adding input device ImExPS/2 Generic Explorer Mouse (/dev/input/event4)
(II) AutoAddDevices is off - not adding device.
(II) config/udev: Adding input device ImExPS/2 Generic Explorer Mouse (/dev/input/mouse0)
(II) AutoAddDevices is off - not adding device.
(II) config/udev: Adding input device PC Speaker (/dev/input/event1)
(II) AutoAddDevices is off - not adding device.
was eventuell weitere Konfiguration nach sich zieht.
mfg rendegast
-----------------------
Viel Eifer, viel Irrtum; weniger Eifer, weniger Irrtum; kein Eifer, kein Irrtum.
(Lin Yutang "Moment in Peking")

Benutzeravatar
mosa
Beiträge: 324
Registriert: 29.10.2004 09:53:35

Re: xorg abnormalitäten

Beitrag von mosa » 08.09.2010 16:28:09

root@:~>

Code: Alles auswählen

ls -lR /dev/input/
/dev/input/:
insgesamt 0
drwxr-xr-x 2 root root    100  8. Sep 11:01 by-id
drwxr-xr-x 2 root root    120  8. Sep 11:01 by-path
crw-rw---- 1 root root 13, 64  8. Sep 11:01 event0
crw-rw---- 1 root root 13, 65  8. Sep 11:01 event1
crw-rw---- 1 root root 13, 66  8. Sep 11:01 event2
crw-rw---- 1 root root 13, 67  8. Sep 11:01 event3
crw-rw---- 1 root root 13, 68  8. Sep 11:01 event4
crw-rw---- 1 root root 13, 63  8. Sep 11:00 mice
crw-rw---- 1 root root 13, 32  8. Sep 11:01 mouse0

/dev/input/by-id:
insgesamt 0
lrwxrwxrwx 1 root root 9  8. Sep 11:01 usb-Logitech_USB_Receiver-event-kbd -> ../event0
lrwxrwxrwx 1 root root 9  8. Sep 11:01 usb-Logitech_USB_Receiver-event-mouse -> ../event1
lrwxrwxrwx 1 root root 9  8. Sep 11:01 usb-Logitech_USB_Receiver-mouse -> ../mouse0

/dev/input/by-path:
insgesamt 0
lrwxrwxrwx 1 root root 9  8. Sep 11:01 pci-0000:00:1d.2-usb-0:1:1.0-event-kbd -> ../event0
lrwxrwxrwx 1 root root 9  8. Sep 11:01 pci-0000:00:1d.2-usb-0:1:1.1-event-mouse -> ../event1
lrwxrwxrwx 1 root root 9  8. Sep 11:01 pci-0000:00:1d.2-usb-0:1:1.1-mouse -> ../mouse0
lrwxrwxrwx 1 root root 9  8. Sep 11:01 platform-pcspkr-event-spkr -> ../event4
Hmm, in Xorg.cong habe ich keine Section "ServerLayout"

rendegast
Beiträge: 15041
Registriert: 27.02.2006 16:50:33
Lizenz eigener Beiträge: MIT Lizenz

Re: xorg abnormalitäten

Beitrag von rendegast » 08.09.2010 18:32:29

Code: Alles auswählen

...
lrwxrwxrwx 1 root root 9  8. Sep 11:01 pci-0000:00:1d.2-usb-0:1:1.1-event-mouse -> ../event1
lrwxrwxrwx 1 root root 9  8. Sep 11:01 pci-0000:00:1d.2-usb-0:1:1.1-mouse -> ../mouse0
...
Da bieten sich
Option "Device" "/dev/input/event1"
Option "Device" "/dev/input/mouse0"
zum Ausprobieren an.
in Xorg.cong habe ich keine Section "ServerLayout"
gegebenenfalls erstellen.

Aber das ist ohne eine Fehlerausgabe, die das device "mice" als Fehlerquelle einkreist,
ein Versuchsballon.



Ein weiterer Ansatz wäre der Renderer EXA (hier automatisch gewählt),
stattdessen den älteren XAA oder den UXA einzustellen
(falls das möglich ist, siehe manpage zum Treiber usw.),
vielleicht so:
Option "AccelMethod" "EXA|XAA|UXA"
(kann aber den String "AccelMethod" nicht im Paket des xserver-xorg-video-intel 2:2.9.1-4 finden)



Mit KMS herumspielen?

Code: Alles auswählen

(II) intel(0): Integrated Graphics Chipset: Intel(R) 945G
(--) intel(0): Chipset: "945G"
NEWS.Debian.gz hat geschrieben: xserver-xorg-video-intel (2:2.9.1-2) unstable; urgency=low

Starting with this version, the intel driver enables kernel mode setting
(KMS) by default for 830 and later chips. This comes with a framebuffer
driver which enables native resolution on the console. KMS also allows
faster VT switching and mode changes, as well as e.g. DisplayPort support.

In case of trouble KMS can be disabled with the 'nomodeset' kernel command
line parameter, or by editing /etc/modprobe.d/i915-kms.conf.
mfg rendegast
-----------------------
Viel Eifer, viel Irrtum; weniger Eifer, weniger Irrtum; kein Eifer, kein Irrtum.
(Lin Yutang "Moment in Peking")

Antworten