Team Fortress 2 Forum

This is a community forum and not official technical support. — If you need official support: Contact Us

The following comments are owned by whoever posted them. We are not responsible for them in any way.

Back to Threads Reply to Thread

crossover games (7.0) and tf2

just downloaded the trial, and wow:

  • much better framerates (before was dropping down to 10-15fps all the time, now very rare... now 30-40fps in heavy firefights)
  • antialiased fonts in menu, chat
  • chat fonts without installing custom fonts
  • shaders for my system are now recommended to be on High (before it was recommended Low... i always use recommended settings or less)
  • load times improved

awesome job guys really.

this is on an imac 2.4ghz radeon HD 2600 (which you were having problems with too, i believe)

few questions:

  • DX9 support anytime soon? (mainly for facial expressions, and want to see some rim lighting/highlights too)
  • antialiasing?

thanks team!

John Torque wrote:

few questions:

  • DX9 support anytime soon? (mainly for facial expressions, and want
    to see some rim lighting/highlights too)

It depends on how the Apple drivers are moving forward. For dxlevel 90/95 support we need proper GLSL(OpenGL shading language) in the drivers. So far the GLSL support on MacOS is a shame. With GLSL enabled even dxlevel 81 drops back to software, and dxlevel 90 crashes steight away. On Linux we've enabled dxlevel 90 in cxgames, except for TF2 due to performance concerns, but you can enable it there as well.

John Torque wrote:

  • antialiasing?
    thanks team!

Yes, that one should be there soon. While I've been working on stabilizing games for cxgames, independent Wine Developers have implemented dynamic pixel format switching(Thanks Roderick!). This allows us to select Antialiasing formats. In the meantime you can enable antialiasing if you have some driver configuration tool which can force antialiasing for applications that otherwise do not support it.

Stefan Dösinger wrote:

John Torque wrote:

few questions:

  • DX9 support anytime soon? (mainly for facial expressions, and
    want
    to see some rim lighting/highlights too)

It depends on how the Apple drivers are moving forward. For dxlevel
90/95 support we need proper GLSL(OpenGL shading language) in the
drivers. So far the GLSL support on MacOS is a shame. With GLSL
enabled even dxlevel 81 drops back to software, and dxlevel 90
crashes steight away. On Linux we've enabled dxlevel 90 in cxgames,
except for TF2 due to performance concerns, but you can enable it
there as well.

John Torque wrote:

  • antialiasing?
    thanks team!

Yes, that one should be there soon. While I've been working on
stabilizing games for cxgames, independent Wine Developers have
implemented dynamic pixel format switching(Thanks Roderick!). This
allows us to select Antialiasing formats. In the meantime you can
enable antialiasing if you have some driver configuration tool which
can force antialiasing for applications that otherwise do not
support it.

Is GLSL enabled by default in linux? As well, what is the proper way to enable DX9? Just pass -directx90 at the launch line?

Corey Quilliam wrote:

Is GLSL enabled by default in linux? As well, what is the proper
way to enable DX9? Just pass -directx90 at the launch line?

Yes, it is enabled by default, except for:

-> Guild Wars: Doesn't need it, small performance gain that way
-> Team fortress 2: To force it to dxlevel 81 for better performance
-> All HL2 apps on ATI cards: Driver troubles

We disable GLSL for TF2 with the following registry key: HKEY_CURRENT_USER/Software/Wine/AppDefaults/hl2.exe/Direct3D/hl2_disable_glsl. By default it contains "-game tf". If you remove this key, GLSL will be enabled for TF2 and you can start it in dxlevel 90 or 95 by passing "-dxlevel XX" once. The key contains a listing of HL2 game mods. For example, "-game tf;-game portal" would disable GLSL for Team For TF and Portal.

Note that you need a very strong Graphics card to play TF2 at good framerates in dxlevel 95. TF2 on its own has huge requirements already, and CrossOver unfortunately adds a bit more load due to sRGB write correction emulation.

