help for adreno profiler

Questions about Wine on Linux
Locked
devhack
Level 1
Level 1
Posts: 5
Joined: Wed Jun 12, 2013 4:09 am

help for adreno profiler

Post by devhack »

hi! I installed on my linux distro (chakra) adreno profiler (https://developer.qualcomm.com/mobile-d ... -resources) but it doesn't work... if I launch it from the menu of my pc it says something like "invalid parameter" and "there isn't a windows program configured to open this type of file" (the command used is "env WINEPREFIX="/home/********/.wine" wine C:\\windows\\command\\start.exe /Unix /home/********/.wine/dosdevices/c:/users/sviluppo/Start\ Menu/Programs/Adreno\ Profiler/Adreno\ Profiler.lnk" (obviously I put the asterisks for privacy)); if I run it directly from a shell with with wine ./AdrenoProfiler.exe (obviusly I'm into /home/********/.wine/drive_c/Program Files (x86)/Qualcomm/Adreno Profiler 3.3/) it gives me this output

Code: Select all

../../../mono/mono/metadata/metadata.c:886: assertion 'index < meta->heap_strings.size' failed
../../../mono/mono/metadata/metadata.c:886: assertion 'index < meta->heap_strings.size' failed
../../../mono/mono/metadata/metadata.c:914: assertion 'index < meta->heap_blob.size' failed
../../../mono/mono/metadata/metadata.c:914: assertion 'index < meta->heap_blob.size' failed
../../../mono/mono/metadata/metadata.c:914: assertion 'index < meta->heap_blob.size' failed
Invalid type QXProfilerControls.ConnectionMgr for instance field QXProfilerControls.ISingleton<QXProfilerControls::ConnectionMgr>:s_hSingletonInstance
fixme:wincodecs:PngDecoder_Block_GetCount 0x22c5ed0,0x33efa0: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x22cefd0,0x33efa0: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x22cefd0,0x33efa0: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x22cefd0,0x33efa0: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x22c0d90,0x33efa0: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x22c2568,0x33f5f0: stub
and this error window
Image

Uploaded with ImageShack.us
is there a way to make it work?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: help for adreno profiler

Post by dimesio »

Looks like a mono issue. Try real .NET.
devhack
Level 1
Level 1
Posts: 5
Joined: Wed Jun 12, 2013 4:09 am

re

Post by devhack »

ehm, do you want to say that I have to install net? I think wine installed it during the installation of adreno profiler...
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: help for adreno profiler

Post by dimesio »

Workarounds are needed to install .NET. Use winetricks. http://wiki.winehq.org/winetricks
devhack
Level 1
Level 1
Posts: 5
Joined: Wed Jun 12, 2013 4:09 am

Re: help for adreno profiler

Post by devhack »

thanks, I installed .NET and visual c++ 2010 with winetricks (and windows installer with the installer of adreno profiler) but now I receive this error running by terminal:

Code: Select all

err:module:import_dll Library mscoree.dll (which is needed by L"C:\\windows\\Microsoft.NET\\Framework\\v4.0.30319\\mscorsvw.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\windows\\Microsoft.NET\\Framework\\v4.0.30319\\mscorsvw.exe" failed, status c0000135
err:service:service_send_start_message service L"clr_optimization_v4.0.30319_32" failed to start
fixme:service:scmdatabase_autostart_services Auto-start service L"clr_optimization_v4.0.30319_32" failed to start: 1053
err:module:import_dll Library mscoree.dll (which is needed by L"C:\\Program Files\\Qualcomm\\Adreno Profiler 3.3\\AdrenoProfiler.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\Qualcomm\\Adreno Profiler 3.3\\AdrenoProfiler.exe" failed, status c0000135
ok, I understand I miss the "mscoree.dll" dll... but how can I fix it?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: help for adreno profiler

Post by dimesio »

That should have been installed by winetricks.

I just noticed you are using a 64 bit wineprefix. Try a 32 bit one; create it with

Code: Select all

WINEARCH=win32 WINEPREFIX=/path/to/wineprefix winecfg
(use the actual path), then install to that. http://wiki.winehq.org/FAQ#wineprefix
devhack
Level 1
Level 1
Posts: 5
Joined: Wed Jun 12, 2013 4:09 am

Re: help for adreno profiler

Post by devhack »

it's strange, q4wine says it's win32...
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: help for adreno profiler

Post by dimesio »

My mistake; I was looking at your original console output, which was from a 64 bit wineprefix, but your latest was 32 bit. However, q4wine is not supported here. Please retest in plain Wine. Use a clean wineprefix, create a 32 bit wineprefix following the instructions I posted above, and install .NET to it first, then your app.
devhack
Level 1
Level 1
Posts: 5
Joined: Wed Jun 12, 2013 4:09 am

Re: help for adreno profiler

Post by devhack »

ok, I'll try...
Jormungardian
Newbie
Newbie
Posts: 1
Joined: Wed Apr 02, 2014 6:27 pm

Re: help for adreno profiler

Post by Jormungardian »

Hi all,

just wanted to let you know Adreno Profiler has released a Linux and Mac version now as well as the Windows one. you can get it at https://developer.qualcomm.com/mobile-d ... -resources
Locked