Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - omr3lh

Pages: 1
1
Tips and Tricks / Re: MusicBee now works under wine
« on: April 03, 2021, 08:52:51 PM »
Oh, I thought I had mentioned earlier — I'm running this on MacOS on an M1 Macbook using CrossOver (basically a wine wrapper with extra goodies).

eh, a paid program, don't they offer some kind of support? I mean you are paying for a (kinda?) modded wine.
You could try the normal wine and see if there is any difference, I mean an M1 chip is quite fast for it to be struggling over MusicBee, I have a shitty AMD A4 and it runs smooth as butter.

Haha yeah, they do offer support! I should give that a try — didn't even think of it  ::)

I was also considering trying normal Wine, so I'll give that a good too.

2
Tips and Tricks / Re: MusicBee now works under wine
« on: April 02, 2021, 11:56:23 PM »
Oh, I thought I had mentioned earlier — I'm running this on MacOS on an M1 Macbook using CrossOver (basically a wine wrapper with extra goodies).

3
Tips and Tricks / Re: MusicBee now works under wine
« on: March 28, 2021, 07:02:16 PM »
Ok, I think I found the winning setup
*Use 64 bits prefix, dotnet48(lmao), mfc40, gdiplus and msxml6
The command should look like this

WINEPREFIX=[whatever place you use as prefix] winetricks -q --force gdiplus msxml6 mfc40 dotnet48

I added "dwmapi" and "windowscodecs" internal wine libraries through winecfg, but idk if it does something.

This setup just works so good lol, I can enter the now playing tab without problems, everything loads and the gui is really fast, something did not happen with wine-mono or the earlier dotnets, althoug wine-mono will get your cpu usage quite low ~5%, the gui wont look as good. With dotnet48 the gui looks like it should and cpu usage is 4%~ playback with slight jumps to 9%~ when changing songs.
Now playing tab hovers around 7~ and jumps to 10~ when changing songs.

Im on garuda linux (arch) with the linux-zen kernel and wine 6.0 with a musicbee only prefix.

I've tried various combinations of dotnet, mono, mfc, dwmapi, windowscodecs, Windows 7/8/10, x86/x64 with no luck. I haven't been able to decrease my playback CPU usage at all. What version of Musicbee are you using? I'm using 3.3.7602.

4
Tips and Tricks / Re: MusicBee now works under wine
« on: February 19, 2021, 03:16:36 AM »
Oh I probably have all of them, because before installing wine-staging I installed playonlinux, which came with pretty much everything you could ever need dependency wise, then i uninstalled it but while leaving all the dependencies behind, then I downloaded the latest mono from winehq (6.0 as of now) and installed xmllite and gdiplus through winetricks.
Ah, and I use manjaro.
Playback is max 8% cpu when changing songs and 5% when playing, only time it ever passed 10% was when it was scanning the drive.

Edit: Also im on a 64bit prefix

Thanks! I'll have to explore a bit more. I'm eager to get my CPU usage down. During playback, it still hovers around 30%. (At 0 when not playing though).

5
Tips and Tricks / Re: MusicBee now works under wine
« on: February 18, 2021, 08:34:46 PM »
OK, I have been doing some more testing and I think I can say this confidently: Dont use dotnet48, its garbage, if you use the builtin wine mono, it actually goes waaay faster, and you dont get the strange font distortion. WIth dotnet, im sitting around 23% cpu consumption and with winemono im sitting around 5-4%

In my current bottle, I'm using .NET 2.0/4.0/4.5/4.5.2/4.6.2, CrossOver HTML Engine, MS RichEdit 2.0/4.1. And it works fine, but I'm interesting in seeing if I can reduce playback CPU usage.

I tried making a new bottle in Crossover Mac with only MusicBee's install files and wine-mono. MusicBee launched and showed the main library's UI fine. I tried to go into the context menu to view preferences, but the context menu text wasn't visible. And then it crashed — and I was unable to reopen MusicBee.

Are there any other dependencies you're using beyond wine-mono?

6
Tips and Tricks / Re: MusicBee now works under wine
« on: February 16, 2021, 10:45:08 PM »
For the file converter tabs to not crash you need windows media player, you can find it as wmp11

And for the hotkeys I personally just use xdotool

