CESNET / UltraGrid

UltraGrid low-latency audio and video network transmission system
http://www.ultragrid.cz
Other
492 stars 53 forks source link

fbdev or fbdev2 output #243

Closed TheSashmo closed 2 years ago

TheSashmo commented 2 years ago

I was wondering if there was any ability to add/enable fbdev/fbdev2 as a display output? This is good when using a server based installation where it can be used in a semi headless or userless environment without the need to enable an X environment.

alatteri commented 2 years ago

Hi Sashmo,

I use nodm to have a display when used with Ubuntu server so no need for a full Window Manager.

TheSashmo commented 2 years ago

Awesome I need to google that. Any links to share?

alatteri commented 2 years ago

https://github.com/spanezz/nodm

apt-get install nodm

TheSashmo commented 2 years ago

Cool thanks.

MartinPulec commented 2 years ago

AFAIK SDL1 supported Linux framebuffer. It can still be compiled with UltraGrid (although AppImage doesn't do so since SDL1 and SDL2 are mutually incompatible within one program). But I assume it will have a poor performance because the absence of HW acceleration even for scale. Perhaps only in emergency.

Or, as Alan said, if you are able to use X11, it is quite easy to run the server from command-line. It is also possible without a DM:

export DISPLAY=:0
X $DISPLAY &
openbox &                 # WM may not be necessarily needed but I'd recommend running one for convenience
[ start UltraGrid here ]
TheSashmo commented 2 years ago

Thanks I will try this out!