You are not logged in.

#1 2009-04-24 17:41:41

Berticus
Member
Registered: 2008-06-11
Posts: 731

A couple issues with Xorg

First, this problem seems to come and go. And Xorg.0.log doesn't provide any information

X.Org X Server 1.6.1
Release Date: 2009-4-14
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.29-ARCH x86_64
Current Operating System: Linux testlnx 2.6.29-ARCH #1 SMP PREEMPT Wed Apr 8 12:39:28 CEST 2009 x86_64
Build Date: 15 April 2009  11:01:49AM

(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(**) Mouse0: (accel) keeping acceleration scheme 1
(**) Mouse0: (accel) filter chain progression: 2.00
(**) Mouse0: (accel) filter stage 0: 20.00 ms
(**) Mouse0: (accel) set acceleration profile 0
(II) Mouse0: Setting mouse protocol to "ExplorerPS/2"
(II) Mouse0: ps2EnableDataReporting: succeeded
(II) UnloadModule: "kbd"
(II) UnloadModule: "mouse"

Full Xorg.0.log is at http://pastebin.com/m6f26ab51

This requires me to do a hard reboot, which I would like to try to avoid. Also, for some reason, after the last time I did a hard reboot, it seems to take X forever to start. I start X this way:

$ startx &

Before my last hard reboot, it would start instantly, now it takes probably half a minute.

---Edit---
No changes had been made to the configurations, and there has been no updates.

xorg.conf:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder62)  Thu Feb  5 00:08:50 PST 2009

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
#    Option         "BlankTime" "0"
#    Option         "StandbyTime" "0"
#    Option         "SuspendTime" "0"
#    Option         "OffTime" "0"
EndSection

Section "Files"

    ModulePath      "/usr/lib/xorg/modules"
    FontPath        "/usr/share/fonts/misc"
    FontPath        "/usr/share/fonts/TTF"
EndSection

Section "Module"
    Load           "xtrap"
    Load           "dbe"
    Load           "extmod"
    Load           "freetype"
    Load           "glx"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
    Option         "AutoAddDevices" "false"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "AutoRepeat" "500 30"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "microsoftelite"
    Option         "XkbLayout" "us"
EndSection

Section "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Samsung SyncMaster"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 75.0
#    Option         "DPMS" "off"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7900 GT/GTO"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "1280x1024_75 +0+0; 1280x1024 +0+0; 1024x768 +0+0; 800x600 +0+0; 640x480 +0+0"
    Option         "NoLogo" "true"
    Option         "AddARGBGLXVisuals" "true"
    Option         "UseEvents" "false"
    Option         "RenderAccel" "true"
    Option         "ConnectedMonitor" "DFP"
    Option         "TripleBuffer" "true"
    Option         "Coolbits" "1"
    Option         "RegisterDwords" "PerfLevelSrc=0x3333"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "true"
EndSection

~/.xinitrc

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice
numlockx on
xcompmgr &
# eval `cat $HOME/.fehbg`
xsetroot -cursor_name left_ptr
xset m 7 1 -dpms s off
urxvtd -o -q -f
#exec musca
exec ratpoison
#exec twm

Last edited by Berticus (2009-04-24 17:43:33)

Offline

#2 2009-04-25 04:37:46

Isengrin
Member
Registered: 2008-08-07
Posts: 166

Re: A couple issues with Xorg

What is exactly the problem?
Because my girlfriend and I have experienced some sudden crashes where the keyboard is locked, the pointer moves slow and the music becomes 'framed', don't know if it's the same thing you have.

We are currently trying the previous version of xorg-server to see if the problem was there, I'll report.

Last edited by Isengrin (2009-04-25 04:38:39)


The Wheel weaves as the Wheel wills, and we are only the thread of the Pattern."
—Moiraine Damodred

Offline

#3 2009-05-18 02:39:06

Berticus
Member
Registered: 2008-06-11
Posts: 731

Re: A couple issues with Xorg

Encountered the problem again, which reminded me of this thread.

Anyway, If it wasn't clear, the modules for the mouse and keyboard are unloaded. So all of a sudden I won't be able to move the mouse or type anything with my keyboard. CPU usage will hover around 0, everything else works fine. The display is the same, music is still going, et cetera.

Offline

#4 2009-05-18 06:59:59

milan
Member
Registered: 2007-03-20
Posts: 38

Re: A couple issues with Xorg

I guess you are having problems with your configuration. Why don't you try with minimal xorg.conf : http://wiki.archlinux.org/index.php/Xor … uring_xorg

Offline

#5 2009-05-18 22:09:40

