LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Xorg hangs before starting, with no error (https://www.linuxquestions.org/questions/slackware-14/xorg-hangs-before-starting-with-no-error-4175490442/)

Zalbor 01-07-2014 11:50 AM

Xorg hangs before starting, with no error
 
Hello everyone,

Let me start by apologising in case a similar thread exists. I bet one does, but searches for "xorg hangs", "xorg doesn't start" and similar terms didn't produce anything similar...

I installed Slackware 14.1. This is the 32-bit version, installed from a DVD.
I also created a regular user (adding it to the default groups). The next thing I tried to do was to start the X server.

Running "startx" as that user produces the following output:
Code:

xauth:  file /home/user/.serverauth.893 does not exist

X.Org X Server 1.14.3
Release Date: 2013-09-12
X Protocol Version 11, Revision 0
Build Operating System: Slackware 14.1 Slackware Linux Project
Current Operating System: Linux user-slack 3.10.17-smp #2 SMP Wed Oct 23 17:13:14 CDT 2013 i686
Kernel command line: auto BOOT_IMAGE=Slackware ro root=808 vt.default_utf8=0
Build Date: 09 October 2013  09:56:03PM

Current version of pixman: 0.30.2
        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: Tue Jan  7 17:31:58 2014
(==) Using system config directory "/usr/share/X11/xorg.conf.d"

After this... nothing. I've left it for several minutes and nothing happens. Ctrl+C doesn't work.
The only thing I can see in that output resembling an error is the first line, but I couldn't find any results by searching for something like it either.

The contents of /var/log/Xorg.0.log are as follows:
Code:

[    58.534]
X.Org X Server 1.14.3
Release Date: 2013-09-12
[    58.544] X Protocol Version 11, Revision 0
[    58.547] Build Operating System: Slackware 14.1 Slackware Linux Project
[    58.550] Current Operating System: Linux user-slack 3.10.17-smp #2 SMP Wed Oct 23 17:13:14 CDT 2013 i686
[    58.550] Kernel command line: auto BOOT_IMAGE=Slackware ro root=808 vt.default_utf8=0
[    58.556] Build Date: 09 October 2013  09:56:03PM
[    58.559] 
[    58.562] Current version of pixman: 0.30.2
[    58.567]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    58.567] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    58.578] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jan  7 17:31:58 2014
[    58.644] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    58.668] (==) No Layout section.  Using the first Screen section.
[    58.668] (==) No screen section available. Using defaults.
[    58.668] (**) |-->Screen "Default Screen Section" (0)
[    58.668] (**) |  |-->Monitor "<default monitor>"
[    58.685] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[    58.685] (==) Automatically adding devices
[    58.685] (==) Automatically enabling devices
[    58.685] (==) Automatically adding GPU devices
[    58.692] (WW) The directory "/usr/share/fonts/local" does not exist.
[    58.692]    Entry deleted from font path.
[    58.692] (WW) The directory "/usr/share/fonts/CID" does not exist.
[    58.692]    Entry deleted from font path.
[    58.758] (==) FontPath set to:
        /usr/share/fonts/TTF,
        /usr/share/fonts/OTF,
        /usr/share/fonts/Type1,
        /usr/share/fonts/misc,
        /usr/share/fonts/75dpi/:unscaled,
        /usr/share/fonts/100dpi/:unscaled,
        /usr/share/fonts/75dpi,
        /usr/share/fonts/100dpi,
        /usr/share/fonts/cyrillic
[    58.758] (==) ModulePath set to "/usr/lib/xorg/modules"
[    58.758] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[    58.770] (II) Loader magic: 0x82553a0
[    58.770] (II) Module ABI versions:
[    58.770]    X.Org ANSI C Emulation: 0.4
[    58.770]    X.Org Video Driver: 14.1
[    58.770]    X.Org XInput driver : 19.1
[    58.770]    X.Org Server Extension : 7.0
[    58.770] (II) xfree86: Adding drm device (/dev/dri/card1)

In both cases it seems like it hangs trying to configure the second card.

This computer is a laptop (Asus N55S) that uses nVidia Optimus technology, so I tried to install and start Bumblebee in case it helped, but it didn't.
inxi -G on my Linux Mint installation produces the following information for the GPUs:
Code:

Graphics:  Card-1: Intel 2nd Generation Core Processor Family Integrated Graphics Controller
          Card-2: NVIDIA GF116M [GeForce GT 555M/635M]

I also tried to run xorgsetup. The first thing it asks is if I want it to probe for my GPU and mouse. If I reply Yes, it produces the same output as startx and hangs as well. If I reply No, it just exits with no output (I don't know if that's its normal behaviour).

During the installation I installed KDE and selected it as the default window manager. I tried xwmconfig again just in case, nothing changed.

I can't think of anything else to try and, as I couldn't find reports of similar problems, thought I'd ask for advice. I hope I've supplied enough information but if I haven't, please ask. Thanks.

smallpond 01-07-2014 12:13 PM

Do you have the nVidia driver installed?

Zalbor 01-07-2014 12:20 PM

Quote:

Originally Posted by smallpond (Post 5093633)
Do you have the nVidia driver installed?

I don't. I followed the instructions from here to install bumblebee and, since they said Slackware comes with nouveau pre-installed I didn't follow the instructions about the proprietary driver. Besides, I thought that unless I began startx with primusrun, it would default to using the Intel driver, is that not right?
Do you think installing the proprietary driver would help?

Smokey_justme 01-07-2014 02:16 PM

The "default" relies on X.org autoconfiguring itself, which relies on dbus, and which somewhere along the way it clearly fails (dbus or xorg failure, I can not say)...
Remove nouveau and install the proprietary driver using NVidia's installer (and please say Yes when asked about a new xorg.conf file)... It should have no problems after that..

Zalbor 01-07-2014 05:59 PM

You were right, installing the nvidia-bumblebee driver did fix it! Thanks!

Curiously enough, it also seems to have fixed another problem I had: That the computer wouldn't turn itself off after I used shutdown (or halt, reboot etc). I don't know how that's related, may be a coincidence.


All times are GMT -5. The time now is 09:00 PM.