Tiny Core Linux

General TC => General TC Talk => Topic started by: GNUser on July 25, 2019, 01:32:03 PM

Title: TinyCore x86 boots to black screen with underscore
Post by: GNUser on July 25, 2019, 01:32:03 PM
I have a T400 ThinkPad. Nothing fancy about it except for the fact that it has Libreboot rather then BIOS. All hardware is 2008 vintage, including integrated Intel graphics ("Mobile 4 Series Chipset Integrated Graphics Controller" according to lshw).

- Core x86 (no X) works beautifully on this machine: Boots to a command line and everything works.
- TinyCore x86 (with X) does not seem to work: Boots to a black screen with an underscore at the top left.

I'm not sure how to troubleshoot given that no errors are shown and I can't even change to a different tty using Ctrl+Alt+F<number>

I'd like to make TC the OS on my laptop, but need to get over this hump. Can you please help me troubleshoot this issue?
Title: Re: TinyCore x86 boots to black screen with underscore
Post by: GNUser on July 25, 2019, 02:15:38 PM
P.S. When booting TinyCore, the initial steps of the boot process seem to go well: I see the duplicate Tiny Core graphic at the top, then several boot messages scroll by without any obvious errors or warnings. Then the screen is cleared a first time and I briefly see an "ascii art" penguin at the top and a message about mcookie...urandom read yada yada. At that point the screen is cleared a second time (my guess is that this second clearing of the screen is when X is being started) and remains all black except for a steady underscore at top-left; keyboard input has no effect.
Title: Re: TinyCore x86 boots to black screen with underscore
Post by: Juanito on July 25, 2019, 03:07:38 PM
Can you check if Xvesa, flwm, wbar and aterm are loaded?
Title: Re: TinyCore x86 boots to black screen with underscore
Post by: GNUser on July 25, 2019, 03:15:18 PM
I don't think I can check that. Even if I boot with multivt bootcode, when boot process is complete the system does not respond to any keyboard input.
Title: Re: TinyCore x86 boots to black screen with underscore
Post by: Juanito on July 25, 2019, 03:17:13 PM
Use the “text” boot code.
Title: Re: TinyCore x86 boots to black screen with underscore
Post by: GNUser on July 25, 2019, 03:24:02 PM
Duh, sorry. Yes, tce-status shows that Xvesa, wbar, aterm, and flwm_topside (among several others) are loaded.

Title: Re: TinyCore x86 boots to black screen with underscore
Post by: Juanito on July 25, 2019, 04:32:54 PM
Execute the first line of .xsession to see if you get a useful error message.
Title: Re: TinyCore x86 boots to black screen with underscore
Post by: GNUser on July 25, 2019, 05:48:01 PM
I booted with text boot code then executed only the first line of .xsession. It causes the black screen with underscore in upper left corner as described in first post. No error message or warnings.

P.S. This is the first line of .xsession:
Code: [Select]
Xvesa -br -screen 1024x768x32 -shadow -2button -mouse /dev/input/mice,5 -nolisten tcp -I >/dev/null 2>&1 &My hardware must really dislike something about it.
Title: Re: TinyCore x86 boots to black screen with underscore
Post by: GNUser on July 25, 2019, 06:32:56 PM
juanito, this may have something to do with Libreboot and Xvesa not getting along. Some graphics-related applications  (e.g., vbetool) work fine on my netbook (which has BIOS) but not on my T400 laptop (which has Libreboot).

I know that full-blown Xorg works fine on this laptop, though, as it I use the laptop daily with X in both Devuan and OpenBSD.

We could try using Xorg instead of Xvesa, but I know too little about graphics (and even less about graphics on TC) to change this without help.

Title: Re: TinyCore x86 boots to black screen with underscore
Post by: GNUser on July 25, 2019, 07:06:13 PM
SOLVED!

1. use text boot command
2. install graphics-KERNEL and Xorg-N.N extensions
3. remove Xvesa from onboot.lst
4. reboot

