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

Cannot access settings - Win7 64 #1865

Closed
DGmCart opened this issue Mar 12, 2015 · 19 comments
Closed

Cannot access settings - Win7 64 #1865

DGmCart opened this issue Mar 12, 2015 · 19 comments

Comments

@DGmCart
Copy link

DGmCart commented Mar 12, 2015

LMMS crashes every time I try to access Edit > Settings. Otherwise it seems to be working fine. I've tried uninstalling and reinstalling but the problem persists.

Possibly relevant - I had some problems initially with not getting any sound, as it turned out I just needed to update the driver for my soundcard. But before I figured that out I had tried running the 32bit version to see if that produced sound. I think that may have been the last time I successfully accessed the settings menu. After I switched to the 64bit version Edit > Settings causes instant death - "This application has requested that the runtime terminate it in an unusual way"

Any ideas?
(Windows 7 64, core i5 2540m, 4GB)

@tresf
Copy link
Member

tresf commented Mar 13, 2015

Possibly related #1128 (closed because we couldn't reproduce, possible XML issue).

Can you open the run dialog (Windows Key + R) and paste the following:

cmd /k move %userprofile%\.lmmsrc.xml %userprofile%\.lmmsrc_bak.xml  & pause & exit

You should see:

image

If this fixes it, please send a developer the file.

If instead you see:

image

Then something is wrong and you'll have to check the security/permissions of the file.

-Tres

@DGmCart
Copy link
Author

DGmCart commented Mar 13, 2015

The command worked as expected (1 file moved), but now LMMS crashes while loading. I just tried wiping it and reinstalling it again but it still crashes while loading.

Edit: I had included a seperate install problem that is now resolved

@DGmCart
Copy link
Author

DGmCart commented Mar 13, 2015

This is the file. When you said send it to a dev, did you mean you or
someone else?

Thx - DG

On Thu, Mar 12, 2015 at 6:33 PM, Tres Finocchiaro notifications@github.com
wrote:

Possibly related #1128 #1128.

Can you open the run dialog (Windows Key + R) and paste the following:

cmd /k move %userprofile%.lmmsrc.xml %userprofile%.lmmsrc_bak.xml & pause & exit

You should see:

[image: image]
https://cloud.githubusercontent.com/assets/6345473/6631051/a7beda96-c8f6-11e4-86c0-180dbb1f5a0c.png

If instead you see:

[image: image]
https://cloud.githubusercontent.com/assets/6345473/6631071/f6e0fdfc-c8f6-11e4-9df2-48d3a510d62a.png

Then something is wrong and you'll have to check the security/permissions
of the file.

-Tres


Reply to this email directly or view it on GitHub
#1865 (comment).

@tresf
Copy link
Member

tresf commented Mar 13, 2015

I'm a good one to send it to, but GitHub strips out file attachments. But let's hold off on emailing it just yet...

The fact that it won't start now suggests you have a problem with your file permissions.

Can you create a second user profile on the machine, login, and verify LMMS starts just fine? If so, you'll have to repair the permissions on your user profile to fix the problem you are encountering. There are likely several tutorials on the internet for this and they would be unrelated to our software specifically. 👍

-Tres

@DGmCart
Copy link
Author

DGmCart commented Mar 13, 2015

Unfortunately this didn't work, LMMS crashes on loading in the new user profile

@tresf
Copy link
Member

tresf commented Mar 13, 2015

That sounds like a botchced install then. On occasion a DLL gets locked and the uninstall doesn't fully complete (our installer isn't intelligent enough to handle this scenario).

These are the steps to fully uninstall a botched version:

  1. Uninstall from Control Panel
  2. Reboot
  3. Delete (or rename) the LMMS folder that is still remaining in Program Files (as well as Program Files (x86) if applicable).
  4. Reinstall

Please let us know if this helps.

@DGmCart
Copy link
Author

DGmCart commented Mar 13, 2015

There is no LMMS folder to delete after the uninstall, so I couldn't perform step 3. Is there is a way to restore the LMMS folder after the uninstall? I could then rename it before doing a fresh installation

@Umcaruje
Copy link
Member

This might be a stupid question, but are you running the installer as administrator?

@DGmCart
Copy link
Author

DGmCart commented Mar 13, 2015

