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

Genny and YM2612 VSTs have no GUI #5323

Closed
rdrpenguin04 opened this issue Nov 15, 2019 · 13 comments
Closed

Genny and YM2612 VSTs have no GUI #5323

rdrpenguin04 opened this issue Nov 15, 2019 · 13 comments

Comments

@rdrpenguin04
Copy link
Contributor

rdrpenguin04 commented Nov 15, 2019

Bug Summary

Some VSTs (in particular, Genny and YM2612) will not display a GUI.

Steps to reproduce

  1. Download Genny
  2. Add VeSTige instrument
  3. Open Genny.dll (or Genny_x64.dll, identical behavior)

Expected behavior

A GUI should show up

Actual behavior

No such GUI shows up

Screenshot

image

LMMS version used

LMMS v1.2.0.527 on Linux Mint, built from master branch... a while ago. Will update and see if anything changes.

Logs

Click to expand
rdrpenguin@rdrpenguin-Mint-2018:~/lmms/projects$ lmms
qt5ct: using qt5ct plugin
qt5ct: palette support is disabled
qt5ct: custom style sheet is disabled
VST sync support disabled in your configuration
000f:err:service:process_send_command receiving command result timed out
000f:fixme:service:scmdatabase_autostart_services Auto-start service L"WineBus" failed to start: 1053
Starting using X11Embed protocol.
RemotePluginClient::shmget: No such file or directory
RemoteVstPlugin.cpp::shmget: No such file or directory
RemoteVstPlugin.cpp: Failed to initialize shared memory for VST synchronization.
 (VST-host synchronization will be disabled)
0009:fixme:ntdll:EtwEventRegister ({5eec90ab-c022-44b2-a5dd-fd716a222a15}, 0x3f27f0, 0x400030, 0x400048) stub.
0009:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0x3f2560, 43) stub
unique ID: GENY
RemotePlugin::DebugMessage: inputs: 0  output: 2
RemotePlugin::DebugMessage: creating editor
0009:fixme:d2d:d2d_factory_init Ignoring factory type 0x1.
RemotePlugin::DebugMessage: editor successfully created
QObject::connect: Cannot connect (null)::subWindowActivated( QMdiSubWindow* ) to SubWindow::focusChanged( QMdiSubWindow* )
0009:fixme:win:EnumDisplayDevicesW ((null),0,0x33efb4,0x00000000), stub!
0009:err:d3d:wined3d_adapter_find_polyoffset_scale PolygonOffset scale factor detection failed, using fallback value 2^23.
0009:err:d3d:wined3d_adapter_find_polyoffset_scale PolygonOffset scale factor detection failed, using fallback value 2^23.
0009:err:d3d:wined3d_adapter_find_polyoffset_scale PolygonOffset scale factor detection failed, using fallback value 2^23.
0009:err:d3d:wined3d_adapter_find_polyoffset_scale PolygonOffset scale factor detection failed, using fallback value 2^23.
0009:err:d3d:wined3d_adapter_find_polyoffset_scale PolygonOffset scale factor detection failed, using fallback value 2^23.
0009:err:d3d:wined3d_adapter_find_polyoffset_scale PolygonOffset scale factor detection failed, using fallback value 2^23.
0009:err:d3d:wined3d_adapter_find_polyoffset_scale PolygonOffset scale factor detection failed, using fallback value 2^23.
0009:err:d3d:wined3d_adapter_find_polyoffset_scale PolygonOffset scale factor detection failed, using fallback value 2^23.
0009:err:d3d:wined3d_adapter_find_polyoffset_scale PolygonOffset scale factor detection failed, using fallback value 2^23.
0009:err:d3d:wined3d_adapter_find_polyoffset_scale PolygonOffset scale factor detection failed, using fallback value 2^23.
0009:err:d3d:wined3d_adapter_find_polyoffset_scale PolygonOffset scale factor detection failed, using fallback value 2^23.
0009:fixme:dxgi:DXGID3D10CreateDevice Ignoring flags 0x20.
0009:fixme:winediag:wined3d_select_feature_level None of the requested D3D feature levels is supported on this GPU with the current shader backend.
0009:fixme:dwrite:get_name_record_codepage encoding 20 not handled, platform 1.
0009:fixme:dwrite:get_name_record_codepage encoding 20 not handled, platform 1.
0009:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
rdrpenguin@rdrpenguin-Mint-2018:~/lmms/projects$

Additional notes

I noticed several errors from WineD3D saying that some things aren't supported on my GPU. I recognize that my GPU is very, very old. Is there a way to tell Wine from LMMS to use software rendering, since VSTs are not usually something that are very graphics-heavy?

Also, this post was edited because I botched formatting the first time. Sorry about that.

@DomClark
Copy link
Member

Can't reproduce on Windows 10. This might be a Wine or system thing - can a Linux person take a look? (For what it's worth, these plugins don't exit cleanly but crash instead, but I expect that's unrelated.)

@rdrpenguin04
Copy link
Contributor Author

This is definitely a Wine-related issue, probably a graphics issue in particular. I'm seeing if there's a potential way to make it not affect users as much.

@zonkmachine
Copy link
Member

I get a gui with YM2612 on LinuxMint 17.3
Version 1.2.1 (Linux/x86_64, Qt 5.9.7, GCC 4.8.4)
wine-1.6.2

@rdrpenguin04
Copy link
Contributor Author

rdrpenguin04 commented Nov 16, 2019 via email

@0xf0xx0
Copy link
Contributor

0xf0xx0 commented Nov 17, 2019

@rdrpenguin04 i have a mint boot, ill get Genny and test tomorrow.

@rdrpenguin04
Copy link
Contributor Author

In fact, running LMMS with LIBGL_ALWAYS_SOFTWARE=1 made Genny work. Now, is there a way to make LMMS enable that by default?

@0xf0xx0
Copy link
Contributor

0xf0xx0 commented Nov 17, 2019

is there a setting for that in the .lmmsrc?

@rdrpenguin04
Copy link
Contributor Author

Is there documentation somewhere on that? I'm not sure.

@PhysSong
Copy link
Member

is there a setting for that in the .lmmsrc?

It's the .lmmsrc.xml in your home directory, a hidden file that stores LMMS settings. And no, it doesn't have any entries for LIBGL_ALWAYS_SOFTWARE.

@PhysSong PhysSong added not our bug and removed bug labels Nov 22, 2019
@PhysSong
Copy link
Member

Anyway, it's better to have a troubleshooting guide or a programmatic way to work around this kind of issue.

@rdrpenguin04
Copy link
Contributor Author

Could I suggest a feature for LIBGL_ALWAYS_SOFTWARE being added? That could be a good workaround for anyone else having similar problems.

@rdrpenguin04
Copy link
Contributor Author

Of course, some setting would be nice, and that setting could probably be pretty easily passed to wine depending on how it's being invoked.

@tresf
Copy link
Member

tresf commented Nov 23, 2019

Launch settings generally need to happen before LMMS is launched (global environmental variable, lmms.desktop file, or custom AppRun script). Since VSTs run in a remote process, it's reasonable to suggest LMMS should be setting this, but it's not our bug, so I'd argue that these permanent workarounds belong in the Wine environment to begin with, not LMMS.

Anyway, it's better to have a troubleshooting guide or a programmatic way to work around this kind of issue.

Agreed. Added here: https://github.com/LMMS/lmms/wiki/Troubleshooting#linux

This tutorial can probably be improved as it doesn't explain how to permanently set an environmental variable. Improvements are welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants