Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
startx failed
View unanswered posts
View posts from last 24 hours

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


Joined: 11 Nov 2013
Posts: 31

PostPosted: Thu Nov 21, 2013 9:50 am    Post subject: startx failed Reply with quote

I followed the Gentoo wiki to install xorg-server, but startx just failed. Here is the log file,
Code:
$ cat /var/log/Xorg.0.log
[    65.484]
X.Org X Server 1.14.3
Release Date: 2013-09-12
[    65.484] X Protocol Version 11, Revision 0
[    65.484] Build Operating System: Linux 3.10.17-gentoo i686 Gentoo
[    65.484] Current Operating System: Linux gentoo 3.10.17-gentoo #9 SMP Thu Nov 21 16:32:16 CST 2013 i686
[    65.484] Kernel command line: BOOT_IMAGE=/kernel-3.10.17-gentoo root=/dev/sda9 ro
[    65.484] Build Date: 21 November 2013  05:11:11PM
[    65.484] 
[    65.484] Current version of pixman: 0.30.2
[    65.484]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[    65.484] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    65.485] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Nov 21 17:34:22 2013
[    65.508] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    65.522] (==) No Layout section.  Using the first Screen section.
[    65.522] (==) No screen section available. Using defaults.
[    65.522] (**) |-->Screen "Default Screen Section" (0)
[    65.522] (**) |   |-->Monitor "<default monitor>"
[    65.523] (==) No monitor specified for screen "Default Screen Section".
   Using a default monitor configuration.
[    65.523] (==) Automatically adding devices
[    65.523] (==) Automatically enabling devices
[    65.523] (==) Automatically adding GPU devices
[    65.546] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[    65.546]    Entry deleted from font path.
[    65.546] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[    65.546]    Entry deleted from font path.
[    65.546] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[    65.546]    Entry deleted from font path.
[    65.557] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[    65.557]    Entry deleted from font path.
[    65.557]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[    65.558] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[    65.558]    Entry deleted from font path.
[    65.558]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[    65.558] (==) FontPath set to:
   /usr/share/fonts/misc/
[    65.558] (==) ModulePath set to "/usr/lib/xorg/modules"
[    65.558] (II) The server relies on udev to provide the list of input devices.
   If no devices become available, reconfigure udev or disable AutoAddDevices.