Stefan Dösinger wrote:

We disable GLSL for TF2 with the following registry key:
HKEY_CURRENT_USER/Software/Wine/AppDefaults/hl2.exe/Direct3D/hl2_disable_glsl.
By default it contains "-game tf". If you remove this key, GLSL will
be enabled for TF2 and you can start it in dxlevel 90 or 95 by
passing "-dxlevel XX" once. The key contains a listing of HL2 game
mods. For example, "-game tf;-game portal" would disable GLSL for
Team For TF and Portal.

Note that you need a very strong Graphics card to play TF2 at good
framerates in dxlevel 95. TF2 on its own has huge requirements
already, and CrossOver unfortunately adds a bit more load due to
sRGB write correction emulation.

Well, I have an NVidia geforce 8800GT 512MB, so I would assume its sufficient enough for these features. I made the registry changes and added '-dxlevel 95' to the command line. When I get into TF2, I can turn up the texture detail to very high and join a game. I can tell that the textures are much much better this way, the only problem is there are black-boxes replacing the different onscreen things like health, ammo, and my net_graph output, so i can't see what fps its running at, though it feels like its somewhere between 10-20fps. Which is about what I expect at this point, its definitly progress!

Thanks for the tips.

Hi,
Try to remove the -dxlevel 95 after starting the game once with it, and restart the game after changing the settings. HL2 has settings changing problems that can be reproduced on Windows like broken HUD elements after a resolution change.

Also, if you haven't done so already, install the latest Nvidia driver. The 169.09 and 169.12 drivers give a major performance improvement in dxlevel 95 over the 100.xx drivers, and they give a major performance boost on Geforce 8 cards as well.

I recommend to disable HDR in the game, as HDR hits a performance bottleneck in CrossOver. If the driver supports GL_EXT_framebuffer_blit(yours does), you can overcome this problem by setting HKEY_CURRENT_USER/Software/Wine/Direct3D/OffscreenRenderingMode = "fbo". We did not set that by default because it causes Laptops with Nvidia cards to crash hard randomly.

Stefan Dösinger wrote:

Hi,
Try to remove the -dxlevel 95 after starting the game once with it,
and restart the game after changing the settings. HL2 has settings
changing problems that can be reproduced on Windows like broken HUD
elements after a resolution change.

Also, if you haven't done so already, install the latest Nvidia
driver. The 169.09 and 169.12 drivers give a major performance
improvement in dxlevel 95 over the 100.xx drivers, and they give a
major performance boost on Geforce 8 cards as well.

I recommend to disable HDR in the game, as HDR hits a performance
bottleneck in CrossOver. If the driver supports
GL_EXT_framebuffer_blit(yours does), you can overcome this problem
by setting
HKEY_CURRENT_USER/Software/Wine/Direct3D/OffscreenRenderingMode =
"fbo". We did not set that by default because it causes Laptops with
Nvidia cards to crash hard randomly.

Success! I added the registry setting you suggested, and tried again, the front splash screen was completly black and in-game, all HUD elements were still blocked out. So, I took out the -dxlevel 95 and dropped it back to 90, same thing. So, I took it out alltogether, same thing, and the game still detected hardware level 9.0. So, i forced it to -dxlevel 81 and started up. Now i'm running ingame at >60fps in open areas with the following settings:

