Hello everyone
I would like to know how AA works in wine, i.e. if I turn on AA in any game it wont work, the only option is to force it with nvidia-settings > override application settings. This does only work in backbuffer mode, trying to force AA in the FBO mode will crash the game or I just get a black screen. How can I use AA in FBO mode ? Is this option not introduced in wine yet ? I'm using 1.1.26 and FBO works great for all games here but I would like to turn on AA.
For example: I run Red Alert 3 or Fear 2 in backbuffer mode and can use AA but the game look very bad, no shaders and effects. If I run the game in FBO mode it looks great with high graphic settings but AA is not possible. I prefer nice graphics so I can live the the razor edges but any solution would be nice.
Thanks in Advance
Question about Anti Aliasing in FBO mode
-
- Level 5
- Posts: 336
- Joined: Mon Nov 24, 2008 8:10 am
First of all there are two types of AA the program can enable it itself OR you can force it using nvidia-settings. I believe in the second case indeed AA won't work because it isn't offered on plain FBOs.
In Wine we offer AA support (it is called multisampling) but due to some Nvidia driver bugs we have this code enabled (the bugs have been fixed, so I could re-enable it again). If you enable the Multisampling key (see http://wiki.winehq.org/UsefulRegistryKeys) the program should be able to enable AA again IF you enable it inside the game. This method of AA works using GLX and on Nvidia it only offers upto 4x. We still need to add proper multisampling support in Direct3D using FBOs using the FBO_multisample extension. I'm not sure if you'll get AA right now in your game but you could try it.
In Wine we offer AA support (it is called multisampling) but due to some Nvidia driver bugs we have this code enabled (the bugs have been fixed, so I could re-enable it again). If you enable the Multisampling key (see http://wiki.winehq.org/UsefulRegistryKeys) the program should be able to enable AA again IF you enable it inside the game. This method of AA works using GLX and on Nvidia it only offers upto 4x. We still need to add proper multisampling support in Direct3D using FBOs using the FBO_multisample extension. I'm not sure if you'll get AA right now in your game but you could try it.
Thanks for the quick response 
It doesnt work either way here, I were trying to set the Direct3D Value Multisampling enabled but in Fear 2 for example I get a black screen, just like when I was forcing AA with nv-settings. Red Alert 3 allows to turn on AA up to x4 but when I start a game its just without AA. I got a Nvidia Geforce 9800GTX+ and Nvidia 185.18.14 Driver, I will try to upgrade to 190.xx soon, that one is still beta but other people report on nvidia forums there is a performance boost and bug fixes that affect wine games as well.

It doesnt work either way here, I were trying to set the Direct3D Value Multisampling enabled but in Fear 2 for example I get a black screen, just like when I was forcing AA with nv-settings. Red Alert 3 allows to turn on AA up to x4 but when I start a game its just without AA. I got a Nvidia Geforce 9800GTX+ and Nvidia 185.18.14 Driver, I will try to upgrade to 190.xx soon, that one is still beta but other people report on nvidia forums there is a performance boost and bug fixes that affect wine games as well.