<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi Folks,<br><br>I have been using Wine for some time now to run Team Fortress 2 (and other HL2 based games) on my Ubuntu system.&nbsp; I was previously running Ubuntu 7.10 with an Athlon64 3800+, a 7600GT (256MB of RAM), and 2GB of DDR2 333MHz.&nbsp; Recently I upgraded to Ubuntu 8.10 (i386) with an AthlonX2 64 6000+, an 8800GT (1GB of RAM) and 4GB of DDR 800MHz.&nbsp; I was really hoping for a nice performance bump (especially when I installed Wine 1.1.20 today) but unfortunately I really don't notice it.&nbsp; Windows of course runs TF2 without issue (it's like glass) but it's still choppy on Linux.&nbsp; I'm using the latest proprietary nvidia drivers as well.<br><br>I have found that passing the following options to TF2 definitely makes it run MUCH better (Steam-related options):<br><br>-heapsize 1048576 -dxlevel 81<br><br><br>Actually, to be precise, I'm running in windowed mode at like 1100 something by 940 (I think)?&nbsp; My monitor support 1280x1024 but I'm basically running at the largest I can such that it stays within the desktop without being overlapped by the top or bottom menu bars in gnome.&nbsp; So the options are something like:<br><br>-novid -windowed -w 1175 -h 940 -heapsize 1048576 -dxlevel 81<br><br>I am also using WINEDEBUG=-all when I launch Steam to suppress all debug messages.&nbsp; <br><br>I'm trying to find ways to make this run even smoother in Linux.&nbsp; I know there are some changes I can make to the HKEY_CURRENT_USER\Software\Wine\Direct3D key.&nbsp; I tried setting UseGLSL=disabled but it screwed up some of the textures that made it slightly more difficult to play.&nbsp; I have also properly set my videoMemorySize to 1024.&nbsp; I think I have tried the offscreenRendering option as well (set to fbo or not) but it didn't seem to help.<br><br>Overall the game runs fairly well.&nbsp; I get around 30 FPS for the most part in open areas (100+ FPS in small, confined areas), but every couple minutes it drops to less than 5 FPS (sometimes even 1 FPS).&nbsp; It will stay that way for about 4 or 5 seconds and then corrects itself.&nbsp; I thought that perhaps my CPU or was being pegged or the RAM was running out (doubtful with 4GB of RAM now) but that doesn't seem to be the case.&nbsp; I installed conky and I was monitoring my resources while running the game.&nbsp; The first CPU core was steady at 53% and the second core was steady at 12%.&nbsp; I was only using about 1.3 GB of RAM total (Steam and all other system resources).&nbsp; Using the UseGLSL=disabled option I didn't seem to notice this periodic drop to low FPS but like I said, some of the textures aren't quite acceptable for me.<br><br>Is there anything else that I can do to get better performance out of this?&nbsp; I have installed DirectX 9.0c (Nov2008 release) and it works with TF2 but the performance just isn't there (around 10FPS steady).&nbsp; Using the dxlevel 81 option performance is pretty good, but would I benefit by setting some of the DLLs to native?&nbsp; Several of the DLLs are already set to native, some are set to builtin but I think they mostly relate to DirectX 9.0c.&nbsp; Here are the instructions I used to install DX 9.0c:<br><br>http://howto.landure.fr/gnu-linux/install-directx-9-0c-on-linux-using-wine<br><br><br>Are there any other suggestions on how to get this faster via wine?&nbsp; Some of the things I'm wondering:<br><br>1) Are there any further tweaks I can make to the Direct3D registry key?<br>2) Are there any DLLs I should be tweaking and setting to native, for example?&nbsp; I do have a Windows partition that I can copy DLLs from.<br>3) Is running HL2 in windowed mode going to make things worse?&nbsp; It doesn't seem like it but I wouldn't be opposed to running in full screen mode (1280x1024).&nbsp; I haven't noticed any significant difference yet between full screen and windowed.<br>4) Any other suggestions?<br><br>If anyone knows any way to make this better please help.&nbsp; I have been a Linux user for years and the only reason I even keep a WinXP partition around is to run games.&nbsp; Otherwise I'm booting into one of my other partitions (Ubuntu, Fedora, or Slackware -- mostly Ubuntu).<br><br>In case there is nothing else I can do to improve things oh well -- Wine is still amazing these days.&nbsp; I'm really impressed and happy with it.<br><br>Thanks!<br><br>-Brandon<br><br>
                        
                <br /><hr />Rediscover Hotmail�: Get e-mail storage that grows with you.  <a href='http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Storage2_042009' target='_new'>Check it out.</a></body>
</html>