Bug 848930

Summary: X will not start up in Fedora 18 KVM guests with cirrus video adapter
Product: [Fedora] Fedora Reporter: Adam Williamson <awilliam>
Component: compsAssignee: Bill Nottingham <notting>
Severity: high Docs Contact:
Priority: unspecified    
Version: 18CC: jmontleo, jreznik, p, robatino, rtguille, rvokal, xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-17 10:17:30 EDT Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 752660    

Description Adam Williamson 2012-08-16 16:44:42 EDT
If you set the video adapter in a KVM guest to 'cirrus', then try and boot any Fedora 18 image we've tried, X fails to start up. 'grep EE /var/log/Xorg.0.log' shows:

[   159.228] (EE) Failed to load module "modesetting" (module does not exist, 0)
[   159.245] (EE) cirrus: The PCI device 0xb8 at 00@00:02:0 has a kernel module claiming it.
[   159.245] (EE) cirrus: This driver cannot operate until it has been unloaded.
[   159.253] (EE) No devices detected.
[   159.253] (EE) 
[   159.253] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   159.253] (EE)

I'd provide more detailed logs, but ajax says he knows about this issue already, I'm just filing the bug for tracking purposes. Proposing as a potential Beta blocker per criterion "The release must be able host virtual guest instances of the same release, using Fedora's current preferred virtualization technology", as this is basically virt-specific (we care not at all about real cirrus hardware any more). Note that qxl is also broken - I'll file a bug for that - so right now you have to go with 'vga' to get a VM to boot F18. Very slowly.
Comment 1 Adam Williamson 2012-08-16 16:46:23 EDT
Oh, booting with 'nomodeset' does work (airlied asked about that).
Comment 2 Adam Williamson 2012-08-16 17:10:31 EDT
So, the problem here really is that we don't want to be using the cirrus driver any more, we want to be using the 'modesetting' driver. So we need to add that to F18 comps to make sure it gets used.
Comment 3 Bill Nottingham 2012-08-17 10:17:30 EDT
This was done.
Comment 4 Adam Williamson 2012-08-17 15:43:03 EDT
Note: I think this didn't make TC3 because it was built too soon after the comps change (so there hadn't been a new mash), but it should make TC4/RC1/whatever the next build is.
Comment 5 Reartes Guillermo 2012-08-19 13:17:05 EDT
I tried F18 TC3 with KVM-> VNC/CIRRUS under F17 (a pre existing btrfs testing guest) and the result is a black screen.

However, it boots in basic video mode under troubleshooting. Then i encounter some other unrelated issue.
Comment 6 Reartes Guillermo 2012-08-19 15:56:57 EDT
> Oh, booting with 'nomodeset' does work (airlied asked about that).
yes it does work for me.

After more testing, suddenly the F13 TC3 started to fall back to text mode. Before that, it was just a black screen. Now i do not get a black screen witch vnc/cirrus but the text mode instead.

Strangely, that black screen happens also with spice/qlx in another guest, so maybe there is an additional issue or something different.
Comment 7 Adam Williamson 2012-08-20 19:02:06 EDT
reartes: see comment #4. the fix did not make TC3.

the qxl issue is a different bug, #844463.
Comment 8 Pádraig Brady 2012-09-13 04:30:50 EDT
FYI cirrus still an issue in RC3.
vga works fine