Enable and configure hyperv_fb driver on Fedora 25

asked 2017-06-08 07:58:58 -0600

alorence gravatar image

I am new to Fedora and I want to test the distribution before using it more often. I installed Fedora 25 x64 on my Windows 10 workstation under Hyper-V (I need to use Hyper-V since it's a requirement of Docker for Windows, and Virtualbox can't run if Hyper-V is enabled).

I had no issue to install the system in the VM, but now I would like to configure the screen size so I can work more confy. I searched on the Internet for a solution, and first found this one. I tried it but it didn't worked. I also tried to write the config file to /boot/efi/EFI/fedora/grub.cfg, no luck.

Later, I found another doc explaining how to enable the hyperv_fb driver with grubby:

sudo grubby --update-kernel=ALL --args="video=hyperv_fb:1280x720"

I tried various screen resolution, but I am still locked to 1024x768 in Fedora.

I did not find anything useful in dmesg, but maybe somebody else will detect the issue:

[alorence@linux log]$ dmesg 
[    0.000000] Linux version 4.11.3-200.fc25.x86_64 (mockbuild@bkernel01.phx2.fedoraproject.org) (gcc version 6.3.1 20161221 (Red Hat 6.3.1-1) (GCC) ) #1 SMP Thu May 25 19:03:07 UTC 2017
[    0.000000] Command line: BOOT_IMAGE=/vmlinuz-4.11.3-200.fc25.x86_64 root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet video=hyperv_fb:1280x720
[    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR'
[    0.000000] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
[    0.000000] x86/fpu: xstate_offset[3]:  832, xstate_sizes[3]:   64
[    0.000000] x86/fpu: xstate_offset[4]:  896, xstate_sizes[4]:   64
[    0.000000] x86/fpu: Enabled xstate features 0x1f, context size is 960 bytes, using 'compacted' format.
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable
[    0.000000] BIOS-e820: [mem 0x00000000000c0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000007eeecfff] usable
[    0.000000] BIOS-e820: [mem 0x000000007eeed000-0x000000007eef1fff] ACPI data
[    0.000000] BIOS-e820: [mem 0x000000007eef2000-0x000000007ef1afff] reserved
[    0.000000] BIOS-e820: [mem 0x000000007ef1b000-0x000000007ff9afff] usable
[    0.000000] BIOS-e820: [mem 0x000000007ff9b000-0x000000007fff2fff] reserved
[    0.000000] BIOS-e820: [mem 0x000000007fff3000-0x000000007fffafff] ACPI data
[    0.000000] BIOS-e820: [mem 0x000000007fffb000-0x000000007fffefff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x000000007ffff000-0x000000007fffffff] usable
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] efi: EFI v2.50 by EDK II
[    0.000000] efi:  ACPI=0x7fffa000  ACPI 2.0=0x7fffa014  SMBIOS=0x7ffd8000  PROP=0x4188480  MEMATTR=0x7f55ea98 
[    0.000000] SMBIOS 2.4 present.
[    0.000000] DMI: Microsoft Corporation Virtual Machine/Virtual Machine, BIOS Hyper-V UEFI Release v2.0 08/26/2016
[    0.000000] Hypervisor detected: Microsoft HyperV
[    0.000000] HyperV: features 0x2e7f, hints 0x2c2c
[    0.000000] Hyper-V Host Build:15063-10.0-0-0.138
[    0.000000] HyperV: LAPIC Timer Frequency: 0x30d40
[    0.000000] tsc: Marking TSC unstable due to running ...
(more)
edit retag flag offensive close merge delete