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

DnSpyEx under wine #340

Closed
sassywoocoo opened this issue Jul 6, 2024 · 4 comments
Closed

DnSpyEx under wine #340

sassywoocoo opened this issue Jul 6, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@sassywoocoo
Copy link

dnSpyEx version

6.5.1

Describe the Bug

the GUI is very buggy deeming the software unusuable

How To Reproduce

run under wine on linux

Expected Behavior

actually running properly

Actual Behavior

the gui keeps glitching and the buttons dont work

Additional Context

No response

@sassywoocoo sassywoocoo added the bug Something isn't working label Jul 6, 2024
@ElektroKill
Copy link
Member

Hello, there is really nothing I can do in this regard. WPF is designed by Microsoft to run on Windows. Wine is trying its best to bridge the gap between Linux and Windows. The GUI being buggy is most likely not dnSpy code (it works fine on Windows) but rather an issue with the Wine compatibility layer which I can do nothing about. I've heard of many people trying to run dnSpy under Wine and achieving various degrees of success.

If you know of something specific in WPF that causes problems on Wine that can be changed without impacting the UX on Windows, I'd be willing to look into it. However, without anything like this, there is really nothing I can do as the issue lies within the compatibility layer which allows you to run a Windows app on Linux.

As for making the app work natively on Linux, this would necessitate a complete rewrite of the UI code to a different UI framework, something which I have no time to do currently and existing translation layers for WPF -> different UI frameworks exist but are not designed for open source developers to utilize, for example, Avalonia XPF.

@ElektroKill ElektroKill closed this as not planned Won't fix, can't repro, duplicate, stale Jul 6, 2024
@SmallJoker
Copy link

SmallJoker commented Jul 25, 2024

For those who are wondering how to get dnSpy 6.5.1 to run:

  • Proton 9.0-2 via Steam does work
  • wine-9.13 with dotnet48, dotnet40, DXVK (and also tried with WineD3D) does currently NOT WORK and results in a very long error message (excerpt below).

wine-9.13

Tested functionalities:

☑️ Loading assembly with dependencies
☑️ Assembly symbol searches
☑️ IL code disassembler
☑️ IL code patching
☑️ Test of patched binary

If the system font is too small -> open winecfg by reconfiguring the launch executable of the newly created Steam library entry.

@NopeNopeGuy
Copy link

* wine-9.13 with dotnet48, dotnet40, DXVK (and also tried with WineD3D) does currently _NOT WORK_ and results in a very long error message

It does work, you probably didn't disable dxvk correctly because it seems to work just fine on a clean wineprefix with dotnet48

@dagriefaa
Copy link

dagriefaa commented Oct 8, 2024

i'll note that if it does boot via proton but popup menus and tooltips are black, using launch options PROTON_USE_WINED3D=1 %command% fixed that issue for me

edit: alternatively, install protontweaks, drill down to regedit, and add the following registry key: HKEY_CURRENT_USER\Software\Microsoft\Avalon.Graphics -> DWORD DisableHWAcceleration 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants