LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Console not displaying on startup (http://www.linuxquestions.org/questions/slackware-14/console-not-displaying-on-startup-4175421090/)

WhiteHotLoveTiger 08-08-2012 05:57 PM

Console not displaying on startup
 
I have a brand new install of Slackware 13.37 running on a Lenovo ThinkPad T410. I'm dual booting with Windows 7, using lilo installed to my main linux partition.
I've noticed that when I run lilo before shutting down, I have no problems on the next boot. However, if I don't run lilo, my startup goes wonky:

It starts off fine, with screenful after screenful of startup text flying past my small flock of penguins. Partway through this, the screen goes blank. (During a proper boot, this is the point when the penguins disappear, and the resolution gets better.) If I wait a few moments and try to log in (without being able to get any visual feedback) and then run startx, Xfce starts up like normal, and I've got a visual gui.
Trying Ctrl + Alt + F[1-6] keeps a screen shot of whatever was on my screen in Xfce, but there's no console that I can see. If I type commands to the console, the system runs them, but I can't see them being run.

I saw this thread earlier, and tried adding the nomodeset to my lilo.conf. This had the result of keeping the lower resolution startup console with the penguins at the top through the entire bootup. It means that my screen doesn't go to black, however it also keeps everything a low resolution, even when I run Xfce.

As I said at the beginning, if I just run lilo before shutting down, everything is fine and dandy on the next boot. I suspect that setting lilo to run whenever I startup would fix things, but there must be a proper solution to this. Does anyone have any thoughts?

Thanks

mrascii 08-08-2012 07:01 PM

Try running xorgsetup if you haven't already done so. This will change the video driver to better match your hardware.

DNA
AKA mrascii

kingbeowulf 08-08-2012 10:02 PM

actually, you need to select a supported frame buffer resolution in lilo.conf as xorg isn't running yet.

bonixavier 08-08-2012 10:44 PM

Have you tried appending video to the kernel parameters as Pat suggested?
Quote:

Originally Posted by volkerdi (Post 4749297)
Disabling KMS is going to cause trouble with running X. A better solution is something like video=800x600 or video=640x480, which will increase the text size on the console without affecting X.


jostber 08-09-2012 07:17 AM

Might be some related info here:

http://www.salixos.org/wiki/index.ph..._in_Salix_13.1

Didier Spaier 08-09-2012 07:28 AM

To investigate further, we need more information about your GPU. So please tell which are the brand and model of you computer, and post back the output of following commands:
Code:

lspci -k|grep -A3 VGA
and:
Code:

lspci -vnn | grep '\''[030[02]\]'

mrascii 08-09-2012 10:35 AM

@kingbeowulf: Thanks for the correction. :)

DNA
AKA mrascii

WhiteHotLoveTiger 08-09-2012 11:27 AM

Thanks for all the suggestions everyone. I really appreciate it.

I tried running xorgsetup, and it seemed to fix the issue, until I tried to run startx. It doesn't matter which window manager I choose, Xfce, KDE or fluxbox, the window manager now gets about halfway through loading and stops. The desktop background is displayed, but no menu bars are loaded. Sometimes the mouse gets loaded and sometimes it doesn't.
Also, it turns out that running xorgsetup only fixes the console for the very next startup. So, now I don't have a console or a window manager....

Right now I'm sshing in from another machine. As for Didier's request, as I mentioned in the original post, I've got a Lenovo ThinkPad T410. Here's the results of the commands you posted:
Code:

# lspci -k | grep -A3 VGA
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)
        Subsystem: Lenovo Device 21d6
        Kernel driver in use: i915
        Kernel modules: i915
--
01:00.0 VGA compatible controller: nVidia Corporation GT218 [NVS 3100M] (rev a2)
        Subsystem: Lenovo Device 21d5
        Kernel driver in use: nouveau
        Kernel modules: nouveau, nvidiafb

