http://bugs.winehq.org/show_bug.cgi?id=13760
Summary: Rome Total War reports insufficient video memory at maximum quality Product: Wine Version: 1.0-rc4 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: neptunia@mail.ru
When running Rome Total War game, if fails to load the battle scene and exits with the following message in console:
Generic Error: Insufficient video memory to load requested texture set.
Under Windows it works well on the same machine and the same settings. The video card has 500 Mb video memory.
After setting to low quality, the game works well also.
http://bugs.winehq.org/show_bug.cgi?id=13760
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2008-06-07 20:22:50 --- What video card do you have with how much memory? What does Wine report the amount of memory as? (Enable d3d debug channel and search for "of texture ram".)
http://bugs.winehq.org/show_bug.cgi?id=13760
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |minor
http://bugs.winehq.org/show_bug.cgi?id=13760
--- Comment #2 from Ilya Chernykh neptunia@mail.ru 2008-06-08 05:48:13 --- Can you please describe what should I do to get this information?
http://bugs.winehq.org/show_bug.cgi?id=13760
--- Comment #3 from Austin English austinenglish@gmail.com 2008-06-08 19:32:15 --- (In reply to comment #2)
Can you please describe what should I do to get this information?
$ WINEDEBUG=+d3d wine your_program.exe | grep -i 'of texture ram'
http://bugs.winehq.org/show_bug.cgi?id=13760
--- Comment #4 from Ilya Chernykh neptunia@mail.ru 2008-06-10 22:17:32 --- trace:d3d:InitAdapters Emulating 256MB of texture ram
trace:d3d:IWineD3DDeviceImpl_GetAvailableTextureMem (0x12ded8) : simulating 256MB, returning 256MB left
While the physical volume is 500 MB
http://bugs.winehq.org/show_bug.cgi?id=13760
--- Comment #5 from Lei Zhang thestig@google.com 2008-06-17 19:23:28 --- You still haven't answered Vitaliy's question - what video card do you have?
http://bugs.winehq.org/show_bug.cgi?id=13760
--- Comment #6 from Ilya Chernykh neptunia@mail.ru 2008-06-17 20:34:48 --- GeForce 6800GS
http://bugs.winehq.org/show_bug.cgi?id=13760
--- Comment #7 from Lei Zhang thestig@google.com 2008-06-19 23:31:40 --- You can override the autodetection and set it yourself. [1] I'm not a wined3d expert, but I believe the autodetection is conservative. Since there are 6800GS cards with less than 512 MB of video ram, it sets it as such.
[1] http://wiki.winehq.org/UsefulRegistryKeys?highlight=VideoMemorySize
http://bugs.winehq.org/show_bug.cgi?id=13760
--- Comment #8 from Ilya Chernykh neptunia@mail.ru 2008-06-20 10:01:03 --- Well anyway I think i could be better if it could auto detect the actual RAM size (probably get this info from Linux?).
http://bugs.winehq.org/show_bug.cgi?id=13760
--- Comment #9 from Lei Zhang thestig@google.com 2008-06-20 12:49:25 --- Yes that would be nice, but can you try setting the registry key and see if that helps?
http://bugs.winehq.org/show_bug.cgi?id=13760
--- Comment #10 from Ilya Chernykh neptunia@mail.ru 2008-06-21 04:33:43 --- Can you please specify what I should place in the registry to change the video memory size?
I've created HKEY_CURRENT_USER\Software\Wine\Direct3D\VideoMemorySize as dword parameter and set it to 512(dec). But wine stile thinks I have 256 Mb video memory. Probably I did something wrong.
http://bugs.winehq.org/show_bug.cgi?id=13760
--- Comment #11 from Lei Zhang thestig@google.com 2008-06-26 12:07:58 --- No, it's because that registry setting / wiki description is misleading. The registry key sets the amount of texture memory, which probably is not be the same as the amount of memory set in directx.c.
http://bugs.winehq.org/show_bug.cgi?id=13760
--- Comment #12 from Lei Zhang thestig@google.com 2008-06-26 12:10:14 --- Created an attachment (id=14370) --> (http://bugs.winehq.org/attachment.cgi?id=14370) patch to override video card memory autodetection
Please try this patch. You can leave the VideoMemorySize registry key as it is.
If you run with WINEDEBUG=+d3d, it should say: "Use 512MB for vidmem"
http://bugs.winehq.org/show_bug.cgi?id=13760
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=13760
--- Comment #13 from Ilya Chernykh neptunia@mail.ru 2008-06-26 14:31:53 --- How can I use this patch?
http://bugs.winehq.org/show_bug.cgi?id=13760
--- Comment #14 from Austin English austinenglish@gmail.com 2008-06-26 15:23:58 --- (In reply to comment #13)
How can I use this patch?
http://wiki.winehq.org/Patching
http://bugs.winehq.org/show_bug.cgi?id=13760
--- Comment #15 from Ilya Chernykh neptunia@mail.ru 2008-06-26 23:43:13 --- I have no wine-git folder, where I should copy the patch?
http://bugs.winehq.org/show_bug.cgi?id=13760
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |WONTFIX
--- Comment #16 from Vitaliy Margolen vitaliy@kievinfo.com 2008-06-29 01:02:39 --- What are you patching? Wine already has an override for this. You have to use string parameter not a dwork for registry. You will be better of reading what the wiki page says right at the top.
Closing won't fix. There is no reliable way to get video memory size for _ALL_ cards on _ALL_ platforms.
http://bugs.winehq.org/show_bug.cgi?id=13760
Ilya Chernykh neptunia@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|WONTFIX |
--- Comment #17 from Ilya Chernykh neptunia@mail.ru 2008-06-29 02:12:31 --- I've changed the registry key. It now says that there 512 Mb of RAM when started in debug mode, but still exits with error message when starting a battle:
Insufficient video memory to load requested texture set.
So this bug should be reopened.
http://bugs.winehq.org/show_bug.cgi?id=13760
--- Comment #18 from Rico kgbricola@web.de 2008-06-29 03:40:47 --- Does this demo have the same issue http://www.gamershell.com/download_10207.shtml ?
Or do you have another link to a demo, which has the same issue?
http://bugs.winehq.org/show_bug.cgi?id=13760
--- Comment #19 from Ilya Chernykh neptunia@mail.ru 2008-06-29 05:02:24 --- With this demo the same issue: it reports insufficient video memory for textures, but I was unable to start the demo with any settings, even at the lowest quality.
http://bugs.winehq.org/show_bug.cgi?id=13760
Ilya Chernykh neptunia@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|minor |normal
http://bugs.winehq.org/show_bug.cgi?id=13760
Ilya Chernykh neptunia@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |minor
http://bugs.winehq.org/show_bug.cgi?id=13760
--- Comment #20 from Ilya Chernykh neptunia@mail.ru 2008-11-04 21:22:51 --- Still in Wine 1.1.7.
Also some units displayed in low detalization even if the level of unit detaliozation is set to high/highest (although the gameplay becomes significantly slower).
http://bugs.winehq.org/show_bug.cgi?id=13760
--- Comment #21 from Austin English austinenglish@gmail.com 2009-05-06 05:38:26 --- Is this still an issue in current (1.1.20 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=13760
--- Comment #22 from Ilya Chernykh neptunia@mail.ru 2009-05-06 10:04:50 --- I bought a new video card.
http://bugs.winehq.org/show_bug.cgi?id=13760
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |ABANDONED
--- Comment #23 from Austin English austinenglish@gmail.com 2009-05-06 10:56:05 --- No one else reported the problem, so marking abandoned.
http://bugs.winehq.org/show_bug.cgi?id=13760
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #24 from Austin English austinenglish@gmail.com 2009-05-06 11:01:12 --- Closing.