LFS in QEMU/virt-manager - Getting console resolution/Plymouth to 1920x1080
by bionor from LinuxQuestions.org on (#5F3SY)
Hey peeps, need some more help if at all possible. This one I've been working a lot with to no effect...
The goal for this one is to get Plymouth running at 1080p, something which seems quite hard for some reason. I can get it running at 720p just fine, but if I try 1080p it just falls back to a 1024x768 resolution.
I've tried all the things I could find on the net: setting GRUB_GFXMODE=1920x1080 along with GRUB_GFX_PAYLOAD (or whatever it was=keep (or setting it to 1920x1080 here as well). This sets the grub menu and the text console at 1080p until it reaches Plymouth, then switches back to 1024x768 before switching again to 1080p at the DM.
I've added video=1920x1080 to the kernel command line, it works same as described above and I've tried using the built-in edid as well.
I've tried entering the grub console (pressing "c" at the menu) and verified that 1080p is available.
I tried using uvesafb, but I wasn't able to get the v86d helper to run in an initrd because for that v86d needs to be built against klibc instead of glibc, which I wasn't able to do.
I even converted the boot to UEFI by converting the partition table to GPT and rebuilding grub with EFI support, to see if the EFI framebuffer was better and since it has the option to set resolution at the UEFI menu. It was better, it loads faster and the graphics seems to switch more smoothly, but alas, no 1080 boot splash.
I've tried using both qxl and virtio. I've disabled everything VGA in the kernel config, as per the gentoo KMS wiki. I've tried increasing the memory of the qxl device.
If i set the resolution via kernel args to 4K, the the text gets tiny (so the resolution is seemingly working), but when Plymouth starts, the resolution gets lowered again. I think this is a console resolution issue because if I disable lightdm and boot directly to console even without Plymouth, the same happens. Neofetch reports a 1024x768 resolution when set to 1080p, but reports 720p when set to that.
Running "xrandr -q" shows all the resolutions are available when in X, but it also shows both 1920x1080 and 1024x768 as preferred resolutions (with the + sign).
I'm hitting a wall here and I'm starting to run out of ideas of what to try next. But
I've gotten good help here before, so hoping there's someone with some ideas :)


The goal for this one is to get Plymouth running at 1080p, something which seems quite hard for some reason. I can get it running at 720p just fine, but if I try 1080p it just falls back to a 1024x768 resolution.
I've tried all the things I could find on the net: setting GRUB_GFXMODE=1920x1080 along with GRUB_GFX_PAYLOAD (or whatever it was=keep (or setting it to 1920x1080 here as well). This sets the grub menu and the text console at 1080p until it reaches Plymouth, then switches back to 1024x768 before switching again to 1080p at the DM.
I've added video=1920x1080 to the kernel command line, it works same as described above and I've tried using the built-in edid as well.
I've tried entering the grub console (pressing "c" at the menu) and verified that 1080p is available.
I tried using uvesafb, but I wasn't able to get the v86d helper to run in an initrd because for that v86d needs to be built against klibc instead of glibc, which I wasn't able to do.
I even converted the boot to UEFI by converting the partition table to GPT and rebuilding grub with EFI support, to see if the EFI framebuffer was better and since it has the option to set resolution at the UEFI menu. It was better, it loads faster and the graphics seems to switch more smoothly, but alas, no 1080 boot splash.
I've tried using both qxl and virtio. I've disabled everything VGA in the kernel config, as per the gentoo KMS wiki. I've tried increasing the memory of the qxl device.
If i set the resolution via kernel args to 4K, the the text gets tiny (so the resolution is seemingly working), but when Plymouth starts, the resolution gets lowered again. I think this is a console resolution issue because if I disable lightdm and boot directly to console even without Plymouth, the same happens. Neofetch reports a 1024x768 resolution when set to 1080p, but reports 720p when set to that.
Running "xrandr -q" shows all the resolutions are available when in X, but it also shows both 1920x1080 and 1024x768 as preferred resolutions (with the + sign).
I'm hitting a wall here and I'm starting to run out of ideas of what to try next. But
I've gotten good help here before, so hoping there's someone with some ideas :)