Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xorg-server 1.10 upgraded reminder (pay attention)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
terminou
Apprentice
Apprentice


Joined: 01 Feb 2005
Posts: 154
Location: Paris, France

PostPosted: Fri Apr 15, 2011 12:03 pm    Post subject: Reply with quote

what's about screen settings and SLI ????
Back to top
View user's profile Send private message
Matrix7
n00b
n00b


Joined: 21 Feb 2004
Posts: 54
Location: Sussex

PostPosted: Fri Apr 15, 2011 1:47 pm    Post subject: Reply with quote

More on xorg-server-1.10 woes:

re-emerged xf86-*-* as suggested by elog and minimised xorg.xconf. Still segfaults.

However, x starts if I use driver="fbdev" or "vesa".

No problems with keyboard (evidently).
Back to top
View user's profile Send private message
Matrix7
n00b
n00b


Joined: 21 Feb 2004
Posts: 54
Location: Sussex

PostPosted: Fri Apr 15, 2011 8:33 pm    Post subject: Reply with quote

More to report:

emerged xorg-server like this:

[ebuild R ] x11-base/xorg-server-1.10.0.902 USE="-ipv6 -kdrive -nptl udev xorg -dmx -doc -minimal -static-libs -tslib" 0 kB

and now it works fine. Not sure which USE flag causes the trouble, but I will report back further when I find out.

EDIT:

Sadly it only worked once. Having recompiled xorg-server with different use flag combinations, I can't reproduce the functioning combination. I've had to revert to xorg-server-1.9 and compatible nvidia-drivers.
Back to top
View user's profile Send private message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1435
Location: Berlin, Germany

PostPosted: Sat Apr 23, 2011 4:21 pm    Post subject: Reply with quote

This is the last of Xorg.0.log:
Code:
[    81.801] (II) Initializing extension GLX
[    82.744] (II) config/udev: Adding input device Logitech USB Trackball (/dev/input/mouse0)
[    82.744] (**) Logitech USB Trackball: Applying InputClass "Mouse0"
[    82.744] (II) LoadModule: "mouse"
[    82.744] (II) Loading /usr/lib64/xorg/modules/input/mouse_drv.so
[    82.780] (II) Module mouse: vendor="X.Org Foundation"
[    82.780]    compiled for 1.10.0.902, module version = 1.7.0
[    82.780]    Module class: X.Org XInput Driver
[    82.780]    ABI class: X.Org XInput driver, version 12.2
[    82.780] (II) Using input driver 'mouse' for 'Logitech USB Trackball'
[    82.781] (II) Loading /usr/lib64/xorg/modules/input/mouse_drv.so
[    82.781] (**) Logitech USB Trackball: always reports core events
[    82.781] (**) Option "Device" "/dev/input/mouse0"
[    82.814] (II) Logitech USB Trackball: Setting mouse protocol to "PS/2"
[    82.814] (==) Logitech USB Trackball: Protocol: "Auto"
[    82.814] (**) Logitech USB Trackball: always reports core events
[    82.854] (**) Option "Emulate3Buttons" "no"
[    82.854] (**) Option "ZAxisMapping" "4 5"
[    82.854] (**) Logitech USB Trackball: ZAxisMapping: buttons 4 and 5
[    82.854] (**) Logitech USB Trackball: Buttons: 9
[    82.854] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:13.4/usb5/5-1/5-1:1.0/input/input6/mouse0"
[    82.854] (II) XINPUT: Adding extended input device "Logitech USB Trackball" (type: MOUSE)
[    82.854] (**) Logitech USB Trackball: (accel) keeping acceleration scheme 1
[    82.854] (**) Logitech USB Trackball: (accel) acceleration profile 0
[    82.854] (**) Logitech USB Trackball: (accel) acceleration factor: 2.000
[    82.854] (**) Logitech USB Trackball: (accel) acceleration threshold: 4
[    82.898] (II) Logitech USB Trackball: Setting mouse protocol to "PS/2"
[    83.046] (II) Logitech USB Trackball: ps2EnableDataReporting: succeeded
[   125.840] (II) UnloadModule: "mouse"
[   125.840] (II) Unloading mouse
Everything prior is related to the nvidia driver. xorg.conf is only:
Code:
Section "Device"
    Identifier "Nvidia Card"
    Driver "nvidia"
EndSection
And then I have in /etc/X11/xorg.conf.d/11-inputs.conf:
Code:
Section "InputClass"
   Identifier   "Mouse0"
   MatchIsPointer "on"
   Driver       "mouse"
   Option       "AutoEnableDevices" "true"
   Option       "AutoAddDevices" "true"
   Option       "Emulate3Buttons" "no"
   Option       "ZAxisMapping" "4 5"
EndSection

Section "InputClass"
   Identifier   "Keyboard0"
   MatchIsKeyboard "yes"
   Driver       "kbd"
   Option       "AutoRepeat" "500 5"
   Option       "XkbModel" "pc105"
   Option       "XkbLayout" "de"
   Option       "XkbVariant" "nodeadkeys"
   Option       "XkbOptions" "lb3:ralt_switch"
   Option       "RightAlt" "ModeShift"   
EndSection
keyboard works fine in the console, and not at all in kdm. I'll try another *dm.

Cheers,

EE
Back to top
View user's profile Send private message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1435
Location: Berlin, Germany

PostPosted: Tue Apr 26, 2011 12:39 am    Post subject: Reply with quote

I'm trying this on a fresh install. Same problem: while the mouse works fine, the keyboard does not work at all. The log file does not even show the server attempting to load/detect the keyboard. obviously, it works fine from the prompt (ie, non-wm terminal).

Incidentally, this is a USB keyboard, using the de-latin1-nodeadkeys layout. Would that cause problems?

Thanks,

EE
Back to top
View user's profile Send private message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1435
Location: Berlin, Germany

PostPosted: Wed Apr 27, 2011 10:20 pm    Post subject: Reply with quote

here's some more. the mouse has a device path, which I see thus:
Code:
# ls /dev/input
by-id  by-path  mice  mouse0


However, as you can see, there is neither a device path for "event," nor anything for the keyboard. Why might this be? Would this cause the keyboard not to be detected by X or evdev? Some other site suggested using /dev/stdin, but that seems ... somehow unorthodox. Is there some other path that should be created?

Thanks,

EE
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Wed Apr 27, 2011 10:28 pm    Post subject: Reply with quote

ExecutorElassus wrote:
However, as you can see, there is neither a device path for "event," nor anything for the keyboard.

Do you have evdev support in your kernel (CONFIG_INPUT_EVDEV)? Seems not.
Back to top
View user's profile Send private message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1435
Location: Berlin, Germany

PostPosted: Wed Apr 27, 2011 10:43 pm    Post subject: Reply with quote

ha ha! so, funny story, right?

yeah, I never enabled it.

Well, now I get a whole lot of messages in my Xorg.0.log:
Code:
[   117.881] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[   117.881] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   117.881] (**) Power Button: Applying InputClass "Keyboard default"
[   117.881] (II) LoadModule: "evdev"
[   117.881] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[   117.886] (II) Module evdev: vendor="X.Org Foundation"
[   117.886]    compiled for 1.10.1, module version = 2.6.0
[   117.886]    Module class: X.Org XInput Driver
[   117.886]    ABI class: X.Org XInput driver, version 12.2
[   117.886] (II) Using input driver 'evdev' for 'Power Button'
[   117.886] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[   117.886] (**) Power Button: always reports core events
[   117.886] (**) Power Button: Device: "/dev/input/event1"
[   117.902] (--) Power Button: Found keys
[   117.902] (II) Power Button: Configuring as keyboard
[   117.902] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1/event1"
[   117.902] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
[   117.902] (**) Option "xkb_rules" "evdev"
[   117.902] (**) Option "xkb_model" "pc105"
[   117.902] (**) Option "xkb_layout" "de"
[   117.902] (**) Option "xkb_variant" "nodeadkeys"
[   117.902] (**) Option "xkb_options" "lb3:ralt_switch"
[   117.947] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[   117.947] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   117.947] (**) Power Button: Applying InputClass "Keyboard default"
[   117.947] (II) Using input driver 'evdev' for 'Power Button'
[   117.947] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[   117.947] (**) Power Button: always reports core events
[   117.947] (**) Power Button: Device: "/dev/input/event0"
[   117.958] (--) Power Button: Found keys
[   117.958] (II) Power Button: Configuring as keyboard
[   117.958] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input0/event0"
[   117.958] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
[   117.958] (**) Option "xkb_rules" "evdev"
[   117.958] (**) Option "xkb_model" "pc105"
[   117.958] (**) Option "xkb_layout" "de"
It goes on to add/configure the mouse four or five times as well. However, neither of them actually work in the login screen. I see no error messages. So, everything configures properly (I guess?), but still no input. How do I fix that?

Progress! (?)

Thanks,

EE
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Thu Apr 28, 2011 1:29 am    Post subject: Reply with quote

