Cannot get kerneltime or usertime of other threads

Questions about Wine on Linux
Locked
amera_09
Level 3
Level 3
Posts: 88
Joined: Mon Dec 09, 2019 6:47 pm

Cannot get kerneltime or usertime of other threads

Post by amera_09 »

Help!

Code: Select all

libudev: udev_monitor_new_from_netlink_fd: error getting socket: Permission denied
0028:err:plugplay:deviceloop_thread Can't init SDL: Could not initialize UDEV                        libudev: udev_monitor_new_from_netlink_fd: error getting socket: Permission denied                                                                                      libudev: udev_monitor_new_from_netlink_fd: error getting socket: Permission denied
0028:err:plugplay:deviceloop_thread Can't init SDL: Could not initialize UDEV                        libudev: udev_monitor_new_from_netlink_fd: error getting socket: Permission denied
0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
002f:fixme:dwmapi:DwmEnableMMCSS (1) stub                                                            002f:fixme:ntdll:server_ioctl_file Unsupported ioctl 9c040 (device=9 access=3 func=10 method=0)
002f:fixme:ntdll:server_ioctl_file Unsupported ioctl 9c040 (device=9 access=3 func=10 method=0)
002f:fixme:win:EnumDisplayDevicesW ((null),0,0x33e3a8,0x00000000), stub!
0038:fixme:kernelbase:AppPolicyGetThreadInitializationType 0xfffffffa, 0x569fea4                     003b:fixme:kernelbase:AppPolicyGetThreadInitializationType 0xfffffffa, 0x59cfea4
0036:fixme:kernelbase:AppPolicyGetThreadInitializationType 0xfffffffa, 0x547fea4
003a:fixme:kernelbase:AppPolicyGetThreadInitializationType 0xfffffffa, 0x58bfea4
0039:fixme:kernelbase:AppPolicyGetThreadInitializationType 0xfffffffa, 0x57afea4
0037:fixme:kernelbase:AppPolicyGetThreadInitializationType 0xfffffffa, 0x558fea4
0035:fixme:kernelbase:AppPolicyGetThreadInitializationType 0xfffffffa, 0x536fea4
0034:fixme:kernelbase:AppPolicyGetThreadInitializationType 0xfffffffa, 0x525fea4
002f:fixme:win:EnumDisplayDevicesW ((null),0,0x33e4e0,0x00000000), stub!
002f:fixme:win:EnumDisplayDevicesW ((null),0,0x33ebd0,0x00000000), stub!
002f:fixme:win:EnumDisplayDevicesW (L"\\\\.\\DISPLAY1",0,0x33ebd0,0x00000000), stub!
002f:fixme:win:EnumDisplayDevicesW (L"\\\\.\\DISPLAY1",1,0x33ebd0,0x00000000), stub!
002f:fixme:win:EnumDisplayDevicesW ((null),1,0x33ebd0,0x00000000), stub!
002f:fixme:win:EnumDisplayDevicesW ((null),0,0x33ebd0,0x00000000), stub!
002f:fixme:win:EnumDisplayDevicesW ((null),1,0x33ebd0,0x00000000), stub!                             shm_open() failed: Permission denied
002f:fixme:dinput:IDirectInputDevice2WImpl_EnumEffects (this=0x1ebad4,0x3e9880,0x127be6c0,0x00000000): stub!
002f:fixme:dinput:IDirectInputDevice2WImpl_EnumEffects (this=0x1ebad4,0x3e9880,0x127c2d00,0x00000000): stub!
002f:fixme:thread:NtQueryInformationThread Cannot get kerneltime or usertime of other threads
/code]
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Cannot get kerneltime or usertime of other threads

Post by Bob Wya »

@amera_09

You'll need to use Wine Staging, to test your application.

Specially the patchset ntdll-ThreadTime:

Code: Select all

0001-ntdll-Return-correct-values-in-GetThreadTimes-for-al.patch
0002-ntdll-Set-correct-thread-creation-time-for-SystemPro.patch
0003-ntdll-Fill-process-kernel-and-user-time.patch
0004-ntdll-Set-process-start-time.patch
0005-ntdll-Fill-out-thread-times-in-process-enumeration.patch
0006-ntdll-Fill-process-virtual-memory-counters-in-NtQuer.patch
Bob
amera_09
Level 3
Level 3
Posts: 88
Joined: Mon Dec 09, 2019 6:47 pm

Re: Cannot get kerneltime or usertime of other threads

Post by amera_09 »

Help!
winehq-stable removed auto ?

Code: Select all

root@localhost:~$ winecfg
wine: created the configuration directory '/root/.wine'
wine client error:0: version mismatch 581/571.
Your wine binary was not upgraded correctly,
or you have an older one somewhere in your PATH.
amera_09
Level 3
Level 3
Posts: 88
Joined: Mon Dec 09, 2019 6:47 pm

Re: Cannot get kerneltime or usertime of other threads

Post by amera_09 »

Well it's not an error
This is sad
amera_09
Level 3
Level 3
Posts: 88
Joined: Mon Dec 09, 2019 6:47 pm

Re: Cannot get kerneltime or usertime of other threads

Post by amera_09 »

Code: Select all

 $ wine God\ Of\ War\ II.exe
000b:fixme:winediag:start_process Wine Staging 4.7 is a testing version containing experimental patches.
000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
libudev: udev_monitor_new_from_netlink_fd: error getting socket: Permission denied
0028:err:plugplay:deviceloop_thread Can't init SDL: Could not initialize UDEV
libudev: udev_monitor_new_from_netlink_fd: error getting socket: Permission denied
0009:fixme:exec:SHELL_execute flags ignored: 0x00000100
002f:fixme:dwmapi:DwmEnableMMCSS (1) stub
002f:fixme:ntdll:server_ioctl_file Unsupported ioctl 9c040 (device=9 access=3 func=10 method=0)
002f:fixme:ntdll:server_ioctl_file Unsupported ioctl 9c040 (device=9 access=3 func=10 method=0)
shm_open() failed: Permission denied
002f:fixme:dinput:IDirectInputDevice2WImpl_EnumEffects (this=0x1baf8c,0x3e9880,0xda60510,0x00000000): stub!
002f:fixme:dinput:IDirectInputDevice2WImpl_EnumEffects (this=0x1baf8c,0x3e9880,0xda4c4b8,0x00000000): stub!
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Cannot get kerneltime or usertime of other threads

Post by jkfloris »

$ wine God\ Of\ War\ II.exe
Is this still the same pirated version as in viewtopic.php?t=33300#p125753
amera_09
Level 3
Level 3
Posts: 88
Joined: Mon Dec 09, 2019 6:47 pm

Re: Cannot get kerneltime or usertime of other threads

Post by amera_09 »

Yeah why it's locked+
User avatar
dimesio
Moderator
Moderator
Posts: 13202
Joined: Tue Mar 25, 2008 10:30 pm

Re: Cannot get kerneltime or usertime of other threads

Post by dimesio »

Pirated software is not supported and discussion of it is against forum rules. Do not post any more questions about it or you will be banned.
Locked