You are not logged in.
Pages: 1
I am running the latest wine with this patch from the gentoo forum:
--- libs/wine/mmap.c.old 2005-06-20 13:43:47.000000000 +0200
+++ libs/wine/mmap.c 2005-10-14 21:49:54.794346832 +0200
@@ -161,6 +161,26 @@
#endif /* (__svr4__ || __NetBSD__) && !MAP_TRYFIXED */
+static void *get_anon_mmap_null_address(size_t size)
+{
+ static int got_override = 0;
+ static void *low_alloc_ptr = NULL;
+ void * current_low_alloc_ptr;
+
+ if (!got_override)
+ {
+ low_alloc_ptr = (void*)0x10000000;
+ got_override = 1;
+ //printf("gaak!n");
+ }
+
+ current_low_alloc_ptr = low_alloc_ptr;
+
+ if (low_alloc_ptr)
+ low_alloc_ptr += size;
+
+ return current_low_alloc_ptr;
+ }
/***********************************************************************
* wine_anon_mmap
@@ -209,6 +229,9 @@
return start;
#endif
}
+ if ((start == NULL) && !(flags & MAP_FIXED))
+ start = get_anon_mmap_null_address(size);
+
return mmap( start, size, prot, flags, fdzero, 0 );
#else
return (void *)-1;
--- loader/preloader.c.old 2005-06-02 12:30:08.000000000 +0200
+++ loader/preloader.c 2005-10-14 21:51:16.529921136 +0200
@@ -110,7 +110,7 @@
{
{ (void *)0x00000000, 0x00110000 }, /* DOS area */
{ (void *)0x7ffe0000, 0x01020000 }, /* shared user data + shared heap */
- { (void *)0x00110000, 0x1fef0000 }, /* PE exe range (may be set with WINEPRELOADRESERVE), defaults to 512mb */
+ { (void *)0x10000000, 0x00f00000 }, /* PE exe range (may be set with WINEPRELOADRESERVE), defaults to 512mb */
{ 0, 0 } /* end of list */
};
--- dlls/opengl32/opengl_norm.c.old 2005-12-08 15:00:20.000000000 +0100
+++ dlls/opengl32/opengl_norm.c 2005-12-22 03:18:50.724579320 +0100
@@ -2367,7 +2367,7 @@
void WINAPI wine_glPolygonOffset( GLfloat factor, GLfloat units ) {
TRACE("(%f, %f)n", factor, units );
ENTER_GL();
- glPolygonOffset( factor, units );
+ glPolygonOffset( -factor, units );
LEAVE_GL();
}
Then I run /home/WoW/wine WoW.exe -opengl.
The screen turns black for a second, then kicks me back to the terminal. I can hear the sound playing in the background, and have to alt-tab out of the program inorder to ctrl-c it to close it. Here is what is displayed in the terminal:
fixme:advapi:SetSecurityInfo stub
fixme:powrprof:DllMain (0x4d4f0000, 1, (nil)) not fully implemented
fixme:ntdll:NtPowerInformation Unimplemented NtPowerInformation action: 11
fixme:powrprof:DllMain (0x4d4f0000, 0, (nil)) not fully implemented
fixme:win:EnumDisplayDevicesW ((null),0,0x4068eee8,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x4068f154,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x4068f6f4,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x4068f6f4,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x4068f65c,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x4068f648,0x00000000), stub!
fixme:system:SystemParametersInfoW Unimplemented action: 113 (SPI_SETMOUSESPEED)
fixme:win:EnumDisplayDevicesW ((null),0,0x4068ee60,0x00000000), stub!
fixme:system:SystemParametersInfoW Unimplemented action: 112 (SPI_GETMOUSESPEED)
fixme:system:SystemParametersInfoW Unimplemented action: 113 (SPI_SETMOUSESPEED)
fixme:sync:CreateIoCompletionPort (0xffffffff, (nil), 00000000, 00000000): stub.
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECT_TIMEOUT (5000): STUB
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_RECEIVE_TIMEOUT: STUB
fixme:wininet:InternetSetOptionW Option 45 STUB
err:ntdll:RtlpWaitForCriticalSection section 0x40202de4 "loader.c: loader_section" wait timed out in thread 0017, blocked by 0016, retrying (60 sec)
fixme:system:SystemParametersInfoW Unimplemented action: 113 (SPI_SETMOUSESPEED)
fixme:system:SystemParametersInfoW Unimplemented action: 113 (SPI_SETMOUSESPEED)
fixme:win:EnumDisplayDevicesW ((null),0,0x4068df3c,0x00000000), stub!
fixme:opengl:wglQueryPbufferARB unsupported WGL_PBUFFER_LOST_ARB (need glXSelectEvent/GLX_DAMAGED work)
fixme:opengl:wglQueryPbufferARB unsupported WGL_PBUFFER_LOST_ARB (need glXSelectEvent/GLX_DAMAGED work)
Any suggestions on fixing this?
Thanks for the help,
Chris
Offline
Is that the patch for 0.9.4? Because that looks like one of the patches needed for earlier versions of Wine.
Offline
As far as I know, it's for 0.9.4
Offline
0.9.4 caused the same trouble for me, 0.9.3 works fine, with the new 1.9 patch, this package works fine for me.
http://soulfly.nl/~arjan/hylke/wine-0.9.3-1.pkg.tar.gz i compiled it for me and a friend of mine.
Freedom is what i love
Offline
Many thanks. I'll try right now.
Oh and one other thing, whenever I'm in winecfg and I click on the audio tab, the whole bugger crashes and gives me the backtrace stuff. Near as I can tell, this is the source of the problem.
ALSA lib pcm_dmix.c:762:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib seq_hw.c:455:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
*** glibc detected *** /usr/bin/wine-pthread: free(): invalid pointer: 0x7c016460 ***
Now my question is such, where do I go to edit the files to tell the stupid programs to stop looking for /dev/snd/seq? Or conversly if it should be on the system, why in the name of bob it isn't?
Offline
Pages: 1