Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
VMware ESXi GPU Passthrough - driver/Xorg issue
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
mersenne
n00b
n00b


Joined: 21 Apr 2017
Posts: 3

PostPosted: Fri Apr 21, 2017 7:03 am    Post subject: VMware ESXi GPU Passthrough - driver/Xorg issue Reply with quote

Trying to install gentoo to a vm in ESXi 6.5 and passthrough a radeon HD 6350
Originally I got the "Unable to locate a BIOS ROM" error, but I applied the patch https://lists.freedesktop.org/archives/dri-devel/2014-November/072701.html and now the gpu is recognized fine.
Then when I ran startx with no config (after following the install steps in the wiki), xorg complains about missing drivers for the VMware virtual GPU.
So I put a file in x11/conf.d to choose the right device and driver, but now xorg messages "No Devices Detected".
I tried "X -configure", but it segfaults when it tries to use the pci device 27@0:0:0

dmesg
20-radeon.conf
Xorg.0.log with 20-radeon.conf
X -configure output and Xorg log
lspci
lspci -vvv entry for the radeon card
kernel config

I don't know that the Command buffer error in dmesg is about - it doesn't show up again if I run startx again
Back to top
View user's profile Send private message
Maitreya
Apprentice
Apprentice


Joined: 11 Jan 2006
Posts: 296

PostPosted: Sat Apr 22, 2017 9:57 am    Post subject: Reply with quote

Maybe I don't understand but either do pass the video card and use drivers for them or use the virtual gpu and use vmxgfx?
Or do you want both at the same time?
Back to top
View user's profile Send private message
mersenne
n00b
n00b


Joined: 21 Apr 2017
Posts: 3

PostPosted: Sun Apr 23, 2017 8:42 pm    Post subject: Reply with quote

I don't want to use the vmware GPU - just the passed-through one with radeon.
I tried disabling the vmware GPU but them the VM doesn't start.
Back to top
View user's profile Send private message
R0b0t1
Apprentice
Apprentice


Joined: 05 Jun 2008
Posts: 214

PostPosted: Tue Apr 25, 2017 2:40 am    Post subject: Reply with quote

Just to verify, the guest sees the Radeon card and not a VMware emulation layer?

If so, then your card may simply not work; despite various cards being usable (it seems most people use the 900 or 1000 series NVIDIA cards) some have serious errors that prevent them from functioning when used with VT-d or AMD-Vi. My personal experience with a W7100 is that it can only be passed to a guest once and afterwards stops functioning completely, i.e. the virtual machine can't be rebooted unless the host is also rebooted. It seems like you have done everything right and it still doesn't work. The next step is, I think, probing the PCIe bus.
Back to top
View user's profile Send private message
Ant P.
Advocate
Advocate


Joined: 18 Apr 2009
Posts: 4439

PostPosted: Tue Apr 25, 2017 2:56 am    Post subject: Reply with quote

Have you tried not hardcoding the PCI bus address in the config file? That's usually only needed if you have multiple cards that work with 1 driver.
_________________
*.ebuild // /etc/service/*
Back to top
View user's profile Send private message
mersenne
n00b
n00b


Joined: 21 Apr 2017
Posts: 3

PostPosted: Wed Apr 26, 2017 1:04 pm    Post subject: Reply with quote

Yes. the guest is seeing the card itself - the lspci output shows vmware nowhere. Also, I have used this card before successfully using the old fglrx proprietary drivers.
What do you mean by probing the PCIe bus? I included the lspci entry in the OP.

I tried only setting the driver in 20-radeon, but that didn't help.
Back to top
View user's profile Send private message
R0b0t1
Apprentice
Apprentice


Joined: 05 Jun 2008
Posts: 214

PostPosted: Thu Apr 27, 2017 12:49 am    Post subject: Reply with quote

mersenne wrote:
Yes. the guest is seeing the card itself - the lspci output shows vmware nowhere. Also, I have used this card before successfully using the old fglrx proprietary drivers.
What do you mean by probing the PCIe bus? I included the lspci entry in the OP.

I tried only setting the driver in 20-radeon, but that didn't help.


If the guest can enumerate the graphics card on the bus you may have done all that you can. What I meant was that the failure is due to some failure of the graphics card to adhere to the PCIe/VGA device specification.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum