Originally posted by ivand
View Post
Announcement
Collapse
No announcement yet.
How to make framebuffer look like a real monitor?
Collapse
X
-
-
Sorry for duplicate post, I thought it got lost due to some glitch. Please delete this one and one of the two above if possible. Thanks.
Leave a comment:
-
Originally posted by chithanh View PostIf that framebuffer is created using kernel modesetting, then you can use it with xf86-video-modesetting as xrandr 1.4 output slave.
Else you can use xf86-video-fbdev, but that will only work with xinerama and you will lose all acceleration.
As I understand, there are following options:
1) DRM driver with modesetting support. Most proper way, might be somewhat complex someone unfamiliar with kernel graphics stack though. Could I use SimpleDRM here as a starting point?
2) Old virtual framebuffer driver (vfb.c) combined with X.org fbdev driver. This works in theory, however looks like there's no hotplug and editing xorg.conf might be the only option, which greatly limits applicatbility.
3) May be writing X.org driver only could do the job, w/o writing any kernel code?
Thank you and sorry for newbie questions here, I spent days reading about Linux graphics stack but it still looks unclear.
Leave a comment:
-
Originally posted by chithanh View PostIf that framebuffer is created using kernel modesetting, then you can use it with xf86-video-modesetting as xrandr 1.4 output slave.
Else you can use xf86-video-fbdev, but that will only work with xinerama and you will lose all acceleration.
As I understand, there are following options:
1) Write DRM driver with modesetting support. Most proper way, but rather complex for someone unfamiliar with graphics stack. May be I could use SimpleDRM as a starting point here?
2) Use old virtual framebuffer module (vfb.c) together with fbdev X.org driver. Hotplug won't probably work, also it will probably require manual editing of xorg.conf which sort of makes it usable only for home use.
3) May be writing X.org driver only could be enough?
Sorry for newbie questions, I spent few days googling and reading about Linux graphics stack but it still looks mysterious
Leave a comment:
-
If that framebuffer is created using kernel modesetting, then you can use it with xf86-video-modesetting as xrandr 1.4 output slave.
Else you can use xf86-video-fbdev, but that will only work with xinerama and you will lose all acceleration.
Leave a comment:
-
How to make framebuffer look like a real monitor?
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 editing X config files or using xrandr? If yes, is there a way to do this after boot (hotplug)?
Thank you for any advice and related information.Tags: None
Leave a comment: