Showing posts with label Team Fortress 2. Show all posts
Showing posts with label Team Fortress 2. Show all posts

Tuesday, December 4, 2012

More fps please

My brand new HD 7850 just arrived :)

I was postponing the decision for too long in part because I'm just lazy. The sheer thought of having to change PSUs between computers made me shiver and avoid the decision. 

My i7 3770 powered desktop is running on a 400W OEM PSU while my 525W Enermax 82+ PSU is being used on my lower power server which doesn't make much sense - all thanks to the desktop case not having space for the Enermax PSU due to the case's awkward design. So I'm in the process of change hardware around pretty fun stuff -.-'.

The promise of higher FPS in Team Fortress 2 won me over so I Mann'ed upp (TF2 pun) and ended up ordering a PowerColor 2GB HD7850 PCS+. Why this particular model? Well low noise and availability of 2xDVI (my monitors support VGA and DVI only) were the factors I valued the most while researching of alternatives. So I ended up going with the PowerColor 2GB HD7850 PCS+ after reading several very positive reviews in which it presented the lowest noise.

As to why the Radeon HD7850? 

Normally I'd go for nVidia cards as I had good experience with them in the past being great both in terms of performance and Linux/BSD support. However this time around I'm into virtualization with VGA/PCI passthrough and nVidia cards expect the Quadro variant just don't support Xen (and other hypervisors for that matter) properly. The trade-off is that AMD doesn't support BSD so I'll probably passthrough 3770's HD4000 if I feel like having FreeBSD on the desktop as a domU.

With Valve's pressure on AMD regarding Steam being ported over to Linux I'm hopping that AMD own drivers mature making this a good buy in the medium term. For the moment I'm playing TF2 on a Windows 8 domU off Intel HD4000 so has soon as I get my hands on the AMD card I'll fire assign the HD7850 to this Windows domU. Afterwards I'll whip-up a Linux domU and check-out Steam and TF2.

Wednesday, October 24, 2012

Team Fortress 2 is coming to Linux \0/

It all over the web, Team Fortress 2 will be available on Linux through Steam as reported here and here.

I'm a FPS kinda-guy having played Wolfenstein: Enemy Territory and Return to Castle Wolfenstein (retail and demo). When Enemy Territory Fortress (remake of the Quake 3 Fortress) came out circa 2004 I fragged a bit on it.

Fast forward 8 years when a buddy got me into TF2. But TF2 was (is) a Windows game and I run Linux so ended up having to setup a Windows 8 Preview virtual machine on Xen using VGA passthrough just to play it...

It came with a cost though... all my plans with Xen running tons of domU aimed at global domination have come to a stop: I'm addicted to TF2 and spend most of my limited free time on it :P

Thursday, October 4, 2012

Go!

After being able to do Intel HD 4000 VGA passthrough I decided I wanted to try PCI passthrough of a dedicated graphics card. My idea was to buy a AMD HD 7850  but I ended up buying a second hand AMD HD 5450 passively cooled for 15€ just be sure that PCI passthrough of secondary GPU works before making a much bigger purchase such as the HD 7850.

Well it worked.

Passing the AMD HD 5450 to a Windows 8 domU was a bit trickier than passing the primary Intel VGA but still achievable though I found the driver installation awkward.

Some notes:
  • The integrated Intel i7-3770 HD 4000 GPU needed to be set as the Primary Display Adapter in the BIOS thus the AMD HD 5450 was setup as the Secondary Display Adapter.
  • Wheezy domU with stock Linux kernel and Xen 4.1.3 were used alongside the xm toolstack.
  • The domU was installed over VNC.
  • The HDMI audio function of the graphics card also needs to be passed.
  • Installing AMD Catalyst froze the VM and required a reboot of the dom0 to restart the Windows 8 domU properly. I worked around this by installing only the drivers with Catalyst Control Center.
  • Windows 8 assigned drivers to the AMD HD 5450 that were faster in Windows Performance Score, Counter Strike Source Video Stress and Unigine than AMD 12.8 drivers (!)
  • AMD HD 5450 performance is crappy compared to Intel HD 4000 however it's more than fine for Windows 8 non-gaming tasks.
  • AMD HD 5450 Team Fortress 2 gameplay was crappy with ~30 FPS.
  • I wasn't able to successfully passthrough my 2nd Intel NIC as the VM refused to start and spat out errors.
  • I'm too hooked on FT2 having scored 50h since early September which is totally sucked my free time...
