u/God_Hand_9764

I am running ComfyUI through Pinokio on CachyOS Linux. It is working perfectly UNTIL I try to generate my second image or video per session, then it always bombs and requires a restart

I set this whole thing up just a couple of days ago.

First I was having issues with out of memory errors that shouldn't be happening. A downgrade of torch fixed those, as per this post.

But I still have this problem where the second thing that I try to generate always bombs out. Sometimes I will see an out of memory error. Sometimes I will not see anything in the log and it disconnects as if the back-end crashed. Other times my whole desktop starts glitching out and I have to restart the entire PC.

If I close and then restart Pinokio after every generation, this doesn't happen. But that's very obnoxious to have to do and I could work so much more efficiently if not having to reload the large models to memory constantly.

I saw one suggestion that adding this startup parameter should fix the issue that I describe: -disable-smart-memory But I have no clue where to put this since ComfyUI is launching out of Pinokio, not like a standard application.

I have also tried clicking the unload model and free model and node cache buttons (vacuum cleaner buttons). It frees up memory as seen in a resource monitor, but still doesn't help this behavior.

Anybody have any ideas how to proceed?

EDIT: Oh yeah, a bit about my hardware might help...

CPU: AMD Ryzen 9 5900X (24) @ 5.36 GHz

GPU: AMD Radeon RX 7800 XT [Discrete] with 16 GB VRAM

Memory: 64 GB DDR4

reddit.com
u/God_Hand_9764 — 8 days ago
▲ 0 r/unRAID

Any ideas how to pass through amdgpu (I have an APU) driver access to Ollama docker container for using the vulkan support?

Basically what the title says. I have an AMD Ryzen 9 9900X CPU which I do believe has an APU. (I have no discrete graphics)

Ollama is neat, but on CPU only it really beats the crap out of my CPU and is slow with many models.

I have set the OLLAMA_VULKAN env variable in the docker container to 1. But I'm not sure how to pass through the driver? And everything that I search is showing Nvidia results, not AMD.

I tried the advanced parameter --gpus all but this caused the container to fail to start with some error about not identifying the vendor.

EDIT: Think that I solved it, gentlemen. In addition to the OLLAMA_VULKAN env variable, I had to add --device /dev/kfd --device /dev/dri under Advanced -> Extra Parameters in the docker template. It is definitely using the APU now as seen by a resource monitor.

Funny enough, it is slower now, but the CPU usage stays very low while GPU/APU usage maxes out. So I don't know if this is worth anything, but I imagine I'm saving a lot of electricity?

reddit.com
u/God_Hand_9764 — 10 days ago

I have no sound on most games if launched from Heroic Launcher... but Steam and everything else is fine

I'm trying to figure out why my games have no sound when launched from Heroic Launcher.

  • Sounds doesn't work using Proton Eggroll (downloaded by Heroic) or Proton Experimental (uses the one from Steam), or any Proton for that matter. I've tried very old ones in Heroic.
  • Creating a new fresh wineprefix doesn't help.
  • I even tried using Lutris and get the same results there, too.
  • Somehow sound seems to work with the built-in system package manager installed Wine, even when used from Heroic Launcher and with the same prefix.
  • Add to Steam as a non-Steam game, and it works fine there too.
  • EDIT: Just learned this... when Pro Audio or Direct USB profiles are selected in pavucontrol, the sound in games doesn’t work. But when I select one of the HiFi options, it does work. I want to leave my system at Pro Audio because it would be annoying changing back and forth (I record on this PC). How do I make it work with Pro Audio?

Why are my games having no sound only when launched from Heroic or Lutris? Any ideas?

I've tried everything that I could find from Googling.

reddit.com
u/God_Hand_9764 — 12 days ago

So, I have a NexDock, which is basically a touchscreen laptop without any actual computer parts inside. I am just using it to operate my main PC while I'm over on my electronic drumkit.

The problem is that the NexDock has a screen that is 16:10 and my main PC is 16:9. So when I mirror the screen, which is how I want to do it, my inputs are not correct. There are black bars at the top and bottom of the screen. This is fine, but I just want to calibrate my touches since they will become more and more inaccurate at the edges of the screen.

I am using libinput and a udev rule to adjust the coordinates. My testing shows that I am applying the rule correctly since I can give it very bad numbers and that results in proportionately very bad touch input, making the problem far worse. (just as a test that I am applying it correctly)

