gentoo: wechsel auf modularen xserver

Diablo

Grand Admiral Special
Mitglied seit
11.11.2001
Beiträge
2.951
Renomée
2
Standort
Passau
Hi!

Ich hab ein Problem mit dem Wechsel auf den modularen X-Server.

Ich hab den Fehler wie hier unten beschrieben:
Code:
(WW) Couldn't load XKB keymap, falling back to pre-XKB keymap

ich bin auch so vorgegangen wie dort steht, hab auch zufälligerweise das Logitech Cordless Internet Keyboard, nur funktioniert es nicht!
wenn ich "setxkbmap" ausführe, dann bekomm ich einen Fehler:
Code:
# setxkbkeymap -model logiik -layout de
# Cannot open display "default display"

Denke allerdings nicht dass der Fehler an dem liegt, aber leider bekomme ich gar keinen Fehler im Log.

ich boote gleich mal ins Knoppix und poste die xorg.conf und die Xorg.0.log rein.

Hofffe ihr könnt mir weiterhelfen ???

//EDIT:
hier mal das Log
Code:
 (II) Loading local sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/lib/xorg/modules/extensions/libGLcore.so
(II) Module GLcore: vendor="X.Org Foundation"
	compiled for 7.1.1, module version = 1.0.0
	ABI class: X.Org Server Extension, version 0.3
(II) GLX: Initialized MESA-PROXY GL provider for screen 0
(**) Option "Protocol" "standard"
(**) Generic Keyboard: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Generic Keyboard: XkbRules: "xorg"
(**) Generic Keyboard: XkbModel: "logiik"
(**) Option "XkbLayout" "de"
(**) Generic Keyboard: XkbLayout: "de"
(**) Option "CustomKeycodes" "off"
(**) Generic Keyboard: CustomKeycodes disabled
(**) Option "Protocol" "ImPS/2"
(**) Generic Mouse: Device: "/dev/input/mice"
(**) Generic Mouse: Protocol: "ImPS/2"
(**) Option "CorePointer"
(**) Generic Mouse: Core Pointer
(**) Option "Device" "/dev/input/mice"
(==) Generic Mouse: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Generic Mouse: ZAxisMapping: buttons 4 and 5
(**) Generic Mouse: Buttons: 9
(**) Option "CoreKeyboard"
(**) Generic Keyboard: Core Keyboard
(**) Option "Protocol" "standard"
(**) Generic Keyboard: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Generic Keyboard: XkbRules: "xorg"
(**) Generic Keyboard: XkbModel: "logiik"
(**) Option "XkbLayout" "de"
(**) Generic Keyboard: XkbLayout: "de"
(**) Option "CustomKeycodes" "off"
(**) Generic Keyboard: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "Generic Keyboard" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "Generic Mouse" (type: MOUSE)
(II) XINPUT: Adding extended input device "Generic Keyboard" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "NVIDIA Event Handler" (type: Other)
    xkb_keycodes             { include "xfree86+aliases(qwertz)" };
    xkb_types                { include "complete" };
    xkb_compatibility        { include "complete" };
    xkb_symbols              { include "pc(pc105)+de+inet(logiik)" };
    xkb_geometry             { include "pc(pc104)" };
    xkb_keycodes             { include "xfree86+aliases(qwertz)" };
    xkb_types                { include "complete" };
    xkb_compatibility        { include "complete" };
    xkb_symbols              { include "pc(pc105)+de+inet(logiik)" };
    xkb_geometry             { include "pc(pc104)" };
(II) Generic Mouse: ps2EnableDataReporting: succeeded
FreeFontPath: FPE "/usr/share/fonts/misc" refcount is 2, should be 1; fixing.

und hier die xorg.config
Code:
Section "Files"
	#FontPath	"unix/:7100"			# local font server
	# if the local font server has problems, we can fall back on these
	FontPath	"/usr/share/fonts/X11/misc"
	FontPath	"/usr/lib/X11/fonts/misc"
	FontPath	"/usr/share/fonts/X11/cyrillic"
	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/Type1"
	FontPath	"/usr/lib/X11/fonts/Type1"
	FontPath	"/usr/share/fonts/X11/CID"
	FontPath	"/usr/lib/X11/fonts/CID"
	FontPath	"/usr/lib/X11/fonts/Speedo"
	FontPath	"/usr/share/fonts/X11/100dpi"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/share/fonts/X11/75dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
	FontPath	"/usr/lib/X11/fonts/truetype"
EndSection

Section "Module"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
#	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"type1"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"XkbModel"	"logiik"
	Option		"XkbLayout"	"de"
#	Option		"XkbLayout"	"nodeadkeys"
#	Option		"nodeadkeys"
EndSection

Section "InputDevice"
	Identifier	"Generic Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"ZAxisMapping"		"4 5"
EndSection

#Section "InputDevice"
#    Identifier "LIRC-Mouse"
#    Driver "mouse"
#    Option "Device" "/dev/lircm"
#    Option "Protocol" "IntelliMouse"
#    Option "SendCoreEvents"
#    Option "Buttons" "5"
#    Option "ZAxisMapping" "4 5"
#EndSection

Section "Device"
	Identifier	"GeForce"
	Driver		"nvidia"
	Option		"UseFBDev"		"false"
#	Option		"NoLogo"		"1"
EndSection

Section "Monitor"
    Identifier  "Monitor0"
    HorizSync   31.5 - 91.1
    VertRefresh 60 - 100
    Option "DPMS"
    Modeline "640x480@100" 43.163 640 680 744 848 480 481 484 509 +hsync +vsync
EndSection

