change resolution for hyperv_fb

Asked by Christopher Yeleighton on 2019-12-03

How to change screen resolution for display driver hyperv_fb? I would like the view port to be wider and my display offers only one resolution.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu xorg Edit question
Assignee:
No assignee Edit question
Solved by:
Christopher Yeleighton
Solved:
2019-12-03
Last query:
2019-12-03
Last reply:
2019-12-03

I performed the following steps:
{
xrandr --newmode 1440x900_60.0 106.50 1440 1528 1672 1904 900 903 909 934 -hsync +vsync
xrandr --addmode default 1440x900_60.0
xrandr --output default --mode 1440x900_60.0
}
Result: xrandr: Configure crtc 0 failed

{ hwinfo --framebuffer; } says nothing at all.

I tried telling BOOT_IMAGE to use vga=867 but it was ignored.

Is this the GUI install or server, please?

GUI

I tried telling BOOT_IMAGE to use video=default:1440x900 but it was ignored.

The correct syntax is video=hyperv_fb:1440x900.

The correct syntax is video=hyperv_fb:1440x900. To save, append it to variable to GRUB_CMDLINE_LINUX_DEFAULT in file /etc/default/grub.

To save, append it to the variable GRUB_CMDLINE_LINUX_DEFAULT in file /etc/default/grub.

Great share, hopefully this will help others

My request to join Ubuntu Documentation Contributors is awaiting approval.

Doug Smythies (dsmythies) said : #12

@Christopher : Why did you apply to the Ubuntu Doc Contributors team? I do not understand the correlation with this question? Note that we question all applications because they have been abused. Most are denied.

That was a mistake, I applied to wiki editors instead.