Bug 57831
Summary: | radeon fatal error during GPU init (Radeon 5850, KVM GPU passthrough) | ||
---|---|---|---|
Product: | Drivers | Reporter: | Luke-Jr (luke-jr+linuxbugs) |
Component: | Video(DRI - non Intel) | Assignee: | drivers_video-dri |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | alexdeucher |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 3.9.0 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Luke-Jr
2013-05-09 03:16:40 UTC
You need to make sure the VM has access to the PCI rom. I guess I assumed that the hardware end should be working fine since fglrx works. Is needing the PCI ROM something unique to the free drivers? No both drivers need the vbios image. The closed driver either gets the vbios via some alternative means or it has some sort of fallback image if it can't find the actual vbios image. Confirmed both the fglrx and radeon systems are getting the Cirrus (emulated) VGA ROM instead of the Radeon ROM. Is there a way I can override/provide the Radeon ROM to the driver as a workaround? You should be able to pass the existing pci rom resource through to the VM, but I'm not really a KVM expert. Just about every graphics driver is going to need the vbios image so there is presumably a way. Might want to ask on the KVM mailing lists. These links may be useful: http://www.linux-kvm.org/page/VGA_device_assignment http://thread.gmane.org/gmane.comp.emulators.kvm.devel/71981 This isn't really a driver bug. I think this bug can be closed. For the workaround, I meant the driver ignoring the vbios ROM, and instead loading it from a firmware file. ;) That's not something I'd like to support in the driver. If you can't get the vbios, you probably have bigger problems. Well, like I said... this works fine with fglrx, so I'd guess the VBIOS is the only issue. Seems qemu is mixing up the VBIOS for the two video cards (emulated Cirrus + passthrough Radeon) - the first 64K of the virtualized Radeon's rom is that of the Cirrus, but the 2nd 64K is correct. |