# lspci -vnn | grep '\''[030[02]\]'
00:02.0 VGA compatible controller [0300]: Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 02) (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller [0300]: nVidia Corporation GT218 [NVS 3100M] [10de:0a6c] (rev a2) (prog-if 00 [VGA controller])

I'm looking through the link that jostber posted right now. It looks like it might be helpful.

WhiteHotLoveTiger 08-09-2012 11:41 AM

Ok, so jostber's link was suggesting adding append="quiet splash vt.default_utf8=1 nomodeset " to the lilo.conf file. I tried doing this, because last time I added nomodeset, it keep everything at a low res, but at least everything was still there. This time though, although the console is showing up the way I expect it to, trying to run startx doesn't work.

Code:

root@thinkpad:~# startx
xauth:  file /root/.serverauth.2632 does not exist


X.Org X Server 1.9.5
Release Date: 2011-03-17
X Protocol Version 11, Revision 0
Build Operating System: Slackware 13.37 Slackware Linux Project
Current Operating System: Linux thinkpad 2.6.37.6 #3 SMP Sat Apr 9 22:49:32 CDT 2011 x86_64
Kernel command line: BOOT_IMAGE=Slackware13.37 ro root=804 vt.default_utf8=0 nomodeset
Build Date: 17 March 2011  10:50:17PM

Current version of pixman: 0.20.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: Thu Aug  9 13:31:53 2012
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) [drm] failed to open device
(EE) No devices detected.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
        at http://wiki.x.org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

Here's the contents of my /var/log/Xorg.0.log :
Code:

[  465.850]
X.Org X Server 1.9.5
Release Date: 2011-03-17
[  465.850] X Protocol Version 11, Revision 0
[  465.850] Build Operating System: Slackware 13.37 Slackware Linux Project
[  465.850] Current Operating System: Linux thinkpad 2.6.37.6 #3 SMP Sat Apr 9 22:49:32 CDT 2011 x86_64
[  465.850] Kernel command line: BOOT_IMAGE=Slackware13.37 ro root=804 vt.default_utf8=0 nomodeset
[  465.850] Build Date: 17 March 2011  10:50:17PM
[  465.850]
[  465.850] Current version of pixman: 0.20.2
[  465.850]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  465.850] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  465.850] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Aug  9 13:31:53 2012
[  465.850] (==) Using config file: "/etc/X11/xorg.conf"
[  465.850] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  465.851] (==) ServerLayout "X.org Configured"
[  465.851] (**) |-->Screen "Screen0" (0)
[  465.851] (**) |  |-->Monitor "Monitor0"
[  465.851] (**) |  |-->Device "Card0"
[  465.851] (**) |-->Screen "Screen1" (1)
[  465.851] (**) |  |-->Monitor "Monitor1"
[  465.852] (**) |  |-->Device "Card1"
[  465.852] (**) |-->Input Device "Mouse0"
[  465.852] (**) |-->Input Device "Keyboard0"
[  465.852] (==) Automatically adding devices
[  465.852] (==) Automatically enabling devices
[  465.852] (WW) The directory "/usr/share/fonts/local" does not exist.
[  465.852]    Entry deleted from font path.
[  465.852] (WW) The directory "/usr/share/fonts/CID" does not exist.
[  465.852]    Entry deleted from font path.
[  465.852] (WW) The directory "/usr/share/fonts/local" does not exist.
[  465.852]    Entry deleted from font path.
[  465.852] (WW) The directory "/usr/share/fonts/CID" does not exist.
[  465.852]    Entry deleted from font path.
[  465.852] (**) 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,
        /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
