Forwarding to wine-devel. Please remember to use the "reply all" button next time. Thank you!

On Mon, Sep 12, 2022, 11:11 AM Owen Hogarth <gurenchan@gmail.com> wrote:
Hello guys, I am trying to get this program; R Trader Pro to work on Linux.
I installed winetricks and then I received some different errors.

I would like to fix the problem but I would also like to avoid doing unnecessary work, that's why I am asking on the development mailing list.

Here's the new error log, is it possible to get the program working?
017c:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
0174:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
0174:fixme:file:NtLockFile I/O completion on lock not implemented yet
0174:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0194:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
0174:fixme:wincodecs:jpeg_decoder_get_metadata_blocks stub
0174:fixme:imm:ImeSetActiveContext (0x2ca590, 1): stub
0174:fixme:imm:ImmReleaseContext (0004006E, 002CA590): stub
017c:fixme:imm:ImeSetActiveContext (0x3c780, 0): stub
017c:fixme:imm:ImmReleaseContext (0000000000020082, 000000000003C780): stub
0174:fixme:wincodecs:jpeg_decoder_get_metadata_blocks stub
0174:err:richedit:ReadStyleSheet skipping optional destination
0174:err:richedit:ReadStyleSheet skipping optional destination
0174:err:richedit:ReadStyleSheet skipping optional destination
0174:fixme:wincodecs:jpeg_decoder_get_metadata_blocks stub
0174:fixme:wincodecs:jpeg_decoder_get_metadata_blocks stub
0174:fixme:wincodecs:jpeg_decoder_get_metadata_blocks stub
0174:fixme:msi:ITERATE_CreateShortcuts poorly handled shortcut format, advertised shortcut
0174:fixme:msi:ITERATE_CreateShortcuts poorly handled shortcut format, advertised shortcut
0174:fixme:msi:ITERATE_CreateShortcuts poorly handled shortcut format, advertised shortcut
01e8:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
01f0:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
01e0:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
01f8:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
regsvr32: Successfully registered DLL 'C:\Program Files (x86)\Rithmic\Rithmic Trader Pro\StockChartX.ocx'
0174:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
0174:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
0174:fixme:wincodecs:jpeg_decoder_get_metadata_blocks stub
0200:err:winediag:is_broken_driver Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead.
0200:fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.5.2" not implemented
0200:fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.5.2" not implemented
0200:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0200:fixme:nls:GetFileMUIPath stub: 0x10, L"C:\\windows\\system32\\tzres.dll", (null), 0032EE98, 00DAA728, 0032EE9C, 0032EE90
0200:fixme:nls:GetFileMUIPath stub: 0x10, L"C:\\windows\\system32\\tzres.dll", (null), 0032EE98, 00DAA728, 0032EE9C, 0032EE90
0200:fixme:nls:GetFileMUIPath stub: 0x10, L"C:\\windows\\system32\\tzres.dll", (null), 0032EE98, 00DAA728, 0032EE9C, 0032EE90
0200:fixme:imm:ImeSetActiveContext (0xdc41c0, 1): stub
0200:fixme:imm:ImmReleaseContext (00030080, 00DC41C0): stub
0200:fixme:winsock:errno_from_unix unknown error: Device or resource busy
0200:err:winediag:getaddrinfo Failed to resolve your host name IP
0218:fixme:wbemprox:wbem_locator_ConnectServer authentication not supported
0218:fixme:wbemprox:wbem_locator_ConnectServer specific locale not supported
0218:fixme:wbemprox:wbem_locator_ConnectServer unsupported flags
021c:fixme:wbemprox:wbem_locator_ConnectServer authentication not supported
021c:fixme:wbemprox:wbem_locator_ConnectServer specific locale not supported
021c:fixme:wbemprox:wbem_locator_ConnectServer unsupported flags
wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available.
0200:fixme:winsock:errno_from_unix unknown error: Device or resource busy
0200:err:winediag:getaddrinfo Failed to resolve your host name IP
0200:fixme:winsock:errno_from_unix unknown error: Device or resource busy
0200:err:winediag:getaddrinfo Failed to resolve your host name IP
An error occured while contacting the license server.

Raised in : com.omnesys.omne.om.OMField
Method    : OMsetData
Error     : no data
Raised in :  31004 1 unknown host 20014 1 unknown addr

Method    : OMaddData
Error     : create error
Please contact Omnesys Technologies Inc., at www.omnesys.com.

On Mon, Sep 12, 2022 at 8:51 AM Jin-oh Kang <jinoh.kang.kr@gmail.com> wrote:
On Mon, Sep 12, 2022, 9:46 AM Zebediah Figura <zfigura@codeweavers.com> wrote:
On 9/11/22 19:38, Jin-oh Kang wrote:
>> and secondly because it's actually quite hard if not
>> impossible to implement (POSIX has no way to wait for a mandatory lock,
>> for instance).
>>
>
> We don't use POSIX locks to implement file locks; they are emulated
> entirely in the server, which I guess is specifically designed to avoid
> that problem with POSIX file lock semantics. Thus, this won't be *that*
> hard to implement; nonetheless, asynchronous I/O is not really easy to
> implement in general, especially for those new to wine codebase.

I don't see where you're getting that; we do indeed use POSIX locks. See
set_unix_lock() in server/fd.c.

I stand corrected.

There's no poll() for file locks, so it would have to busy-wait anyway.

I did incorrectly use the term
"mandatory", though; we don't set mandatory locks on a file.