Resolution: 1650x1080
Model detail: High
Texture detail: Very High
Shader detail: High
Water detail: Reflect all
Shadow detail: Medium
Color Correction: enabled
Antialiasing mode: None (doh!)
Filtering mode: Anisotropic 16x
Wait for vertical sync: Disabled
HDR: None
Motion blur: Disabled (i guess because it's dxlevel 81)

All I got to say is wow, I am very impressed. Well worth the money!

Update: I enabled HDR to full, and i don't notice a different in quality, and my fps stayed about the same. Now i just got to try a server with 30 players and see how it goes.

also another question.

realtime shadows (medium setting i believe) in tf2 + leopard don't work yet, do they?

tried changing the shadow setting from low (spot shadows) to medium and it just crashes when i join a game.

thanks

They should work if you enable FBOs as I instructed above. With FBOs off, some shadows should work, others show a black block only. It should not crash the game.

Stefan Dösinger wrote:

They should work if you enable FBOs as I instructed above. With FBOs
off, some shadows should work, others show a black block only. It
should not crash the game.

when instructing the other user you mentioned it should be enabled if the driver supports GL_EXT_framebuffer_blit

is leopard 10.5.2 + imac core 2 duo 2.4ghz + radeon 2600 HD fine?

thanks!

i set it to fbo, and surprisingly it did work somewhat!

image

however that screen was taken on an empty server, only me on.

when i joined a 2fort server, about 20 players, it crashed straight away :(

any idea?

thanks!

Sorry, no idea right now

no problem, shadows aren't too big an issue at the moment

also for some reason when i took that screenshot with f5 it was upside down? :p
i had to rotate it with photoshop before uploading.

same goes for the little save state previews in half life 2 for example. they are now upside down after saving with FBO enabled.

death screen is also upside down, just noticed.

might just be a coincidence but while 2v2 on dustbowl, it crashed when the other team ubered.

John Torque wrote:

when instructing the other user you mentioned it should be enabled
if the driver supports GL_EXT_framebuffer_blit

is leopard 10.5.2 + imac core 2 duo 2.4ghz + radeon 2600 HD fine?

Framebuffer_blit is required for proper High Dynamic Range rendering performance. I think your card is about the only one that supports this extension on MacOS. I've filed feature requests for the others already.

The upside down could be a problem with framebuffer_blit, I wouldn't be surprised at least. MacOS often messes up the y coordinates with framebuffers.

Stefan Dösinger wrote:

John Torque wrote:

when instructing the other user you mentioned it should be enabled
if the driver supports GL_EXT_framebuffer_blit

is leopard 10.5.2 + imac core 2 duo 2.4ghz + radeon 2600 HD fine?

Framebuffer_blit is required for proper High Dynamic Range rendering
performance. I think your card is about the only one that supports
this extension on MacOS. I've filed feature requests for the others
already.

The upside down could be a problem with framebuffer_blit, I wouldn't
be surprised at least. MacOS often messes up the y coordinates with
framebuffers.

oh it's definitely framebuffer_blit, as i said above it only happens when i set OffscreenRenderingMode to fbo. happens whether shadows are set to low or medium. and when set to medium, the realtime shadows seem to work for a bit then the game freezes.

again, the progress is stunning :D

hopefully you guys can do some testing with the new imacs and see what causes the crash. (set offscreenrendermode to fbo, turn shadows on medium, and join a full server.. . that should be able to reproduce it)

also looking very much forward to antialiasing ;)

thanks again!

Also...

i read that the os x radeon 2*00 drivers need a lot of work right now, and that performance in windows is much higher (not to mention previous gen imacs too)... and that ATI/Apple are working on maturing the os x drivers for this card.

is this true, and will i be able to expect improvements when and if updated drivers are released?

thanks

edit: since i can reproduce the crashes when setting shadows to medium (with offscreenrendermode = fbo), any way i can help with a crash report? how would i do so?

I'm with johntorque, Version 7.0 blows 6.2 out of the water, thanks guys TF2 plays WAYYYYY better now!!!!!!!

7.0 is like god's blessing coming down from the heavens. I am glad I purchased it!

When you can get it to work. :(

I haven't got this new version to work yet. TF2 just seems to hang after loading the level. Is anyone else experiencing this issue? Has anyone got this to work on the new Macbook Pros with the Penryn processors?

Did you try -dxlevel 80? MacOS leopard has a bug that causes the app to crash when it is using srgb corrected compressed textures together with the GL_APPLE_client_storage extension. dxlevel 80 works around the issue. We have reported the issue to Apple with a test case and have a CrossOver-side workaround in the works.

alright, so, I've got a NVIDIA GeForce 8600, and i'd like to boost to directx 9. where should I put the code in? the console doesn't do anything. also, how do i get rid of the key? im not exactly sure how to go about this.

I thought that DirectX 9 didn't work in Team Fortress 2 using Crossover. I don't see the big difference between the two anyway.

It works on Linux, but the framerate is rather bad, that's why we disabled it. To enable dxlevel 90/95, open the registry editor, go to HKEY_CURRENT_USER/Software/Wine/AppDefaults/hl2.exe/Direct3D and remove the "hl2_disable_glsl" key. Then start hl2 once with -dxlevel 90 or -dxlevel 95.

what I was basically hoping to get out of this was shininess. the only thing that lacks in my video settings is that beautiful shine that makes the characters look plastic almost, i have everything else on ultra high and it works. so, if I can't get shininess through dx9, i won't even try, but thanks, i'll do as you said. by the way, where is regedit? i remember seeing it in my programs list, and it's not there now... regedit is'nt run command, is it?

I'm not sure about the Linux version, but for Crossover Games for Mac, under "Manage Bottles," there's the control panel tab for each bottle. I launch taskmgr, then like Windows, hit File->Run and type regedit. Another way is under the "Programs" tab and click "Run Command," and launch regedit from there.

thank you, dude, it works! now for the code!

Ok, i just gave it a shot, but the "hl2_disable_glsl" wasn't in the directory. It showed three things:

(Default)
enable_srgb_hack
ffp_textures

there was no hl2_disable_glsl, so, if you've got any other hints, that would be wonderful.

ok, so I just put dx level to 95 through the launch opions thing, and it crashed, so I brought it back to 81, and it did the portal thing where it sticks at the loading screen forever. I guess I'll try it at 80. help?

dx 80 didn't help either, still has the load screen crash, so now tf2 won't work.

On macos we do not set the hl2-specifc registry key, we disable GLSL globally there due to driver bugs. Try to delete HKEY_CURRENT_USER/Software/Wine/Direct3D/UseGLSL instead. However, TF2 will not work after that. It will either crash, or run horribly slow due to software rendering.

I've filed bugs at Apple long ago, I hope they fix the issues somewhen that prevent us from running in dxlevel 90/95

yea, thank's for helping me try, as it is, running in dx 81, i get everything everyone else was talking about, shadows, very high texture, so, it's very playable, I actually get 100 fps. If only it were shiny... but thank's very much, though.

i'm sorry to keep bothering you all, but something strange just happened, i can't fine appdefaults in my wine directory. It only shows four folders,

Fonts
MSHTML
TaskManager
Temporary System Paramet

i was going to give the use glsl a shot, but couldn't find the folder.

does it have anything to do with leopard? I just switched to this new macbook pro and I often can't find folders that are actually there.

also, do you know how to fix my water? it looks either rainbow colored, or completely black.

George, the appdefault thing is a Windows registry key, not a folder on your file system. You can edit the registry with the registry editor. To start it, go to programs->run command, select the bottle and enter "regedit" into the textbox, then run it.

Regarding the water, this is a bug in CrossOver on some cards(not a driver bug this time), I am working on a fix for that.

ok, so i didn't want to mess around anymore, so i threw crossover and all out, and will redownload everything. the weird thing is, my gamedata can't be accessed. it wont show up when i search it, it's as if it isn't there. i noticed that i gained less than a gig, when i should have gained 13, so my data's still there.

stefan, not sure if you guys check the CSS forum as much as the TF2 one, so just posting here too.

CSS not running in version 7, which is very strange as TF2 runs beautifully... the rest of the details here:
http://www.codeweavers.com/compatibility/browse/name/?app_id=2036;forum=1;msg=33512

hope you can have a look.

thanks!

Hey Stefan.

I'm not sure if you can help me on this oone but I would like to see if you can help me.

I bought a white 2.4ghz macbook and it comes with 160HD and a Intel GMA X3100 144mb vid card.

I got TF2 to work but there is one problem that I can't get through.

  1. TF2 loads.
  2. Loading to a server works fine.
  3. It stops at the welcome screen and freezes
  4. It goes like "da da da da da da" (You know what I mean, haha)
  5. I have to restart the computer.

I have my settings at

Resolution: 1152x720
Model Detail: High
Texture Detail: Medium
Shader Detail: High
Water Detail: Simple
Shadow Detail: Low
Antialiasing: None
Filtering Mode: Trilinear
VSync: Disabled
HDR: None
Bloom's been disabled as well.

-heapsize 512000 -dxlevel 90 -width 1152 -height 720 –window –novid

So I have to drop my directx to 81?

http://img144.imageshack.us/img144/8621/picture4rw9.png
Other users go it to work fine on a macbook but I just can't get past that welcome screen into a game! :(

Hey Stefan.

I'm not sure if you can help me on this oone but I would like to see if you can help me.

I bought a white 2.4ghz macbook and it comes with 160HD and a Intel GMA X3100 144mb vid card.

I got TF2 to work but there is one problem that I can't get through.

  1. TF2 loads.
  2. Loading to a server works fine.
  3. It stops at the welcome screen and freezes
  4. It goes like "da da da da da da" (You know what I mean, haha)
  5. I have to restart the computer.

I have my settings at

Resolution: 1152x720
Model Detail: High
Texture Detail: Medium
Shader Detail: High
Water Detail: Simple
Shadow Detail: Low
Antialiasing: None
Filtering Mode: Trilinear
VSync: Disabled
HDR: None
Bloom's been disabled as well.

-heapsize 512000 -dxlevel 90 -width 1152 -height 720 –window –novid

So I have to drop my directx to 81?

http://img144.imageshack.us/img144/8621/picture4rw9.png
Other users go it to work fine on a macbook but I just can't get past that welcome screen into a game! :(

Drop the -heapsize 512000 -- this caused long freezes for me sometimes in Portal when I started to run low on RAM

John K wrote:

Hey Stefan.

I'm not sure if you can help me on this oone but I would like to see
if you can help me.

I bought a white 2.4ghz macbook and it comes with 160HD and a Intel
GMA X3100 144mb vid card.

I got TF2 to work but there is one problem that I can't get through.

  1. TF2 loads.
  2. Loading to a server works fine.
  3. It stops at the welcome screen and freezes
  4. It goes like "da da da da da da" (You know what I mean, haha)
  5. I have to restart the computer.

I have my settings at

Resolution: 1152x720
Model Detail: High
Texture Detail: Medium
Shader Detail: High
Water Detail: Simple
Shadow Detail: Low
Antialiasing: None
Filtering Mode: Trilinear
VSync: Disabled
HDR: None
Bloom's been disabled as well.

-heapsize 512000 -dxlevel 90 -width 1152 -height 720 –window
–novid

So I have to drop my directx to 81?

http://img144.imageshack.us/img144/8621/picture4rw9.png
Other users go it to work fine on a macbook but I just can't get
past that welcome screen into a game! :(

John K, please do not hijack threads. If you have a new question, please start a new thread.

But to answer the issue: the GMA X3100 is pretty buggy. You say that you have to reboot your mac. If this happens, it is per definition a bug in the Kernel or drivers, since MacOS must prevent CrossOver from locking up your system(if crossover can do it accidentally, a Virus could do it deliberately)

Meanwhile, some bugs were fixed with MacOS 10.5.3. Please install this update if you haven't done so already.

Beyond that, I hope to get such a MacBook soon so I can look into this driver bugs and file proper bugreports in Apple's bugtracker to make a fix more likely.

1 to 38 of 38

CrossOver Forums: the place to discuss running Windows applications on Mac and Linux

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzMxNDM1MjAzLCJjc3JmX3Rva2VuIjoiMlJ5cFlGWkxaZzZyeXh3YSIsImdkcHIiOjB9