https://bugs.winehq.org/show_bug.cgi?id=39978
Bug ID: 39978 Summary: emulated_textureram has no sense. It is always real VideoMemory Product: Wine Version: 1.9.1 Hardware: x86 OS: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: isakov-sl@bk.ru
Created attachment 53416 --> https://bugs.winehq.org/attachment.cgi?id=53416 change key name to be different form native
Current wine has a reading from registry ~~~ if ( !get_config_key( hkey, appkey, "VideoMemorySize", buffer, size) ) { int TmpVideoMemorySize = atoi(buffer); if(TmpVideoMemorySize > 0) { wined3d_settings.emulated_textureram = (UINT64)TmpVideoMemorySize *1024*1024; TRACE("Use %iMiB = 0x%s bytes for emulated_textureram\n",
~~~ assuming user can change this value. It doesn't happen. The value will change to real value before this reading will occur. There must be other registry key, for example "EmuVideoMemorySize". In this case this method is working. The patch attached.
https://bugs.winehq.org/show_bug.cgi?id=39978
Sergey Isakov isakov-sl@bk.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #53416|0 |1 is patch| |
https://bugs.winehq.org/show_bug.cgi?id=39978
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
--- Comment #1 from Sebastian Lackner sebastian@fds-team.de --- Where does Wine code set VideoMemorySize? I am not aware of any place where this is the case.
Also please note that patches have to be submitted on the wine-patches mailing list in order to get integrated into the development version of Wine.
https://bugs.winehq.org/show_bug.cgi?id=39978
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
--- Comment #2 from Matteo Bruni matteo.mystral@gmail.com --- No idea what's the native key you're talking about or what is writing to that registry key for you. Certainly nothing in upstream Wine.
https://bugs.winehq.org/show_bug.cgi?id=39978
--- Comment #3 from Sergey Isakov isakov-sl@bk.ru --- May be it is Wineskin problem? This is not my mistake, I know what I do.
https://bugs.winehq.org/show_bug.cgi?id=39978
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Austin English austinenglish@gmail.com --- Closing.