Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X problems on HP mini 2140
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
AddON
n00b
n00b


Joined: 30 Dec 2009
Posts: 10

PostPosted: Wed Dec 30, 2009 8:31 pm    Post subject: X problems on HP mini 2140 Reply with quote

emerged xorg and kde
rc-updated xdm
i get the login screen but after i log i seen an X and then a clock and then again the loggin screen.

can anyone plz help me ?

this is what i get in xorg log

(II) AT Translated Set 2 keyboard: Close
(II) UnloadModule: "evdev"
(II) Macintosh mouse button emulation: Close
(II) UnloadModule: "evdev"
(II) UnloadModule: "synaptics"
(II) Sleep Button: Close
(II) UnloadModule: "evdev"
(II) Video Bus: Close
(II) UnloadModule: "evdev"
(II) Power Button: Close
(II) UnloadModule: "evdev"
(II) Open ACPI successful (/var/run/acpid.socket)
(II) APM registered successfully
(II) intel(0): [DRI2] Setup complete
(**) intel(0): Kernel mode setting active, disabling FBC.
(**) intel(0): Framebuffer compression disabled
(**) intel(0): Tiling enabled
(**) intel(0): SwapBuffers wait enabled
(==) intel(0): VideoRam: 262144 KB
(II) intel(0): Attempting memory allocation with tiled buffers.
(II) intel(0): Tiled allocation successful.
(II) UXA(0): Driver registered support for the following operations:
(II) solid
(II) copy
(II) composite (RENDER acceleration)
(II) intel(0): Initializing HW Cursor
(II) intel(0): No memory allocations
(II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
(II) intel(0): DPMS enabled
(==) intel(0): Intel XvMC decoder disabled
(II) intel(0): Set up textured video
(II) intel(0): direct rendering: DRI2 Enabled
(--) RandR disabled
(II) AIGLX: enabled GLX_MESA_copy_sub_buffer
(II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
(II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
(II) AIGLX: Loaded and initialized /usr/lib/dri/i915_dri.so
(II) GLX: Initialized DRI2 GL provider for screen 0
(II) intel(0): Setting screen physical size to 224 x 126
(EE) XKB: No components provided for device Virtual core keyboard
(WW) Couldn't load XKB keymap, falling back to pre-XKB keymap
(II) config/hal: Adding input device AT Translated Set 2 keyboard
(**) AT Translated Set 2 keyboard: always reports core events
(**) AT Translated Set 2 keyboard: Device: "/dev/input/event1"
(II) AT Translated Set 2 keyboard: Found keys
(II) AT Translated Set 2 keyboard: Configuring as keyboard
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(II) config/hal: Adding input device Macintosh mouse button emulation
(**) Macintosh mouse button emulation: always reports core events
(**) Macintosh mouse button emulation: Device: "/dev/input/event0"
(II) Macintosh mouse button emulation: Found 3 mouse buttons
(II) Macintosh mouse button emulation: Found relative axes
(II) Macintosh mouse button emulation: Found x and y relative axes
(II) Macintosh mouse button emulation: Configuring as mouse
(**) Macintosh mouse button emulation: YAxisMapping: buttons 4 and 5
(**) Macintosh mouse button emulation: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(**) Macintosh mouse button emulation: (accel) keeping acceleration scheme 1
(**) Macintosh mouse button emulation: (accel) filter chain progression: 2.00
(**) Macintosh mouse button emulation: (accel) filter stage 0: 20.00 ms
(**) Macintosh mouse button emulation: (accel) set acceleration profile 0
(II) Macintosh mouse button emulation: initialized for relative axes.
(II) config/hal: Adding input device SynPS/2 Synaptics TouchPad
(II) Synaptics touchpad driver version 1.2.0
(**) Option "Device" "/dev/input/event2"
(II) SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5472
(II) SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4448
(II) SynPS/2 Synaptics TouchPad: pressure range 0 - 255
(II) SynPS/2 Synaptics TouchPad: finger width range 0 - 0
(II) SynPS/2 Synaptics TouchPad: buttons: left right middle
(--) SynPS/2 Synaptics TouchPad: touchpad found
(**) SynPS/2 Synaptics TouchPad: always reports core events
(**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
(**) SynPS/2 Synaptics TouchPad: (accel) filter chain progression: 2.00
(**) SynPS/2 Synaptics TouchPad: (accel) filter stage 0: 20.00 ms
(**) SynPS/2 Synaptics TouchPad: (accel) set acceleration profile 0
(--) SynPS/2 Synaptics TouchPad: touchpad found
(II) config/hal: Adding input device Sleep Button
(**) Sleep Button: always reports core events
(**) Sleep Button: Device: "/dev/input/event4"
(II) Sleep Button: Found keys
(II) Sleep Button: Configuring as keyboard
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(II) config/hal: Adding input device Video Bus
(**) Video Bus: always reports core events
(**) Video Bus: Device: "/dev/input/event7"
(II) Video Bus: Found keys
(II) Video Bus: Configuring as keyboard
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(II) config/hal: Adding input device Power Button
(**) Power Button: always reports core events
(**) Power Button: Device: "/dev/input/event3"
(II) Power Button: Found keys
(II) Power Button: Configuring as keyboard
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Wed Dec 30, 2009 9:37 pm    Post subject: Reply with quote

You need to set the XSESSION env variable probably. Put a line like this in /etc/profile.d/xsession.sh:
Code:
XSESSION=kde4

Then do an env-update and reboot/relogin.
Back to top
View user's profile Send private message
AddON
n00b
n00b


Joined: 30 Dec 2009
Posts: 10

PostPosted: Wed Dec 30, 2009 11:33 pm    Post subject: Reply with quote

done

#echo "XSESSION=kde4" > /etc/profile.d/xsession.sh

the file was not there before

env-update and reboot.

Thanks for help but its not working.
Last time i used gentoo was about 5 years ago, or more, and never emerged X. I must admit i feel like a noob now :)
I think i need more basic X help.

here is my lspci:

00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 01)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (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 Mobile PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller (rev 01)
08:00.0 Network controller: Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller (rev 01)
20:00.0 Ethernet controller: Marvell Technology Group Ltd. Device 436c (rev 10)

if i "#startx" i get:

xauth: creating new authority file /root/.serverauth.20543


X.Org X Server 1.6.5
Release Date: 2009-10-11
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.31-gentoo-r6 i686
Current Operating System: Linux mini 2.6.31-gentoo-r6 #1 SMP Mon Dec 28 21:49:39 EET 2009 i686
Build Date: 28 December 2009 04:08:23PM

Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Dec 31 01:27:19 2009
(==) Using config file: "/etc/X11/xorg.conf"
FATAL: Module fbcon not found.
Setting master
expected keysym, got XF86TouchpadToggle: line 122 of inet
expected keysym, got XF86TouchpadToggle: line 122 of inet
expected keysym, got XF86TouchpadToggle: line 122 of inet
expected keysym, got XF86TouchpadToggle: line 122 of inet
expected keysym, got XF86TouchpadToggle: line 122 of inet

waiting for X server to shut down Dropping master


and here is my xorg.conf:

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

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

Section "Module"
Load "record"
Load "extmod"
Load "dri2"
Load "dri"
Load "glx"
Load "dbe"
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"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "ColorKey" # <i>
#Option "CacheLines" # <i>
#Option "Dac6Bit" # [<bool>]
#Option "DRI" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ShowCache" # [<bool>]
#Option "XvMCSurfaces" # <i>
#Option "PageFlip" # [<bool>]
Identifier "Card0"
Driver "intel"
Option "AccelMethod" "UXA"
Option "Tiling" "False"
VendorName "Intel Corporation"
BoardName "Mobile 945GME Express Integrated Graphics Controller"
BusID "PCI:0:2:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1366x768"
EndSubSection
EndSection
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Thu Dec 31, 2009 12:26 am    Post subject: Reply with quote

Code:
nano /etc/conf.d/xdm

should look like: (red marks the change)
Quote:
# We always try and start X on a static VT. The various DMs normally default
# to using VT7. If you wish to use the xdm init script, then you should ensure
# that the VT checked is the same VT your DM wants to use. We do this check to
# ensure that you haven't accidentally configured something to run on the VT
# in your /etc/inittab file so that you don't get a dead keyboard.
CHECKVT=7

# What display manager do you use ? [ xdm | gdm | kdm | kdm-4.3 | gpe | entrance ]
# NOTE: If this is set in /etc/rc.conf, that setting will override this one.
#
# KDE-specific note:
# - If you are using kdeprefix go with "kdm-4.Y", e.g. "kdm-4.3".
# You can find possible versions by looking at the directories in /usr/kde/.
# - Else, if you are using KDE 3 enter "kdm-3.5"
# - Else, if you are using KDE 4 enter "kdm" without a version
DISPLAYMANAGER="kdm" #presuming you emerged kde4.3

# Set whether xorg should depend on hald or not. If set to 'auto' then the init
# script tries to determine the dependency on hald automatically, by examining
# xorg.conf files on various locations. If you have built xorg without hal
# use-flag, you should set 'no' here. If xorg has been built with hal then you
# may set 'auto' or 'yes' here.
# Possible values are: [ yes | no | auto ]
NEEDS_HALD="auto"


Last edited by DONAHUE on Thu Dec 31, 2009 2:22 am; edited 2 times in total
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Thu Dec 31, 2009 2:09 am    Post subject: Reply with quote

DONAHUE wrote:
..


comment in that file says:

Code:

Else, if you are using KDE 4 enter "kdm" without a version


is the comment wrong? (I use entrance rather than kdm/gdm, so it's easier for me)
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Thu Dec 31, 2009 2:23 am    Post subject: Reply with quote

oops. no idea, I gnome. Thanks for the catch.

When my mind dumped, I was trying to get around to saying
Code:
echo "XSESSION=kde4" > /etc/env.d/90xsession
env-update
source /etc/profile

since /etc/env.d/90xsession seems to be the current location for the xsession global variable.
Back to top
View user's profile Send private message
AddON
n00b
n00b


Joined: 30 Dec 2009
Posts: 10

PostPosted: Thu Dec 31, 2009 8:32 am    Post subject: Reply with quote

DISPLAYMANAGER="kdm" in /etc/conf.d/xdm

XSESSION=kde4 in /etc/env.d/90xsession

any other ideeas ?
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Thu Dec 31, 2009 8:41 am    Post subject: Reply with quote

AddON wrote:
DISPLAYMANAGER="kdm" in /etc/conf.d/xdm

XSESSION=kde4 in /etc/env.d/90xsession

any other ideeas ?


methinks XSESSION="kde-4.3"

Code:

laptop02 ~ # ls /etc/X11/Sessions/
Xsession  kde-4.3


that assumes your X is functional, which, I'm not entirely convinced of just yet.

Most common issues are people not having 'hal' and 'dbus' in their USE, not having hald and dbus in their 'default' runlevel, and/or not having the right settings in the kernel

We will try getting the session stuff sorted first, since that's easier to fix - but if not we may want you to dump your kernel .config and lspci -n up on pastebin.
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
AddON
n00b
n00b


Joined: 30 Dec 2009
Posts: 10

PostPosted: Thu Dec 31, 2009 9:53 am    Post subject: Reply with quote

mini ~ # ls /etc/X11/Sessions/
KDE-4 Xsession

used all combinations in 90xsession file and no luck.

hald and dbus are started

not sure if X is functional, if i #startx it crashes.

here is kernel conf http://pastebin.com/m67c2ed3f

and here is

mini env.d # lspci -n
00:00.0 0600: 8086:27ac (rev 03)
00:02.0 0300: 8086:27ae (rev 03)
00:02.1 0380: 8086:27a6 (rev 03)
00:1b.0 0403: 8086:27d8 (rev 01)
00:1c.0 0604: 8086:27d0 (rev 01)
00:1c.2 0604: 8086:27d4 (rev 01)
00:1c.3 0604: 8086:27d6 (rev 01)
00:1d.0 0c03: 8086:27c8 (rev 01)
00:1d.1 0c03: 8086:27c9 (rev 01)
00:1d.2 0c03: 8086:27ca (rev 01)
00:1d.3 0c03: 8086:27cb (rev 01)
00:1d.7 0c03: 8086:27cc (rev 01)
00:1e.0 0604: 8086:2448 (rev e1)
00:1f.0 0601: 8086:27b9 (rev 01)
00:1f.1 0101: 8086:27df (rev 01)
00:1f.2 0106: 8086:27c5 (rev 01)
08:00.0 0280: 14e4:432b (rev 01)
20:00.0 0200: 11ab:436c (rev 10)
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Thu Dec 31, 2009 10:05 am    Post subject: Reply with quote

k, so problem with your kernel

you have KMS=y, but you also have framebuffers

i would suggest removing KMS (kernel mode setting) from the kernel, rebuilding, install your kernel as per usual

i would also suggest doing both AGP_INTEL and DRM for i915 as built-in, not modules.

just to test if this is causing problems, before you rebuild your kernel, edit your grub.conf and on the end of your kernel line add:

Code:
vga=0x318 i915.modeset=0


reboot, select the kernel that uses the aforementioned command line settings, and see if you can start X without issue

If you decide you want to have another crack at doing a kernel from scratch, check the links in my sig
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
AddON
n00b
n00b


Joined: 30 Dec 2009
Posts: 10

PostPosted: Thu Dec 31, 2009 11:11 am    Post subject: Reply with quote

with vga=0x318 i915.modeset=0

i get this at startx:

mini ~ # startx
xauth: creating new authority file /root/.serverauth.19898


X.Org X Server 1.6.5
Release Date: 2009-10-11
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.31-gentoo-r6 i686
Current Operating System: Linux mini 2.6.31-gentoo-r6 #1 SMP Mon Dec 28 21:49:39 EET 2009 i686
Build Date: 28 December 2009 04:08:23PM

Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Dec 31 13:05:58 2009
(==) Using config file: "/etc/X11/xorg.conf"
Setting master
expected keysym, got XF86TouchpadToggle: line 122 of inet
expected keysym, got XF86TouchpadToggle: line 122 of inet
expected keysym, got XF86TouchpadToggle: line 122 of inet
expected keysym, got XF86TouchpadToggle: line 122 of inet
expected keysym, got XF86TouchpadToggle: line 122 of inet

waiting for X server to shut down Dropping master
error setting MTRR (base = 0xd0000000, size = 0x10000000, type = 1) Invalid argument (22)
.
Back to top
View user's profile Send private message
AddON
n00b
n00b


Joined: 30 Dec 2009
Posts: 10

PostPosted: Fri Jan 01, 2010 9:48 am    Post subject: Reply with quote

Happy new year to all of you !!!

managed enter in KDE after "emerge -x xorg-server", but the touchpad its not working.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Fri Jan 01, 2010 4:48 pm    Post subject: Reply with quote

Code:
grep -i CONFIG_MOUSE_PS2_SYNAPTICS /usr/src/linux/.config
should yield
Quote:
CONFIG_MOUSE_PS2_SYNAPTICS=y
if not add to kernel
Code:
grep INPUT_DEVICES /etc/make.conf
should yield at least evdev and synaptics if not add them to INPUT_DEVICES=" in /etc/make.conf
Code:
emerge xorg-server xf86-input-synaptics

Code:
emerge -av $(qlist -IC x11-drivers)

Code:
/etc/init.d/dbus restart
/etc/init.d/hald restart
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7731
Location: Underworld

PostPosted: Sun Jan 03, 2010 1:23 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Desktop Environments. Discussion about wireless moved here. Please keep discussion of unrelated problems in different threads.
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
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
Page 1 of 1

 
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