Skip to content

Instantly share code, notes, and snippets.

@PatrickLang
Last active September 24, 2024 07:04

Revisions

  1. PatrickLang revised this gist Aug 12, 2021. 1 changed file with 7 additions and 0 deletions.
    7 changes: 7 additions & 0 deletions _README.md
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,10 @@
    # Fedora 35

    Both the issues mentioned below are solved! My PR to switch to `hyperv_drm` was accepted, and the kernel fix needed to boot the liveCD are in.

    You can boot this as a generation 2 (UEFI) VM with secure boot enabled, using the `Microsoft UEFI Certificate Authority` setting. Resolution switching works in GNOME under Wayland, even when booted from the live media.


    # Fedora 34

    This is a brief experiment I did to compare these two setups in a Hyper-V VM running Fedora 34
  2. PatrickLang revised this gist Jul 24, 2021. 1 changed file with 5 additions and 0 deletions.
    5 changes: 5 additions & 0 deletions _README.md
    Original file line number Diff line number Diff line change
    @@ -29,3 +29,8 @@ The current nightly Workstation-live-iso isn't booting in UEFI, there is some is
    Need to read https://docs.fedoraproject.org/en-US/quick-docs/debug-dracut-problems/ and file a bug

    > Filed https://bugzilla.redhat.com/show_bug.cgi?id=1984688
    Fedora 34 works fine. `/proc/cmdline` is
    `BOOT_IMAGE=/images/pxeboot/vmlinuz root=live:CDLABEL=Fedora-WS-Live-34-1-2 rd.live.image` (maybe with `rd.shell rd.debug log_buf_len=1M` but not default)

    It seems like /dev/sr0 is processed twice by udev, and the second one is setting a different link to the device that's based on the SCSI ID instead of media's labels. When that happens, it ejects /dev/sr0 which of course is bad for a LiveCD
  3. PatrickLang revised this gist Jul 24, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion _README.md
    Original file line number Diff line number Diff line change
    @@ -28,4 +28,4 @@ The current nightly Workstation-live-iso isn't booting in UEFI, there is some is

    Need to read https://docs.fedoraproject.org/en-US/quick-docs/debug-dracut-problems/ and file a bug

    > Filed https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1273
    > Filed https://bugzilla.redhat.com/show_bug.cgi?id=1984688
  4. PatrickLang revised this gist Jul 22, 2021. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion _README.md
    Original file line number Diff line number Diff line change
    @@ -19,7 +19,7 @@ Fedora rawhide currently has kernel 5.14-rc1 running. There are still a few issu

    `CONFIG_DRM_HYPERV` is not set, so the new graphics driver is not available. It does at least boot in BIOS / generation 1 VMs.

    I opened a pull request https://src.fedoraproject.org/rpms/kernel/pull-request/49#commit_list
    I opened a pull request ~https://src.fedoraproject.org/rpms/kernel/pull-request/49#commit_list~ https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1273


    ## UEFI live ISO boot fails
    @@ -28,3 +28,4 @@ The current nightly Workstation-live-iso isn't booting in UEFI, there is some is

    Need to read https://docs.fedoraproject.org/en-US/quick-docs/debug-dracut-problems/ and file a bug

    > Filed https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1273
  5. PatrickLang revised this gist Jul 21, 2021. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions _README.md
    Original file line number Diff line number Diff line change
    @@ -19,6 +19,8 @@ Fedora rawhide currently has kernel 5.14-rc1 running. There are still a few issu

    `CONFIG_DRM_HYPERV` is not set, so the new graphics driver is not available. It does at least boot in BIOS / generation 1 VMs.

    I opened a pull request https://src.fedoraproject.org/rpms/kernel/pull-request/49#commit_list


    ## UEFI live ISO boot fails

  6. PatrickLang revised this gist Jul 16, 2021. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions _README.md
    Original file line number Diff line number Diff line change
    @@ -24,3 +24,5 @@ Fedora rawhide currently has kernel 5.14-rc1 running. There are still a few issu

    The current nightly Workstation-live-iso isn't booting in UEFI, there is some issue finding the root FS. Surprisingly the ISO is ejected from the virtual SCSI DVD after this failure happens. Adding `rdshell` to the grub command line shows some more details but I would need to dig a bit deeper to get more logs.

    Need to read https://docs.fedoraproject.org/en-US/quick-docs/debug-dracut-problems/ and file a bug

  7. PatrickLang revised this gist Jul 14, 2021. 1 changed file with 19 additions and 1 deletion.
    20 changes: 19 additions & 1 deletion _README.md
    Original file line number Diff line number Diff line change
    @@ -1,8 +1,26 @@
    # Fedora 34

    This is a brief experiment I did to compare these two setups in a Hyper-V VM running Fedora 34

    - `DRM-hyperv` kernel driver from [Linux-next](https://gitlab.com/linux-kernel/linux-next/-/tree/b98f0e44e0653f6568f3c28726ad034cd2cc6fb4) (sort of an in-progress 5.14), using Wayland compositor in Gnome 40
    - `hyperv_fb` kernel driver in Linux 5.12.9, using X11 in Gnome 40

    Subjectively, the `DRM-hyperv` + Wayland setup felt a lot smoother and more responsive. `glxgears` performance was similar in terms of total FPS rendered, but it looks smoother with the new framebuffer driver.

    The steps to install the kernel were pretty typical, but covered here: https://docs.fedoraproject.org/en-US/quick-docs/kernel/build-custom-kernel/
    The steps to install the kernel were pretty typical, but covered here: https://docs.fedoraproject.org/en-US/quick-docs/kernel/build-custom-kernel/


    # Fedora rawhide (35)

    Fedora rawhide currently has kernel 5.14-rc1 running. There are still a few issues that need to be worked out.


    ## Need updated kernel settings

    `CONFIG_DRM_HYPERV` is not set, so the new graphics driver is not available. It does at least boot in BIOS / generation 1 VMs.


    ## UEFI live ISO boot fails

    The current nightly Workstation-live-iso isn't booting in UEFI, there is some issue finding the root FS. Surprisingly the ISO is ejected from the virtual SCSI DVD after this failure happens. Adding `rdshell` to the grub command line shows some more details but I would need to dig a bit deeper to get more logs.

  8. PatrickLang revised this gist Jun 14, 2021. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion _README.md
    Original file line number Diff line number Diff line change
    @@ -3,4 +3,6 @@ This is a brief experiment I did to compare these two setups in a Hyper-V VM run
    - `DRM-hyperv` kernel driver from [Linux-next](https://gitlab.com/linux-kernel/linux-next/-/tree/b98f0e44e0653f6568f3c28726ad034cd2cc6fb4) (sort of an in-progress 5.14), using Wayland compositor in Gnome 40
    - `hyperv_fb` kernel driver in Linux 5.12.9, using X11 in Gnome 40

    Subjectively, the `DRM-hyperv` + Wayland setup felt a lot smoother and more responsive. `glxgears` performance was similar in terms of total FPS rendered, but it looks smoother with the new framebuffer driver.
    Subjectively, the `DRM-hyperv` + Wayland setup felt a lot smoother and more responsive. `glxgears` performance was similar in terms of total FPS rendered, but it looks smoother with the new framebuffer driver.

    The steps to install the kernel were pretty typical, but covered here: https://docs.fedoraproject.org/en-US/quick-docs/kernel/build-custom-kernel/
  9. PatrickLang created this gist Jun 12, 2021.
    6 changes: 6 additions & 0 deletions _README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    This is a brief experiment I did to compare these two setups in a Hyper-V VM running Fedora 34

    - `DRM-hyperv` kernel driver from [Linux-next](https://gitlab.com/linux-kernel/linux-next/-/tree/b98f0e44e0653f6568f3c28726ad034cd2cc6fb4) (sort of an in-progress 5.14), using Wayland compositor in Gnome 40
    - `hyperv_fb` kernel driver in Linux 5.12.9, using X11 in Gnome 40

    Subjectively, the `DRM-hyperv` + Wayland setup felt a lot smoother and more responsive. `glxgears` performance was similar in terms of total FPS rendered, but it looks smoother with the new framebuffer driver.