Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running nano-X on linux framebuffer #64

Open
Ellis2781 opened this issue Nov 27, 2021 · 1 comment
Open

Error running nano-X on linux framebuffer #64

Ellis2781 opened this issue Nov 27, 2021 · 1 comment

Comments

@Ellis2781
Copy link

After switching to a different tty and killing my initial xorg session I still get this same error.

Error opening /dev/fb0: No such file or directory. Check kernel config
Cannot initialize screen

I am using the linux-fb config and my framebuffer drivers are loaded as well

@ghaerr
Copy link
Owner

ghaerr commented Nov 28, 2021

Hello @Ellis2781,

This usually means that the console isn't actually compiled or booted for graphics mode.

killing my initial xorg session I still get this same error.

The Xorg server usually runs by accessing the CRT controller, although there is a frame buffer version of X that does not. So this doesn't mean you actually have framebuffer access working on your Linux box.

Error opening /dev/fb0: No such file or directory. Check kernel config

This is the normal message that the kernel can't switch the console to frame buffer mode. You may have to change some boot options to boot in vga mode. Try googling "setting up the linux framebuffer" to read up on it. I found https://doc.qt.io/archives/3.3/emb-framebuffer-howto.html as interesting. I've also found https://www.kernel.org/doc/html/v5.5/fb/fbcon.html. It looks like the later kernel versions are making this quite complicated; the earlier kernels were much simpler, it seems.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants