atomic-studio-org / Atomic-Studio

Operating system based on Fedora Atomic meant for content creators and artists
Apache License 2.0
14 stars 1 forks source link

feat: studio wine command #28

Closed tulilirockz closed 4 months ago

tulilirockz commented 5 months ago
fiftydinar commented 5 months ago

Interested in this, as I prefer to use FL Studio as a DAW.

tulilirockz commented 5 months ago

this should work with fl studio or reaper as it uses wineTKG! i still need to implement this in a graphical (or at least TUI) way tho! most likely through a wine manager interface or something like that.

fiftydinar commented 5 months ago

Regarding the video you linked above for some tweaks, you can take an inspiration from CachyOS Settings, as they have some of those related to audio: https://github.com/CachyOS/CachyOS-Settings

PS: Using FL Studio ASIO was a pain, couldn't play anything properly because of high latency. I heard about WineASIO, but I didn't know how to set that up back then.

tulilirockz commented 5 months ago

Added the CachyOS audio-related configuration files with 31ac103

fiftydinar commented 5 months ago

Added the CachyOS audio-related configuration files with 31ac103

I am not sure if those @realtime & @audio user groups need to be created before inserting those there.

Nvidia config is tailored for their Arch Nvidia driver, things for Fedora might be different, so I wouldn't risk the bisquit.

For Esync to work, you would also need systemd configuration drop-in: https://github.com/fiftydinar/gidro-os/blob/main/config/systemd/system.conf.d/nolimit-gidro.conf https://github.com/fiftydinar/gidro-os/blob/main/config/systemd/user.conf.d/nolimit-gidro.conf It would be great to also increase softfile nofile limit to 4096 in 99-esync.conf.

About HPET permissions & interrupts, I don't think that's complete, as they use that script in temp folder, which implies they are passing that for something else.

For now, I would just merge this useful binary for PCI latency & it's systemd service: https://github.com/CachyOS/CachyOS-Settings/blob/master/usr/bin/pci-latency https://github.com/CachyOS/CachyOS-Settings/blob/master/etc/systemd/system/pci-latency.service

For the rest, I will see what to do & what needs to be implemented fully. Nice & steady is the way.

I can make a PR reverting those modifications & doing what I mentioned here. Is that cool?

tulilirockz commented 5 months ago

Yeah! No prob!

fiftydinar commented 5 months ago

https://github.com/atomic-studio-org/Atomic-Studio/pull/64

tulilirockz commented 5 months ago

I tried the approach of having Wine-TKG installed on the host, but sadly that won't be possible because TKG made a patch to wine-tkg-git forcing fedora builds to use the experimental wow64 driver for wine, which cannot run anything! Ive tried to install anything, like FL-Studio, Reaper, or even Notepad++ and it didnt work :(. Ill be working on a workaround tomorrow by using a custom archlinux container with wine-tkg installed. The studio cli will use that instead of the system provided wine (which will be removed). Id love to have a GUI or TUI for wine, im pretty sure ill have to implement that too

fiftydinar commented 5 months ago

I tried the approach of having Wine-TKG installed on the host, but sadly that won't be possible because TKG made a patch to wine-tkg-git forcing fedora builds to use the experimental wow64 driver for wine, which cannot run anything! Ive tried to install anything, like FL-Studio, Reaper, or even Notepad++ and it didnt work :(. Ill be working on a workaround tomorrow by using a custom archlinux container with wine-tkg installed. The studio cli will use that instead of the system provided wine (which will be removed). Id love to have a GUI or TUI for wine, im pretty sure ill have to implement that too

Wine on host is dependency hell anyway, so good ridance I guess. Bottles may sound great as GUI when it's using Adwaita theme, but it's much more complicated to install & manage applications there. If there could be some wine GUI which would automatically handle prefix-per-app approach like Steam does, that would be great

tulilirockz commented 4 months ago

This issue is gonna get moved over to the relevant studio-cli repository, check it out instead of this one!