Next steps? Well...
  • 2 concurrent Windows 8 domUs one running the integrated HD 4000 and the other the AMD HD 5450.
  • Clean up the benchmarks I've run on bare metal, HD 4000 and AMD HD 5450 domU.
  • Clean up my notes and publish as HowTo on linux-bsd-sharing.blogspot.com.
  • Setup Linux domUs with VGA passthrough.
Overall I'm pleased to being able to passthrough AMD's cards but the little sucker is too slow :(

Thursday, August 30, 2012

Set...

Update 26/10/2012:
I've finally published my notes: HowTo: Xen 4.1.3 Windows 8 HVM domU with Intel HD4000 VGA Passthrough on Debian Wheezy

A month has passed since I got the new hardware and I have some novelties to share!

First I got XEN VGA Passthrough working and surprisingly it turned out to be quite easy to setup and I'm pretty happy with the results. I managed to passthrough the i7-3770 HD4000 integrated GPU, USB 2.0 Controller, HD Audio and secondary Ethernet to a Windows 8 Preview domU HVM on a Debian Wheezy dom0 using the xm toolstack. In the domU assigned USB controller I've connected an additional keyboard and mice.

As I only have the integrated GPU and no discrete graphics card I have to SSH from my laptop or use Putty from within Windows to control the dom0.

Now for the observations and quirks on Xen PCI Passthrough:
  • During Windows 8 installation some artefacts appear but these didn't prevent or difficulted the installation process.
  • Un-plugging and plugging the USB keyboard and mice didn't affect stability expect on one occasion where graphical artefacts appeared in Windows though I suspect this could be from the DQ77MK USB 2.0 "fast charge" ports. I have on my TODO list to passthrough another controller to double-check.
  • Windows 8 Preview complained twice about crashed video drivers but its stability wasn't affected and the OS automatically reloaded the driver. One of these situations occurred after I kicked the power connector where I have ~8 power cords connected (this was one of the 2 situations were visual artefacts appeared in Windows outside of the installation process).
  • Wolfenstein: Enemy Territory performance was crap having scored ~59 FPS in 5 timedemo runs. I have to further research the poor performance though I have a few suspects, however it could turn out to be something with the OS so I'll need to install Windows 8 on bare metal (brrr...) to compare.
  • I really need to run some benchmarks using common tool such as 3DMark and Phoronix Test Tool and compare the VM performance with bare metal.
  • My Windows 7 install media is corrupted so Windows 8 Preview ISO was used
  • Sound works perfectly.
  • The second Ethernet is running like a champ.
  • Boot speed is reasonnable especially taking account that the VM is stored in a 9 years-old HDD.
  •  Came across some Windows repair boot menus. Either I'm too trigger happy to kill the domU when I see "lengthily" boots or shutdown (from both domU or using xm destroy) or there really are some issues. Will have to look into this in the future.
  • I still have to passthrough another USB controller to test if USB pen and such are properly registered in the domU.
  • The dom0 stability was never affected.
  • Steam and its Source engine games work just fine having scored ~209FPS in Source stress test (dunno if this is good or bad has I don't have a bare metal comparison baseline).
  • I've clocked more than 5h on Team Fortress 2, Counter-Strike Source and Day of Defeat. No issues aside from being hooked on Team Fortress 2 -.-'
  • I'm impressed with Team Fortress 2 graphics, smooth performance and gameplay.
All in all I'm most pleased with Xen PCI Passthrough and I'll be writing an HOWTO on http://linux-bsd-sharing.blogspot.com in the coming weeks.

There's still so much more to be explored but Team Fortress 2 is sucking my free time :(