https://bugs.winehq.org/show_bug.cgi?id=54102
Bug ID: 54102 Summary: GPU Caps Viewer does not report any OpenCL devices starting with version 7.21 / 7.22 Product: Wine Version: 7.22 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: danielyhwong@gmail.com Distribution: ---
This is the exact same issue with ticket 52389 in which GPU Caps viewer no longer report CUDA support. This happens starting with version 7.21 and 7.22. Revert back to version 7.20 resolves this issue.
In addition, I also reported exactly the same problem to Julliard on Jan 17, in which I highlighted that starting with WINE 7.0-RC6 the problem goes away. I include this info here for completeness.
If more info is required, please let me know, I can run tests and provide results here.
https://bugs.winehq.org/show_bug.cgi?id=54102
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- Can you do a regression test to figure out which commit exactly broke it?
https://bugs.winehq.org/show_bug.cgi?id=54102
--- Comment #2 from Daniel Wong danielyhwong@gmail.com --- I am just a dumb user, never done dev or QA on wine. You have to give more instructions if it is more than just a few commands to run, and get screen dumps.
https://bugs.winehq.org/show_bug.cgi?id=54102
--- Comment #3 from Daniel Wong danielyhwong@gmail.com --- https://gitlab.winehq.org/wine/wine-staging/-/blob/v7.0-rc6/patches/nvcuda-C...
maybe it has to do with this?
https://bugs.winehq.org/show_bug.cgi?id=54102
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #4 from Zeb Figura z.figura12@gmail.com --- Is this about OpenCL or CUDA?
https://bugs.winehq.org/show_bug.cgi?id=54102
--- Comment #5 from Daniel Wong danielyhwong@gmail.com --- CUDA, not openCL.
https://i.imgur.com/fcHqPk7.png
Top is running with WINE 7.20
Bottom is running with 7.22.
https://bugs.winehq.org/show_bug.cgi?id=54102
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|GPU Caps Viewer does not |GPU Caps Viewer does not |report any OpenCL devices |report any CUDA devices |starting with version 7.21 |starting with version 7.21 |/ 7.22 | Version|7.22 |7.21 Keywords| |regression
--- Comment #6 from Zeb Figura z.figura12@gmail.com --- Okay, fixing the bug title then.
There weren't any changes to the CUDA patch set between versions 7.20 and 7.21, so it was probably an upstream commit that broke it, although I'm not immediately sure which one.
https://bugs.winehq.org/show_bug.cgi?id=54102
--- Comment #7 from Daniel Wong danielyhwong@gmail.com --- I suppose the fix of this will not make it to v8? Just checking ... I honestly don't know what I do without wine, so thank you and Merry Christmas!!
https://bugs.winehq.org/show_bug.cgi?id=54102
Alois Schlögl alois.schloegl@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alois.schloegl@gmail.com
--- Comment #8 from Alois Schlögl alois.schloegl@gmail.com --- (In reply to Daniel Wong from comment #3)
https://gitlab.winehq.org/wine/wine-staging/-/blob/v7.0-rc6/patches/nvcuda- CUDA_Support/0014-nvcuda-Implement-cuDeviceGetUuid-and-cuDeviceGetLuid.patch
maybe it has to do with this?
No, this was broken by this patch when cuda support was disabled in wine-staging.
https://gitlab.winehq.org/wine/wine-staging/-/commit/6c3797b3e8dba19698328c4...
https://bugs.winehq.org/show_bug.cgi?id=54102
--- Comment #9 from Zeb Figura z.figura12@gmail.com --- (In reply to Alois Schlögl from comment #8)
(In reply to Daniel Wong from comment #3)
https://gitlab.winehq.org/wine/wine-staging/-/blob/v7.0-rc6/patches/nvcuda- CUDA_Support/0014-nvcuda-Implement-cuDeviceGetUuid-and-cuDeviceGetLuid.patch
maybe it has to do with this?
No, this was broken by this patch when cuda support was disabled in wine-staging.
https://gitlab.winehq.org/wine/wine-staging/-/commit/ 6c3797b3e8dba19698328c411dd2082b2c45b849
Neither of those commits make sense as a culprit. According to comment 0, the patch set was broken between 7.20 and 7.21, but the commit from comment 3 predates 7.20, and the commit from comment 8 postdates 7.21.
https://bugs.winehq.org/show_bug.cgi?id=54102
--- Comment #10 from Alois Schlögl alois.schloegl@gmail.com --- (In reply to Zeb Figura from comment #9)
(In reply to Alois Schlögl from comment #8)
(In reply to Daniel Wong from comment #3)
https://gitlab.winehq.org/wine/wine-staging/-/blob/v7.0-rc6/patches/nvcuda- CUDA_Support/0014-nvcuda-Implement-cuDeviceGetUuid-and-cuDeviceGetLuid.patch
maybe it has to do with this?
No, this was broken by this patch when cuda support was disabled in wine-staging.
https://gitlab.winehq.org/wine/wine-staging/-/commit/ 6c3797b3e8dba19698328c411dd2082b2c45b849
Neither of those commits make sense as a culprit. According to comment 0, the patch set was broken between 7.20 and 7.21, but the commit from comment 3 predates 7.20, and the commit from comment 8 postdates 7.21.
I just checked Cuda-Z, GPU-Caps on different wine-staging versions. These are working fine for me with wine-staging 7.21, and are broken with wine-staging 7.22.
[Remark: commit 6c3797b3e8dba in wine staging was done on Nov 23rd, 7.21 was released on Nov 11th, v7.22 was released on Nov 26th. The original author send the report on Dec 7th, perhaps he had already picked up th commit 6c3797b3 when building his version of wine-staging 7.21. ]
https://bugs.winehq.org/show_bug.cgi?id=54102
--- Comment #11 from Zeb Figura z.figura12@gmail.com --- (In reply to Alois Schlögl from comment #10)
[Remark: commit 6c3797b3e8dba in wine staging was done on Nov 23rd, 7.21 was released on Nov 11th, v7.22 was released on Nov 26th. The original author send the report on Dec 7th, perhaps he had already picked up th commit 6c3797b3 when building his version of wine-staging 7.21. ]
Possibly, but it's also the kind of bug that could plausibly depend on hardware or environment, so I'd rather wait for confirmation from the original reporter.
https://bugs.winehq.org/show_bug.cgi?id=54102
--- Comment #12 from Daniel Wong danielyhwong@gmail.com --- Hello, I was taking it directly with apt from the wineHQ repo, I did not compiled any. Which version you wish me to confirm again?
https://bugs.winehq.org/show_bug.cgi?id=54102
--- Comment #13 from Daniel Wong danielyhwong@gmail.com --- I check with Ubuntu package from WineHQ repo that version 7.21 does NOT have this problem. 7.22 has this problem. This test was done on 21 Dec, 2022.
GPU Caps Viewer can report CUDA info in version 7.20, 7.21, but not 7.22.
My original issue was that an application (CLO3D) that I used with Wine stop working with GPU support starting with version 7.21. With 7.20 the application runs and GPU support is working. Therefore, I test it with GPU Caps Viewer. Right now, with 7.21, CLO3D will not even start, which is a separate issue, probably require a different ticket.
I hope this clarifies the matter.
Regards,
https://bugs.winehq.org/show_bug.cgi?id=54102
--- Comment #14 from Alois Schlögl alois.schloegl@gmail.com ---
I check with Ubuntu package from WineHQ repo that version 7.21 does NOT have this problem. 7.22 has this problem. This test was done on 21 Dec, 2022.
GPU Caps Viewer can report CUDA info in version 7.20, 7.21, but not 7.22.
This means the title of this bug report should be corrected from 7.21 to 7.22.
Recently, I tested GPU_CAPS_VIEWER 1.62.0.0 on wine 8.21 and recent version of Sveinar's nvidia-libs https://github.com/SveSop/nvidia-libs
I can confirm that it is possible to run GPU_CAPS_VIEWER in such way that the CUDA devices are reported.
https://bugs.winehq.org/show_bug.cgi?id=54102
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|GPU Caps Viewer does not |GPU Caps Viewer does not |report any CUDA devices |report any CUDA devices |starting with version 7.21 |starting with version 7.22 Regression SHA1| |6c3797b3e8dba19698328c411dd | |2082b2c45b849 Component|-unknown |-unknown Version|7.21 |7.22 Product|Wine |Wine-staging CC| |leslie_alistair@hotmail.com
--- Comment #15 from Zeb Figura z.figura12@gmail.com --- Changing title and moving back to wine-staging product.