Jump to content

750Ti & OVMF


Recommended Posts

Hi everyone,

 

i did post this question in the unraid beta thread as i am a beta user but was told this was not a beta related issue.

 

I currently have 2 vm's on my system. 1 has a 780, the other has a 750ti.

They are both set up identically but the 750ti vm will not display any video output when running using OVMF. I have attached by Diagnostics so you can see everything. the 2 VM's to compare are the ones with "cat" in the name.

 

"Cat" is using seabios and boots the gpu up no problem

"Cat - OVMF" will not initialise the video output.

 

Using VNC i am able to boot windows and see that the gpu is detected and i can install Nvidia drivers. The gpu is reporting error state 43

 

I have tried using a windows 8 and 7 vm with OVMF and have the same issue. Seabios works for all of them however.

I have tried re-seating the gpu which had no effect

I have tried switching the GPU bios using the toggle on the top of the GPU which again makes no difference

 

Can anyone see a reason as to why my OVMF vm will not use the GPU?

 

Regards,

Jamie

archangel-diagnostics-20160315-1852.zip

Link to comment

Fair Warning: I am on day 3 of my unRaid trial and using the 6.2 beta.

 

I currently have two Nvidia cards in my unRaid server and no onboard graphics. I use the first card (Gt330 in PCIe0) for unRaid and the second (GTX750ti on PCIe2 [not PCIe1]) for my VM running 8.1 on OVMF. This has been working fine for me thus far.

 

You might want to have a look at your motherboard specs and see if the PCIe lanes are compatible for SLI/Crossfire in your current slots as sometimes they will need to be separated further than the slots you currently have them seated in.

 

If there is something I can do to help test out your issue I'm more than happy to oblige.

Link to comment

Fair Warning: I am on day 3 of my unRaid trial and using the 6.2 beta.

 

I currently have two Nvidia cards in my unRaid server and no onboard graphics. I use the first card (Gt330 in PCIe0) for unRaid and the second (GTX750ti on PCIe2 [not PCIe1]) for my VM running 8.1 on OVMF. This has been working fine for me thus far.

 

You might want to have a look at your motherboard specs and see if the PCIe lanes are compatible for SLI/Crossfire in your current slots as sometimes they will need to be separated further than the slots you currently have them seated in.

 

If there is something I can do to help test out your issue I'm more than happy to oblige.

 

Thanks for your reply.

 

I have the GPU working in seabios and have had it running for 3 months prior to this on the previous versions.

 

my motherboard is 7 x16 slots with PLX chips so all lanes are SLI compatable. I have have a vm with my 780 passed through and unraid has a gtx 210

Link to comment

 

I have the GPU working in seabios and have had it running for 3 months prior to this on the previous versions.

 

my motherboard is 7 x16 slots with PLX chips so all lanes are SLI compatable. I have have a vm with my 780 passed through and unraid has a gtx 210

 

Regardless of the fact that those 7 slots are designed as x16, only one or at most two will be used as x16, and in some slot combinations some of them may even been running at x0 (disabled); it all boils down to manufacturer specifications. Here is a list for one X99 chipset that I am familiar with but others are likely the same:

 

Slots: 5x PCI-Express 3.0 x16 Slots (run at x16/x0/x0/x0/x0 or x16/x0/x0/x16/x0, x16/x0/x0/x8/x0 or 
x16/x0/x0/x16/x8, x8/x8/x0/x8/x0 or x8/x8/x0/x16/x8, x8/x8/x0/x8/x4)

 

As you can see there are quite a lot of x0 in some of those.

 

All that aside, if it's working for you in SeaBIOS by all means use that.

Link to comment

Regardless of the fact that those 7 slots are designed as x16, only one or at most two will be used as x16, and in some slot combinations some of them may even been running at x0 (disabled); it all boils down to manufacturer specifications. Here is a list for one X99 chipset that I am familiar with but others are likely the same:

 

