https://bugs.winehq.org/show_bug.cgi?id=52300
Bug ID: 52300 Summary: Oculus Setup Installer Incorrectly Claims to Not Have Enough Storage Product: Wine Version: 7.0-rc1 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: nekoNexus@protonmail.ch Distribution: ---
Created attachment 71454 --> https://bugs.winehq.org/attachment.cgi?id=71454 Wine-Staging 7.0-rc1 Terminal Output and Screenshots
Version of wine used: Wine-Staging 7.0-rc1
SHA256: ef04ac24ea20b404b175b0f18f706b7eabe5d5712f653e600cb7e8e715d93fa2
Download location: https://www.oculus.com/download_app/?id=1582076955407037
-----
Dotnet 48 and d3dcompiler_47 is required to render the program's window: winetricks -q dotnet48 d3dcompiler_47
(Mentioned in: https://bugs.winehq.org/show_bug.cgi?id=52299#c1 )
-----
The installer proceeds as expected only with the prefix set to Windows 10; setting the prefix to Windows 7 claims you need two Windows 7 hotfixes installed and forces you to close the program.
However, when you do proceed to the installation in Windows 10 mode, it claims that not enough storage is present to install even if there is more than enough storage space present.
https://bugs.winehq.org/show_bug.cgi?id=52300
nekoNexus@protonmail.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |ArchLinux URL| |https://www.oculus.com/down | |load_app/?id=15820769554070 | |37 Keywords| |download, Installer
https://bugs.winehq.org/show_bug.cgi?id=52300
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Component|-unknown |mountmgr.sys CC| |xerox.xerox2000x@gmail.com Ever confirmed|0 |1
--- Comment #1 from Louis Lenders xerox.xerox2000x@gmail.com --- Confirming. Guess it`s due to:
006c:fixme:mountmgr:harddisk_ioctl Unsupported ioctl 2d0c14 (device=2d access=0 func=305 method=0) DeviceIoControl() failed with 0 bytes returned. [234] Exception when enumerating drives: System.Exception: Exception of type 'System.Exception' was thrown. at Daybreak.Win32.Kernel.IsInternal(DriveInfo driveInfo) at Dawn.InstallLocations.Scan(Int64 requiredSpace) CreateFileW(\.\E:) failed. [234]
With the stupid hack below I was able to get it around it and it starts download stuff; I stopped it for now as it`s a 5 Gb download..
hack:
diff --git a/dlls/mountmgr.sys/device.c b/dlls/mountmgr.sys/device.c index b8a0040195d..f8228442516 100644 --- a/dlls/mountmgr.sys/device.c +++ b/dlls/mountmgr.sys/device.c @@ -1732,6 +1732,7 @@ static NTSTATUS WINAPI harddisk_ioctl( DEVICE_OBJECT *device, IRP *irp ) switch(irpsp->Parameters.DeviceIoControl.IoControlCode) { case IOCTL_DISK_GET_DRIVE_GEOMETRY: + case 0x2d0c14: { DISK_GEOMETRY info; DWORD len = min( sizeof(info), irpsp->Parameters.DeviceIoControl.OutputBufferLength );
https://bugs.winehq.org/show_bug.cgi?id=52300
Esme Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com
--- Comment #2 from Esme Povirk madewokherd@gmail.com --- With bug 50158 fixed in Wine Mono 7.2.0, it's no longer necessary to install dotnet or d3dcompiler to reproduce this bug. Setting winver to 10 is still needed though, we'd have to add hotfixes to Win32_QuickFixEngineering in wbemprox to fix that.
https://bugs.winehq.org/show_bug.cgi?id=52300
Lorenzo Ferrillo lorenzofer@live.it changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lorenzofer@live.it
--- Comment #3 from Lorenzo Ferrillo lorenzofer@live.it --- Created attachment 72206 --> https://bugs.winehq.org/attachment.cgi?id=72206 IOCTL_STORAGE_GET_HOTPLUG_INFO stub
0x2d0c14 is IOCTL_STORAGE_GET_HOTPLUG_INFO.
I made a stub returning default values (non removable, non hotplug) and it allow the installer to progress.
IOCTL_STORAGE_GET_HOTPLUG_INFO was already defined in wine headers.
https://bugs.winehq.org/show_bug.cgi?id=52300
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Oculus Setup Installer |Oculus Setup installer |Incorrectly Claims to Not |claims that not enough |Have Enough Storage |space is available (needs | |IOCTL_STORAGE_GET_HOTPLUG_I | |NFO) Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=52300
liampm32@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |liampm32@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=52300
Daniel Well Dantheman22505@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Dantheman22505@hotmail.com
--- Comment #4 from Daniel Well Dantheman22505@hotmail.com --- (In reply to Esme Povirk from comment #2)
With bug 50158 fixed in Wine Mono 7.2.0, it's no longer necessary to install dotnet or d3dcompiler to reproduce this bug. Setting winver to 10 is still needed though, we'd have to add hotfixes to Win32_QuickFixEngineering in wbemprox to fix that.
There's likely been a regression in Mono, as of 7.3.0, and Wine 7.19, The installer window no longer renders properly. In fact, without dotnet48, it doesn't even open a window at all
https://bugs.winehq.org/show_bug.cgi?id=52300
Jesper Jensen jesper@slashwin.dk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jesper@slashwin.dk
--- Comment #5 from Jesper Jensen jesper@slashwin.dk --- (In reply to Lorenzo Ferrillo from comment #3)
Created attachment 72206 [details] IOCTL_STORAGE_GET_HOTPLUG_INFO stub
0x2d0c14 is IOCTL_STORAGE_GET_HOTPLUG_INFO.
I made a stub returning default values (non removable, non hotplug) and it allow the installer to progress.
IOCTL_STORAGE_GET_HOTPLUG_INFO was already defined in wine headers.
This patch still works and still gets us to the download.
https://bugs.winehq.org/show_bug.cgi?id=52300
garagebay9@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |garagebay9@gmail.com
--- Comment #6 from garagebay9@gmail.com --- Can confirm with a 9.0-rc3 test build that this fix not only gets us to the download, but the download can complete successfully and it begins the install process.
Note: stopping and attempting to resume the download from a partial downloaded cache causes the program to exit as soon as it finishes loading the cache to the point where it left off. So you have to let it download fully in one pass. There are other issues inherent to the Oculus installer that cause the download to slow SIGNIFICANTLY towards the very end (less than 1kb/s in some cases). Starting a download of something else on the machine seems to improve speeds. This is a documented issue even on Windows.
Once the download finishes it begins to attempt to install, and successfully copies some files (Vulkan related libraries and executables), but not the main software to the specified install directory.
There is an install error of some kind at that point, that does not give a lot of details about what went wrong (there appears to be some window rendering issues unrelated to this bug causing some text to be missing). But that is much further than we have gotten previously trying to install the Oculus software under WINE. This is really encouraging progress.