VideoMemorySize registry key not being applied? [wine-1.1.2]

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
bradl3yj
Newbie
Newbie
Posts: 1
Joined: Sat Aug 02, 2008 2:54 pm

VideoMemorySize registry key not being applied? [wine-1.1.2]

Post by bradl3yj »

I am using Ubuntu Hardy, using the latest release of wine from the wine repos. I have an nVidia 7600GT with 256MB of video memory. One windows game i installed, Medal of Honor Allied Assault, has a simple config utility that sets game settings based on your hardware. This utility is detecting only 64MB of video memory.

I tried setting it using wine regedit, HKCU>Software>Wine>Direct3d

Set a string value under that named "VideoMemorySize" and set it to 256, the MOHAA Config still reports 64MB. I tried setting it as a decimal DWORD value instead, same.

This could be a bug in the MOHAA config, but how do I know that other games are taking advantage of more than 64MB?

Other Details:
nVidia Proprietary Driver 173.14.09 (Installed using EnvyNG)

Output of lspci -v -s 01:00.0:

Code: Select all

01:00.0 VGA compatible controller: nVidia Corporation G70 [GeForce 7600 GT] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: eVga.com. Corp. Unknown device c555
	Flags: bus master, fast devsel, latency 0, IRQ 18
	Memory at d0000000 (32-bit, non-prefetchable) [size=16M]
	Memory at c0000000 (64-bit, prefetchable) [size=256M]
	Memory at d1000000 (64-bit, non-prefetchable) [size=16M]
	I/O ports at a000 [size=128]
	[virtual] Expansion ROM at d2000000 [disabled] [size=128K]
	Capabilities: <access denied>
UPDATE: It seems the value is meant to be a String Value, not DWORD. the MOHAA config tool does not seem to detect anything above 64MB. Interesting thing, when i set VideoMemorySize to 16, MOHAA config shows 32, when i set it to 32, MOHAA config shows 64. Is there a windows program anyone knows which i can run under wine to show my actual video memory amount?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: VideoMemorySize registry key not being applied? [wine-1.

Post by vitamin »

bradl3yj wrote:I am using Ubuntu Hardy, using the latest release of wine from the wine repos. I have an nVidia 7600GT with 256MB of video memory. One windows game i installed, Medal of Honor Allied Assault, has a simple config utility that sets game settings based on your hardware. This utility is detecting only 64MB of video memory.

I tried setting it using wine regedit, HKCU>Software>Wine>Direct3d

Set a string value under that named "VideoMemorySize" and set it to 256, the MOHAA Config still reports 64MB. I tried setting it as a decimal DWORD value instead, same.
All Wine registry entries are strings unless explicitly stated in http://wiki.winehq.org/UsefulRegistryKeys

So you need to create string value and enter number (in megabytes). Your case that would be "256".
Jochen

VideoMemorySize registry key not being applied? [wine-1.1.2]

Post by Jochen »

vitamin schrieb:
bradl3yj wrote:
I am using Ubuntu Hardy, using the latest release of wine from the
wine repos. I have an nVidia 7600GT with 256MB of video memory. One
windows game i installed, Medal of Honor Allied Assault, has a
simple config utility that sets game settings based on your
hardware. This utility is detecting only 64MB of video memory.

I tried setting it using wine regedit, HKCU>Software>Wine>Direct3d

Set a string value under that named "VideoMemorySize" and set it to
256, the MOHAA Config still reports 64MB. I tried setting it as a
decimal DWORD value instead, same.
All Wine registry entries are strings unless explicitly stated in
http://wiki.winehq.org/UsefulRegistryKeys

So you need to create string value and enter number (in megabytes).
Your case that would be "256".
I might not get something here, but isn't that exactly what he did?

bye Jochen
Locked