Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
startx drops me back to the CLI, produces errors
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
Logomachist
n00b
n00b


Joined: 02 Jun 2014
Posts: 32
Location: PA, USA

PostPosted: Fri Oct 17, 2014 9:44 am    Post subject: startx drops me back to the CLI, produces errors Reply with quote

I'm trying to follow [url="https://wiki.gentoo.org/wiki/Xorg/Configuration"]the Xorg/Configuration instructions on the Gentoo wiki to set up the Xorg window system[/url] so I can run KDE but I'm encountering some problems. When I run startx the screen goes black for a couple seconds before I'm dumped back to the command prompt with a bunch of errors on my screen*.

Originally startx produced a blank black screen, the output I'm [url="http://wiki.gentoo.org/wiki/Xorg/Configuration#Using_startx"] told to expect by the wiki[/url]. When I emerged x11-wm/twm and x11-terms/xterm (as directed), startx produced a black screen followed by a couple terminal windows, but the aspect ratio, resolution and colors were all wrong and the system seemed sluggish so I figured I need to specify my screen settings in a xorg.conf.d config file. I don't know enough to create one from scratch but I found [url="http://privatepaste.com/cd636748c4"]a /etc/X11xorg.conf posted online by someone who's running the same hardware I am[/url], so I'm using that with a couple of things commented out to not override some settings in other files. But I'm still getting errors when I run startx:

/var/log/Xorg.0.log wrote:
[ 86.082]
X.Org X Server 1.15.0
Release Date: 2013-12-27
[ 86.082] X Protocol Version 11, Revision 0
[ 86.082] Build Operating System: Linux 3.0.4 i686 Gentoo
[ 86.083] Current Operating System: Linux Synergy 3.12.21-gentoo-r1 #5 SMP Sat Jun 21 19:37:43 EDT 2014 i686
[ 86.083] Kernel command line: BOOT_IMAGE=/vmlinuz-3.12.21-gentoo-r1 root=UUID=0e495844-e3d1-402a-8a67-7ef53a2958e8 ro
[ 86.083] Build Date: 16 October 2014 04:32:59PM
[ 86.083]
[ 86.084] Current version of pixman: 0.32.4
[ 86.087] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 86.087] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 86.099] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Oct 16 21:37:39 2014
[ 86.213] (==) Using config file: "/etc/X11/xorg.conf"
[ 86.216] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 86.219] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 86.274] (==) ServerLayout "X.org Configured"
[ 86.274] (**) |-->Screen "Screen0" (0)
[ 86.274] (**) | |-->Monitor "Monitor0"
[ 86.274] (**) | |-->Device "Card0"
[ 86.274] (==) Automatically adding devices
[ 86.274] (==) Automatically enabling devices
[ 86.274] (==) Automatically adding GPU devices
[ 86.401] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[ 86.401] Entry deleted from font path.
[ 86.401] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 86.401] Entry deleted from font path.
[ 86.401] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 86.401] Entry deleted from font path.
[ 86.509] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[ 86.509] Entry deleted from font path.
[ 86.509] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 86.509] Entry deleted from font path.
[ 86.509] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 86.509] Entry deleted from font path.
[ 86.509] (**) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/,
/usr/share/fonts/misc/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/
[ 86.509] (**) ModulePath set to "/usr/lib/xorg/modules"
[ 86.509] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 86.520] (II) Loader magic: 0xb77f6660
[ 86.520] (II) Module ABI versions:
[ 86.520] X.Org ANSI C Emulation: 0.4
[ 86.521] X.Org Video Driver: 15.0
[ 86.521] X.Org XInput driver : 20.0
[ 86.521] X.Org Server Extension : 8.0
[ 86.521] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 86.525] (--) PCI:*(0:0:2:0) 8086:27ae:1043:8340 rev 3, Mem @ 0xf7e00000/524288, 0xd0000000/268435456, 0xf7dc0000/262144, I/O @ 0x0000dc00/8
[ 86.525] (--) PCI: (0:0:2:1) 8086:27a6:1043:8340 rev 3, Mem @ 0xf7e80000/524288
[ 86.531] Initializing built-in extension Generic Event Extension
[ 86.534] Initializing built-in extension SHAPE
[ 86.537] Initializing built-in extension MIT-SHM
[ 86.540] Initializing built-in extension XInputExtension
[ 86.543] Initializing built-in extension XTEST
[ 86.546] Initializing built-in extension BIG-REQUESTS
[ 86.549] Initializing built-in extension SYNC
[ 86.552] Initializing built-in extension XKEYBOARD
[ 86.554] Initializing built-in extension XC-MISC
[ 86.557] Initializing built-in extension XINERAMA
[ 86.559] Initializing built-in extension XFIXES
[ 86.562] Initializing built-in extension RENDER
[ 86.564] Initializing built-in extension RANDR
[ 86.567] Initializing built-in extension COMPOSITE
[ 86.569] Initializing built-in extension DAMAGE
[ 86.571] Initializing built-in extension MIT-SCREEN-SAVER
[ 86.573] Initializing built-in extension DOUBLE-BUFFER
[ 86.575] Initializing built-in extension RECORD
[ 86.578] Initializing built-in extension DPMS
[ 86.580] Initializing built-in extension Present
[ 86.582] Initializing built-in extension DRI3
[ 86.584] Initializing built-in extension X-Resource
[ 86.586] Initializing built-in extension XVideo
[ 86.588] Initializing built-in extension XVideo-MotionCompensation
[ 86.589] Initializing built-in extension XFree86-VidModeExtension
[ 86.591] Initializing built-in extension XFree86-DGA
[ 86.593] Initializing built-in extension XFree86-DRI
[ 86.594] Initializing built-in extension DRI2
[ 86.594] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[ 86.594] (II) LoadModule: "extmod"
[ 86.595] (II) Module "extmod" already built-in
[ 86.595] (II) LoadModule: "record"
[ 86.595] (II) Module "record" already built-in
[ 86.595] (II) LoadModule: "dbe"
[ 86.595] (II) Module "dbe" already built-in
[ 86.595] (II) LoadModule: "dri"
[ 86.595] (II) Module "dri" already built-in
[ 86.595] (II) LoadModule: "dri2"
[ 86.595] (II) Module "dri2" already built-in
[ 86.595] (II) LoadModule: "glx"
[ 86.708] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 86.916] (II) Module glx: vendor="X.Org Foundation"
[ 86.917] compiled for 1.15.0, module version = 1.0.0
[ 86.917] ABI class: X.Org Server Extension, version 8.0
[ 86.917] (==) AIGLX enabled
[ 86.918] Loading extension GLX
[ 86.918] (II) LoadModule: "intel"
[ 86.919] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 86.950] (II) Module intel: vendor="X.Org Foundation"
[ 86.950] compiled for 1.15.0, module version = 2.21.15
[ 86.950] Module class: X.Org Video Driver
[ 86.950] ABI class: X.Org Video Driver, version 15.0
[ 86.950] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43, HD Graphics,
HD Graphics 2000, HD Graphics 3000, HD Graphics 2500,
HD Graphics 4000, HD Graphics P4000, HD Graphics 4600,
HD Graphics 5000, HD Graphics P4600/P4700, Iris(TM) Graphics 5100,
HD Graphics 4400, HD Graphics 4200, Iris(TM) Pro Graphics 5200
[ 86.952] (--) using VT number 7

