Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cpu at 100% when rendering panel is focused... #4

Open
masavini opened this issue Jun 20, 2020 · 0 comments
Open

cpu at 100% when rendering panel is focused... #4

masavini opened this issue Jun 20, 2020 · 0 comments

Comments

@masavini
Copy link

masavini commented Jun 20, 2020

hi,
thank for your work, this seems to be the only working docker image for sketchup.
i'm having a problem, however: when sketchup is running, host cpu goes to 100% when the rendering panel is focused, even if the open file is empty and the application is doing nothing...
2 processes are constantly using 70-80% of a cpu each: wineserver and SketchUp.exe.

if i open any dialog, instead, the cpu goes immediately quiet.

this is the log:

$docker run --read-only --tmpfs /tmp -v /tmp/.wine-$(id -u) -e DISPLAY=$DISPLAY --security-opt=label:type:spc_t --user=$(id -u):$(id -g) -v /tmp/.X11-unix:/tmp/.X11-unix:rw --device=/dev/dri/card0:/dev/dri/card0 -v $(pwd):/data --rm sketchup
000b:fixme:winediag:__wine_start_process Wine Staging 5.0 is a testing version containing experimental patches.
000b:fixme:winediag:__wine_start_process Please mention your exact version when filing bug reports on winehq.org.
0009:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x22df74, 0x22df90 0x22df70
0009:fixme:nls:get_dummy_preferred_ui_language (0x38 0x22df74 0x22df90 0x22df70) returning a dummy value (current locale)
0009:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x22def4, 0x22df10 0x22def0
0009:fixme:nls:get_dummy_preferred_ui_language (0x38 0x22def4 0x22df10 0x22def0) returning a dummy value (current locale)
0009:fixme:ntdll:EtwEventRegister ({5eec90ab-c022-44b2-a5dd-fd716a222a15}, 0x1709aac, 0x5db94d0, 0x5db94f0) stub.
0009:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0x59d0af8, 43) stub
0009:fixme:msvcrt:_configure_wide_argv (1) stub
0009:fixme:msvcrt:_initialize_wide_environment stub
0009:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x22eef4, 0x22ef10 0x22eef0
0009:fixme:nls:get_dummy_preferred_ui_language (0x38 0x22eef4 0x22ef10 0x22eef0) returning a dummy value (current locale)
0009:fixme:shell:InitNetworkAddressControl stub
libGL error: failed to open drm device: Permission denied
libGL error: failed to load driver: i965
0025:fixme:mountmgr:query_property Faking StorageDeviceProperty data
0025:fixme:mountmgr:harddisk_ioctl The DISK_PARTITION_INFO and DISK_DETECTION_INFO structures will not be filled
0025:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 74080 (device=7 access=1 func=20 method=0)
0025:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 74080 (device=7 access=1 func=20 method=0)
0009:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0009:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x1966da0, 0x5d31490, 0x5e0d7c8) stub.
0009:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x22e980, (nil) 0x22e9b8
0009:fixme:nls:get_dummy_preferred_ui_language (0x38 0x22e980 (nil) 0x22e9b8) returning a dummy value (current locale)
0009:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x22e980, 0x8465060 0x22e9b8
0009:fixme:nls:get_dummy_preferred_ui_language (0x38 0x22e980 0x8465060 0x22e9b8) returning a dummy value (current locale)
0009:fixme:winsock:WSALookupServiceBeginW (0x22e350 0x00000ff0 0x22e348) Stub!
[0620/153749:ERROR:network_change_notifier_win.cc(153)] WSALookupServiceBegin failed with: 122
0009:fixme:iphlpapi:NotifyAddrChange (Handle 0x22e640, overlapped 0x84662e8): stub
0009:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0009:fixme:win:RegisterDeviceNotificationW (hwnd=0x2006c, filter=0x22e650,flags=0x00000000) returns a fake device notification handle!
0009:fixme:win:RegisterDeviceNotificationW (hwnd=0x2006c, filter=0x22e650,flags=0x00000000) returns a fake device notification handle!
0009:fixme:win:LockWindowUpdate (0x20148), partial stub!
0009:fixme:win:LockWindowUpdate ((nil)), partial stub!
0009:fixme:uxtheme:BufferedPaintInit Stub ()
0009:fixme:dwmapi:DwmIsCompositionEnabled 000000000022C590
0009:fixme:wtsapi:WTSRegisterSessionNotification Stub 0000000000020062 0x00000000
0032:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
0035:fixme:process:CreateProcessInternalW Unsupported attribute 0x20002.
0042:fixme:ntdll:EtwEventRegister ({5eec90ab-c022-44b2-a5dd-fd716a222a15}, 0x180029aac, 0x1846d94d0, 0x1846d94f0) stub.
0042:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0x1842f0af8, 43) stub
0042:fixme:msvcrt:_configure_wide_argv (1) stub
0042:fixme:msvcrt:_initialize_wide_environment stub
0042:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0042:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x180286da0, 0x184651490, 0x18472d7c8) stub.
0042:fixme:gdi:GdiInitializeLanguagePack stub
0042:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
[0620/153756:WARNING:cert_verify_proc_win.cc(108)] Unknown error -2146762482 mapped to net::ERR_FAILED
0042:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
0042:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
0042:fixme:ntdll:EtwEventUnregister (0) stub.
0009:fixme:win:UnregisterDeviceNotification (handle=0xcafeaffe), STUB!
0009:fixme:win:UnregisterDeviceNotification (handle=0xcafeaffe), STUB!
0009:fixme:iphlpapi:CancelIPChangeNotify (overlapped 0x84662e8): stub
0009:fixme:wtsapi:WTSUnRegisterSessionNotification Stub 0000000000020062
0009:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
0009:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
0009:fixme:ntdll:EtwEventUnregister (0) stub.
0009:fixme:uxtheme:BufferedPaintUnInit Stub ()
Error: 
#<NoMethodError: undefined method `path' for #<StringIO:0x0000000712ab40>>


c:/users/user/application data/sketchup/sketchup 2017/sketchup/plugins/su_trimble_connect/debug.rbe:88:in `end_log_to_file'
c:/users/user/application data/sketchup/sketchup 2017/sketchup/plugins/su_trimble_connect/observers.rbe:24:in `onQuit'

since the only error i notice is the one related to libGL, i tried to:

  1. run xhost +local:docker in the host right before the docker run command;
  2. add RUN usermod -a -G video user to the dockerfile;

no results, however... any suggestion?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant