From Fedora Project Wiki

No edit summary
(try to update for UEFI and remove xdriver=vesa expectations per latest discussion with ajax (rhbz 1009828))
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=This is to verify that Fedora can be installed in a safe graphics mode, using highly compatible video driver called ''vesa''.
|description=This is to verify that Fedora can be installed in a safe graphics mode, using highly compatible video driver.
{{admon/important|Bare metal only|This test case has to be tried on a bare metal system only. We need to ensure that users can boot even with not well supported graphics cards. Graphics is usually not a problem in virtual machines and therefore VM testing is not beneficial here. Please use bare metal system.}}
|setup=
|setup=
# Prepare any media for booting the installer
# Prepare any media for booting the installer
Line 8: Line 9:
# Boot the new system
# Boot the new system
|results=
|results=
{{admon/note|vesa might not be supported on UEFI systems|Since UEFI systems cannot rely on vesa support, its alternative, called GOP, should be used instead. GOP is handled by ''efifb'' driver (see [https://lists.fedoraproject.org/pipermail/test/2013-July/116918.html test mailing list]). But most UEFI systems will still probably use vesa for basic video driver.}}.
<ol>
<ol>
<li>There is a special menu item at the initial boot screen to boot the installer in a safe graphics mode</li>
<li>There is a special menu item at the initial boot screen to boot the installer in a safe graphics mode</li>
<li>The graphical installer displays properly and uses the ''vesa'' driver.  Confirm driver usage by inspecting {{filename|/var/log/Xorg.0.log}} or {{filename|/tmp/X.log}} (depending on your install media).  You should see output similar to the following:
<li>The graphical installer displays properly and uses the ''vesa'' driver (or alternatively ''fbdev'' on certain UEFI systems).  Confirm driver usage by inspecting {{filename|/var/log/Xorg.0.log}} or {{filename|/tmp/X.log}} (depending on your install media).  You should see output similar to the following:
<pre>
<pre>
[    71.321] (II) VESA(0): initializing int10
[    71.321] (II) VESA(0): initializing int10
Line 23: Line 23:
[    71.326] (II) VESA(0): VESA VBE OEM Product: VGABIOS Cirrus extension
[    71.326] (II) VESA(0): VESA VBE OEM Product: VGABIOS Cirrus extension
[    71.326] (II) VESA(0): VESA VBE OEM Product Rev: 1.0</pre>
[    71.326] (II) VESA(0): VESA VBE OEM Product Rev: 1.0</pre>
If there are many lines containing <code>(II) VESA(0):</code>, it indicates you are using the correct driver.</li>
If there are many lines containing <code>(II) VESA(0):</code> (or <code>fbdev</code>), it indicates you are using the correct driver.
{{admon/note|Vesa not used in virtual machines|In virtual machines it is possible that a different driver will be used, e.g. ''qxl''. This is described in [https://bugzilla.redhat.com/show_bug.cgi?id{{=}}855824 bug 855824]}}
{{admon/note|vesa might not be supported on UEFI systems|Since UEFI systems cannot rely on vesa support, its alternative, called GOP, should be used instead. GOP is handled by ''efifb / fbdev'' driver (see [https://lists.fedoraproject.org/pipermail/test/2013-July/116918.html test mailing list]). But most UEFI systems will still probably use vesa for basic video driver.}}
<li>The installed system should contain {{filename|/etc/X11/xorg.conf}} or {{filename|/etc/X11/xorg.conf.d/XX-somename.conf}} file which specifies the ''vesa'' driver in the <code>Device</code> section</li>
</li>
{{admon/note|Fix in progress|This requirement might not be satisfied until we solve [https://bugzilla.redhat.com/show_bug.cgi?id{{=}}858270 bug 858270]}}
<li>The installed system should contain <code>nomodeset</code> keyword specified in the kernel boot line. You can check by inspecting {{filename|/proc/cmdline}} and {{filename|/boot/grub2/grub.cfg}}.</li>
<li>The installed system should contain <code>nomodeset</code> keyword specified in the kernel boot line. You can check by inspecting {{filename|/proc/cmdline}} and {{filename|/boot/grub2/grub.cfg}}.</li>
<li>When X starts on the installed system, it should be using the ''vesa'' driver.  Confirm by checking {{filename|/var/log/Xorg.0.log}} for similar output to the above from the installer</li>
<li>When X starts on the installed system, it should be using the ''vesa'' (or ''fbdev'') driver.  Confirm by checking {{filename|/var/log/Xorg.0.log}} for similar output to the above from the installer</li>
</ol>
</ol>
}}
}}


[[Category:User Interface]]
[[Category:User Interface]]

Revision as of 14:02, 14 November 2013

Description

This is to verify that Fedora can be installed in a safe graphics mode, using highly compatible video driver.

Bare metal only
This test case has to be tried on a bare metal system only. We need to ensure that users can boot even with not well supported graphics cards. Graphics is usually not a problem in virtual machines and therefore VM testing is not beneficial here. Please use bare metal system.

Setup

  1. Prepare any media for booting the installer

How to test

  1. Boot the installer using a safe graphics mode. There is a special menu item for this at the initial boot screen, usually under Troubleshooting menu.
  2. Proceed with installation
  3. Boot the new system

Expected Results

  1. There is a special menu item at the initial boot screen to boot the installer in a safe graphics mode
  2. The graphical installer displays properly and uses the vesa driver (or alternatively fbdev on certain UEFI systems). Confirm driver usage by inspecting /var/log/Xorg.0.log or /tmp/X.log (depending on your install media). You should see output similar to the following:
    [    71.321] (II) VESA(0): initializing int10
    [    71.325] (II) VESA(0): Primary V_BIOS segment is: 0xc000
    [    71.326] (II) VESA(0): VESA BIOS detected
    [    71.326] (II) VESA(0): VESA VBE Version 2.0
    [    71.326] (II) VESA(0): VESA VBE Total Mem: 4096 kB
    [    71.326] (II) VESA(0): VESA VBE OEM: VGABIOS Cirrus extension
    [    71.326] (II) VESA(0): VESA VBE OEM Software Rev: 1.0
    [    71.326] (II) VESA(0): VESA VBE OEM Vendor: VGABIOS Cirrus extension
    [    71.326] (II) VESA(0): VESA VBE OEM Product: VGABIOS Cirrus extension
    [    71.326] (II) VESA(0): VESA VBE OEM Product Rev: 1.0

    If there are many lines containing (II) VESA(0): (or fbdev), it indicates you are using the correct driver.

    vesa might not be supported on UEFI systems
    Since UEFI systems cannot rely on vesa support, its alternative, called GOP, should be used instead. GOP is handled by efifb / fbdev driver (see test mailing list). But most UEFI systems will still probably use vesa for basic video driver.
  3. The installed system should contain nomodeset keyword specified in the kernel boot line. You can check by inspecting /proc/cmdline and /boot/grub2/grub.cfg.
  4. When X starts on the installed system, it should be using the vesa (or fbdev) driver. Confirm by checking /var/log/Xorg.0.log for similar output to the above from the installer