Slots: 5x PCI-Express 3.0 x16 Slots (run at x16/x0/x0/x0/x0 or x16/x0/x0/x16/x0, x16/x0/x0/x8/x0 or 
x16/x0/x0/x16/x8, x8/x8/x0/x8/x0 or x8/x8/x0/x16/x8, x8/x8/x0/x8/x4)

 

As you can see there are quite a lot of x0 in some of those.

 

All that aside, if it's working for you in SeaBIOS by all means use that.

 

Hi schade,

 

I have one of these monsters; http://www.asrock.com/mb/Intel/X99%20WS-E10G/

 

So that board has 7 x PCI Express 3.0 x16 Slots (PCIE1/PCIE2/PCIE3/PCIE4/PCIE5/PCIE6/PCIE7: quad at x16 (PCIE7) / x16 (PCIE5) / x16 (PCIE3) / x16 (PCIE1))

 

My 750ti and 780 are in pcie 1, 3

My 210 is in pci4

and i have 2 usb controllers in pci 5 and 6

 

i had huge system stability issues with seabios, especially in the new beta (using it work for around 6 hours before causing trouble)

 

I may have to just see if i can get seabios to work better but i will keep this thread updated

Link to comment

According to the specs the cards should be in slots 1, 3, 5, and 7 to get full x16 to each. Your unRaid box (the GT210) should probably be in slot1 to function properly.

 

Beyond that, nice motherboard; I don't think they sell it around here. I may have to change my plans for the final box I'm building after my trial.

Link to comment

Just as a test, try removing the usb card in slot6 and see if passthrough works properly. There are no guarantees, but with slots 1, 3, 5, and 7 in use slot 6 may be causing issues. If it doesn't work you can put it back and use SeaBIOS until we figure out a better solution.

Link to comment

I've had chance to try this now but it made no difference. I've put a new bios on and resolved some motherboard power state issues so will see if that's helped at all

 

Edit:

So the new bios and power changes had no affect on ovmf.

It did have an affect on seabios however as i am now unable to get video unless vnc is not assigned

Link to comment

 

Edit:

So the new bios and power changes had no affect on ovmf.

It did have an affect on seabios however as i am now unable to get video unless vnc is not assigned

 

VNC SHOULD be unassigned if you are passing through a GPU. Maybe that is why OVMF isn't working? Try it without VNC and see.

 

With ovmf it was unassigned

Link to comment
  • 2 weeks later...

So i am still struggling with this issue. I was able to try booting both just to see what log entries it showed and here is the difference

 

OVMF

Apr  1 18:39:38 Archangel acpid: input device has been disconnected, fd 7
Apr  1 18:39:41 Archangel kernel: usb 1-1: reset low-speed USB device number 2 using xhci_hcd
Apr  1 18:39:41 Archangel kernel: usb 1-1: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
Apr  1 18:39:41 Archangel kernel: usb 1-1: ep 0x82 - rounding interval to 64 microframes, ep desc says 80 microframes
Apr  1 18:39:41 Archangel kernel: usb 1-1: reset low-speed USB device number 2 using xhci_hcd
Apr  1 18:39:41 Archangel kernel: usb 1-1: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
Apr  1 18:39:41 Archangel kernel: usb 1-1: ep 0x82 - rounding interval to 64 microframes, ep desc says 80 microframes
Apr  1 18:39:42 Archangel kernel: usb 1-2: reset low-speed USB device number 3 using xhci_hcd
Apr  1 18:39:42 Archangel kernel: usb 1-2: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
Apr  1 18:39:42 Archangel kernel: usb 1-2: reset low-speed USB device number 3 using xhci_hcd
Apr  1 18:39:43 Archangel kernel: usb 1-2: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
Apr  1 18:39:45 Archangel kernel: kvm: zapping shadow pages for mmio generation wraparound
Apr  1 18:39:45 Archangel kernel: kvm: zapping shadow pages for mmio generation wraparound
Apr  1 18:39:49 Archangel kernel: br0: port 4(vnet1) entered learning state
Apr  1 18:40:04 Archangel kernel: br0: topology change detected, propagating
Apr  1 18:40:04 Archangel kernel: br0: port 4(vnet1) entered forwarding state
Apr  1 18:41:06 Archangel kernel: br0: port 4(vnet1) entered disabled state
Apr  1 18:41:06 Archangel kernel: device vnet1 left promiscuous mode
Apr  1 18:41:06 Archangel kernel: br0: port 4(vnet1) entered disabled state

 

SeaBios

Apr  1 18:41:47 Archangel kernel: vgaarb: device changed decodes: PCI:0000:0a:00.0,olddecodes=io+mem,decodes=io+mem:owns=none
Apr  1 18:42:16 Archangel kernel: vgaarb: device changed decodes: PCI:0000:0a:00.0,olddecodes=io+mem,decodes=io+mem:owns=none
Apr  1 18:42:16 Archangel kernel: device vnet1 entered promiscuous mode
Apr  1 18:42:16 Archangel kernel: br0: port 4(vnet1) entered listening state
Apr  1 18:42:16 Archangel kernel: br0: port 4(vnet1) entered listening state
Apr  1 18:42:17 Archangel kernel: vfio_ecap_init: 0000:0a:00.0 hiding ecap 0x1e@0x258
Apr  1 18:42:17 Archangel kernel: vfio_ecap_init: 0000:0a:00.0 hiding ecap 0x19@0x900
Apr  1 18:42:17 Archangel kernel: vfio-pci 0000:07:00.0: enabling device (0400 -> 0402)
Apr  1 18:42:21 Archangel kernel: kvm: zapping shadow pages for mmio generation wraparound
Apr  1 18:42:23 Archangel kernel: kvm: zapping shadow pages for mmio generation wraparound
Apr  1 18:42:31 Archangel kernel: br0: port 4(vnet1) entered learning state
Apr  1 18:42:46 Archangel kernel: br0: topology change detected, propagating
Apr  1 18:42:46 Archangel kernel: br0: port 4(vnet1) entered forwarding state

 

Here is a copy of my lspci -v command for the 2 gpus passed through using OVMF

0a:00.0 VGA compatible controller: NVIDIA Corporation GM107 [GeForce GTX 750 Ti] (rev a2) (prog-if 00 [VGA controller])
        Subsystem: Micro-Star International Co., Ltd. [MSI] GM107 [GeForce GTX 750 Ti]
        Flags: bus master, fast devsel, latency 0, IRQ 62, NUMA node 0
        Memory at f8000000 (32-bit, non-prefetchable) [size=16M]
        Memory at b0000000 (64-bit, prefetchable) [size=256M]
        Memory at c0000000 (64-bit, prefetchable) [size=32M]
        I/O ports at a000 [size=128]
        Expansion ROM at f9000000 [disabled] [size=512K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Legacy Endpoint, MSI 00
        Capabilities: [100] Virtual Channel
        Capabilities: [250] Latency Tolerance Reporting
        Capabilities: [258] L1 PM Substates
        Capabilities: [128] Power Budgeting <?>
        Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
        Capabilities: [900] #19
        Kernel driver in use: vfio-pci


0b:00.0 VGA compatible controller: NVIDIA Corporation GK110 [GeForce GTX 780] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: eVga.com. Corp. GK110 [GeForce GTX 780]
        Flags: bus master, fast devsel, latency 0, IRQ 62, NUMA node 0
        Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
        Memory at c8000000 (64-bit, prefetchable) [size=128M]
        Memory at d0000000 (64-bit, prefetchable) [size=32M]
        I/O ports at 9000 [size=128]
        Expansion ROM at f7000000 [disabled] [size=512K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [78] Express Endpoint, MSI 00
        Capabilities: [100] Virtual Channel
        Capabilities: [128] Power Budgeting <?>
        Capabilities: [420] Advanced Error Reporting
        Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
        Capabilities: [900] #19
        Kernel driver in use: vfio-pci

 

I connected the gpu to another machine and saved out the rom file, added this to the XML and no luck with that either, i still have no video out though. For now i am going to deal with SeaBios but wanted to see if any of this information makes sense to you

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...