I can run wine only once without booting the X server. Even winecfg is
enough for this. I am able to run native games as many times as I want,
but after running wine even these don't work right (end up with a black
screen).
Any hints on how I could resolve this problem or find out more about is
is appreciated. I have tried to google the X error and go through wine
and nvidia lists, but there doesn't seem to be a problem like this.
Running Wine 0.9.24 on Debian unstable (also tried the deb in unstable,
same problem) with GeForce FX 5600 (driver 87.76). Last rows of
WINEDEBUG=+relay winecfg:
0009:Call ntdll.RtlNtStatusToDosError(c0000034) ret=7e932298
0009:Ret ntdll.RtlNtStatusToDosError() retval=00000002 ret=7e932298
0009:Ret advapi32.RegQueryValueExA() retval=00000002 ret=7e3d0472
0009:Call advapi32.RegQueryValueExA(0000003c,7e3edbf3
"PrivateColorMap",00000000,00000000,0033ecbc,0033edd0) ret=7e3d02a4
0009:Call ntdll.RtlInitAnsiString(0033ebec,7e3edbf3 "PrivateColorMap")
ret=7e932217
0009:Ret ntdll.RtlInitAnsiString() retval=00000010 ret=7e932217
0009:Call
ntdll.RtlAnsiStringToUnicodeString(7ffdcbf8,0033ebec,00000000)
ret=7e932238
0009:Ret ntdll.RtlAnsiStringToUnicodeString() retval=00000000
ret=7e932238
0009:Call
ntdll.NtQueryValueKey(0000003c,7ffdcbf8,00000002,0033eaec,00000100,0033ebf8)
ret=7e932280
0009:Ret ntdll.NtQueryValueKey() retval=c0000034 ret=7e932280
0009:Call ntdll.RtlNtStatusToDosError(c0000034) ret=7e932298
0009:Ret ntdll.RtlNtStatusToDosError() retval=00000002 ret=7e932298
0009:Ret advapi32.RegQueryValueExA() retval=00000002 ret=7e3d02a4
0009:Call advapi32.RegQueryValueExA(0000003c,7e3edc03
"PrimaryMonitor",00000000,00000000,0033ecbc,0033edd0) ret=7e3d0326
0009:Call ntdll.RtlInitAnsiString(0033ebec,7e3edc03 "PrimaryMonitor")
ret=7e932217
0009:Ret ntdll.RtlInitAnsiString() retval=0000000f ret=7e932217
0009:Call
ntdll.RtlAnsiStringToUnicodeString(7ffdcbf8,0033ebec,00000000)
ret=7e932238
0009:Ret ntdll.RtlAnsiStringToUnicodeString() retval=00000000
ret=7e932238
0009:Call
ntdll.NtQueryValueKey(0000003c,7ffdcbf8,00000002,0033eaec,00000100,0033ebf8)
ret=7e932280
0009:Ret ntdll.NtQueryValueKey() retval=c0000034 ret=7e932280
0009:Call ntdll.RtlNtStatusToDosError(c0000034) ret=7e932298
0009:Ret ntdll.RtlNtStatusToDosError() retval=00000002 ret=7e932298
0009:Ret advapi32.RegQueryValueExA() retval=00000002 ret=7e3d0326
0009:Call advapi32.RegQueryValueExA(0000003c,7e3edc12
"CopyDefaultColors",00000000,00000000,0033ecbc,0033edd0) ret=7e3d02e5
0009:Call ntdll.RtlInitAnsiString(0033ebec,7e3edc12
"CopyDefaultColors") ret=7e932217
0009:Ret ntdll.RtlInitAnsiString() retval=00000012 ret=7e932217
0009:Call
ntdll.RtlAnsiStringToUnicodeString(7ffdcbf8,0033ebec,00000000)
ret=7e932238
0009:Ret ntdll.RtlAnsiStringToUnicodeString() retval=00000000
ret=7e932238
0009:Call
ntdll.NtQueryValueKey(0000003c,7ffdcbf8,00000002,0033eaec,00000100,0033ebf8)
ret=7e932280
0009:Ret ntdll.NtQueryValueKey() retval=c0000034 ret=7e932280
0009:Call ntdll.RtlNtStatusToDosError(c0000034) ret=7e932298
0009:Ret ntdll.RtlNtStatusToDosError() retval=00000002 ret=7e932298
0009:Ret advapi32.RegQueryValueExA() retval=00000002 ret=7e3d02e5
0009:Call advapi32.RegQueryValueExA(0000003c,7e3edc24
"AllocSystemColors",00000000,00000000,0033ecbc,0033edd0) ret=7e3d0263
0009:Call ntdll.RtlInitAnsiString(0033ebec,7e3edc24
"AllocSystemColors") ret=7e932217
0009:Ret ntdll.RtlInitAnsiString() retval=00000012 ret=7e932217
0009:Call
ntdll.RtlAnsiStringToUnicodeString(7ffdcbf8,0033ebec,00000000)
ret=7e932238
0009:Ret ntdll.RtlAnsiStringToUnicodeString() retval=00000000
ret=7e932238
0009:Call
ntdll.NtQueryValueKey(0000003c,7ffdcbf8,00000002,0033eaec,00000100,0033ebf8)
ret=7e932280
0009:Ret ntdll.NtQueryValueKey() retval=c0000034 ret=7e932280
0009:Call ntdll.RtlNtStatusToDosError(c0000034) ret=7e932298
0009:Ret ntdll.RtlNtStatusToDosError() retval=00000002 ret=7e932298
0009:Ret advapi32.RegQueryValueExA() retval=00000002 ret=7e3d0263
0009:Call advapi32.RegQueryValueExA(0000003c,7e3ef709
"InputStyle",00000000,00000000,7e3fa800,0033edd0) ret=7e3d0071
0009:Call ntdll.RtlInitAnsiString(0033ebec,7e3ef709 "InputStyle")
ret=7e932217
0009:Ret ntdll.RtlInitAnsiString() retval=0000000b ret=7e932217
0009:Call
ntdll.RtlAnsiStringToUnicodeString(7ffdcbf8,0033ebec,00000000)
ret=7e932238
0009:Ret ntdll.RtlAnsiStringToUnicodeString() retval=00000000
ret=7e932238
0009:Call
ntdll.NtQueryValueKey(0000003c,7ffdcbf8,00000002,0033eaec,00000100,0033ebf8)
ret=7e932280
0009:Ret ntdll.NtQueryValueKey() retval=c0000034 ret=7e932280
0009:Call ntdll.RtlNtStatusToDosError(c0000034) ret=7e932298
0009:Ret ntdll.RtlNtStatusToDosError() retval=00000002 ret=7e932298
0009:Ret advapi32.RegQueryValueExA() retval=00000002 ret=7e3d0071
0009:Call advapi32.RegCloseKey(0000003c) ret=7e3d0095
0009:Call ntdll.NtClose(0000003c) ret=7e92d738
0009:Ret ntdll.NtClose() retval=00000000 ret=7e92d738
0009:Call ntdll.RtlNtStatusToDosError(00000000) ret=7e92d743
0009:Ret ntdll.RtlNtStatusToDosError() retval=00000000 ret=7e92d743
0009:Ret advapi32.RegCloseKey() retval=00000000 ret=7e3d0095
0009:Call kernel32.TlsAlloc() ret=7e3d009d
0009:Call ntdll.RtlAcquirePebLock() ret=7ee84c5c
0009:Ret ntdll.RtlAcquirePebLock() retval=00000000 ret=7ee84c5c
0009:Call ntdll.RtlFindClearBitsAndSet(7efff78c,00000001,00000000)
ret=7ee84c79
0009:Ret ntdll.RtlFindClearBitsAndSet() retval=00000000 ret=7ee84c79
0009:Call ntdll.RtlReleasePebLock() ret=7ee84c91
0009:Ret ntdll.RtlReleasePebLock() retval=00000000 ret=7ee84c91
0009:Ret kernel32.TlsAlloc() retval=00000000 ret=7e3d009d
0009:Call ntdll.RtlEnterCriticalSection(7e3f5000) ret=7e3cf2a0
0009:Ret ntdll.RtlEnterCriticalSection() retval=00000000 ret=7e3cf2a0
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 145 (NV-GLX)
Minor opcode of failed request: 4 ()
Resource id in failed request: 0x20e
Serial number of failed request: 19
Current serial number in output stream: 19