I'll get straight to the point:
1. Which kernel configuration options are required for FKMS?
2. How do I enable FKMS without using raspi-config?
3. How do I rotate the display when X isn't running?
4. Does FKMS work on every Pi model?

To build it? It's part of DRM_VC4, which is enabled by default as a module in the defconfigs. See the Kconfig or make menuconfig options to work out the full list of dependencies.
https://github.com/RPi-Distro/raspi-con ... nfig#L1392ali1234 wrote:2. How do I enable FKMS without using raspi-config?
This is one area where KMS does badly.ali1234 wrote:3. How do I rotate the display when X isn't running?
Yes, although it'll be very slow on the 0/1, and you'll be very short of memory.ali1234 wrote:4. Does FKMS work on every Pi model?
FKMS (fake) uses the dispmanx and mailbox API's to talk to the firmware for things like the composition and video output stages.

It's down to what actually drives the video scaler (HVS), pixel valves, and output display blocks (HDMI/VEC/DSI/DPI).

vc4-kms-v3d doesn't understand any of the parameters that are available from config.txt - it changes the world view totally.
What exactly is a "panel driver"? Is a driver written in c and need to be included when compiling kernel?There is an overlay for running a DPI display from vc4-kms-v3d as vc4-kms-kippah-7inch-overlay.dts that uses a panel driver to configure the Adafruit Kippah 800x480 DPI screen. That could be taken as a basis, but it gets a little involved.

Quite probably, although there are a fair few warnings around that the GL driver (vc4-kms-v3d) is still considered a beta driver and may require alternative options.gittubaba wrote: ↑Thu Jul 25, 2019 3:39 pmI see, the scenario becomes more clear now. I think this should be mentioned in https://www.raspberrypi.org/documentati ... /README.md . Just a note that "Instructions in this page won't work with vc4-kms-v3d"
So the panel driver is something like https://github.com/raspberrypi/linux/bl ... l-simple.c, and indeed that is the one that the Kippah overlay is loading. If you look at the overlay, it is saying the panel is a "ontat,yx700wv03". In the driver that string matches togittubaba wrote:What exactly is a "panel driver"? Is a driver written in c and need to be included when compiling kernel?There is an overlay for running a DPI display from vc4-kms-v3d as vc4-kms-kippah-7inch-overlay.dts that uses a panel driver to configure the Adafruit Kippah 800x480 DPI screen. That could be taken as a basis, but it gets a little involved.
From your link i looked around and found this https://github.com/raspberrypi/linux/bl ... el-dpi.txt
Would making a overlay like this work? Desktop would show up in DPI? or there is more steps after applying overlay?
Really ? My understanding of it was that since it is now the default setting it was considered "ready" ?

Note the lack of an "f".
So despite asking for a clear description of all this the other day it is clear that I'm still confused about it6by9 wrote: ↑Thu Jul 25, 2019 4:50 pmNote the lack of an "f".
fkms is adopted as standard on the Pi4.
kms doesn't exist on the Pi4, and requires configuration in significantly different ways.
PeterO wrote: ↑Thu Jul 25, 2019 5:09 pmSo despite asking for a clear description of all this the other day it is clear that I'm still confused about it![]()
PeterO
I see, the name "panel" implies a touchscreen6by9 wrote: ↑Thu Jul 25, 2019 4:21 pm
So the panel driver is something like https://github.com/raspberrypi/linux/bl ... l-simple.c, and indeed that is the one that the Kippah overlay is loading. If you look at the overlay, it is saying the panel is a "ontat,yx700wv03". In the driver that string matches to
the configuration and timing structures ontat_yx700wv03, and that is how the peripheral will then be configured.
Checking on what implements your example overlay with a compatible string of "panel-dpi", it appears to be a TI omap specific driver - https://github.com/raspberrypi/linux/bl ... dpi.c#L258.
It looks like panel-lvds also uses the same of_get_display_timing() call to parse the timings out of device tree, but oddly panel-simple doesn't. I see no very good reason why it doesn't, so it would probably make sense to get it added at some point (how's your C coding?!)
gittubaba wrote: ↑Thu Jul 25, 2019 10:23 pmI see, the name "panel" implies a touchscreen6by9 wrote: ↑Thu Jul 25, 2019 4:21 pm
So the panel driver is something like https://github.com/raspberrypi/linux/bl ... l-simple.c, and indeed that is the one that the Kippah overlay is loading. If you look at the overlay, it is saying the panel is a "ontat,yx700wv03". In the driver that string matches to
the configuration and timing structures ontat_yx700wv03, and that is how the peripheral will then be configured.
Checking on what implements your example overlay with a compatible string of "panel-dpi", it appears to be a TI omap specific driver - https://github.com/raspberrypi/linux/bl ... dpi.c#L258.
It looks like panel-lvds also uses the same of_get_display_timing() call to parse the timings out of device tree, but oddly panel-simple doesn't. I see no very good reason why it doesn't, so it would probably make sense to get it added at some point (how's your C coding?!)What I wanted was a simple vga666 output. I'll mess with those drivers and overlays and see what i can do
![]()

Panel implies a display panel.
Er, fruit, display panels can be DSI, DPI, LVDS, or a number of other interfaces. They all have very similar timing information requirements.fruitoftheloom wrote: ↑Fri Jul 26, 2019 4:46 am"Panel" is via the DSi Connector in this context, nothing to do with VGA, which already has a solution:gittubaba wrote:I see, the name "panel" implies a touchscreenWhat I wanted was a simple vga666 output. I'll mess with those drivers and overlays and see what i can do
![]()
https://uk.pi-supply.com/products/gert- ... spberry-pi
No my friend, you missed the contextfruitoftheloom wrote: ↑Fri Jul 26, 2019 4:46 am"Panel" is via the DSi Connector in this context, nothing to do with VGA, which already has a solution:
https://uk.pi-supply.com/products/gert- ... spberry-pi
gittubaba wrote: ↑Fri Jul 26, 2019 11:30 amNo my friend, you missed the contextfruitoftheloom wrote: ↑Fri Jul 26, 2019 4:46 am"Panel" is via the DSi Connector in this context, nothing to do with VGA, which already has a solution:
https://uk.pi-supply.com/products/gert- ... spberry-piThat vga666 adapter needs DPI, and DPI is what we were discussing.
Code: Select all
fragment@3 {
target = <&hdmi>;
__overlay__ {
status = "disabled";
};
};