Wine 2.6 and CSMT question

Questions about Wine on Linux
Locked
fjfrackiewicz
Level 2
Level 2
Posts: 20
Joined: Sat Feb 20, 2016 7:19 pm

Wine 2.6 and CSMT question

Post by fjfrackiewicz »

Now that Wine 2.6 brings in CSMT from Wine Staging, how will we be able to turn it on or off? The reason I am asking is because sometimes CSMT affects games in a negative way and it would be nice to have a setting like in Wine Staging where you select a checkbox to turn this feature on or off...
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Wine 2.6 and CSMT question

Post by Bob Wya »

fjfrackiewicz wrote:Now that Wine 2.6 brings in CSMT from Wine Staging, how will we be able to turn it on or off? The reason I am asking is because sometimes CSMT affects games in a negative way and it would be nice to have a setting like in Wine Staging where you select a checkbox to turn this feature on or off...
Quick inspection of source code... :shock:
It's moved to a registry key:

Code: Select all

[HKEY_CURRENT_USER\Software\Wine\Direct3D]
"csmt"=dword:00000000
or

Code: Select all

[HKEY_CURRENT_USER\Software\Wine\AppDefaults\app.exe\Direct3D]
"csmt"=dword:00000000
Should be the ticket... 8)

Bob
fjfrackiewicz
Level 2
Level 2
Posts: 20
Joined: Sat Feb 20, 2016 7:19 pm

Re: Wine 2.6 and CSMT question

Post by fjfrackiewicz »

Bob Wya wrote:
fjfrackiewicz wrote:Now that Wine 2.6 brings in CSMT from Wine Staging, how will we be able to turn it on or off? The reason I am asking is because sometimes CSMT affects games in a negative way and it would be nice to have a setting like in Wine Staging where you select a checkbox to turn this feature on or off...
Quick inspection of source code... :shock:
It's moved to a registry key:

Code: Select all

[HKEY_CURRENT_USER\Software\Wine\Direct3D]
"csmt"=dword:00000000
or

Code: Select all

[HKEY_CURRENT_USER\Software\Wine\AppDefaults\app.exe\Direct3D]
"csmt"=dword:00000000
Should be the ticket... 8)

Bob
Hi Bob,

Thanks for the helpful reply:)

Two questions:

1. Which of those settings would turn it on or off globally?

2. What do I change the dword setting to? 1 or 0000001?
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Wine 2.6 and CSMT question

Post by Bob Wya »

fjfrackiewicz wrote:
Bob Wya wrote:...
It's moved to a registry key:

Code: Select all

[HKEY_CURRENT_USER\Software\Wine\Direct3D]
"csmt"=dword:00000000
or

Code: Select all

[HKEY_CURRENT_USER\Software\Wine\AppDefaults\app.exe\Direct3D]
"csmt"=dword:00000000
Should be the ticket... 8)

Bob
Hi Bob,

Thanks for the helpful reply:)

Two questions:

1. Which of those settings would turn it on or off globally?

2. What do I change the dword setting to? 1 or 0000001?
  1. They are the same!! The second example will only take effect when Wine is running app.exe
  2. Those values are both the same. The regedit import format is as I've listed above...
    See Registry Value Types ...
I'm on my phone - so I'm being a bit brief! 8)
Bob
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Wine 2.6 and CSMT question

Post by Bob Wya »

@fjfrackiewicz,

It's actually apparently very early/ immature support for CMST in vanilla Wine...
So Wine Staging will still be required to get increased performance from CMST...

See WineHQ Forums: Direct3D "CSMT" in wine-2.6 ...

Bob
Locked