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

SOLIDWORKS SUPPORT #4007

Open
orabeidm opened this issue May 18, 2024 · 8 comments
Open

SOLIDWORKS SUPPORT #4007

orabeidm opened this issue May 18, 2024 · 8 comments

Comments

@orabeidm
Copy link

I'd like to clarify the question regarding compatibility with DXVK (Vulkan for DirectX) for SolidWorks. Unfortunately, DXVK is not a suitable solution for working with SolidWorks.

SolidWorks is professional design and 3D modeling software designed for engineers and designers. While DXVK is successfully used in the gaming industry to run DirectX-based games, its functionality and stability do not meet the requirements and tasks faced by engineers and designers using SolidWorks.

@Riesi
Copy link
Contributor

Riesi commented May 18, 2024

Getting CAD tools to work would be nice, but there are some features that are very likely a pain to implement.

First and foremost does Solidworks work with Wine without dxvk? If not then there are other issues that need fixing.

Secondly without any traces or debug information nobody will be able to help identify problems.
Can you provide dxvk logs and apitraces?
https://github.com/doitsujin/dxvk/wiki/Using-Apitrace

I dont think any of the devs has access to Solidworks and it seems its not possible to use a free trail, so improving the situation -- given it already works from the Wine side -- depends on logs and traces Solidwork users can provide.

If you are asking for Windows dxvk usage, it simply might be the case that the features required to get Solidworks going cant be implemented for Windows.

@orabeidm
Copy link
Author

orabeidm commented May 18, 2024

I tried it at work, and it works for FreeCAD and Siemens NX and for Kompas 3D, but it doesn't work for SW 2019. It starts and then becomes unresponsive after startup. (win10)

As for Linux, I have issues installing it under Wine. The installation takes a very long time (I have no idea why, the progress bar moves but it can literally take a day). Additionally, there are problems with installing databases. I tried these scripts: https://github.com/cryinkfly/SOLIDWORKS-for-Linux
and also this distribution:
https://rutracker.org/forum/viewtopic.php?t=5966648
but I couldn't get to the point of launching the main program window on my Debian 12. If we can work together on this, I'm ready to run all the tests. On Win 10, I wanted to try these libraries hoping it would help speed up graphics performance when working with large assemblies.

P.S.The rating of SolidWorks on WineHQ is mostly garbage. However, if we can get it to a working state, even for simple models, I would be happy. Siemens NX also had a native Linux version in 2012, but it is not compatible with the current Debian.

@Blisto91
Copy link
Contributor

Blisto91 commented May 18, 2024

We'll still need logs and apitrace to take a look if there is a issue with dxvk

@orabeidm
Copy link
Author

Sure. Let's start with something specific.
Would it be more convenient and easier for you to consider launching SW under DXVK through Debian or Windows 10? Let's choose a platform so that I can start experimenting and provide you with the error logs for the launch.

@doitsujin
Copy link
Owner

doitsujin commented May 20, 2024

Gonna be honest, this type of software just isn't interesting for us to support especially as long as it doesn't work on Wine to begin with. Can take a look at a Wine log, but unless there happens to be some obviously low-hanging fruit on our end that prevents it from running, there's not much incentive to spend a lot of time on this.

As for running this on Windows with DXVK, there's almost certainly going to be a lot of stuff that's straight-up impossible to support, desktop apps tend to rely extremely heavily on interop with other APIs (especially GDI, possibly even OpenGL in this case, and there's a bunch of things like native dwrite which also don't work with DXVK for currently unknown reasons, but do work on Wine).

@orabeidm
Copy link
Author

SW is a very buggy product; it is of average quality. However, it is very simple and popular. There are many people who want to run it on Linux and many who want to run it on Windows using DXVK for improved performance. Unfortunately, there is not much information about this on the internet. Many instructions are outdated or incomplete. However, if you are not interested in working on this, there is nothing I can do about it. I simply do not have the knowledge to do it myself.

@Blisto91
Copy link
Contributor

Blisto91 commented May 21, 2024

Start by posting dxvk or Wine logs and then we can see from there. Either from Linux or Windows. Or both

@mbriar
Copy link
Contributor

mbriar commented May 21, 2024

It is just very likely that it will rely on features that simply cannot work on windows with dxvk (like shared resources), but also can't work on linux at the moment due to other wine issues, so there would be nothing dxvk can do. But it would need logs to say anything.

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

5 participants