Null video device?

PacketMan

Aspiring Daemon

Reaction score: 154
Messages: 918

Just curious, for those of us with headless machines, that have no video gpu device, not even in the cpu. Is there a port/pkg that emulates a null video card? So after said port is installed, ports/pkgs that have dependencies on a gpu being present would be satisfied of that requirement? Or maybe a pkg is not required and there is a dev file that can do the trick? Just curious.
 

Phishfry

Son of Beastie

Reaction score: 1,594
Messages: 4,582

What I have seen is that headless units, like PC-Engines APU1/2/3 that the CPU still has video cores.
So FreeBSD detects those cores even though there is no connectors for video output.
Probably a money issue as these use regular Jaguar AMD chips and to strip out the cores would cost more.

In another note there is an Xorg driver for headless use called x11-drivers/xf86-video-dummy.
 

Phishfry

Son of Beastie

Reaction score: 1,594
Messages: 4,582

Here is a page for the APU2/3 cpu.
Notice how it has integrated "AMD Radeon™ R1E GCU Graphics" even though PCEngines APU2/3 have no video connectors.

My best guess is that a custom AMD CPU with zero video cores would be more expensive because it would be a specialty item.
Cheaper for PCEngines to just buy an off the shelf CPU with video cores.

I have only had a couple of CPU's with no video cores at all. Intel E3-1220LV/1220LV2/1220LV3/1240LV5 chips are truly without video cores.
 

Phishfry

Son of Beastie

Reaction score: 1,594
Messages: 4,582

Here are details of how bhyve handles it:

SDL also has a dummy mode.
SDL_VIDEODRIVER=dummy

 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 8,302
Messages: 32,149

ports/pkgs that have dependencies on a gpu being present would be satisfied of that requirement?
As far as I know there are no ports/packages that have that requirement. It's perfectly fine to install x11/nvidia-driver for example even if you don't have an NVidia card (or any videocard). It's obviously not going to work but that doesn't change the fact you can still install it.
 
Top