[vfio-users] vfio-pci disable_vga but still t rying to switch....

Quentin Deldycke quentindeldycke at gmail.com
Sat Mar 12 14:13:17 UTC 2016


Hello,

I wanted to disable CSM on my computer (asrock extreme 6)

I got host graphics using intel card (0.02), vm graphics using r9 290 (01)
and i want to be able to have another card (02) (actually a old HD 5870, if
it work a nice 4k ready nvidia card)

But, when i disable CSM, the computer doesn't manage to start X:

On screen the log says and stay block at last  line:

Mar 12 14:54:34 lindesk kernel: vgaarb: setting as boot device:
PCI:0000:00:02.0
Mar 12 14:54:34 lindesk kernel: vgaarb: device added:
PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none
Mar 12 14:54:34 lindesk kernel: vgaarb: device added:
PCI:0000:01:00.0,decodes=io+mem,owns=none,locks=none
Mar 12 14:54:34 lindesk kernel: vgaarb: device added:
PCI:0000:02:00.0,decodes=io+mem,owns=none,locks=none
Mar 12 14:54:34 lindesk kernel: vgaarb: loaded
Mar 12 14:54:34 lindesk kernel: vgaarb: bridge control possible 0000:02:00.0
Mar 12 14:54:34 lindesk kernel: vgaarb: overriding boot device:
PCI:0000:01:00.0
Mar 12 14:54:34 lindesk kernel: vgaarb: bridge control possible 0000:01:00.0
Mar 12 14:54:34 lindesk kernel: vgaarb: no bridge control possible
0000:00:02.0
Mar 12 14:54:34 lindesk kernel: vgaarb: device changed decodes:
PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none

however, as the pc boot fine (but without video), threw ssh i know that
after these lines are printed:
Mar 12 14:54:35 lindesk kernel: snd_hda_intel 0000:02:00.1: Handle
vga_switcheroo audio client
Mar 12 14:54:35 lindesk kernel: vgaarb: device changed decodes:
PCI:0000:01:00.0,olddecodes=none,decodes=none:owns=none
Mar 12 14:54:35 lindesk kernel: vgaarb: device changed decodes:
PCI:0000:00:02.0,olddecodes=io+mem,decodes=none:owns=io+mem

I think that, at boot, intel card is used, bios, grub and start of boot.
Then the kernel tries to use the r9 290 card on slot 01:00.0 as default vga
card

And only after the disable_vga boot parameter is used to disable the same
card...



Right now, without CSM, pc doesn't boot graphics
What i want: host on intel and vm using r9.

Does someone have any clue? Why does a uefi ready card try to get vga?

--
Deldycke Quentin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20160312/bbd25b03/attachment.htm>


More information about the vfio-users mailing list