Bug 906431
Summary: | anaconda lacks an option to limit GUI image sizes under virt-manager install | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | R P Herrold <herrold> |
Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> |
Status: | CLOSED WORKSFORME | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 18 | CC: | anaconda-maint-list, azelinka, g.kaviyarasu, jonathan, sbueno, stephent98, vanmeeuwen+fedora |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-03-26 19:14:42 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Attachments: |
Description
R P Herrold
2013-01-31 15:59:58 UTC
Created attachment 691038 [details]
unconstrained 'full screen' image
Did you try appending "resolution=WxH" to the kernel command line? Fedora 18 Installation Guide Chapter 11. Boot Options 11.1.2. Configuring the Interface To use a specific display resolution, enter resolution=setting as a boot option. For example, to set the display resolution to 1024×768, enter: linux resolution=1024x768 http://docs.fedoraproject.org/en-US/Fedora/18/html/Installation_Guide/ap-admin-options.html#sn-boot-options-interface NB: Some of the installer windows are misaligned at 800x600: Bug 901551 - Anaconda Screens are larger than VM 800x600 I tried running the installer under virt-manager. The default video driver is qxl, and qxl defaults to 1024x768. If you get the scroll bars, can't you just resize the VM window until they disappear? (In reply to comment #4) > I tried running the installer under virt-manager. The default video driver > is qxl, and qxl defaults to 1024x768. If you get the scroll bars, can't you > just resize the VM window until they disappear? That test was in a VM with the qxl driver. With virt-manager running directly on an F18 bare-metal host, the default driver is cirrus. The std and qxl drivers default to a smaller VM window. virt-manager also supports various resizing and scaling options. anaconda defaults to running at the highest resolution available that X selects, and then runs full screened in that. If the UI is ending up weird, it's likely a bug somewhere in GTK or X land. We very rarely specify widget sizes, and it's only for certain small pieces. For changing the resolution that the environment anaconda runs in, you need to pass resolution= on the command line. testing the: linux resolution=1024x768 variant as to comment 4, the problem is that the full screen resolution default is pushed off the bottom of the screen by XFCE's top widget bar, and crowded at the bottom by the bottom widget bars, resulting in an inability to see the entire install screen without scrolling around no, it looks as though 'Plymouth' resizes the screen away from the passed in resolution-1024x768 argument Right after the image resized itself above 2014x768, I snapshotted: acme.png errold@centos-6 ~]$ identify acme.png acme.png PNG 805x646 805x646+0+0 16-bit DirectClass 40.5kb and it is full height (opening the elevator bar) as acem2.png errold@centos-6 ~]$ identify acme2.png acme2.png PNG 1298x890 1298x890+0+0 16-bit DirectClass 48.6kb Created attachment 692804 [details]
right after it over-rides the command line resolution- argument
Created attachment 692805 [details]
it is again full X screen height ;(
(In reply to comment #7) > testing the: > linux resolution=1024x768 > variant > > as to comment 4, the problem is that the full screen resolution default is > pushed off the bottom of the screen by XFCE's top widget bar, and crowded at > the bottom by the bottom widget bars, resulting in an inability to see the > entire install screen without scrolling around Are you running the installer from a DVD image or a Live image? Setting the resolution on the kernel command line only works with the DVD. While running a Live image, you can set the display resolution from the desktop with the Display control panel before starting the installer. Have you tried configuring a different video driver in virt-manager? The "std" and "qxl" video drivers default to a lower resolution (1024x768) than the "cirrus" driver in my tests. Tested with: $ qemu-kvm -m 2048 -hda f18-test-2.img -cdrom ~/xfr/fedora/F18/F18-Final/Final/Fedora-18-x86_64-Live-XFCE.iso -vga std -boot menu=on -usbdevice mouse (In reply to comment #11) ... > Have you tried configuring a different video driver in virt-manager? > > The "std" and "qxl" video drivers default to a lower resolution (1024x768) > than the "cirrus" driver in my tests. ... Confusingly, qemu and virt-manager use different names for some of the video drivers. What qemu calls "std" is what virt-manager calls "vga". This can be verified by looking at the -vga option of the qemu-kvm command line while running a virt-manager emulation: $ ps -ef | grep qemu qemu 9021 1 3 19:42 ? 00:01:50 /usr/bin/qemu-kvm -name vm-1 ... -vga std ... BTW, the third and fourth screenshots show that the cirrus video driver is being used. as to comment 11 I am using virt-manager and Fedora-18-x86_64-DVD.iso under Centos 6, updated to current debian-6.0.1a-amd64-netinst.iso lost+found zoot-i386.iso Fedora-17-x86_64-DVD.iso redhat-5.2-i386.iso Fedora-18-x86_64-DVD.iso valhalla-i386-disc1.iso [root@centos-6 ISOs]# which virt-manager /usr/bin/virt-manager [root@centos-6 ISOs]# rpm -qf /usr/bin/virt-manager virt-manager-0.9.0-14.el6.x86_64 [root@centos-6 ISOs]# comemnt 12 does not ask a question or that I perform an action and report results that I can see (In reply to comment #13) ... > virt-manager-0.9.0-14.el6.x86_64 ... That is a very old version of virt-manager. The latest Fedora version is: virt-manager-0.9.4-4.fc18 https://admin.fedoraproject.org/updates/search/virt-manager Can you reproduce this problem with Fedora 18? As to comment 14, I will set up a test box; the quoted libvirt version is the 'stock' one for a RHEL 6 install, which seems a reasonable platform for a virtualization dom0 host for guest instance domU installs, however I'm seeing a lot of comments here indicating problems with using virt-manager, but not really anything having to do with anaconda. Just today, I was testing anaconda on more constrained resolutions and with the addition of -vga std -display sdl, using inst.resolution= worked just fine for me. |