Does Wine use past the first 64MB on any video card?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
slvclw
Newbie
Newbie
Posts: 2
Joined: Wed Nov 26, 2008 12:14 pm

Does Wine use past the first 64MB on any video card?

Post by slvclw »

Does Wine use past the first 64MB on any video card?
This question applies to all wine versions.

I have heard it stated before that wine only uses the first 64MB on your video card either in direct3d or opengl modes. Is this true?

If it is true is there a registry entry that can be added to make wine use past the first 64MB on your video card?

I apprecaite your help in this matter?
StringCheesian
Level 1
Level 1
Posts: 6
Joined: Wed Feb 27, 2008 5:05 pm

Post by StringCheesian »

The 64MB limitation was a long time ago. Wine has been changed to try to detect your video card and guess how much memory it has.

In case it guesses wrong, here is the registry key:
HKEY_CURRENT_USER -> Software -> Wine -> Direct3D -> VideoMemorySize
See http://wiki.winehq.org/UsefulRegistryKeys

For example: if the card is a GeForce 7600GS, those usually have 256MB and that will be wine's guess. However some have 512MB, in those cases it may be necessary to set the registry key manually if you want Windows apps to see more than 256MB.
slvclw
Newbie
Newbie
Posts: 2
Joined: Wed Nov 26, 2008 12:14 pm

can you add an opengl key as follows:

Post by slvclw »

Along the same line as the Direct3D key can you add an opengl key as follows:
HKEY_CURRENT_USER -> Software -> Wine -> OpenGL -> VideoMemorySize

Thanks again :)
StringCheesian wrote:The 64MB limitation was a long time ago. Wine has been changed to try to detect your video card and guess how much memory it has.

In case it guesses wrong, here is the registry key:
HKEY_CURRENT_USER -> Software -> Wine -> Direct3D -> VideoMemorySize
See http://wiki.winehq.org/UsefulRegistryKeys

For example: if the card is a GeForce 7600GS, those usually have 256MB and that will be wine's guess. However some have 512MB, in those cases it may be necessary to set the registry key manually if you want Windows apps to see more than 256MB.
Evil Jay

Does Wine use past the first 64MB on any video card?

Post by Evil Jay »

Along a similar line: Is there a way to easily detect the value Wine's
using for the memory size of your video card?

Also: I see from the docs that you set the value in MB, but do you need
to define it as a string, dword, or other? I would assume dword,
putting in the hex equivalent, but without knowing the answer to the
question above, it's impossible to test.

-J


StringCheesian wrote:
The 64MB limitation was a long time ago. Wine has been changed to try to detect your video card and guess how much memory it has.

In case it guesses wrong, here is the registry key:
HKEY_CURRENT_USER -> Software -> Wine -> Direct3D -> VideoMemorySize
See http://wiki.winehq.org/UsefulRegistryKeys

For example: if the card is a GeForce 7600GS, those usually have 256MB and that will be wine's guess. However some have 512MB, in those cases it may be necessary to set the registry key manually.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Does Wine use past the first 64MB on any video card?

Post by vitamin »

slvclw wrote:Does Wine use past the first 64MB on any video card?
This question applies to all wine versions.
Wine does not use video memory directly - OpenGL API does not allow that. Wine just creates objects (for example textures) and it's up to OGL where they are allocated.
Wine just "simulates" amount of memory for windows apps that want to know how much there is and how much left.
Evil Jay wrote:Along a similar line: Is there a way to easily detect the value Wine's
using for the memory size of your video card?
No, you will have to enable d3d debug channel and grep for "GetAvailableTextureMem"

Evil Jay wrote:Also: I see from the docs that you set the value in MB, but do you need
to define it as a string, dword, or other?
RTFM really helps: http://wiki.winehq.org/UsefulRegistryKeys (right at the top... bold text).
Evil Jay

Does Wine use past the first 64MB on any video card?

Post by Evil Jay »

Doh! Missed that in my hurry down to the appropriate key. Thanks!

vitamin wrote:
RTFM really helps: http://wiki.winehq.org/UsefulRegistryKeys (right at the top... bold text).
Locked