Thanks for the tips! I'll give xdotool a look. I already was using Karabiner for other uses, so it was an easy fit.

Great note about WMP — I'll add that to my bottle. Danke!

7
Plugins / Re: MusicBee Remote (Remote Control for Android)
« on: February 13, 2021, 07:05:38 PM »
Just stopping here to say WOW and give my thanks to Kelsos. I've been using this plugin for several (4+ years?) with Musicbee on my Windows desktop — it's been a great experience.

I recently switched over to a Macbook and have started using Musicbee via Crossover. I didn't expect this plugin to work on MacOS...but it does! It works perfectly out of the box — no tweaking required.

I've tried to donate over the years to support your work on this and never found a way. If/when there is, I'll be first in line!

8
Tips and Tricks / Re: running MuiscBee on a Mac - sorted!
« on: January 19, 2021, 11:32:33 PM »
Hey, SimonZ! You might be interested in my post about getting MusicBee working on CrossOver on MAc: https://getmusicbee.com/forum/index.php?topic=17074.msg186421#msg186421

9
Tips and Tricks / Re: MusicBee now works under wine
« on: January 19, 2021, 11:26:30 PM »
I have Musicbee working on my M1 MBP via Crossover — everything functions seamlessly. I was even able to import my library and settings from my Windows backups with no issue. It's a testament to both Steven and the Crossover (and WINE) developers that something like this is even possible!

However, there are a few items I'd like to cover (some ongoing issues and some solutions that may help other people):

1. CPU Usage & Battery Drain

MusicBee has been draining my battery like crazy (it drains way more than Firefox, Dropbox, Plex, etc). I investigated and did some benchmarking:

When music is playing and the main window UI is hidden: ~30% CPU usage
When music is playing and the UI is shown: ~130%+ CPU usage
When music is paused and the UI is hidden: ~6% CPU usage
When music is paused and the UI is shown: ~100% CPU usage

(For comparison, Firefox with many tabs and several windows is maxing out at 25% CPU usage, and Dropbox [not a lighweight application] is at 0.7%).

As for memory, Musicbee hovers around 300 MB used (while Crossover is about the same).

a. UI CPU Usage - Solution
When it comes to the UI creating high CPU usage, it took me a while to solve this — until I realized there was on animated element in the UI: the Now Playing marquee scroll. Disabling this brought UI CPU usage way down. Now, when music is paused and the UI is shown, the CPU usage is ~3% (down from ~100%). Key insight here: remove all animated UI elements.

b. Playback CPU Usage - Ongoing Investigation
However, playback CPU usage (measured with UI hidden and music playing) is still around 30–40% CPU usage.

I tried changing the following settings:
- `use 32 bit output` to `off` = no impact
- load entire file to memory (or increase buffer size) = no impact
- Output methods WASAPI Shared & Exclusive (default: DirectSound) = no impact
- Disabling last.fm plugin (only one used) = no impact
- Equalizer, DSP, and Gain settings are off

Steven, do you have any suggestions for settings/features I can change/disable to reduce CPU usage during playback?


2. Minimizing Player Window
When I minimize the MusicBee window, the minimized window completely disappears. I was able to fix this by changing `General > minimise to` to `Taskbar`. (I originally had it set to `Notification Tray`). With this setting updated, minimizing the window works like one would expect on a Mac.

3. File Converters - Crash
I don't use this feature, but want to note that clicking `File Converters` in the Preferences menu causes a crash.

4. Media Keys Don't Work - Kludge Solution
Out of the box, Mac's play-pause/skip forward/skip back media keys won't control MusicBee. I was able to create a solution with the help of Karabiner Elements, a FOSS app that can intercept and remap keystrokes on Mac. I am using a "complex modification" in Karabiner to remap the media keys to hotkeys that can be used in Musicbee. Here is an example:
Code
"from": {
    "key_code": "play_or_pause",
    "modifiers": {
        "optional": [
            "any"
        ]
    }
},
"to": [
    {
        "key_code": "f4"
    }
]
And, to make the above example work, I also remapped my MusicBee play/pause hotkey to F4. A lot more than this can be done (especially if pairing Karabiner with Keyboard Maestro), but I'll leave that up to the reader.

Pages: 1