Then the whole boot process completes normally, ending at a nice minimalistic desktop with a dock at the bottom.

Just one final quick question: What if I want to use a different WM (e.g., fluxbox)? What's the easiest way to change the default WM? Do I do it in ~/.xsession then backup .xsession using /opt/.filetool.lst?
Title: Re: TinyCore x86 boots to black screen with underscore
Post by: coreplayer2 on July 25, 2019, 08:30:44 PM
Just one final quick question: What if I want to use a different WM (e.g., fluxbox)? What's the easiest way to change the default WM? Do I do it in ~/.xsession then backup .xsession using /opt/.filetool.lst?
Hello GNUser,   Simply replace flwm.tcz with fluxbox.tcz in the onboot.lst you’re already familiar with


Sent from my iPhone using Tapatalk
Title: Re: TinyCore x86 boots to black screen with underscore
Post by: Rich on July 25, 2019, 08:33:34 PM
Hi GNUser
Start the  Apps  utility.
Select a window manager.
Click the  OnBoot  dropdown and change it to  Download Only.
Click  Go.
Click  Apps->Maintenance->OnBoot Maintenance.
Select your current window manager from the list on the right and click  Delete Item from list.
Select the new window manager from the list on the left and click  Add Item.
Exit  Apps  and reboot your computer.

Title: Re: TinyCore x86 boots to black screen with underscore
Post by: GNUser on July 25, 2019, 08:41:22 PM
Wow, so it really is just a matter of the WM being installed and the only one loaded?
It's hard to accept that it's that simple :)

How does the system know which of all the loaded extensions is a WM? In TC are all WMs rigged to create a marker file somewhere?
Title: Re: TinyCore x86 boots to black screen with underscore
Post by: Rich on July 25, 2019, 08:44:59 PM
Hi GNUser
... In TC are all WMs rigged to create a marker file somewhere?
Yes they are. Look in  /etc/sysconfig/desktop.
Title: Re: TinyCore x86 boots to black screen with underscore
Post by: GNUser on July 25, 2019, 10:01:30 PM
That's devilishly clever. The more I learn about TC, the more I'm amazed.
Title: Re: TinyCore x86 boots to black screen with underscore
Post by: curaga on July 26, 2019, 03:09:59 AM
Regarding your Xorg steps, if you didn't install xf86-video-intel, you're using the modesetting (unaccelerated) driver. The Intel driver should give better performance; and in case it causes any issues, reverting would be a matter of booting with the "text" bootcode and removing it from onboot.lst.
Title: Re: TinyCore x86 boots to black screen with underscore
Post by: GNUser on July 26, 2019, 09:10:38 AM
Thank you, curaga. I installed xf86-video-intel and no issues. I'll probably notice the better performance once I have a few more GUI applications running.
Title: Re: TinyCore x86 boots to black screen with underscore
Post by: remabr on July 28, 2019, 02:42:48 PM
SOLVED!

1. use text boot command
2. install graphics-KERNEL and Xorg-N.N extensions
3. remove Xvesa from onboot.lst
4. reboot

Then the whole boot process completes normally, ending at a nice minimalistic desktop with a dock at the bottom.

Just one final quick question: What if I want to use a different WM (e.g., fluxbox)? What's the easiest way to change the default WM? Do I do it in ~/.xsession then backup .xsession using /opt/.filetool.lst?

Wow! I've been struggling for hours on this and now it boots properly awesome find!
Title: Re: TinyCore x86 boots to black screen with underscore
Post by: PDP-8 on July 30, 2019, 01:11:29 AM
Field Note:

If this happens on a syslinux booted box, early modesetting of the vesamenu can be dealt with this on the kernel line:

Code: [Select]
vga=current quiet splash ...
vga=current was the key

Mucho thanks the the Archlinux wiki in the
"White block in upper left corner when using vesamenu" section

https://wiki.archlinux.org/index.php/Syslinux

Just something for the mental notebook and catch-22's like that. :)  Worked for me with another distro that was giving me the same fits..