Hello,
I've done all the 'Right Things(tm)' in order to get opengl to
work under wine.
Here's my checklist:
-1- I checked the proper working of libGL.so
gears runs just nicely under linux
-2- I retrieved the latest and greatest wine src from CVS
-3- I did a ./configure --enable-opengl
-4- Built the sources, installed the binaries.
-5- Tried dll configs
Now, when running the glview.exe app, I get a black screen.
Further more, GLINFO gives back empty strings!
This is the output:
ew.exe idonia:/usr/local/lib$ wine --debugmsg +loaddll
/dosc/winapps/glview/glvie
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\kernel32.dll' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\msvcrt.dll' : native
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\crtdll.dll' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\advapi32.dll' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\gdi32.dll' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\user32.dll' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\glu32.dll' : native
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\dciman32.dll' : native
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\opengl32.dll' : native
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\winmm.dll' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\dsound.dll' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\ole32.dll' : native
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\shlwapi.dll' : native
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\urlmon.dll' : native
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\ddraw.dll' : builtin
err:win32:fixup_imports No implementation for shlwapi.dll.0(StrRetToBufA)
imported from shell32.dll, setting to 0xdeadbeef
err:win32:fixup_imports No implementation for shlwapi.dll.0(StrRetToBufW)
imported from shell32.dll, setting to 0xdeadbeef
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\comctl32.dll' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\shell32.dll' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\winspool.drv' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\comdlg32.dll' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\oleaut32.dll' : native
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\wininet.dll' : native
trace:loaddll:MODULE_LoadModule16 Loaded module 'krnl386.exe' : builtin
trace:loaddll:MODULE_LoadModule16 Loaded module 'system' : builtin
trace:loaddll:MODULE_LoadModule16 Loaded module 'wprocs' : builtin
trace:loaddll:MODULE_LoadModule16 Loaded module 'GDI.EXE' : builtin
trace:loaddll:MODULE_LoadModule16 Loaded module 'USER.EXE' : builtin
trace:loaddll:MODULE_LoadModule16 Loaded module 'display' : builtin
trace:loaddll:MODULE_LoadModule16 Loaded module 'dciman.dll' : native
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\WIN95\SYSTEM\wineoss.drv' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\msacm32.dll' : native
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\msacm.drv' : builtin
fixme:win32:DeviceIo_MMDEVLDR (5,(nil),0,0x403c957c,4,0x405b6a94,(nil)): stub
trace:loaddll:MODULE_LoadModule16 Loaded module 'msacm.dll' : native
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\midimap.drv' : builtin
trace:loaddll:MODULE_LoadModule16 Loaded module 'commdlg.dll' : builtin
FIXME:pthread_rwlock_rdlock
FIXME:pthread_rwlock_unlock
FIXME:pthread_rwlock_rdlock
FIXME:pthread_rwlock_unlock
FIXME:pthread_rwlock_rdlock
FIXME:pthread_rwlock_unlock
FIXME:pthread_rwlock_rdlock
FIXME:pthread_rwlock_unlock
If I try to get rid of the shlwapi error, by using:
"shlwapi" = "builtin, native"
I get:
$ wine --debugmsg +loaddll /dosc/winapps/glview/glvie
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\advapi32.dll' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\opengl32.dll' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\msvcrt.dll' : native
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\crtdll.dll' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\glu32.dll' : native
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\winmm.dll' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\dsound.dll' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\ole32.dll' : native
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\shlwapi.dll' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\urlmon.dll' : native
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\ddraw.dll' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\comctl32.dll' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\shell32.dll' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\winspool.drv' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\comdlg32.dll' : builtin
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\oleaut32.dll' : native
trace:loaddll:MODULE_LoadLibraryExA Loaded module
'C:\win95\system\wininet.dll' : native
trace:loaddll:MODULE_LoadModule16 Loaded module 'krnl386.exe' : builtin
trace:loaddll:MODULE_LoadModule16 Loaded module 'system' : builtin
trace:loaddll:MODULE_LoadModule16 Loaded module 'wprocs' : builtin
trace:loaddll:MODULE_LoadModule16 Loaded module 'GDI.EXE' : builtin
trace:loaddll:MODULE_LoadModule16 Loaded module 'USER.EXE' : builtin
err:module:BUILTIN32_LoadLibraryExA loaded .so but dll display.dll still not
found
FIXME:pthread_rwlock_rdlock
FIXME:pthread_rwlock_unlock
FIXME:pthread_rwlock_rdlock
FIXME:pthread_rwlock_unlock
FIXME:pthread_rwlock_rdlock
FIXME:pthread_rwlock_unlock
wine: sysmetrics.c:42: SYSMETRICS_Init: Assertion `hdc' failed.
Aborted
I also tried
"opengl32" = "builtin, native"
But that also gives the hdc assertion failure.
So, what should the config be for opengl32 and shlwapi, and
why are the glGetString return values empty?
many thx,
Bram Stolk
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Bram Stolk "A computer without ms-windows and ms-office is
bram.s@chello.nl like a chocolate cake without mustard and ketchup"