How to make framebuffer look like a real monitor?

4 messages, 2 authors, 2014-03-22 · open the first message on its own page

How to make framebuffer look like a real monitor?

From: Ivan Drobyshevskyi <hidden>
Date: 2014-03-21 14:30:15

Is there a way to make X treat Linux framebuffer device (e.g. /dev/fb0
backed by virtual framebuffer) as a real display? Ideally it should
appear in system display settings as a configurable monitor. Does it
require writing some kernel code or it's possible to somehow get away
with for example X configuration?

Thanks,
Ivan.

Re: How to make framebuffer look like a real monitor?

From: Tormod Volden <hidden>
Date: 2014-03-21 20:27:27

On Fri, Mar 21, 2014 at 3:30 PM, Ivan Drobyshevskyi wrote:
Is there a way to make X treat Linux framebuffer device (e.g. /dev/fb0
backed by virtual framebuffer) as a real display? Ideally it should
appear in system display settings as a configurable monitor. Does it
require writing some kernel code or it's possible to somehow get away
with for example X configuration?
If I understand your question correctly, you are asking for the xorg
fbdev driver:
http://www.x.org/releases/current/doc/man/man4/fbdev.4.xhtml

HTH,
Tormod

Re: How to make framebuffer look like a real monitor?

From: Ivan Drobyshevskyi <hidden>
Date: 2014-03-22 08:50:48

Thank you, that could work. As I understand, using fbdev doesn't
support hotplug and the only way to setup it is via xorg.conf editing?

(in short, I need to create a virtual GPU that is treated as a real
one by desktop environment but instead of actual rendering only
writing to framebuffer in RAM is required).

On Fri, Mar 21, 2014 at 10:27 PM, Tormod Volden [off-list ref] wrote:
On Fri, Mar 21, 2014 at 3:30 PM, Ivan Drobyshevskyi wrote:
quoted
Is there a way to make X treat Linux framebuffer device (e.g. /dev/fb0
backed by virtual framebuffer) as a real display? Ideally it should
appear in system display settings as a configurable monitor. Does it
require writing some kernel code or it's possible to somehow get away
with for example X configuration?
If I understand your question correctly, you are asking for the xorg
fbdev driver:
http://www.x.org/releases/current/doc/man/man4/fbdev.4.xhtml

HTH,
Tormod

Re: How to make framebuffer look like a real monitor?

From: Tormod Volden <hidden>
Date: 2014-03-22 10:39:53

quoted
On Fri, Mar 21, 2014 at 3:30 PM, Ivan Drobyshevskyi wrote:
quoted
Is there a way to make X treat Linux framebuffer device (e.g. /dev/fb0
backed by virtual framebuffer) as a real display? Ideally it should
appear in system display settings as a configurable monitor. Does it
require writing some kernel code or it's possible to somehow get away
with for example X configuration?
If I understand your question correctly, you are asking for the xorg
fbdev driver:
http://www.x.org/releases/current/doc/man/man4/fbdev.4.xhtml
Thank you, that could work. As I understand, using fbdev doesn't
support hotplug and the only way to setup it is via xorg.conf editing?

(in short, I need to create a virtual GPU that is treated as a real
one by desktop environment but instead of actual rendering only
writing to framebuffer in RAM is required).
Does it have to be a linux-fbdev driver? There are virtual xorg
drivers (xf86-video-dummy?) or servers (Xfvb) that you can use like
this, all in user-space. Or you create a DRM driver (à la the
experimental SimpleDRM driver from dri-devel@lists.freedesktop.org)
and use the xorg xf86-modesetting driver on top of it. However I don't
know if these examples support the kind of hotplug you want in their
current status.

Tormod
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help