My TTY's are Invisible
When I ctrl+alt+f1 thru f6, I get a black screen.
There is a tty there, as if I type blind, I can login and do stuff. I just don't see anything on the screen. This used to work right for me, but at some point it stopped working, I assumed I'd done something to mess it up. But I just did a completely clean install (5.1RC-hwe) on a new hard drive and it's happening. This is on a 10-year old Sony laptop. During install I selected the proprietary stuff, so it installed nvidia drivers automatically. Perhaps this could be related? |
When it is booting do you get a grub prompt, or a bootloader message?
At what point does the screen blank? What video hardware do you have? Can you blacklist the nvidia module and boot with kernel modesetting? Or can you boot with nouveau? Can you still boot and use your install media? If so blacklist the nvidia module and boot with just the kernel. You'll need to find when the blank screen occurs. Or is it blanking after X or wayland starts? |
After completely booting, the screen blanks as soon as I press ctrl+alt+f1 or ctrl+alt+f6 to bring up the tty. I get back to desktop environment with ctrl+alt+f7.
I verified this does not happen in the live iso. |
Interesting. Your machine works fine, you can't change to another tty.
Does Bodhi have 6 or 7 tty's available? Can you change ttys with chvt? Does ls /dev have tty's in it? Got the correct keyboard language? dumpkeys -h |
The ttys are there, because I can blind type in them. I can, for example, login (username, password) then run speaker-test and hear stuff. Or reboot.
One of the bodhi devs pointed me to perhaps a grub issue not setting for a supported resolution or font or something. https://askubuntu.com/questions/1625...a-blank-screen But no luck with that angle yet either, going to go thru it again right now, tried a few of the suggested solutions already, gunna see if I missed any... Never used chvt, but when I tried, it tells me "Couldn't get a file descriptor referring to the console". Not sure how keyboard language is related? But running dumpkeys (without the -h) tells me the same thing as chvt. Lotsa ttys in /dev Code:
$ ls /dev/tty* |
<oops sorry dupe>
|
So far I've tried the following unsuccessfully:
nomodeset nosplash noplymouth vga=0x0361 <--- same result as text below GRUB_TERMINAL=console GRUB_GFXMODE=auto GRUB_GFXMODE=640x480 GRUB_GFXMODE=1920x1080 GRUB_GFXMODE=1280x800 GRUB_GFXMODE=1280x1024 GRUB_GFXPAYLOAD_LINUX=keep GRUB_GFXPAYLOAD_LINUX=text <--- this one changed my consoles to what looks like overexposed photo... or closeup out of focus microscope image... and its changing... very cool to stare at echo "echo FRAMEBUFFER=y" | sudo tee /etc/initramfs-tools/conf.d/splash |
I have latest iso on very old hardware but don't have nvidia drivers. With my old hardware, any ubuntu based distro boots up slightly - erm differently! I get black screen for 30 seconds - white flash with Doctor Who type effects, black screen for a few seconds, then Bodhi login swirly circle and leaf and then the desktop opens (I have automatic login set). As long as I can boot I just treat it as a quirk!
This is the same with most distros on this laptop (although xubuntu is the worst and gets stuck booting up altogether) and none of the grub editing fixes make a difference. I am no techy expert and put it down to old hardware graphics compatibility! But I do know that Sony Pc's can be pernickety especially if they have nvidia. I had one old sony vaio that wouldn't boot anything if the new hard drive wasn't a sata 1 or 2 or exactly the same size as the original hard drive and wouldn't run anything but Windows 7 without running too hot - it was something built into the firmware. Sorry if I've missed the point here. Just think Sony's can be pernickety. Noticed you said it was a new hard drive. See if the same thing happens if you install on the old hard drive? If the old hard drive is still working. Seriously my old sony vaio would not install properly onto anything other than a sata ii drive. If yours is 10 years old it might have had a sata iii drive originally which gives more choice of new hard drives. My old one would just overheat and shut down if I tried to install an ssd or a different size drive. In the end I bought a reconditioned sata ii drive the same size (320gb) and could install anything - weird. Might be the nvidia driver as well. |
Quote:
sudo echo "blacklist nvidia" >/etc/modprobe.d/nvidia-disable.conf Yes, my old hard drive is still working, I can still boot my previous install. It has the same issue. I had before thought I'd done something wrong and starting clean install would resolve it; I've now learned that's not the case, so looking for a real fix. It has GT330M video chip, using nvidia-340 driver package. |
I had similar issues working with old hardware. Problem was with the new Linux kernel had changes to the driver it was using (some Intel graphics chip) that broke older versions of the chipset. May need to specify some driver settings or find a different driver to use.
|
That's the same nvidia video chip my old sony had. I know Windows 10 didn't have a graphics driver for it! I seem to remember having Xubuntu on it though, and Bodhi. Sorry can't help more.
|
I just installed a slightly newer version of the Nvidia driver than I had. The one automatically installed during installation from ubuntu repos was 340.107; I grabbed 340.108 which has updated a month ago for Linux 5.4, but doesn't seem to behave any differently for me. (Note I'm using Linux 5.3 from hwe release, but had this behavior on 4.15 kernel too with old install)
|
Quote:
|
I had never used journalctl, but it seems to shows that Getty starts on ttyx when I try to open them with Ctrl+alt+Fx automatically. And closes them at shutdown.
with sudo, using chvt # seems to switch me to a tty; I get the blank screen same as if I pressed ctrl+alt+Fx, and just like that method, ctrl+alt+f7 restores to gui. |
Quote:
|
All times are GMT -5. The time now is 08:07 PM. |