Black screen when returning to a terminal

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

Black screen when returning to a terminal

Postby wabamad » Sun Jun 29, 2014 10:16 am

After exiting programs like omxplayer and xbmc, or even a desktop environment I am greeted with a black screen instead of a terminal. I am using the setfb trick listed in these forums but is there a way to fix this? Sometimes it doesn't work and I have to reboot.
wabamad
 
Posts: 2
Joined: Sun Jun 29, 2014 10:09 am

Re: Black screen when returning to a terminal

Postby pepedog » Sun Jun 29, 2014 10:48 am

A nuisance.
Does Ctrl-Alt-F2 followed by Ctrl-Alt-F1 do anything?
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Black screen when returning to a terminal

Postby wabamad » Sun Jun 29, 2014 11:03 am

Usually not, unfortunately. Is this a known problem with arch on the raspberry or am I just one of the unlucky ones?
Edit: ctrl-alt-f1/f2 do nothing for me. Just tried fifteen times in a row. I am able to type in the command to reboot and it works though, just working blind.
wabamad
 
Posts: 2
Joined: Sun Jun 29, 2014 10:09 am

Re: Black screen when returning to a terminal

Postby sdjf » Tue Jul 01, 2014 12:39 am

Not sure I completely follow you, but I know that sometimes when my usb screen gets disconnected, and I reconnect the power to it (pi still running whole time), the pi gives it a different device reference. If I want to get my startx command to work again, I type blind "ln -s /dev/fb2 /dev/fb1", since X expects to find the display at fb1 and Pi put it at fb2.

the other thing I did was write a script I called lsfb, that I can type and have the Pi tell me via my speakers which fb devices it sees!

so, another thought for debugging, is pipe any command to flite and see what the pi says to help debug. it might talk too fast, so for regular debugging stuff, I wrote scripts that have names that are easy to type.

maybe your fb utility does what I mentioned above, am not familiar with it. But you might want to make sure that the pi knows where to find the display.

changing to alternate terminals should not work unless you have logged in to them all, as far as I know, but then my setup is odd - pi sees it as headless as no standard monitor. Have USB keyboard and USB monitor, and after a reboot, have to log in blind to start x again.
sdjf
 
Posts: 178
Joined: Wed May 08, 2013 1:55 pm


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 16 guests