Berticus
Member
Registered: 2008-06-11
Posts: 731

Re: A couple issues with Xorg

then no modules are loaded for the mouse and keyboard. That is, the problem is there right away. I don't know any way to recreate the issue. Sometimes it just happens, but it'll take a few hours to occur. It's never right away or within the first few minutes or even first hour of use.

---Edit---
Of course the moment I say that, it happens 10 minutes after boot...

Either way, it doesn't seem to happen at a specific time or when I do something specifically. At first I thought it was because I left my desktop, and for some reason they were getting unloaded due to inactivity (not sure what the reasoning was behind that). However, recently they've unloaded while in use.

---Edit---
Configurations are now slightly different:

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
#    Option    "BlankTime" "0"
#    Option    "StandbyTime" "0"
#    Option    "SuspendTime" "0"
#    Option    "OffTime" "0"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
#    FontPath     "/usr/share/fonts/100dpi:unscaled"
#    FontPath     "/usr/share/fonts/75dpi:unscaled"
#    FontPath     "/usr/share/fonts/TTF"
#    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
#    Load  "dri2"
    Load  "extmod"
    Load  "record"
    Load  "dbe"
    Load  "glx"
#    Load  "dri"
EndSection

Section "ServerFlags"
    Option    "Xinerama" "0"
    Option    "DontZap" "false"
    Option    "AutoAddDevices" "false"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option      "Protocol" "auto"
    Option      "Device" "/dev/input/mice"
    Option      "ZAxisMapping" "4 5 6 7"
    Option      "Emulate3Buttons" "no"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Samsung"
    ModelName    "SyncMaster 931b"
#    HorizSync    30.0 - 81.0
#    VertRefresh  56.0 - 75.0
#    Option       "DPMS" "off"
EndSection

Section "Device"
    Identifier  "Card0"
    Driver      "nvidia"
    VendorName  "nVidia Corporation"
    BoardName   "G71 [GeForce 7900 GT/GTO]"
#    BusID       "PCI:3:0:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultDepth 24
    Option "TwinView" "0"
    Option "metamodes" "1280x1024_75 +0+0; 1280x1024 +0+0; 800x600 +0+0 640x480 +0+0"
    Option "NoLogo" "true"
    Option "AddARGBGLXVisuals" "true"
    Option "UseEvents" "false"
    Option "RenderAccel" "true"
    Option "ConnectedMonitor" "DFP"
    Option "TripleBuffer" "true"
    Option "Coolbits" "1"
    Option "RegisterDwords" "PerfLevelSrc=0x3333"
        SubSection "Display"
            Viewport   0 0
            Depth     1
        EndSubSection
        SubSection "Display"
            Viewport   0 0
            Depth     4
    EndSubSection
    SubSection "Display"
            Viewport   0 0
            Depth     8
        EndSubSection
        SubSection "Display"
            Viewport   0 0
            Depth     15
        EndSubSection
        SubSection "Display"
            Viewport   0 0
            Depth     16
        EndSubSection
        SubSection "Display"
            Viewport   0 0
            Depth     24
        EndSubSection
EndSection

Section "Extensions"
    Option    "Composite" "true"
EndSection

Last edited by Berticus (2009-05-18 22:21:37)

Offline

#6 2009-05-19 16:23:17

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: A couple issues with Xorg

Do you have your mouse and keyboard plugged into a USB hub? If the hub loses power they will (obviously) get disconnected. I used to plug mine into a hub-in-monitor like Dell makes, and every time my monitor went into power-save this happened.

Offline

#7 2009-05-19 17:45:51

Crows
Member
From: Wales
Registered: 2008-09-05
Posts: 92

Re: A couple issues with Xorg

Is there a particular reason you aren't using input hotplugging? If it is losing the connection then HAL should be able to reload it.

Offline

#8 2009-05-19 22:50:48

Berticus
Member
Registered: 2008-06-11
Posts: 731

Re: A couple issues with Xorg

No, not going through a hub.

Hotplugging never seemed to work. Don't I just have to start hal and then startx? Additionally, I've never really been a fan of hal. So if I can avoid it altogether, that would be great.

Offline

#9 2009-05-22 16:50:03

jmdennis
Member
Registered: 2009-03-21
Posts: 61

Re: A couple issues with Xorg

I am having this same problem but for me it is when I start the system up the keyboard is recognized but then after it gets to the kde login the keyboard takes forever to do any thing and the mouse moves very slowly.  This did not happen for me until I upgraded xorg-server to 1.6.1.

Offline

Board footer

Powered by FluxBB