There are no stupid questions, it's entirely possible I've missed something obvious!
I am running the installer as administrator

@Umcaruje
Copy link
Member

Ok, just needed to check :)

Why not try to install it somewhere other than your program files folder e.g. somewhere in your user folder?

@DGmCart
Copy link
Author

DGmCart commented Mar 13, 2015

Good idea. Sorry to say it didn't work, It still crashes while loading

@Sti2nd
Copy link
Contributor

Sti2nd commented Mar 13, 2015

If it gives you runtime error my guess is that this will work #512 (comment)

@tresf
Copy link
Member

tresf commented Mar 13, 2015

@DGmCart,

That is very odd. What version are you using and where did it you download it from?

Assuming it's 1.1.3 and from our official site, there are a few other things you can try...

Can you open the run dialog (Windows Key + R) and paste the following:

devmgmt.msc

Now find your audio devices and disable any devices listed (Right Click, Disable) and relaunch the software.

image

If this works correctly you'll have "Dummy Audio" show up in the Settings Dialog.

image

If this allows the software to start, then it is a sound driver issue and we can link you to the knowledge-base article we have for that.

P.S. Don't forget to re-enable your audio devices so you have sound again. :)

-Tres

@DGmCart
Copy link
Author

DGmCart commented Mar 13, 2015

Success - After disabling the audio devices LMMS runs without crashing.

After re-enabling the devices everything seems to be working as it should, and the original problem I had of being unable to access settings is cleared up as well.
Thanks for your help!

@tresf
Copy link
Member

tresf commented Mar 13, 2015

It is part of our release notes...

Known issues with this release:

Windows

But the steps are simple enough... here they are:

  1. First, try updating your device driver.
    1. First try the latest driver from the manufacturer's website.
    2. In the case of LMMS, some have had better success completely removing the device driver and installing the driver from Windows Update.
  2. Second, try replacing libportaudio-2.dll with one from the PortAudioSharp project.
    1. Download PortAudio.dll from the PortAudioSharp page
    2. Extract PortAudioSharp.dll
    3. Rename it to libportaudio-2.dll
    4. Move it to C:\Program Files\LMMS ***
    5. *** Note, these steps may only work with the 32-bit version of LMMS.

Edit: Here's a 32-bit and 64-bit copy from dfernandes/precompiled-portaudio-windows:

@tresf
Copy link
Member

tresf commented Mar 13, 2015

Duplicate of #1173

@tresf tresf closed this as completed Mar 13, 2015
@musikBear
Copy link

@tresf
in ref. to
http://lmms.io/forum/viewtopic.php?f=3&t=604
I have tested the dll in question.
I like it 👍

Master 14. jul by Dave winXPsp3
Test1 : SDL
Used old projects perfectly. I compared the quality (by ear) to an exported version, and i could not point to any difference.
Export: wave + ogg, default settings : ok
So in respect to SDL the dll passed.

Test2 PORT-AUDIO w. ASIO4ALL
Loads & Devices found correctly
Plays perfectly, with no hickups at all
Sound quality exelent
Export: wave + ogg, default settings : ok
However-
This dll will still crash fatally with BSOD if something goes wrong, as has ALL and ANY libportaudio-2 dlls with ASIO selected.
That happens always!
(also mentioned in the forum thread)

I think that events like this can make a user uncertain of lmms' safeness, but it is a windows issue, and not even sure if it happens on anything else than xp (anyone with win7 seen this BSOD at ASIO crash??)
So in conclusion: imo, this dll works very well. There is no difference when it comes to using SDL, so that option everyone still have, and the ASIO support looks fine.
So imo - include the dll.
Now someone with other OS (vista, 7,8,10) need to reproduce.
MAC & Linux uses something different -right?

@tresf
Copy link
Member

tresf commented Nov 21, 2015

@musikBear this thread is about workarounds for gaining access to the settings dialog when there is a specific driver conflict which crashes LMMS. The PortAudioSharp suggestion was one suggestion of many to help resolve the OPs problem. The ASIO4ALL feedback is off-topic. Please move it to the forum thread where it belongs.

@musikBear
Copy link

@tresf so in #1173 ? It was just because you referenced this thread in the forum, that i wrote it here. 1173 is where PortAudioSharp is suggested

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

5 participants