The problem is, I cannot seem to generate an accurate LIBINPUT_CALIBRATION_MATRIX. I am using the program weston-calibrator to generate the matrix values. It gives numbers after I touch the 3 places as it asks, but they just don't seem to fix the problem. I cannot understand why. Is there a better program?

The math for a matrix for overlaying a 16:9 screen inside of a 16:10 screen should be static actually, if someone already has the numbers. But I couldn't find a table anywhere. And the math seems completely unexplained and probably over my head anyway.

Pasting all of my notes from this below in case it clarifies anything about how I'm doing this.

# Install the weston compositor which includes a useful utility to get the calibration values
sudo pacman -Syu weston
weston-calibrator

# Install libinput-tools to work with input devices in wayland
sudo pacman -Syu libinput-tools

# Figure out which devices we are using by getting debug messages as you use the device
sudo libinput debug-events

# List the devices
sudo libinput list-devices

# Get the vendor id and model id
udevadm info -q property /dev/input/event24 | grep -e ID_VENDOR_ID -e ID_MODEL_ID

#ID_MODEL_ID=0001  
#ID_VENDOR_ID=222a

# Add a udev rule
sudo vi /etc/udev/rules.d/99-nexdock-touchscreen.rules

# Paste in:
ATTRS{idVendor}=="222a",ATTRS{idProduct}=="0001", ENV{LIBINPUT_CALIBRATION_MATRIX}="1.014806 0.006008 -21.641396 -0.010781 1.133336 -62.107147"

# Enable the new rule
sudo udevadm control --reload

# Then unplug and replug the device

# Remove the rule for troubleshooting
sudo rm /etc/udev/rules.d/99-nexdock-touchscreen.rules
reddit.com
u/God_Hand_9764 — 14 days ago

xpost from /r/protonvpn because their posts require moderator approval, probably they control the sub and don't want negative posts showing up.

I am using Firefox on Linux primarily.

I have tried using Proton VPN's native Linux client. I have tried creating the wireguard connection files in the Web GUI and loaded them system wide. And I have also used the Firefox plugin.

All three methods have been degrading in performance slowly over the past weeks and months and it's at a point where I don't even want to use it anymore because it makes browsing the web feel like such a frustrating slog.

It used to be just Reddit and YouTube that were slow. It used to only happen in Firefox but I could load up Brave and it would feel normal again. It used to only happen during prime hours in the evening.

But now it is like this almost all of the time in almost all of the circumstances. Some pages are slow, but some fail to load at all. And some pages are caught in an infinite loop of click the box to prove I'm not a robot, and it never takes me in.

If this never improves, I am going to jump ship in a heartbeat once my subscription is up. Is it just me?

EDIT: Looks like there is some regional problem. I had tried at least 3 separate Proton servers before making this post and all were misbehaving. I'm in the USA. Then I tried the Sweden server and it's running fine. Then I tried a US city which is far away from me, and that's fine too. All of the closest servers are slowest. I don't get it!

reddit.com
u/God_Hand_9764 — 15 days ago

First off, I love the LSP plugins.

But I'm confused as to why the limiter is introducing a huge added PDC value of 240 to the track in Reaper, while the compressor from the same suite introduces literally 0 PDC.

Don't these two tools perform a relatively similar function? I would expect a similar performance.

reddit.com
u/God_Hand_9764 — 23 days ago

I didn't see one. I also noticed that Easy Effects has a reverb that uses calf instead of lsp, perhaps because of this.

I also know that sometimes plugin manufacturers give their plugins weird names that don't hint precisely at what they do, so it's possible I'm missing something. (though lsp is likely not doing this)

It seems like traditional reverbs would be easier to use, work with, and tweak, which is why I'd prefer to have one. I just wanted to throw some reverb on a guitar track, and some vocal tracks. But maybe I am wrong to think that and should just embrace the IR way of it?

reddit.com
u/God_Hand_9764 — 24 days ago

I have some friends coming to jam in a few weeks and I am having a really great setup on my Linux machine at this point.

I don't sing though. I know very little about vocal processing. They will both be singing though.

Is there a good all in one plugin for handling the vocal processing? Reverb, compression, and whatever else vocals might need?

I do use yabridge but I'm seeking out Linux native for everything where I can. Especially if it's a commercial paid product because I can vote with my dollars for companies that take Linux seriously.

If just using a combo of LSP plugins is best, I do know and like those so that would be ok... I'm just checking if there's better.

Thanks in advance.

reddit.com
u/God_Hand_9764 — 25 days ago