Ticket #10671 (new defect)
Opened 4 years ago
Unable to set the necessary display resolution in the guest
|Reported by:||Rafcio||Owned by:|
I'm unable to set the second display to the external monitor native resolution. The host is RHEL 6.2 on Thinkpad T420 and the guest is Windows XP. There is Lenovo external monitor attached to the laptop with the native resolution of 1680x1050. I installed the guest additions in the client and tried to set the second display to the external monitor native resolution to no avail. Linux correctly recognizes the external monitor resolution, so I'm sure the problem is in the VBox code. I messed around trying different things, but basically I have either 1600x900 (the laptop's internal display native resolution) as the maximum resolution for the second display, or a whole bunch of bigger resolutions (some ridiculous 4000 by something), but no typical and popular resolutions to pick from (like 1680x1050). If the bigger resolutions are displayed (right now they are not), then the next resolutions after 1600x900 is 1600x1200. Because I messed around with things (i.e. reinstalled the guest additions) and I'm not sure what made the bigger resolutions disappear from the display settings in XP, but I'm sure that 1680x1050 wasn't available and either 1920x1080 or 1920x1200 (or both). I'd expect that those popular resolutions were always available, instead those ridiculous big resolutions were available even though they were much bigger than the monitor's native resolution. I added the "custom" 1680x1050 resolution using the vboxmanage command (that was one of the first things I tried), but it doesn't seem to have any effect. The command "vboxmanage getextradata global CustomVideoMode1" returns "Value: 1680x1050x32", so the value seems to be properly set, but still no 1680x1050 resolution in the guest to choose from. In the process of troubleshooting this issue I believe I ran into another bug. In the documentation I read about sending the video resolution hint to the client, but it has to be sent to the specific client (cannot be done globally). The client has been created using the GUI interface and except that external monitor resolution everything seems to be OK, but somehow the client is not in the list. When I try to send the hint with the command "vboxmanage controlvm RRSWWSXPVM setvideomodehint 1680 1050 32" I get an error message (VBoxManage: error: Could not find a registered machine named 'RRSWWSXPVM'... (truncated)" and the command "vboxmanage list vms --long" returns nothing. How could that be? The VM is basically working fine execpt the resolution issue.