[Bug 39978] New: emulated_textureram has no sense. It is always real VideoMemory
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(a)winehq.org Reporter: isakov-sl(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39978 Sergey Isakov <isakov-sl(a)bk.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #53416|0 |1 is patch| | -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39978 Sebastian Lackner <sebastian(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian(a)fds-team.de --- Comment #1 from Sebastian Lackner <sebastian(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39978 Matteo Bruni <matteo.mystral(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Matteo Bruni <matteo.mystral(a)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. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39978 --- Comment #3 from Sergey Isakov <isakov-sl(a)bk.ru> --- May be it is Wineskin problem? This is not my mistake, I know what I do. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=39978 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Austin English <austinenglish(a)gmail.com> --- Closing. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org