How about putting the current log in a pastebin ?
There's nothing about your keyboard/mouse in that snippet, just the pwer button stuff, which isn't useful for anything but saying the driver does get loaded.
Back to top
View user's profile Send private message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1435
Location: Berlin, Germany

PostPosted: Thu Apr 28, 2011 1:42 am    Post subject: Reply with quote

duh, whoops. Here's the pastebin: http://paste2.org/p/1388180

Thanks again,

EE
Back to top
View user's profile Send private message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1435
Location: Berlin, Germany

PostPosted: Fri Apr 29, 2011 12:28 am    Post subject: Reply with quote

what the...

I seriously have not done anything different on my system in the last two days. I'm updating the world set now, but nothing else.

So, I run 'kdm' tonight, and - in contrast to yesterday, where nothing worked - both mouse and keyboard work with 'evdev' as the driver.

So, huh. Far out.

Now I just have to get fvwm configured again, but it seems to be running (I guess?).

Thanks a ton for the help. I wish I knew what was broken, but it seems fixed now.

Cheers,

EE
Back to top
View user's profile Send private message
Nerdanel
Apprentice
Apprentice


Joined: 27 Apr 2003
Posts: 161
Location: Finland

PostPosted: Sun May 01, 2011 9:48 am    Post subject: Reply with quote

I encountered this bug too. I finally solved it by switching to the evdev drivers in the xorg.conf and recompiling my kernel with the evdev functionality enabled. I have no idea why the kbd driver didn't work but it just didn't.
Back to top
View user's profile Send private message
Matrix7
n00b
n00b


Joined: 21 Feb 2004
Posts: 54
Location: Sussex

PostPosted: Fri May 13, 2011 9:39 am    Post subject: Reply with quote

Matrix7 wrote:
More to report:

emerged xorg-server like this:

[ebuild R ] x11-base/xorg-server-1.10.0.902 USE="-ipv6 -kdrive -nptl udev xorg -dmx -doc -minimal -static-libs -tslib" 0 kB

and now it works fine. Not sure which USE flag causes the trouble, but I will report back further when I find out.

EDIT:

Sadly it only worked once. Having recompiled xorg-server with different use flag combinations, I can't reproduce the functioning combination. I've had to revert to xorg-server-1.9 and compatible nvidia-drivers.


OK, a bit more digging found this in my syslog:
Code:

May 13 09:11:37 hostname kernel: nvidia 0000:03:00.0: PCI INT A disabled
May 13 09:11:37 hostname kernel: nvidia 0000:04:00.0: PCI INT A disabled
May 13 09:15:11 hostname kernel: nvidia 0000:03:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
May 13 09:15:11 hostname kernel: nvidia 0000:03:00.0: setting latency timer to 64
May 13 09:15:11 hostname kernel: vgaarb: device changed decodes: PCI:0000:03:00.0,olddecodes=none,decodes=none:owns=io+mem
May 13 09:15:11 hostname kernel: nvidia 0000:04:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
May 13 09:15:11 hostname kernel: nvidia 0000:04:00.0: setting latency timer to 64
May 13 09:15:11 hostname kernel: NVRM: loading NVIDIA UNIX x86 Kernel Module  270.41.06  Mon Apr 18 14:54:25 PDT 2011
May 13 09:15:13 hostname acpid: client connected from 4744[0:0]
May 13 09:15:13 hostname acpid: 1 client rule loaded
May 13 09:15:21 hostname kernel: vmap allocation for size 16781312 failed: use vmalloc=<size> to increase size.
May 13 09:15:21 hostname kernel: NVRM: RmInitAdapter failed! (0x26:0xffffffff:1050)
May 13 09:15:21 hostname kernel: NVRM: rm_init_adapter(1) failed
May 13 09:15:22 hostname kdm[4742]: X server died during startup
May 13 09:15:22 hostname kdm[4742]: X server for display :0 cannot be started, session disabled


A bit of googling led to adding vmalloc=256Mb to the kernel line in grub.conf

Now X starts just fine.

[SOLVED]
Back to top
View user's profile Send private message
Joseph K.
Guru
Guru


Joined: 07 Jun 2006
Posts: 436
Location: Sydney, Australia

PostPosted: Fri Jun 10, 2011 12:07 am    Post subject: Reply with quote

I upgraded from xorg-server-1.9.5 to 1.10.2 last night, rebuilt the x11 drivers, started X and it crashed on the Intel video driver. :( I don't know if it matters, but I also upgraded pixman to 0.22.0 in the process. I forgot to save the log file but if someone is interested I can reproduce it. Cheers.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum