Linux

InTheWorks
Posts: 80
Joined: Sat May 28, 2022 11:59 pm

Re: Linux

Post by InTheWorks » Wed Jun 22, 2022 6:25 pm

Latency is 10.9ms in my setup. That's drumstick click over the snare to audio from headphones measured with an external microphone.

Frame rate latency: 8ms
64 sample audio buffer latency: 1.5ms
mystery latency: 1.4ms

But I just realised that my headphones may have been connected to a usb dock. And that could very well explain the mystery latency.

The other thing I discovered is that with a buffer size of 100 samples, pulseaudio plays without any issues. At least on my machine. That's 2.3ms of latency vs 1.5ms. But it offers the convenience of using pulse audio and that means playing system sounds in the background. That may be something you want or not.

There was a hack I saw on the forums of increasing the camera rate to 187 fps. If that were used, the additional audio latency could be compensated for at the expense of some increased cpu usage. Maybe not the best deal.

InTheWorks
Posts: 80
Joined: Sat May 28, 2022 11:59 pm

Re: Linux

Post by InTheWorks » Mon Jun 27, 2022 7:39 pm

It turns out I wasn't measuring latency before. The way I was hitting the sticks together was creating a double impact. The real audio came a lot later. Like 100ms later. I didn't realise this until I spent some time playing.

To fix the measurement I need to hold one of the sticks down on my leg. Striking in the air caused the bottom stick to rebound upward. I also turned up the snare sensitivity and volume so that I don't have to hit the sticks together so hard.

The fix for latency was to install wineasio and jackd. The minimum usable latency on my system is 128 (2.9ms) and to get down to 64 I think I need a realtime kernel. I may play with that later.

Total latency now is 15-18ms. Which is much better, but still seems too high. I haven't measured the latency in windows yet so I don't know how it compares. And I haven't had a chance to play aerodrums like this.

InTheWorks
Posts: 80
Joined: Sat May 28, 2022 11:59 pm

Re: Linux

Post by InTheWorks » Tue Jun 28, 2022 5:34 am

So the latency on windows is less than wineasio.
latency.png
latency.png (46.2 KiB) Viewed 20594 times
The above picture shows how I measure the latency. The top waveform, alsa-latency, is a very large latency. There is a vertical line indicating where the snare audio starts and you can see the stick click on the left hand side.

I isolated the stick click+snare sample by cutting it out of a longer recording. I aligned the stick click for all 3 waveforms.

alsa-latency: 5708 samples (119ms)
windows-latency: 823 samples (17.1 ms) (64 sample buffer)
wineasio-latency: 1123 samples (23.4 ms) (128 sample buffer)

I don't know if there is a better way to measure the latency. I'm open to suggestions.

InTheWorks
Posts: 80
Joined: Sat May 28, 2022 11:59 pm

Re: Linux

Post by InTheWorks » Tue Jun 28, 2022 5:36 am

Here I attached the audio clips that generated the waveforms in the previous post.
Attachments
wineasio-latency.mp3
(18.42 KiB) Downloaded 925 times
windows-latency.mp3
(18.42 KiB) Downloaded 905 times
alsa-latency.mp3
(18.42 KiB) Downloaded 901 times

Sipaliwini
Posts: 436
Joined: Thu Jan 16, 2014 12:40 pm

Re: Linux

Post by Sipaliwini » Tue Jun 28, 2022 9:55 am

Thank you for doing more work on this.

Yes this is a good way to measure latency.

15-18ms is not ideal but it is definitely good enough to play without it being distracting. Of course it is much more than an acoustic set, but for example it is a bit less than depressing an acoustic piano key softly.

I don't believe you need a real time kernel to lower the minimum audio buffer size, I think you just need to lower some constants when re-compiling the kernel.

It would be good to try and get it at least as good as your Windows reading, it should be possible.

InTheWorks
Posts: 80
Joined: Sat May 28, 2022 11:59 pm

Re: Linux

Post by InTheWorks » Tue Jun 28, 2022 5:51 pm

I did see 15-18ms with wineasio at some point, but I didn't save that recording. I'm not sure what is creating that variability because the recording I did save shows higher latency. I'd have to do a lot more testing to confirm the results I'm seeing and honestly I have no interest in doing that. I have no control over the biggest piece of this machine (ie. wine).

I can't easily recompile my kernel (it's an oem kernel) and I am loathe to change it because prior to finding this kernel my system would randomly lock up hard. Not good times.

I'll see what kernel parameters are in my kernel and if any can be used to improve latency. My goal is to run jack at 64 samples.

elloh
Posts: 6
Joined: Tue Mar 30, 2021 2:27 pm

Re: Linux

Post by elloh » Fri Jul 15, 2022 8:55 pm

Hello,

I tried to follow the howto.

But i had no success.

The wine-stable branch for winehq is now 7.0.0 for focal.

The lib usb compiled succesfully with the patch and i could install it using sudo make install.

But aerodrums does not find the camera either even if i blacklisted the linux camera driver ... (I installed aerodrums using wine64).

I even installed wineasio using kxstudio repository in order to have ASIO capabilities. But for now, i'm stuck with the camera driver.

Any idea ?

InTheWorks
Posts: 80
Joined: Sat May 28, 2022 11:59 pm

Re: Linux

Post by InTheWorks » Sat Jul 16, 2022 3:12 am

You can try to install a specific wine version. First uninstall what you have installed. Then try:

Code: Select all

sudo apt-get install wine=5.0-3ubuntu1
In the terminal you can type up to the equal sign and then press tab. It should give you a list of versions.

I did try wine-staging from the repos and it installed 7.x and I couldn't get it to work. So it looks like wine 7.x won't work without further changes (if at all).

NarcoticV
Posts: 13
Joined: Wed Dec 21, 2022 12:27 am

Re: Linux

Post by NarcoticV » Wed Dec 21, 2022 12:37 am

Hi there. First of all, InTheWorks: props for getting this working!

I noticed that the github repo of libusb-wine has gotten an update now to include the async functionality from your earlier patch, a x64 option (use Makefile.x64 instead of Makefile) and also has a small lsusb-wine.exe test tool for debugging.

I tried to get Aerodrums working on Arch linux. At first with wine-staging (7.22). There were some changed directories in which to put the libusb DLL, and although after that I can see the USB device ID of the camera when running the lsusb-wine.exe tool, Aerodrums still doesn't recognize it. To get to this point of at least seeing it in lsusb, I also had to put the libusb-wine.dll fake dll in the wineprefix drive_c/windows/ folder.

I am using a clean 64-bit Wine prefix.

I tried downgrading Wine to the 5.0-1 Arch package, to no avail.

Both the installer and the main application don't detect the camera. I can skip the error message, but then the app will not enable the "Drum" button and say that no camera was detected. There is nothing in the logs that seems to be of interest.

The tool to install the camera drivers from Aeroband's "camera" folder reports "Success", although interleaved with some suspect Wine messages.

What I was wondering about your x64 comments: you noticed that the installer not detecting the camera is not an issue. Do you still get the error message when starting the main Aeroband app, or does it work straight away?

Is there anything you happen to think of which may help me on this journey?

NarcoticV
Posts: 13
Joined: Wed Dec 21, 2022 12:27 am

Re: Linux

Post by NarcoticV » Wed Dec 21, 2022 11:23 am

I tried this further, but no success yet.
For me it would be really helpful if someone with a working Wine setup could share some logging information so that I can compare it with mine. In Wine I always find it hard to tell which errors/warnings actually need fixing and which can be ignored.

If you could please let me know your Wine and Aerodrums version, and then run the following two commands and post the logs, I would be really grateful:

Code: Select all

WINEDEBUG=+loaddll my_wine_prefix/drive_c/Program\ Files\ (x86)/Aerodrums/camera/aerodrums-camera-installer.exe

Code: Select all

WINEDEBUG=+loaddll my_wine_prefix/drive_c/Program\ Files\ (x86)/Aerodrums/aerodrums.exe
I have attached my logs. What stands out to me is that in the camera installer, libwdi fails to create a .cat file during the driver install. And it also stands out that neither of the commands ever actually loads libusb0.dll (although I know it is working because I can see the camera device ID when I run lsusb-wine.exe test utility included with libusb-wine in the same Wine prefix).

Here is the result of the camera installer for me (on latest wine-staging 7.22, but result on wine 5 is more or less the same for me):

Code: Select all

002c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\wineboot.exe" at 0000000140000000: builtin
002c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\kernelbase.dll" at 000000007B000000: builtin
002c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\kernel32.dll" at 000000007B600000: builtin
002c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\msvcrt.dll" at 0000000228280000: builtin
002c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\ucrtbase.dll" at 00000002C7470000: builtin
002c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\sechost.dll" at 00000001EAF60000: builtin
002c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\advapi32.dll" at 00000001D8C90000: builtin
002c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\ws2_32.dll" at 0000000370F70000: builtin
002c:fixme:winediag:LdrInitializeThunk wine-staging 7.22 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
0034:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\winemenubuilder.exe" at 0000000140000000: builtin
0034:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\kernelbase.dll" at 000000007B000000: builtin
0034:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\kernel32.dll" at 000000007B600000: builtin
0034:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\msvcrt.dll" at 0000000228280000: builtin
0034:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\ucrtbase.dll" at 00000002C7470000: builtin
0034:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\sechost.dll" at 00000001EAF60000: builtin
0034:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\advapi32.dll" at 00000001D8C90000: builtin
003c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\services.exe" at 0000000140000000: builtin
0034:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\version.dll" at 000000025DC30000: builtin
0034:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\win32u.dll" at 00000002C73A0000: builtin
0034:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\user32.dll" at 00000002169D0000: builtin
003c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\kernelbase.dll" at 000000007B000000: builtin
0034:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\gdi32.dll" at 00000002BB0A0000: builtin
003c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\kernel32.dll" at 000000007B600000: builtin
0034:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\rpcrt4.dll" at 0000000368420000: builtin
0034:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\combase.dll" at 000000031C5D0000: builtin
0034:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\ole32.dll" at 000000020B860000: builtin
003c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\msvcrt.dll" at 0000000228280000: builtin
003c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\ucrtbase.dll" at 00000002C7470000: builtin
003c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\sechost.dll" at 00000001EAF60000: builtin
003c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\advapi32.dll" at 00000001D8C90000: builtin
003c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\rpcrt4.dll" at 0000000368420000: builtin
003c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\version.dll" at 000000025DC30000: builtin
003c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\setupapi.dll" at 000000036D860000: builtin
003c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\userenv.dll" at 0000000244FC0000: builtin
0034:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\imm32.dll" at 0000000393730000: builtin
0034:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\comctl32.dll" at 00000002FB3C0000: builtin
0034:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\aclui.dll" at 00000001CD620000: builtin
0034:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\shcore.dll" at 00000002BDE30000: builtin
0034:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\shlwapi.dll" at 00000002A2380000: builtin
0034:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\shell32.dll" at 000000023BC00000: builtin
0034:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\oleaut32.dll" at 00000001D0E20000: builtin
0034:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\propsys.dll" at 0000000263650000: builtin
0034:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\windowscodecs.dll" at 0000000252450000: builtin
0048:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\winedevice.exe" at 0000000140000000: builtin
0048:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\kernelbase.dll" at 000000007B000000: builtin
0048:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\kernel32.dll" at 000000007B600000: builtin
0048:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\msvcrt.dll" at 0000000228280000: builtin
0048:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\ucrtbase.dll" at 00000002C7470000: builtin
0048:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\sechost.dll" at 00000001EAF60000: builtin
0048:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\advapi32.dll" at 00000001D8C90000: builtin
0048:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\ntoskrnl.exe" at 000000031CA90000: builtin
0048:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\rpcrt4.dll" at 0000000368420000: builtin
0058:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\win32k.sys" at 00000002EE0C0000: builtin
0058:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\drivers\\dxgkrnl.sys" at 0000000352A50000: builtin
0058:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\drivers\\dxgmms1.sys" at 00000002E6B90000: builtin
0054:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\drivers\\mountmgr.sys" at 00000003BE830000: builtin
0054:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\version.dll" at 000000025DC30000: builtin
0054:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\setupapi.dll" at 000000036D860000: builtin
006c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\winedevice.exe" at 0000000140000000: builtin
006c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\kernelbase.dll" at 000000007B000000: builtin
006c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\kernel32.dll" at 000000007B600000: builtin
006c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\msvcrt.dll" at 0000000228280000: builtin
006c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\ucrtbase.dll" at 00000002C7470000: builtin
006c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\sechost.dll" at 00000001EAF60000: builtin
006c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\advapi32.dll" at 00000001D8C90000: builtin
006c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\ntoskrnl.exe" at 000000031CA90000: builtin
006c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\rpcrt4.dll" at 0000000368420000: builtin
0078:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\win32k.sys" at 00000002EE0C0000: builtin
0078:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\drivers\\dxgkrnl.sys" at 0000000352A50000: builtin
0078:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\drivers\\dxgmms1.sys" at 00000002E6B90000: builtin
0074:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\drivers\\wineusb.sys" at 00000001E58A0000: builtin
0074:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\version.dll" at 000000025DC30000: builtin
0074:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\setupapi.dll" at 000000036D860000: builtin
0074:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\drivers\\hidparse.sys" at 00000002AB600000: builtin
0074:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\drivers\\winebus.sys" at 0000000219DA0000: builtin
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\win32u.dll" at 00000002C73A0000: builtin
007c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\drivers\\hidclass.sys" at 0000000332E40000: builtin
007c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\drivers\\winehid.sys" at 00000002FE9D0000: builtin
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0098:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\explorer.exe" at 0000000140000000: builtin
0098:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\kernelbase.dll" at 000000007B000000: builtin
0098:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\kernel32.dll" at 000000007B600000: builtin
0098:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\msvcrt.dll" at 0000000228280000: builtin
0098:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\ucrtbase.dll" at 00000002C7470000: builtin
0098:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\sechost.dll" at 00000001EAF60000: builtin
0098:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\advapi32.dll" at 00000001D8C90000: builtin
0098:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\version.dll" at 000000025DC30000: builtin
0098:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\win32u.dll" at 00000002C73A0000: builtin
0098:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\user32.dll" at 00000002169D0000: builtin
0098:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\gdi32.dll" at 00000002BB0A0000: builtin
0098:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\rpcrt4.dll" at 0000000368420000: builtin
00a0:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\plugplay.exe" at 0000000140000000: builtin
00a0:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\kernelbase.dll" at 000000007B000000: builtin
00a0:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\kernel32.dll" at 000000007B600000: builtin
00a0:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\msvcrt.dll" at 0000000228280000: builtin
00a0:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\ucrtbase.dll" at 00000002C7470000: builtin
00a0:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\sechost.dll" at 00000001EAF60000: builtin
00a0:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\advapi32.dll" at 00000001D8C90000: builtin
00a0:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\rpcrt4.dll" at 0000000368420000: builtin
00a0:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\win32u.dll" at 00000002C73A0000: builtin
00a0:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\gdi32.dll" at 00000002BB0A0000: builtin
00a0:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\version.dll" at 000000025DC30000: builtin
00a0:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\user32.dll" at 00000002169D0000: builtin
0098:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\imm32.dll" at 0000000393730000: builtin
0098:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\winex11.drv" at 0000000251D80000: builtin
00a0:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\imm32.dll" at 0000000393730000: builtin
00b8:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\svchost.exe" at 0000000140000000: builtin
00b8:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\kernelbase.dll" at 000000007B000000: builtin
00b8:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\kernel32.dll" at 000000007B600000: builtin
00b8:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\msvcrt.dll" at 0000000228280000: builtin
00b8:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\ucrtbase.dll" at 00000002C7470000: builtin
00b8:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\sechost.dll" at 00000001EAF60000: builtin
00b8:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\advapi32.dll" at 00000001D8C90000: builtin
00b8:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\wevtsvc.dll" at 000000029E840000: builtin
00b8:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\rpcrt4.dll" at 0000000368420000: builtin
0054:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\drivers\\nsiproxy.sys" at 000000033BB90000: builtin
0054:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\dnsapi.dll" at 0000000296590000: builtin
0054:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\nsi.dll" at 000000026C190000: builtin
0054:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\iphlpapi.dll" at 00000003982D0000: builtin
0054:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\drivers\\ndis.sys" at 0000000212240000: builtin
002c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\version.dll" at 000000025DC30000: builtin
002c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\win32u.dll" at 00000002C73A0000: builtin
002c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\user32.dll" at 00000002169D0000: builtin
002c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\gdi32.dll" at 00000002BB0A0000: builtin
002c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\imm32.dll" at 0000000393730000: builtin
002c:trace:loaddll:build_module Loaded L"C:\\windows\\winsxs\\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.2600.2982_none_deadbeef\\comctl32.dll" at 00000002FB3C0000: builtin
002c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\aclui.dll" at 00000001CD620000: builtin
002c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\shcore.dll" at 00000002BDE30000: builtin
002c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\shlwapi.dll" at 00000002A2380000: builtin
002c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\shell32.dll" at 000000023BC00000: builtin
00d0:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\explorer.exe" at 0000000140000000: builtin
00d0:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\kernelbase.dll" at 000000007B000000: builtin
00d0:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\kernel32.dll" at 000000007B600000: builtin
00d0:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\msvcrt.dll" at 0000000228280000: builtin
00d0:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\ucrtbase.dll" at 00000002C7470000: builtin
00d0:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\sechost.dll" at 00000001EAF60000: builtin
00d0:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\advapi32.dll" at 00000001D8C90000: builtin
00d0:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\version.dll" at 000000025DC30000: builtin
00d0:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\win32u.dll" at 00000002C73A0000: builtin
00d0:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\user32.dll" at 00000002169D0000: builtin
00d0:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\gdi32.dll" at 00000002BB0A0000: builtin
00d0:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\rpcrt4.dll" at 0000000368420000: builtin
00d0:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\imm32.dll" at 0000000393730000: builtin
00d0:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\winex11.drv" at 0000000251D80000: builtin
0098:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\uxtheme.dll" at 000000026C230000: builtin
00d0:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\uxtheme.dll" at 000000026C230000: builtin
0098:trace:loaddll:build_module Loaded L"C:\\windows\\winsxs\\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.2600.2982_none_deadbeef\\comctl32.dll" at 00000002FB3C0000: builtin
0098:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\aclui.dll" at 00000001CD620000: builtin
0098:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\shcore.dll" at 00000002BDE30000: builtin
0098:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\shlwapi.dll" at 00000002A2380000: builtin
0098:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\shell32.dll" at 000000023BC00000: builtin
0098:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\combase.dll" at 000000031C5D0000: builtin
0098:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\ole32.dll" at 000000020B860000: builtin
0098:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\oleaut32.dll" at 00000001D0E20000: builtin
0098:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\actxprxy.dll" at 00000002F3610000: builtin
00d0:trace:loaddll:build_module Loaded L"C:\\windows\\winsxs\\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.2600.2982_none_deadbeef\\comctl32.dll" at 00000002FB3C0000: builtin
00d0:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\aclui.dll" at 00000001CD620000: builtin
00d0:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\shcore.dll" at 00000002BDE30000: builtin
00d0:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\shlwapi.dll" at 00000002A2380000: builtin
00d0:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\shell32.dll" at 000000023BC00000: builtin
00e4:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\rpcss.exe" at 0000000140000000: builtin
00e4:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\kernelbase.dll" at 000000007B000000: builtin
00e4:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\kernel32.dll" at 000000007B600000: builtin
00d0:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\combase.dll" at 000000031C5D0000: builtin
00d0:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\ole32.dll" at 000000020B860000: builtin
00e4:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\msvcrt.dll" at 0000000228280000: builtin
00e4:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\ucrtbase.dll" at 00000002C7470000: builtin
00e4:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\sechost.dll" at 00000001EAF60000: builtin
00e4:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\advapi32.dll" at 00000001D8C90000: builtin
00e4:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\rpcrt4.dll" at 0000000368420000: builtin
00d0:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\oleaut32.dll" at 00000001D0E20000: builtin
00d0:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\actxprxy.dll" at 00000002F3610000: builtin
002c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\winex11.drv" at 0000000251D80000: builtin
0034:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\winex11.drv" at 0000000251D80000: builtin
0034:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\uxtheme.dll" at 000000026C230000: builtin
002c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\uxtheme.dll" at 000000026C230000: builtin
002c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\rpcrt4.dll" at 0000000368420000: builtin
002c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\combase.dll" at 000000031C5D0000: builtin
002c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\ole32.dll" at 000000020B860000: builtin
002c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\mpr.dll" at 0000000250CD0000: builtin
002c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\wininet.dll" at 0000000345640000: builtin
0024:trace:loaddll:build_module Loaded L"C:\\windows\\syswow64\\start.exe" at 00400000: builtin
0024:trace:loaddll:build_module Loaded L"C:\\windows\\syswow64\\kernelbase.dll" at 7B000000: builtin
0024:trace:loaddll:build_module Loaded L"C:\\windows\\syswow64\\kernel32.dll" at 7B600000: builtin
0024:trace:loaddll:build_module Loaded L"C:\\windows\\syswow64\\msvcrt.dll" at 65680000: builtin
0024:trace:loaddll:build_module Loaded L"C:\\windows\\syswow64\\ucrtbase.dll" at 6AAC0000: builtin
0024:trace:loaddll:build_module Loaded L"C:\\windows\\syswow64\\sechost.dll" at 6BBC0000: builtin
0024:trace:loaddll:build_module Loaded L"C:\\windows\\syswow64\\advapi32.dll" at 69840000: builtin
0024:trace:loaddll:build_module Loaded L"C:\\windows\\syswow64\\version.dll" at 66640000: builtin
0024:trace:loaddll:build_module Loaded L"C:\\windows\\syswow64\\win32u.dll" at 64A80000: builtin
0024:trace:loaddll:build_module Loaded L"C:\\windows\\syswow64\\user32.dll" at 68880000: builtin
0024:trace:loaddll:build_module Loaded L"C:\\windows\\syswow64\\gdi32.dll" at 6DA80000: builtin
0024:trace:loaddll:build_module Loaded L"C:\\windows\\syswow64\\imm32.dll" at 67500000: builtin
0024:trace:loaddll:build_module Loaded L"C:\\windows\\syswow64\\comctl32.dll" at 67BC0000: builtin
0024:trace:loaddll:build_module Loaded L"C:\\windows\\syswow64\\aclui.dll" at 6AFC0000: builtin
0024:trace:loaddll:build_module Loaded L"C:\\windows\\syswow64\\shcore.dll" at 667C0000: builtin
0024:trace:loaddll:build_module Loaded L"C:\\windows\\syswow64\\shlwapi.dll" at 66080000: builtin
0024:trace:loaddll:build_module Loaded L"C:\\windows\\syswow64\\shell32.dll" at 71400000: builtin
011c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\conhost.exe" at 0000000140000000: builtin
011c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\kernelbase.dll" at 000000007B000000: builtin
011c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\kernel32.dll" at 000000007B600000: builtin
011c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\msvcrt.dll" at 0000000228280000: builtin
011c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\ucrtbase.dll" at 00000002C7470000: builtin
011c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\sechost.dll" at 00000001EAF60000: builtin
011c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\advapi32.dll" at 00000001D8C90000: builtin
011c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\version.dll" at 000000025DC30000: builtin
011c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\win32u.dll" at 00000002C73A0000: builtin
011c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\user32.dll" at 00000002169D0000: builtin
011c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\gdi32.dll" at 00000002BB0A0000: builtin
0024:trace:loaddll:build_module Loaded L"C:\\windows\\syswow64\\winex11.drv" at 01220000: builtin
011c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\imm32.dll" at 0000000393730000: builtin
0024:trace:loaddll:build_module Loaded L"C:\\windows\\syswow64\\uxtheme.dll" at 70D80000: builtin
0124:trace:loaddll:build_module Loaded L"C:\\Program Files (x86)\\Aerodrums\\camera\\aerodrums-camera-installer.exe" at 01000000: native
0124:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\kernelbase.dll" at 7B000000: builtin
0124:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\kernel32.dll" at 7B600000: builtin
0124:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\msvcrt.dll" at 65680000: builtin
0124:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\ucrtbase.dll" at 6AAC0000: builtin
0124:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\sechost.dll" at 6BBC0000: builtin
0124:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\advapi32.dll" at 69840000: builtin
0124:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\win32u.dll" at 64A80000: builtin
0124:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\gdi32.dll" at 6DA80000: builtin
0124:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\version.dll" at 66640000: builtin
0124:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\USER32.dll" at 68880000: builtin
0124:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\rpcrt4.dll" at 65480000: builtin
0124:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\SETUPAPI.dll" at 6AEC0000: builtin
0124:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\combase.dll" at 684C0000: builtin
0124:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\ole32.dll" at 66380000: builtin
0124:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\imm32.dll" at 67500000: builtin
0124:trace:loaddll:build_module Loaded L"C:\\windows\\winsxs\\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.2600.2982_none_deadbeef\\comctl32.dll" at 67BC0000: builtin
0124:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\aclui.dll" at 6AFC0000: builtin
0124:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\shcore.dll" at 667C0000: builtin
0124:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\shlwapi.dll" at 66080000: builtin
0124:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\SHELL32.dll" at 71400000: builtin
0124:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\winex11.drv" at 00D60000: builtin
0124:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\uxtheme.dll" at 70D80000: builtin

