SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Linux
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Linux Discussion related to the SageTV Media Center for Linux. Questions, issues, problems, suggestions, etc. relating to the SageTV Linux should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #21  
Old 02-20-2010, 06:01 PM
mikejaner's Avatar
mikejaner mikejaner is offline
Sage Icon
 
Join Date: Oct 2003
Location: Chantilly VA
Posts: 2,087
Send a message via MSN to mikejaner
Quote:
Originally Posted by stanger89 View Post
I've got a question... I see the new i5's have VT-d, but I'm having a heck of a time finding a motherboard that supports it to go with it. Does anyone know if any of the intel H55 or H57 board support VT-d? Or any i5 boards with confirmed VT-d?

-er scratch that maybe. Looks like the DQ57TM officially includes VT-d.
I second that question.
Any others? and any brands like Asus etc..?
__________________
Mike Janer
SageTV HD300 Extender X2
Sage Server: AMD X4 620,2048MB RAM,SageTV 7.x ,2X HDHR Primes, 2x HDHomerun(original). 80GB OS Drive, Video Drives: Local 2TB Drive GB RAID5
Reply With Quote
  #22  
Old 05-12-2010, 03:46 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
I know this is the linux forum, but seems the best thread for an ESXi question. I've had a rather radical idea that has led me to try running ESXi on my desktop. It's a i7 920 machine in a DX58SO board that supports VT-d.

I'm having some trouble getting the passthrough to work for my graphics card. I believe I've read that ESXi should just give up the graphics card to the passthrough when the VM asks for it, but that doesn't seem to be happening and the video card (while it shows up and drivers are loaded) shows as Stopped (code 43) in Windows Device Manager.

Anything obvious I might have set wrong, or forgot to do to get it working?
Reply With Quote
  #23  
Old 05-12-2010, 10:12 PM
DigitalMan DigitalMan is offline
Sage Advanced User
 
Join Date: Aug 2007
Posts: 82
Interesting. I haven't tried a video card, perhaps there's a conflict with ESXi using/needing it. Maybe you could try 2 video cards in the system and passthrough the second one.

Quote:
Originally Posted by stanger89 View Post
I know this is the linux forum, but seems the best thread for an ESXi question. I've had a rather radical idea that has led me to try running ESXi on my desktop. It's a i7 920 machine in a DX58SO board that supports VT-d.

I'm having some trouble getting the passthrough to work for my graphics card. I believe I've read that ESXi should just give up the graphics card to the passthrough when the VM asks for it, but that doesn't seem to be happening and the video card (while it shows up and drivers are loaded) shows as Stopped (code 43) in Windows Device Manager.

Anything obvious I might have set wrong, or forgot to do to get it working?
Reply With Quote
  #24  
Old 05-13-2010, 08:19 AM
drewg drewg is offline
Sage Icon
 
Join Date: Aug 2007
Location: Richmond, VA
Posts: 1,042
Quote:
Originally Posted by stanger89 View Post
I'm having some trouble getting the passthrough to work for my graphics card. I believe I've read that ESXi should just give up the graphics card to the passthrough when the VM asks for it, but that doesn't seem to be happening and the video card (while it shows up and drivers are loaded) shows as Stopped (code 43) in Windows Device Manager.
What kind of graphics card is it? Nvidia?

ESX messes with the page tables as well. This prevents a guest from using PAT to change cache attributes on PCIe memory spaces (like marking the Graphic's card's memory write-combine). Setting up a PAT mapping is something that is highly unlikely to ever fail on real hardware, and might be your problem. I've seen this problem with Nvidia drivers on linux when our NIC driver loaded first and chose a different PAT scheme than Nvidia's drivers were expecting. The Nvidia PAT setup failed, and the driver failed to load.

Drew
Reply With Quote
  #25  
Old 05-13-2010, 10:29 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Yeah, it's a 9600GT.
Reply With Quote
  #26  
Old 05-13-2010, 02:32 PM
drewg drewg is offline
Sage Icon
 
Join Date: Aug 2007
Location: Richmond, VA
Posts: 1,042
Quote:
Originally Posted by stanger89 View Post
Yeah, it's a 9600GT.
Interesting problem... I wonder what would happen if you tried an ATI card..?

Drew
Reply With Quote
  #27  
Old 05-13-2010, 02:56 PM
brainbone brainbone is offline
Sage Expert
 
