Closed fifteenhex closed 1 year ago
The drmkms system module was one of the last developments made in the legacy DirectFB project and has not necessarily been tested very well on many platforms with different configurations. I have never played with qemu using virtio-gpu but it's something I should try.
The drmkms system module was one of the last developments made in the legacy DirectFB project and has not necessarily been tested very well on many platforms with different configurations.
That makes sense. It worked fine with the DRM/KMS driver I wrote for my machine so I don't think it's far off.
I have never played with qemu using virtio-gpu but it's something I should try.
I think it will make your life easier with testing etc. My target machine only has 128MB of memory so it was very hard to get valgrind and gdb working there to debug the segfaults. A lot easier in QEMU :)
Anyhow,.. I will work this out and send a PR when I have a fix.
Found a workaround for now: Setting pixelformat=RGB32 in .directfbrc allows df_fire etc to run.
I think now that directfb asks for the mode from the kernel this is also fixed.
I'll add some more details when I work it out but currently: