cryinkfly / SOLIDWORKS-for-Linux

This is a project, where I give you a way to use SOLIDWORKS on Linux!
MIT License
425 stars 38 forks source link

Graphical problems in SW menus after installation #67

Open v-varma opened 5 months ago

v-varma commented 5 months ago

Hi all, I successfully installed SW2022; it took a lot of manual configuration to get it usable, and I almost got there, but there's one weird bug that I can't seem to fix, no matter what I do. Some elements in menus don't display correctly, with some text and other elements rendering for a split second, then disappearing with a left-to-right wipe; I've attached a screen capture of this effect. They reappear for a moment after dragging or resizing the window, or even just the panel with the missing elements, but then disappear again in the same way.

My system: OS: Ubuntu 22.04 Graphics card: GTX 1080 Ti Graphics driver: nvidia 535 Wine: 9.11 (staging) display: 2560x1440@144Hz

What I have tried:

Changing DE from "ubuntu" to plasma, disabling compositor, and messing with the redraw settings, to no avail. I've tried every permutation of the options "allow window manager to decorate/control the windows" and "emulate a virtual desktop" in both plasma, with compositor on and off, and in the default ubuntu DE; some configurations produce different problems, but no change in this one issue. I've tried disabling just about every graphics related option in solidworks that I could imagine making anything even a little more difficult for it to render; I've also tried software OpenGL, and both discrete and onboard graphics, and while there were significant changes to the performance of the main graphics view, none produced any difference in this behavior, save for the wipe being maybe a little faster or slower depending on overall performance. I've tried changing graphics drivers, and wine versions, although neither of these efforts have been comprehensive, just a couple versions here or there with no noticeable differences.

I have found a few odd cases of people with a similar issue with solidworks on windows, and the consensus was that it was an issue with the graphics (duh), but did not see any useful advice beyond "update the graphics driver". My guess is that these panels are not redrawing correctly, with elements rendering in the wrong order, or not every element is being redrawn, but I don't know what can be done about it, or really where to start looking. I understand that my graphics card isn't explicitly one of the ones recommended by Solidworks, but there still has to be some way around it, right?

Screencast from 06-23-2024 12:28:16 PM.webm