Join Date: Oct 2006
Posts: 624
Quote:
Originally Posted by stanger89 View Post
I believe I've read that ESXi should just give up the graphics card to the passthrough when the VM asks for it
I haven't found anything that specifically says ESXi supports GPU passthough, but I can find threads, albeit under the ESXi 3.5 section, saying that it is NOT supported.

For example:
http://communities.vmware.com/thread...35E4?tstart=30
Reply With Quote
  #28  
Old 05-13-2010, 03:17 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Yeah, it's weird, it all looks like it would work. ESXi allows me to select it for passthrough and add it to the VM. Windows picks it up and installs the drivers for it. It just can't use it. My first reaction was "well ESXi is using it for the console output so it's probably taken". But then I throught I read that ESXi would "give up" the card when a VM asked for it. Maybe that was in error, guess I need to see if I've got a spare card lying around....
Reply With Quote
  #29  
Old 05-13-2010, 03:49 PM
brainbone brainbone is offline
Sage Expert
 
Join Date: Oct 2006
Posts: 624
Looking at this list:
http://www.vm-help.com/esx40i/esx40_...itebox_HCL.php

Someone has reported VMDirectPath success with a "Sapphire Radeon 4550 512MB/PCI-Ex16", so appears possible.

Out of curiosity, do you have VMware Tools installed on the Windows guest?

Also, what version Windows? Following the link for the Sapphire Radeon 4550 512MB/PCI-Ex16 in the HCL, it appears it was working under a Windows 7 guest. The post reads:

Quote:
The graphics card actually works very well. Under windows7 you can set the extra adapter as your primary display. Somewhere during the startup process the output then switches from the VMware "display" to the VMDirectPath video card attached display.

Only problem I have is that if the virtual PC goes into Suspend mode I cannot get it back online with the VMDirectath mapped mouse/keyboard.

The graphics card I'm using is a Sapphire Radeon 4550 512MB/PCI-Ex16.
Edit: If you still can't get it working, Xen may be an option, having official support for VGA passthrough, though it looks like some nvidia cards can be troublesome.

Last edited by brainbone; 05-13-2010 at 04:30 PM.
Reply With Quote
  #30  
Old 05-13-2010, 05:08 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Cool, at least I know I'm not crazy

I've found a reference to making sure you use a "supported" nVidia card, and the "new" drivers, but I've thus far been unable to find what either of those are...
http://professionalvmware.com/2009/0...tions-and-you/
Reply With Quote
  #31  
Old 05-13-2010, 05:23 PM
brainbone brainbone is offline
Sage Expert
 
Join Date: Oct 2006
Posts: 624
I'm not sure if it holds true with ESXi, but from Xen's list of tested graphics cards:
"Nvidia officially supports only Quadro FX 3800, 4800 and 5800 for graphics passthrough usage (they've tested and verified their binary drivers for these graphics cards in combination with graphics passthrough)."
Reply With Quote
  #32  
Old 05-13-2010, 06:34 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
l found on the xen messageboards a reference that for some (older, perhaps like mine) the virtual memory addresess need to match exactly the physical ones. Haven't been able to find a way to do that in ESXi yet....
Reply With Quote
  #33  
Old 05-14-2010, 11:36 PM
PosterBoy PosterBoy is offline
Sage Advanced User
 
Join Date: Oct 2007
Posts: 84
On my system, the video chip is on the same PCI bus as my firewire card. Because of that, the video chip is reserved for VMDirectPath. Although ESXi gives up the video board when my guest os boots and it takes over the firewire card, it does not see the video chip. I tried allocating the video chip to the guest OS and the guest OS hung on startup, although ESXi was fine. The video chip is some oddball ASPEED AST2000. I am guessing ESXi doesnt do well giving guest OSes access to video chips. They only claim support for a limited set of network and storage cards, but clearly it works for my firewire board and USB interface.

Hope that helps

Kent

Last edited by PosterBoy; 05-14-2010 at 11:39 PM.
Reply With Quote
  #34  
Old 05-18-2010, 05:42 PM
brainbone brainbone is offline
Sage Expert
 
Join Date: Oct 2006
Posts: 624
So, now I'm thinking of moving my SageTV server to a VM...

Stanger, is your plan to eventually move SageTV to ESXi?
Reply With Quote
  #35  
Old 05-18-2010, 06:24 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
It's just a possibility at this point.

As far as my latest line of inquiry, I was investigating if I could turn my i7 machine into an ESXi box, and actually run my desktop as a VM, along side unRAID and Sage, but hit a roadblock with the current itteration of ESXi's passthrough and my nVidia video card.
Reply With Quote
  #36  
