News for hackers. Stuff that matters.
Re:Introduction to SerenityOS Programming by bananaboy on Tuesday March 03, 2020 @07:19PM (#22480086)
This is amazing! I love it! I have a couple of random questions. What video mode does the GUI environment run in? Does it boot directly into the GUI or can it run headless as well? Do you have a more detailed overview of the different parts of the OS and its current capabilities?
Re:Introduction to SerenityOS Programming by akling on Wednesday March 04, 2020 @03:03AM (#22481956)
Hi bananaboy! The system currently boots into 1024x768x32 by default. It uses the Multiboot protocol to request that the bootloader sets a video mode before passing control to the kernel. That allows the system to work in tons of places where we don't have a proper video card driver yet :)

As DAlperin mentioned, it's possible to boot it headless although it's not something that gets a lot of focus since this is primarily intended as a GUI system.

I have some presentation and "code tour" videos[1] on my YouTube channel where I go into great detail about how some parts of the system work. If you would like to know about the SerenityOS internals in-depth, it's a pretty good place to start. :)

[1] https://www.youtube.com/playlist?list=PLMOpZvQB55be9pGeYypHg...

Re:Introduction to SerenityOS Programming by bananaboy on Friday March 06, 2020 @01:31AM (#22501408)
Thank you! I’ll have a look at your videos!
Re:Introduction to SerenityOS Programming by DAlperin on Tuesday March 03, 2020 @10:23PM (#22480943)
Disclaimer: I am not the author, just spent a little time with the system. You can totally boot without the GUI by passing the "text_debug" option to the kernel command line. If you have Serenity built on your system you can try this out really easily by running: SERENITY_KERNEL_CMDLINE=text_debug ./run in the Kernel/ directory.