[    65.558] (II) Loader magic: 0x825f620
[    65.558] (II) Module ABI versions:
[    65.558]    X.Org ANSI C Emulation: 0.4
[    65.558]    X.Org Video Driver: 14.1
[    65.558]    X.Org XInput driver : 19.1
[    65.558]    X.Org Server Extension : 7.0
[    65.558] (II) xfree86: Adding drm device (/dev/dri/card0)
[    65.558] (II) xfree86: Adding drm device (/dev/dri/card1)
[    65.560] (--) PCI:*(0:0:2:0) 8086:0116:103c:166e rev 9, Mem @ 0xa0000000/4194304, 0x90000000/268435456, I/O @ 0x00005000/64
[    65.560] (--) PCI: (0:1:0:0) 1002:6760:103c:166e rev 0, Mem @ 0x80000000/268435456, 0xa2600000/131072, I/O @ 0x00004000/256, BIOS @ 0x????????/131072
[    65.560] Initializing built-in extension Generic Event Extension
[    65.560] Initializing built-in extension SHAPE
[    65.560] Initializing built-in extension MIT-SHM
[    65.560] Initializing built-in extension XInputExtension
[    65.560] Initializing built-in extension XTEST
[    65.560] Initializing built-in extension BIG-REQUESTS
[    65.560] Initializing built-in extension SYNC
[    65.560] Initializing built-in extension XKEYBOARD
[    65.560] Initializing built-in extension XC-MISC
[    65.560] Initializing built-in extension XINERAMA
[    65.560] Initializing built-in extension XFIXES
[    65.560] Initializing built-in extension RENDER
[    65.560] Initializing built-in extension RANDR
[    65.560] Initializing built-in extension COMPOSITE
[    65.560] Initializing built-in extension DAMAGE
[    65.561] Initializing built-in extension MIT-SCREEN-SAVER
[    65.561] Initializing built-in extension DOUBLE-BUFFER
[    65.561] Initializing built-in extension RECORD
[    65.561] Initializing built-in extension DPMS
[    65.561] Initializing built-in extension X-Resource
[    65.561] Initializing built-in extension XVideo
[    65.561] Initializing built-in extension XVideo-MotionCompensation
[    65.562] Initializing built-in extension XFree86-VidModeExtension
[    65.563] Initializing built-in extension XFree86-DGA
[    65.564] Initializing built-in extension XFree86-DRI
[    65.564] Initializing built-in extension DRI2
[    65.564] (II) LoadModule: "glx"
[    65.621] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    65.647] (II) Module glx: vendor="X.Org Foundation"
[    65.647]    compiled for 1.14.3, module version = 1.0.0
[    65.647]    ABI class: X.Org Server Extension, version 7.0
[    65.647] (==) AIGLX enabled
[    65.648] Loading extension GLX
[    65.648] (==) Matched intel as autoconfigured driver 0
[    65.648] (==) Matched ati as autoconfigured driver 1
[    65.648] (==) Matched intel as autoconfigured driver 2
[    65.648] (==) Matched vesa as autoconfigured driver 3
[    65.648] (==) Matched modesetting as autoconfigured driver 4
[    65.648] (==) Matched fbdev as autoconfigured driver 5
[    65.648] (==) Assigned the driver to the xf86ConfigLayout
[    65.648] (II) LoadModule: "intel"
[    65.648] (WW) Warning, couldn't open module intel
[    65.648] (II) UnloadModule: "intel"
[    65.648] (II) Unloading intel
[    65.648] (EE) Failed to load module "intel" (module does not exist, 0)
[    65.648] (II) LoadModule: "ati"
[    65.649] (WW) Warning, couldn't open module ati
[    65.649] (II) UnloadModule: "ati"
[    65.649] (II) Unloading ati
[    65.649] (EE) Failed to load module "ati" (module does not exist, 0)
[    65.649] (II) LoadModule: "vesa"
[    65.649] (WW) Warning, couldn't open module vesa
[    65.649] (II) UnloadModule: "vesa"
[    65.649] (II) Unloading vesa
[    65.649] (EE) Failed to load module "vesa" (module does not exist, 0)
[    65.649] (II) LoadModule: "modesetting"
[    65.649] (WW) Warning, couldn't open module modesetting
[    65.649] (II) UnloadModule: "modesetting"
[    65.649] (II) Unloading modesetting
[    65.649] (EE) Failed to load module "modesetting" (module does not exist, 0)
[    65.649] (II) LoadModule: "fbdev"
[    65.649] (WW) Warning, couldn't open module fbdev
[    65.649] (II) UnloadModule: "fbdev"
[    65.649] (II) Unloading fbdev
[    65.649] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    65.649] (EE) No drivers available.
[    65.649] (EE)
Fatal server error:
[    65.651] (EE) no screens found(EE)
[    65.651] (EE)
Please consult the The X.Org Foundation support
    at http://wiki.x.org
 for help.
[    65.654] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    65.655] (EE)

I have hybrid graphics on my laptop, my X related settings in /etc/portage/make.conf look like this,
Code:
INPUT_DEVICES="evdev synaptics"

VIDEO_CARDS="intel radeon"

So where is the problem?
Back to top
View user's profile Send private message
DawgG
Guru
Guru


Joined: 17 Sep 2003
Posts: 595

PostPosted: Thu Nov 21, 2013 10:54 am    Post subject: Reply with quote

check those lines (starting with EE):
Code:
 (EE) Failed to load module "intel" (module does not exist, 0)

have you emerged all the necessary drivers?

try:
Code:
qlist -SI x11-drivers/
x11-drivers/xf86-input-evdev
x11-drivers/xf86-input-keyboard
x11-drivers/xf86-input-mouse
x11-drivers/xf86-video-fbdev
x11-drivers/xf86-video-intel
x11-drivers/xf86-video-v4l
x11-drivers/xf86-video-vesa

that's the command and its output on my box. you should at least see x11-drivers/xf86-video-intel as a gfx-driver.
GOOD LUCK!
_________________
DUMM KLICKT GUT.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5270

PostPosted: Thu Nov 21, 2013 12:29 pm    Post subject: Reply with quote

Actually, VIDEO_CARDS look about right, so reemerge xorg-drivers meta, so that the correct drivers are pulled.
Make sure your kernel is set up correctly.
Back to top
View user's profile Send private message
yufw
n00b
n00b


Joined: 11 Nov 2013
Posts: 31

PostPosted: Thu Nov 21, 2013 3:31 pm    Post subject: Reply with quote

VoidMage wrote:
Actually, VIDEO_CARDS look about right, so reemerge xorg-drivers meta, so that the correct drivers are pulled.
Make sure your kernel is set up correctly.

I reemerged xorg-drivers and now it works fine. Thanks.
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