Old 05-19-2010, 07:29 AM
brainbone brainbone is offline
Sage Expert
 
Join Date: Oct 2006
Posts: 624
I'd recommend a new graphics card, but without a list of supported GPUs (official or otherwise), you could end up with a pile of them before finding one that work well enough.

For my use, I'm thinking that the 2 VMDirectPath devices per VM limit is going to be a headache when trying to get SageTV under ESXi. To get USB devices to work, you still need to pass-through a USB port -- so USB tuners don't help here.

I wonder how stable the unstable branch of Xen is ... ...
Reply With Quote
  #37  
Old 05-19-2010, 08:17 AM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
Quote:
Originally Posted by brainbone View Post
I'd recommend a new graphics card, but without a list of supported GPUs (official or otherwise), you could end up with a pile of them before finding one that work well enough.
Yeah, that's my concern. Supposedly the new Quadros support it, but thosre are $$$. There was the supposed ATI card that worked that I could try, but I really don't do much on the machine so I'm not big on the idea of buying a card just to run a VM.

Quote:
For my use, I'm thinking that the 2 VMDirectPath devices per VM limit is going to be a headache when trying to get SageTV under ESXi. To get USB devices to work, you still need to pass-through a USB port -- so USB tuners don't help here.
Well I really only need two, I've got an HDHR and 2 tuners (an HD PVR and an R5000. I think the simple solution to the USB think is getting a USB controller, then you can just pass through the whole PCI USB controller with 4 ports or something and be relatively set. I guess I would need 3 USB ports passed through, R5000, HD PVR and USB UIRT.

I don't know the lack of real documentation for any of this (ie some semblance of a guarantee it will work) is making it look increasingly likely that I'll just not do it and my Athlon XP 1800 server will live on.

Maybe I'll swap out my 1.5TB drives in my NAS for 2TB drives which will solve my storage issues, which are what's really driving my investigation.

Quote:
I wonder how stable the unstable branch of Xen is ... ...
The problem for me is the learning curve for Xen looks way beyond my level of interest
Reply With Quote
  #38  
Old 05-19-2010, 08:29 AM
harrijay harrijay is offline
Sage Advanced User
 
Join Date: Jan 2007
Location: Wisconsin
Posts: 152
All of this talk about passing through a graphics adapter to a VM has got me thinking how well does it work. Right now I am passing through 1 PCI tuner - A180, 1 NIC and also a drive passsed through with RDM to a linux VM. I do have a radeon 4000 series card that I can test out to see what happens along with a copy of windows 7. Maybe I will give it a try this weekend and let everyone know how it works.

Jayson
__________________
ESXi Host Intel Xeon x3440 on Intel S3420PLX, 4GB RAM, 80GB Primary
Server:2 CPU's and 2GB memory Allocated, 15GB Virtual Primary, 1.5 TB RDM Physical Disk,
A180 using VMDirectPath, 1 xHDHR
Headless ArchLinux 2.6.34 64-bit, SageTV 7.0.15
Sun JRE 1.6.0_20
Comskip&PlayonWindows XP 2CPU and 1GB Ram Allocated
Clients: 1 Media MVP and 2 STX-HD100
Reply With Quote
  #39  
Old 05-19-2010, 06:29 PM
whartsell whartsell is offline
Sage User
 
Join Date: May 2008
Posts: 20
What kind of drive did you pass through? I cant get any (SCSI or SATA) to work
Reply With Quote
  #40  
Old 05-20-2010, 07:02 AM
harrijay harrijay is offline
Sage Advanced User
 
Join Date: Jan 2007
Location: Wisconsin
Posts: 152
I pass through a SATA drive. I followed this and it worked perfectly

Jayson
__________________
ESXi Host Intel Xeon x3440 on Intel S3420PLX, 4GB RAM, 80GB Primary
Server:2 CPU's and 2GB memory Allocated, 15GB Virtual Primary, 1.5 TB RDM Physical Disk,
A180 using VMDirectPath, 1 xHDHR
Headless ArchLinux 2.6.34 64-bit, SageTV 7.0.15
Sun JRE 1.6.0_20
Comskip&PlayonWindows XP 2CPU and 1GB Ram Allocated
Clients: 1 Media MVP and 2 STX-HD100
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SageTV using HD-PVR and VMware ESXi radioman Hardware Support 29 10-13-2010 04:45 PM
Currently have Sagetv working with ESXi and hvr 1600 itzatol Hardware Support 5 07-09-2010 06:50 PM


All times are GMT -6. The time now is 05:11 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.