Section "Screen"
    Identifier  "Screen0"
    Device      "GeForce"
    Monitor     "Monitor0"
    DefaultDepth 24
    Subsection "Display"
        Depth       24
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0  # initial origin if mode is smaller than desktop
    EndSubsection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Screen0"
	InputDevice	"Generic Keyboard"
	InputDevice	"Generic Mouse"
#	InputDevice	"LIRC-Mouse"
EndSection

Section "DRI"
	Mode	0666
EndSection
 
Zuletzt bearbeitet:
ja, ist installiert. Hab das ganze paket xorg-server installiert.

mich macht das Ganze nur so stutzig, weil ja kein Fehler im xorg-log drinnen ist.

//EDIT:
Allerdings hab ich jetzt ein anderes Verhalten, der X-Server versucht ca. 10 mal zu starten, es erscheint immer das Nvidia Logo und dann bricht er wieder zusammen. Nach den 10 Versuchen hat ers aufgegeben mit der selben Fehlermeldung wie oben.
 
Zuletzt bearbeitet:
Im modularen XOrg-Build ist der Treiber nicht im xorg-server enthalten, sondern ein eigenes Paket.

ok, ich hab folgende Treiber nachinstalliert:
video-nv
input-mouse
video-vesa
input-keyboard

danach ist das Verhalten wie oben beschrieben aufgetreten.
.
EDIT :
.

ach ja, ein "revdep-rebuild" hab ich noch nicht durchgeführt und ein "emerge -uD world" auch noch nicht. Kann es vielleicht an dem liegen?
 
EDIT :
.[/color]
ach ja, ein "revdep-rebuild" hab ich noch nicht durchgeführt und ein "emerge -uD world" auch noch nicht. Kann es vielleicht an dem liegen?


Nein, das ist nicht relevant, AFAIK. Ich geb dir mal den entsprechenden Auszug aus meiner xorg.conf, auf dass du mal vergleichen kannst:
Code:
Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "kbd"
    Option      "XkbModel"      "pc105"
    Option      "XkbLayout"     "de"
    Option      "XkbVariant"    "nodeadkeys"
EndSection

Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option      "Protocol"      "ImPS/2"
    Option      "Device"        "/dev/input/mice"
    Option      "ZAxisMapping"  "4 5"
EndSection
 
poste bitte noch den Teil mit den Fonts ganz oben dazu.
 
Code:
Section "Files"
    FontPath    "/usr/share/fonts/corefonts/"
    FontPath    "/usr/share/fonts/sharefonts"
    FontPath    "/usr/share/fonts/misc/"
    FontPath    "/usr/share/fonts/100dpi/:unscaled"
    FontPath    "/usr/share/fonts/75dpi/:unscaled"
    FontPath    "/usr/share/fonts/Type1/"
    FontPath    "/usr/share/fonts/TTF/"
    FontPath    "/usr/share/fonts/100dpi/"
    FontPath    "/usr/share/fonts/75dpi/"
EndSection
 
hm, immer noch selber Fehler, hat nichts gebracht
 
Kommentier doch erstmal die tausende Module und Pfade aus.
 
Ich hab nun einige Module auskommentiert, nun komm ich zumindest in TWM rein. KDE wird mir momentan nicht gestartet, "startkde" existiert noch nicht.
ich bin grad beim emerge -uD world, denke mal das liegt daran. Das dauert erstmal seine Zeit... Aber wenn twm funktioniert, dann müsste KDE auch funktionieren denk ich mal.

ich geh jetzt erstmal ein wenig joggen und dann meld ich mich wieder obs auchmit KDE funktioniert hat (falls es bis dahin schon fertig ist)
 
Hi Diablo,

im make.conf hast Du aber schon die notwendigen Variablen gesetzt, oder?

z.B.:
PHP:
INPUT_DEVICES="keyboard mouse evdev"
VIDEO_CARDS="radeon vesa fbdev vga"

lg
__tom
 
Hi Diablo,

im make.conf hast Du aber schon die notwendigen Variablen gesetzt, oder?

z.B.:
PHP:
INPUT_DEVICES="keyboard mouse evdev"
VIDEO_CARDS="radeon vesa fbdev vga"

lg
__tom

Na toll, emerge ist bei intltool gehängt, wird sich wohl noch eine Weile ziehen bis das update fertig ist...

ja, hab die selben Variablen wie du oben gesetzt, nur anstatt radeon nvidia.
 
versuche mal.

Code:
    Option      "XkbModel"      "Microsoft"

Obwohl ich es überhaupt nicht leiden kann das in meinr xorg.conf Microsoft steht, funktioniert es am besten.

Solltest du Interesse an meiner xorg.conf für Nvidia inkl TwinViews, Xinerama haben poste ich sie gerne.
 
versuche mal.

Code:
    Option      "XkbModel"      "Microsoft"

Obwohl ich es überhaupt nicht leiden kann das in meinr xorg.conf Microsoft steht, funktioniert es am besten.

Solltest du Interesse an meiner xorg.conf für Nvidia inkl TwinViews, Xinerama haben poste ich sie gerne.
Also, ich habs jetzt so eingestellt:
Code:
Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "de"
        Option          "XkbVariant"    "nodeadkeys"
EndSection
=> Mit der Config funktionierts wunderbar.

Allerdings wäre ich trotzdem an deiner kompletten xorg.conf interessiert, weil ich mich mit der noch nie so richtig beschäftigt habt. Meine jetzige hab ich noch von meinem Debian System aus XFree86 übernommen. Denk es wär nicht schlecht wenn ich die mal etwas ausmisten würd.

//EDIT:
So, nun ist grad das Kompilieren fertig geworden. Funktioniert auch alles im KDE wunderbar.
Danke euch allen!
 
Zuletzt bearbeitet:
Zurück
Oben Unten