Re: Kernel32: 3GB UserSpace boot option

2008-10-17 Thread Alexandre Julliard
"Stefan Reimer" <[EMAIL PROTECTED]> writes: > I reverted my changes to mmap.c mmap_init back to > char *user_space_limit = (char *)0x7ffe; > but keeping the 0xBFFE in GetSystemInfo. > > Everquest2 crashes after some minutes. I got following errors in log: > err:d3d:CreateIndexBufferVBO Fai

Re: Kernel32: 3GB UserSpace boot option

2008-10-16 Thread Stefan Reimer
> "Stefan Reimer" <[EMAIL PROTECTED]> writes: > >> compiling binaries with the LARGE_ADDRESS_AWARE flag set is not enough >> to >> be able to use more than 2GB user space. >> To behave like WindowsXP booted with the /3GB option, at least the >> lpMaximumApplicationAddress in GetSystemInfo has to be

Re: Kernel32: 3GB UserSpace boot option

2008-10-16 Thread Alexandre Julliard
"Stefan Reimer" <[EMAIL PROTECTED]> writes: > compiling binaries with the LARGE_ADDRESS_AWARE flag set is not enough to > be able to use more than 2GB user space. > To behave like WindowsXP booted with the /3GB option, at least the > lpMaximumApplicationAddress in GetSystemInfo has to be changed t

Re: Kernel32: 3GB UserSpace boot option

2008-10-16 Thread Stefan Reimer
Hi, compiling binaries with the LARGE_ADDRESS_AWARE flag set is not enough to be able to use more than 2GB user space. To behave like WindowsXP booted with the /3GB option, at least the lpMaximumApplicationAddress in GetSystemInfo has to be changed to 0xBFFE and the virtual user space has to be

Re: Kernel32: 3GB UserSpace boot option

2008-10-15 Thread Dmitry Timoshkov
You still need to prove the second part of your claims. Please don't omit wine-devel from the cc: list. [I'm intentionally top posting so that you caould see why it's bad] "Stefan Reimer" <[EMAIL PROTECTED]> wrote: > Yeap I did, see: > > [EMAIL PROTECTED] ~ $ winedump .wine/drive_c/Program\ Fi

Re: Kernel32: 3GB UserSpace boot option

2008-10-15 Thread Chris Robinson
On Wednesday 15 October 2008 01:37:46 am Dmitry Timoshkov wrote: > There is no need for hacks like that, 3 Gb address space limit is already > implemented in Wine, but is being activated only for applications marked > as IMAGE_FILE_LARGE_ADDRESS_AWARE for obvious reasons. Doesn't that only work if

Re: Kernel32: 3GB UserSpace boot option

2008-10-15 Thread Dmitry Timoshkov
"Stefan Reimer" <[EMAIL PROTECTED]> wrote: > The EQ2 binary is large address aware. > > Windows changes it upper most user space address from 0x7FFE to > 0xBFFE booting with /3GB and this is not possible in wine right now as > I think. Did you really check that? -- Dmitry.

Re: Kernel32: 3GB UserSpace boot option

2008-10-15 Thread Stefan Reimer
The EQ2 binary is large address aware. Windows changes it upper most user space address from 0x7FFE to 0xBFFE booting with /3GB and this is not possible in wine right now as I think. Stefan > "Stefan Reimer" <[EMAIL PROTECTED]> wrote: > >> I hacked wine to enable 3GB user address space j

Re: Kernel32: 3GB UserSpace boot option

2008-10-15 Thread Dmitry Timoshkov
"Stefan Reimer" <[EMAIL PROTECTED]> wrote: > I hacked wine to enable 3GB user address space just like the /3GB boot.ini > option for windows. ( see patch ) > This actually works like a charm playing everquest2 which crashes from > time to time without this patch due to running out of memory. > >

Re: Kernel32: 3GB UserSpace boot option

2008-10-15 Thread Scott Ritchie
Stefan Reimer wrote: > Hi, > I hacked wine to enable 3GB user address space just like the /3GB boot.ini > option for windows. ( see patch ) > This actually works like a charm playing everquest2 which crashes from > time to time without this patch due to running out of memory. Coincidentally, I saw

Kernel32: 3GB UserSpace boot option

2008-10-15 Thread Stefan Reimer
Hi, I hacked wine to enable 3GB user address space just like the /3GB boot.ini option for windows. ( see patch ) This actually works like a charm playing everquest2 which crashes from time to time without this patch due to running out of memory. To do it right, should this "3GB Option" be enabled