[  465.852] (**) ModulePath set to "/usr/lib64/xorg/modules"
[  465.852] (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[  465.852] (WW) Disabling Mouse0
[  465.852] (WW) Disabling Keyboard0
[  465.852] (II) Loader magic: 0x7d2500
[  465.852] (II) Module ABI versions:
[  465.852]    X.Org ANSI C Emulation: 0.4
[  465.852]    X.Org Video Driver: 8.0
[  465.852]    X.Org XInput driver : 11.0
[  465.852]    X.Org Server Extension : 4.0
[  465.854] (--) PCI:*(0:0:2:0) 8086:0046:17aa:21d6 rev 2, Mem @ 0xf8800000/4194304, 0xf0000000/134217728, I/O @ 0x00001800/8
[  465.854] (--) PCI: (0:1:0:0) 10de:0a6c:17aa:21d5 rev 162, Mem @ 0xcc000000/16777216, 0xd0000000/268435456, 0xce000000/33554432, I/O @ 0x00002000/128, BIOS @ 0x????????/524288
[  465.854] (II) Open ACPI successful (/var/run/acpid.socket)
[  465.854] (II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
[  465.854] (II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
[  465.854] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[  465.854] (II) "record" will be loaded. This was enabled by default and also specified in the config file.
[  465.854] (II) "dri" will be loaded. This was enabled by default and also specified in the config file.
[  465.854] (II) "dri2" will be loaded. This was enabled by default and also specified in the config file.
[  465.854] (II) LoadModule: "record"
[  465.855] (II) Loading /usr/lib64/xorg/modules/extensions/librecord.so
[  465.855] (II) Module record: vendor="X.Org Foundation"
[  465.855]    compiled for 1.9.5, module version = 1.13.0
[  465.855]    Module class: X.Org Server Extension
[  465.855]    ABI class: X.Org Server Extension, version 4.0
[  465.855] (II) Loading extension RECORD
[  465.855] (II) LoadModule: "glx"
[  465.856] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[  465.856] (II) Module glx: vendor="X.Org Foundation"
[  465.856]    compiled for 1.9.5, module version = 1.0.0
[  465.856]    ABI class: X.Org Server Extension, version 4.0
[  465.856] (==) AIGLX enabled
[  465.856] (II) Loading extension GLX
[  465.856] (II) LoadModule: "dri2"
[  465.857] (II) Loading /usr/lib64/xorg/modules/extensions/libdri2.so
[  465.857] (II) Module dri2: vendor="X.Org Foundation"
[  465.857]    compiled for 1.9.5, module version = 1.2.0
[  465.857]    ABI class: X.Org Server Extension, version 4.0
[  465.857] (II) Loading extension DRI2
[  465.857] (II) LoadModule: "extmod"
[  465.857] (II) Loading /usr/lib64/xorg/modules/extensions/libextmod.so
[  465.858] (II) Module extmod: vendor="X.Org Foundation"
[  465.858]    compiled for 1.9.5, module version = 1.0.0
[  465.858]    Module class: X.Org Server Extension
[  465.858]    ABI class: X.Org Server Extension, version 4.0
[  465.858] (II) Loading extension MIT-SCREEN-SAVER
[  465.858] (II) Loading extension XFree86-VidModeExtension
[  465.858] (II) Loading extension XFree86-DGA
[  465.858] (II) Loading extension DPMS
[  465.858] (II) Loading extension XVideo
[  465.858] (II) Loading extension XVideo-MotionCompensation
[  465.858] (II) Loading extension X-Resource
[  465.858] (II) LoadModule: "dbe"
[  465.858] (II) Loading /usr/lib64/xorg/modules/extensions/libdbe.so
[  465.858] (II) Module dbe: vendor="X.Org Foundation"
[  465.858]    compiled for 1.9.5, module version = 1.0.0
[  465.858]    Module class: X.Org Server Extension
[  465.859]    ABI class: X.Org Server Extension, version 4.0
[  465.859] (II) Loading extension DOUBLE-BUFFER
[  465.859] (II) LoadModule: "dri"
[  465.859] (II) Loading /usr/lib64/xorg/modules/extensions/libdri.so
[  465.859] (II) Module dri: vendor="X.Org Foundation"
[  465.859]    compiled for 1.9.5, module version = 1.0.0
[  465.859]    ABI class: X.Org Server Extension, version 4.0
[  465.859] (II) Loading extension XFree86-DRI
[  465.859] (II) LoadModule: "nouveau"
[  465.860] (II) Loading /usr/lib64/xorg/modules/drivers/nouveau_drv.so
[  465.860] (II) Module nouveau: vendor="X.Org Foundation"
[  465.860]    compiled for 1.9.2, module version = 0.0.16
[  465.860]    Module class: X.Org Video Driver
[  465.860]    ABI class: X.Org Video Driver, version 8.0
[  465.860] (II) LoadModule: "intel"
[  465.860] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[  465.861] (II) Module intel: vendor="X.Org Foundation"
[  465.861]    compiled for 1.9.5, module version = 2.15.0
[  465.861]    Module class: X.Org Video Driver
[  465.861]    ABI class: X.Org Video Driver, version 8.0
[  465.861] (II) NOUVEAU driver Date:  Tue Nov 30 15:27:36 2010 +1000
[  465.861] (II) NOUVEAU driver for NVIDIA chipset families :
[  465.861]    RIVA TNT    (NV04)
[  465.861]    RIVA TNT2  (NV05)
[  465.861]    GeForce 256 (NV10)
[  465.861]    GeForce 2  (NV11, NV15)
[  465.861]    GeForce 4MX (NV17, NV18)
[  465.861]    GeForce 3  (NV20)
[  465.861]    GeForce 4Ti (NV25, NV28)
[  465.861]    GeForce FX  (NV3x)
[  465.861]    GeForce 6  (NV4x)
[  465.861]    GeForce 7  (G7x)
[  465.861]    GeForce 8  (G8x)
[  465.861] (II) intel: Driver for Intel 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, B43, Clarkdale, Arrandale,
        Sandybridge, Sandybridge, Sandybridge, Sandybridge, Sandybridge,
        Sandybridge, Sandybridge
[  465.861] (--) using VT number 7

[  465.864] drmOpenDevice: node name is /dev/dri/card0
[  465.864] drmOpenDevice: open result is 10, (OK)
[  465.864] drmOpenByBusid: Searching for BusID pci:0000:01:00.0
[  465.864] drmOpenDevice: node name is /dev/dri/card0
[  465.864] drmOpenDevice: open result is 10, (OK)
[  465.864] drmOpenByBusid: drmOpenMinor returns 10
[  465.864] drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
[  465.864] drmOpenDevice: node name is /dev/dri/card1
[  465.868] drmOpenByBusid: drmOpenMinor returns -1
[  465.868] drmOpenDevice: node name is /dev/dri/card2
[  465.872] drmOpenByBusid: drmOpenMinor returns -1
[  465.872] drmOpenDevice: node name is /dev/dri/card3
[  465.876] drmOpenByBusid: drmOpenMinor returns -1
[  465.876] drmOpenDevice: node name is /dev/dri/card4
[  465.880] drmOpenByBusid: drmOpenMinor returns -1
[  465.880] drmOpenDevice: node name is /dev/dri/card5
[  465.883] drmOpenByBusid: drmOpenMinor returns -1
[  465.883] drmOpenDevice: node name is /dev/dri/card6
[  465.887] drmOpenByBusid: drmOpenMinor returns -1
[  465.887] drmOpenDevice: node name is /dev/dri/card7
[  465.891] drmOpenByBusid: drmOpenMinor returns -1
[  465.891] drmOpenDevice: node name is /dev/dri/card8
[  465.895] drmOpenByBusid: drmOpenMinor returns -1
[  465.895] drmOpenDevice: node name is /dev/dri/card9
[  465.899] drmOpenByBusid: drmOpenMinor returns -1
[  465.899] drmOpenDevice: node name is /dev/dri/card10
[  465.903] drmOpenByBusid: drmOpenMinor returns -1
[  465.903] drmOpenDevice: node name is /dev/dri/card11
[  465.907] drmOpenByBusid: drmOpenMinor returns -1
[  465.907] drmOpenDevice: node name is /dev/dri/card12
[  465.911] drmOpenByBusid: drmOpenMinor returns -1
[  465.911] drmOpenDevice: node name is /dev/dri/card13
[  465.915] drmOpenByBusid: drmOpenMinor returns -1
[  465.915] drmOpenDevice: node name is /dev/dri/card14
[  465.919] drmOpenByBusid: drmOpenMinor returns -1
[  465.919] drmOpenDevice: node name is /dev/dri/card15
[  465.923] drmOpenByBusid: drmOpenMinor returns -1
[  465.923] drmOpenDevice: node name is /dev/dri/card0
[  465.923] drmOpenDevice: open result is 10, (OK)
[  465.923] drmOpenDevice: node name is /dev/dri/card0
[  465.923] drmOpenDevice: open result is 10, (OK)
[  465.923] drmOpenDevice: node name is /dev/dri/card1
[  465.927] drmOpenDevice: node name is /dev/dri/card2
[  465.931] drmOpenDevice: node name is /dev/dri/card3
[  465.934] drmOpenDevice: node name is /dev/dri/card4
[  465.938] drmOpenDevice: node name is /dev/dri/card5
[  465.942] drmOpenDevice: node name is /dev/dri/card6
[  465.946] drmOpenDevice: node name is /dev/dri/card7
[  465.950] drmOpenDevice: node name is /dev/dri/card8
[  465.954] drmOpenDevice: node name is /dev/dri/card9
[  465.958] drmOpenDevice: node name is /dev/dri/card10
[  465.961] drmOpenDevice: node name is /dev/dri/card11
[  465.965] drmOpenDevice: node name is /dev/dri/card12
[  465.969] drmOpenDevice: node name is /dev/dri/card13
[  465.973] drmOpenDevice: node name is /dev/dri/card14
[  465.977] drmOpenDevice: node name is /dev/dri/card15
[  465.981] (EE) [drm] failed to open device
[  465.983] (EE) No devices detected.
[  465.983]
Fatal server error:
[  465.984] no screens found
[  465.984]
Please consult the The X.Org Foundation support
        at http://wiki.x.org
 for help.
[  465.984] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  465.984]

I'm sorry for posting such a huge dump, but I'm really not sure which information is significant here.

WhiteHotLoveTiger 08-09-2012 11:46 AM

I forgot to mention that I did try bonixavier's suggestion, first with my screen's native resolution video=1440x900, and then with video=800x600. Neither of these made any difference.

WhiteHotLoveTiger 08-09-2012 11:54 AM

I was looking though the X.Org FAQ: http://www.x.org/wiki/FAQErrorMessag...reens_found.22
and tried running X -configure, but it failed with a message telling me that the "Number of created screens does not match number of detected devices."

I feel like I may have gotten in over my head...

Didier Spaier 08-09-2012 12:31 PM

Sorry for not noticing part of the information included in your first post.

So you have two graphical processors, one integrated (Intel) and one discrete (nVidia).

This configuration is called "switchable graphics".

Unfortunately the X server isn't able to handle two graphical processors at the same time.

Do you have a physical switch which allows you to choose between the two graphical processors? Or may be the switch is allowed through a BIOS setting?

You could try to blacklist either i915 or nouveau but you would need to know witch processor is active.

I can't help you that much as I don't have such a configuration but here are some pointers:
- There is a Hybrid Graphics Linux Team
- The bumblebee project
- Slackbuilds for bumblebee are available here
- Information about Optimus is available in this page

WhiteHotLoveTiger 08-09-2012 01:05 PM

Thanks very much for the clear explanation Didier. I'll look into your links when I've got more time this evening.

jostber 08-09-2012 01:11 PM

Quote:

Originally Posted by WhiteHotLoveTiger (Post 4750047)
Ok, so jostber's link was suggesting adding append="quiet splash vt.default_utf8=1 nomodeset " to the lilo.conf file. I tried doing this, because last time I added nomodeset, it keep everything at a low res, but at least everything was still there. This time though, although the console is showing up the way I expect it to, trying to run startx doesn't work.

[CODE]
root@thinkpad:~# startxhttp://www.nrk.no/nyheter/distrikt/nrk_trondelag/1.8274984
xauth: file /root/.serverauth.2632 does not exist


...

I'm sorry for posting such a huge dump, but I'm really not sure which information is significant here.

It might seem that the existing intel driver does not work. Did you remove the existing one and install the lgv one as suggested in the link?

WhiteHotLoveTiger 08-09-2012 02:25 PM

I'm sorry jostber; I just took a second look at the link. I'm kind of surprised at myself, but I guess I just skimmed it the first time. I will give the salixos page suggestions a more careful go in a little bit.


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