Extras/VesaDriverTesting

From FedoraProject

Jump to: navigation, search

VesaDriverTesting

Mike Harris has asked for testing of the Vesa video driver, which could be used for a "safe mode" in Fedora. The problem is that many BIOS's Vesa modes are broken, so he needs a good blacklist of broken situations with the Vesa driver. See his comments about this from IRC here:

<mharris> Basically, each video BIOS is in total 100% control over what video modes are available, and what
colour depths.
<mharris> You can't change refresh rate unless it is at least VBE 3.0
<mharris> One needs to look at the X logfile, to see what video modes the BIOS supports in what depths,
then test each one.
<mharris> A simple start of the X server, and fire up an app or two with no on screen corruption or crash
is a good enough quick test IMHO
<mharris> I just scribbled them here ;o)
<mharris> Then, for any failures, we need a bug report, with config file, log file, full details, and lspci
-vvn
<mharris> naw, just cut and paste what I said into the wiki ;o)
<mharris> The testing is specifically to test:
1) video driver/X server stability
2) Screen corruption/splitting/misalignment/similar
3) mouse pointer corruption/misalignment
<mharris> No X server crash, no screen corruption/misalignment, no mouse problems == WORKS
<mharris> startx, open an xterm if any commands need to be executed, run an app, move it around the screen,
fiddle. Don't do_work, fiddle.

Example Vesa Test

This example will follow the steps i did to test vesa driver functionality for my Geforce 2 Ti video card. Please read of the instructions all the way through before starting the vesa driver test. Please also backup your /etc/X11/XF86config file so you can restore it to its pre-testing state. 'cp /etc/X11/XF86config /etc/X11/XF86config.DATE'

1. Preparing for the test.

mharris:
"In particular, it would be nice for users to test every video mode and color depth
combination that their video card supports in it's BIOS. These can be shown in the
X log file after starting up the server. It will require some minimal reconfiguration
either by hand editing the config file or using our redhat-config-xfree86 config tool
(system-config-xfree86 in rawhide). If someone doesn't have the time to test all of
that, or for some other reason can not test it all, such as hrdware limitations, what
would be nice, would be if they could at least test 640x480, 800x600, 1024x768
resolutions using color depth 24, 16, and optionally 8. That would provide the minimal
amount of testing for me to have a "safe mode" video driver matrix I believe."

More importantly an X server log is generated with vesa driver information 3.1) if you entered X

example->(**) VESA(0): Depth 24
example->

(II) VESA(0): Supported VESA Video Modes:
(II) VESA(0): 720x400@70Hz
(II) VESA(0): 640x480@60Hz
(II) VESA(0): 800x600@60Hz
(II) VESA(0): 1024x768@60Hz
(II) VESA(0): 1024x768@75Hz
(II) VESA(0): 1280x1024@75Hz
example->

(**) VESA(0): *Built-in mode "800x600"
(**) VESA(0): *Built-in mode "640x480"
(**) VESA(0):  Built-in mode "640x400"
example -> 'redhat-config-xfree86 --set-resolution=640x480' to test 640x480 resolution

Filing a bug report for hardware

Vesa Failure Report: <VIDEO CARD HARDWARE VERSION>
Replace <VIDEO CARD HARDWARE VERSION> with the id string reported by 'lspci' command.
example->Vesa Failure Report: nVidia Corporation NV15DDR [GeForce2 Ti]  (rev a4)
Please note that the problems of interest in this test are limited to whether or not the
vesa video driver is working and gives you an X environment for the mode you request. Testing
at lower resolutions or with the vesa driver, might expose bugs in specific applications that
you try to run. Please do not file reports about issues running specific applications.  Please
also note that the initial point of this testing is not to fix hardware issues, but to create
a list of known broken hardware as part of an experimental 'safe mode' for graphical login.