I get the error message:
Number of created screens does not match number of detected
devices. Configuration failed.
and then no file is created. However, I get that with a physical Intel chip as well, and it appears to be a general RHEL 6.4 bug.
Gerd, can you be more specific about what happens when you run X -configure?
Pheww, it's been a while. Now I see exactly the same behavior you are seeing.
IIRC it was a different failure mode a few months back, with the versions
in the initial report: "X -configure" successfully created a config file,
but "X -config $newfile" failed to start with it.
Looking at this again, there are at least two problems.
The first problem is that the modesetting driver is chosen in preference to the qxl driver during "-configure" processing. That is wrong since modesetting is a fallback driver that shouldn't be chosen ahead of a hardware specific driver. The fix for this is available upstream:
The second problem is that when the modesetting driver is being configured, a crash occurs, apparently because the PreInit function pointer is NULL. I don't know any more details than that.
When the first problem is fixed by applying the linked patch, X -configure does produce a working configure file for me with the QXL driver.
So I am moving this bug to the X server component and suggest applying the patch above to RHEL 6.
It may or may not be interesting to fix whatever is going on in the modesetting driver that makes it crash.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.