[ 86.971] (**) intel(0): Depth 24, (--) framebuffer bpp 32
[ 86.971] (==) intel(0): RGB weight 888
[ 86.971] (==) intel(0): Default visual is TrueColor
[ 86.971] (--) intel(0): Integrated Graphics Chipset: Intel(R) 945GME
[ 86.972] (--) intel(0): CPU: x86, sse2, sse3, ssse3
[ 86.972] (**) intel(0): Framebuffer tiled
[ 86.972] (**) intel(0): Pixmaps tiled
[ 86.972] (**) intel(0): "Tear free" disabled
[ 86.972] (**) intel(0): Forcing per-crtc-pixmaps? no
[ 86.972] (II) intel(0): Output LVDS1 using monitor section Monitor0
[ 86.973] (--) intel(0): found backlight control interface acpi_video0 (type 'firmware')
[ 86.973] (II) intel(0): Output VGA1 has no monitor section
[ 86.973] (--) intel(0): Output LVDS1 using initial mode 1024x600 on pipe 1
[ 86.973] (==) intel(0): DPI set to (96, 96)
[ 86.973] (II) Loading sub module "dri2"
[ 86.973] (II) LoadModule: "dri2"
[ 86.973] (II) Module "dri2" already built-in
[ 86.973] (==) Depth 24 pixmap format is 32 bpp
[ 87.007] (II) intel(0): SNA initialized with Alviso (gen3) backend
[ 87.007] (==) intel(0): Backing store enabled
[ 87.007] (==) intel(0): Silken mouse enabled
[ 87.008] (II) intel(0): HW Cursor enabled
[ 87.008] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 87.015] (==) intel(0): DPMS enabled
[ 87.026] (II) intel(0): [DRI2] Setup complete
[ 87.026] (II) intel(0): [DRI2] DRI driver: i915
[ 87.026] (II) intel(0): direct rendering: DRI2 Enabled
[ 87.026] (==) intel(0): hotplug detection: "enabled"
[ 87.027] (--) RandR disabled
[ 87.827] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[ 87.827] (II) AIGLX: enabled GLX_ARB_create_context
[ 87.827] (II) AIGLX: enabled GLX_ARB_create_context_profile
[ 87.827] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
[ 87.827] (II) AIGLX: enabled GLX_INTEL_swap_event
[ 87.827] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[ 87.827] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[ 87.827] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[ 87.827] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[ 87.828] (II) AIGLX: Loaded and initialized i915
[ 87.828] (II) GLX: Initialized DRI2 GL provider for screen 0
[ 87.836] (II) intel(0): switch to mode 1024x600@60.0 on pipe 1 using LVDS1, position (0, 0), rotation normal
[ 87.844] (II) intel(0): Setting screen physical size to 270 x 158
[ 88.526] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[ 88.526] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 88.526] (**) Power Button: Applying InputClass "Keyboard"
[ 88.526] (II) LoadModule: "evdev"
[ 88.550] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 88.569] (II) Module evdev: vendor="X.Org Foundation"
[ 88.569] compiled for 1.15.0, module version = 2.8.2
[ 88.569] Module class: X.Org XInput Driver
[ 88.569] ABI class: X.Org XInput driver, version 20.0
[ 88.569] (II) Using input driver 'evdev' for 'Power Button'
[ 88.569] (**) Power Button: always reports core events
[ 88.569] (**) evdev: Power Button: Device: "/dev/input/event3"
[ 88.569] (--) evdev: Power Button: Vendor 0 Product 0x1
[ 88.569] (--) evdev: Power Button: Found keys
[ 88.569] (II) evdev: Power Button: Configuring as keyboard
[ 88.569] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3"
[ 88.569] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[ 88.570] (**) Option "xkb_rules" "evdev"
[ 88.570] (**) Option "xkb_model" "asus_laptop"
[ 88.570] (**) Option "xkb_layout" "us"
[ 88.570] (**) Option "xkb_variant" ",qwerty"
[ 88.648] (II) config/udev: Adding input device Video Bus (/dev/input/event4)
[ 88.649] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[ 88.649] (**) Video Bus: Applying InputClass "Keyboard"
[ 88.649] (II) Using input driver 'evdev' for 'Video Bus'
[ 88.649] (**) Video Bus: always reports core events
[ 88.649] (**) evdev: Video Bus: Device: "/dev/input/event4"
[ 88.649] (--) evdev: Video Bus: Vendor 0 Product 0x6
[ 88.649] (--) evdev: Video Bus: Found keys
[ 88.649] (II) evdev: Video Bus: Configuring as keyboard
[ 88.649] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input4/event4"
[ 88.649] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[ 88.649] (**) Option "xkb_rules" "evdev"
[ 88.649] (**) Option "xkb_model" "asus_laptop"
[ 88.649] (**) Option "xkb_layout" "us"
[ 88.649] (**) Option "xkb_variant" ",qwerty"
[ 88.651] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[ 88.651] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 88.651] (**) Power Button: Applying InputClass "Keyboard"
[ 88.651] (II) Using input driver 'evdev' for 'Power Button'
[ 88.651] (**) Power Button: always reports core events
[ 88.651] (**) evdev: Power Button: Device: "/dev/input/event2"
[ 88.651] (--) evdev: Power Button: Vendor 0 Product 0x1
[ 88.651] (--) evdev: Power Button: Found keys
[ 88.651] (II) evdev: Power Button: Configuring as keyboard
[ 88.651] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input2/event2"
[ 88.651] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[ 88.651] (**) Option "xkb_rules" "evdev"
[ 88.651] (**) Option "xkb_model" "asus_laptop"
[ 88.651] (**) Option "xkb_layout" "us"
[ 88.652] (**) Option "xkb_variant" ",qwerty"
[ 88.653] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[ 88.653] (II) No input driver specified, ignoring this device.
[ 88.653] (II) This device may have been added with another device file.
[ 88.654] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[ 88.654] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[ 88.654] (**) Sleep Button: Applying InputClass "Keyboard"
[ 88.654] (II) Using input driver 'evdev' for 'Sleep Button'
[ 88.654] (**) Sleep Button: always reports core events
[ 88.654] (**) evdev: Sleep Button: Device: "/dev/input/event1"
[ 88.654] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[ 88.654] (--) evdev: Sleep Button: Found keys
[ 88.654] (II) evdev: Sleep Button: Configuring as keyboard
[ 88.655] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input1/event1"
[ 88.655] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
[ 88.655] (**) Option "xkb_rules" "evdev"
[ 88.655] (**) Option "xkb_model" "asus_laptop"
[ 88.655] (**) Option "xkb_layout" "us"
[ 88.655] (**) Option "xkb_variant" ",qwerty"
[ 88.656] (II) config/udev: Adding drm device (/dev/dri/card0)
[ 88.657] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event5)
[ 88.657] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[ 88.657] (**) AT Translated Set 2 keyboard: Applying InputClass "Keyboard"
[ 88.657] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[ 88.657] (**) AT Translated Set 2 keyboard: always reports core events
[ 88.657] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event5"
[ 88.658] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[ 88.658] (--) evdev: AT Translated Set 2 keyboard: Found keys
[ 88.658] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[ 88.658] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input5/event5"
[ 88.658] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 10)
[ 88.658] (**) Option "xkb_rules" "evdev"
[ 88.658] (**) Option "xkb_model" "asus_laptop"
[ 88.658] (**) Option "xkb_layout" "us"
[ 88.658] (**) Option "xkb_variant" ",qwerty"
[ 88.660] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event6)
[ 88.660] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[ 88.660] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Touchpad"
[ 88.660] (II) LoadModule: "synaptics"
[ 88.661] (WW) Warning, couldn't open module synaptics
[ 88.661] (II) UnloadModule: "synaptics"
[ 88.661] (II) Unloading synaptics
[ 88.661] (EE) Failed to load module "synaptics" (module does not exist, 0)
[ 88.661] (EE) No input driver matching `synaptics'
[ 88.661] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[ 88.661] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Touchpad"
[ 88.662] (II) LoadModule: "synaptics"
[ 88.662] (WW) Warning, couldn't open module synaptics
[ 88.662] (II) UnloadModule: "synaptics"
[ 88.662] (II) Unloading synaptics
[ 88.662] (EE) Failed to load module "synaptics" (module does not exist, 0)
[ 88.662] (EE) No input driver matching `synaptics'
[ 89.174] (II) evdev: AT Translated Set 2 keyboard: Close
[ 89.174] (II) UnloadModule: "evdev"
[ 89.174] (II) evdev: Sleep Button: Close
[ 89.174] (II) UnloadModule: "evdev"
[ 89.174] (II) evdev: Power Button: Close
[ 89.174] (II) UnloadModule: "evdev"
[ 89.174] (II) evdev: Video Bus: Close
[ 89.174] (II) UnloadModule: "evdev"
[ 89.174] (II) evdev: Power Button: Close
[ 89.174] (II) UnloadModule: "evdev"
[ 89.225] (EE) Server terminated successfully (0). Closing log file.


There's an optimistic part of me that hopes I can skip worrying about this now and proceed with emerging KDE, but I fear that part of me doesn't know what he's talking about.

What do you think?


* the errors are as recorded in the /var/log/Xorg.0.log; I assume they're the exact same errors as appear at the command prompt but I can't say for certain as I've had difficulty capturing the output and the text scrolls way too fast to read.
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Fri Oct 17, 2014 11:03 am    Post subject: Reply with quote

Please check the handbook / gentoo wiki about nvidia/amd/ati/intel gpu howto, how to configure your graphic card / how to set up a kernel / how to setup x.

basically you need a proper kernel with proper X and proper gpu driver.

which all depends on your hardware, the above mentioned keywords will lead you the way.

do not forget the etc make.conf file and setting your opengl implementation with eselect. anyway check the wiki first.
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