Extracting driver files...
0124:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\Cfgmgr32.dll" at 67F40000: builtin
libwdi:info [extract_binaries] successfully extracted driver files to usb_driver
libwdi:info [wdi_prepare_driver] succesfully created 'usb_driver\USB_Camera-B4.09.24.1_(Interface_0).inf'
libwdi:info [detect_version] Windows 7
libwdi:info [wdi_prepare_driver] Vista or later detected - creating and self-signing a .cat file...
0124:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\bcrypt.dll" at 6E200000: builtin
0124:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\crypt32.dll" at 68CC0000: builtin
0124:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\wintrust.dll" at 63880000: builtin
0124:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\rsaenh.dll" at 622C0000: builtin
0124:fixme:wintrust:CryptCATPutCatAttrInfo catalog 004676C8, name L"HWID1", flags 0x10010001, size 56, data 00B20528, stub!
libwdi:warning [CreateCat] failed to set HWID1 cat attribute: [#78] Call not implemented.
0124:trace:loaddll:free_modref Unloaded module L"C:\\windows\\system32\\rsaenh.dll" : builtin
libwdi:warning [wdi_prepare_driver] could not create cat file
  Success
Installing driver(s)...
0124:fixme:setupapi:CMP_WaitNoPendingInstallEvents 0
012c:trace:loaddll:build_module Loaded L"C:\\Program Files (x86)\\Aerodrums\\camera\\usb_driver\\installer_x64.exe" at 0000000001000000: native
012c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\kernelbase.dll" at 000000007B000000: builtin
012c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\kernel32.dll" at 000000007B600000: builtin
012c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\msvcrt.dll" at 0000000228280000: builtin
012c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\ucrtbase.dll" at 00000002C7470000: builtin
012c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\sechost.dll" at 00000001EAF60000: builtin
012c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\ADVAPI32.dll" at 00000001D8C90000: builtin
012c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\rpcrt4.dll" at 0000000368420000: builtin
012c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\version.dll" at 000000025DC30000: builtin
012c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\setupapi.dll" at 000000036D860000: builtin
012c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\newdev.dll" at 0000000202880000: builtin
012c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\win32u.dll" at 00000002C73A0000: builtin
012c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\user32.dll" at 00000002169D0000: builtin
012c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\gdi32.dll" at 00000002BB0A0000: builtin
012c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\combase.dll" at 000000031C5D0000: builtin
012c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\ole32.dll" at 000000020B860000: builtin
0134:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\conhost.exe" at 0000000140000000: builtin
0134:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\kernelbase.dll" at 000000007B000000: builtin
0134:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\kernel32.dll" at 000000007B600000: builtin
0134:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\msvcrt.dll" at 0000000228280000: builtin
0134:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\ucrtbase.dll" at 00000002C7470000: builtin
0134:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\sechost.dll" at 00000001EAF60000: builtin
0134:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\advapi32.dll" at 00000001D8C90000: builtin
0134:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\version.dll" at 000000025DC30000: builtin
0134:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\win32u.dll" at 00000002C73A0000: builtin
0134:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\user32.dll" at 00000002169D0000: builtin
0134:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\gdi32.dll" at 00000002BB0A0000: builtin
012c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\imm32.dll" at 0000000393730000: builtin
012c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\Cfgmgr32.dll" at 00000001DC470000: builtin
012c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\winex11.drv" at 0000000251D80000: builtin
0134:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\imm32.dll" at 0000000393730000: builtin
012c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\uxtheme.dll" at 000000026C230000: builtin
012c:err:ole:com_get_class_object class {ea502722-a23d-11d1-a7d3-0000f87571e3} not registered
012c:err:ole:com_get_class_object no class object {ea502722-a23d-11d1-a7d3-0000f87571e3} could be created for context 0x1
012c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\bcrypt.dll" at 00000002EE630000: builtin
012c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\crypt32.dll" at 00000002964D0000: builtin
012c:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\wintrust.dll" at 00000002A3D30000: builtin
012c:fixme:setupapi:CM_Locate_DevNodeA 000000000011F940 (null) 0x00000000: stub
012c:err:ole:com_get_class_object class {ea502722-a23d-11d1-a7d3-0000f87571e3} not registered
012c:err:ole:com_get_class_object no class object {ea502722-a23d-11d1-a7d3-0000f87571e3} could be created for context 0x1
  Success
Any help greatly appreciated! I would return the favor once I have it running by e.g. making a PlayOnLinux script to automate all this.

Post Reply