qemu-amd64: enable framebuffer in initramfs
Loading the virtio-gpu
and virtio-pci
kernel modules in the initramfs, the postmarketOS splash screen is now displayed.
I didn't tested all the various QEMU display variants, please also verify if it still works for you.
Test combinations:
- Mesa driver dri-swrast/dri-virtio
- Different UIs
- Start QEMU with default sdl
- Start QEMU with
--display gtk
- Start QEMU with
--spice
- FDE
There are so many combinations that I don't remember which one I've tried and which one wasn't working properly.
Maybe we need to list all the working combinations with and without the changes of this MR, and compare the results
Merge request reports
Activity
added category::device type::feature + 1 deleted label
The changes here should not apply to combinations with different UI's as they do not run in the initramfs so we do not need to test those. The only relevant cases I see is the different drivers used (dri-swrast and dri-virtio) and the different display methods (sdl, gtk and spice). FDE is broken on Qemu anyway so we can ignore that one too imo.
Since these combinations already have been tested by @drebrez, can't we just merge this one?
By Bart Ribbers on 2019-08-19T12:38:58
@PureTryOut I didn't tested all the combinations, better be sure that nothing breaks by adding those modules.
IIRC I also tested the FDE and osk-sdl was working, but don't remember which combination I used
By Daniele Debernardi on 2019-08-19T17:05:13
added 297 commits
-
5539b67c...e9e60806 - 296 commits from branch
master
- bc976a0a - qemu-amd64: enable framebuffer in initramfs
By Bart Ribbers on 2019-10-08T11:18:01
-
5539b67c...e9e60806 - 296 commits from branch
I tested:
dri-virtio
with:- default sdl (works)
-
--display gtk
(works) -
--spice
(broken but not because of this MR https://gitlab.com/postmarketOS/pmbootstrap/issues/1836)
dri-swrast
with:- default sdl (splash doesn't appear)
-
--display gtk
(splash doesn't appear) -
--spice
(broken but not because of this MR https://gitlab.com/postmarketOS/pmbootstrap/issues/1836)
FDE is broken on Qemu since forever, so doesn't need testing.
By Bart Ribbers on 2019-10-08T11:37:25
mentioned in commit 0f3e1cc8
By Daniele Debernardi on 2019-10-09T21:23:15
added 11 commits
-
bc976a0a...aa615b36 - 10 commits from branch
master
- 0f3e1cc8 - qemu-amd64: enable framebuffer in initramfs (!493 (merged))
By Oliver Smith on 2019-10-09T21:23:15
-
bc976a0a...aa615b36 - 10 commits from branch
Thanks, @drebrez and @PureTryOut!
By Oliver Smith on 2019-10-09T21:24:34
enabled an automatic merge when the pipeline for 0f3e1cc8 succeeds
By Oliver Smith on 2019-10-09T21:24:39
FDE is broken on Qemu since forever, so doesn't need testing.
Why you say it's broken since forever, IIRC with spice it was working, and I just tested with these changes, now it also works with
dri-virtio
and both default sdl and gtkthen with the correct password:
By Daniele Debernardi on 2019-10-09T21:36:37