SpiderUnderUrBed

joined 1 year ago
[–] SpiderUnderUrBed@lemmy.zip 1 points 1 week ago (1 children)

Mine is lowest when im out, do you have an opinion on which of the 3 tools to use

 

Currently I have only one laptop, I use it for everything and it has an nvidia gpu and a 11th Gen Intel(R) Core(TM) i7-11800H. I have a mode which disables the GPU which i use when i am out and about. However I want to minimize battery use to a significant degree, so which out of the three should I have on? power-profiles-daemon or autocpu-freq or tlp, which is better for battery performance? I know ppd is configurable via desktop, so i have kde set to power saving mode, but I still want better if possible, is there something more i can be doing with ppd or would autocpu-freq or tlp work better?

[–] SpiderUnderUrBed@lemmy.zip 1 points 1 month ago

I tried the loopback devices, didnt work, at most i made a script that worked, but i want it to work for audacity:

cat > ~/Music/record-desktop.sh << 'EOF'
#!/bin/bash
OUTPUT="${1:-$HOME/Music/Recordings/recording-$(date +%Y%m%d-%H%M%S).wav}"
pw-record --target 0 "$OUTPUT" &
PID=$!
sleep 0.5
pw-link bluez_output.30:50:75:16:40:A6:monitor_FL pw-record:input_FL
pw-link bluez_output.30:50:75:16:40:A6:monitor_FR pw-record:input_FR
echo "Recording to $OUTPUT (PID $PID) — press Enter to stop"
read
kill $PID
echo "Done! Saved to $OUTPUT"
EOF
chmod +x ~/Music/record-desktop.sh
[–] SpiderUnderUrBed@lemmy.zip 1 points 1 month ago

I am not using any app like qpwgraph to make connections, all i know is that this script works:

cat > ~/Music/record-desktop.sh << 'EOF'
#!/bin/bash
OUTPUT="${1:-$HOME/Music/Recordings/recording-$(date +%Y%m%d-%H%M%S).wav}"
pw-record --target 0 "$OUTPUT" &
PID=$!
sleep 0.5
pw-link bluez_output.30:50:75:16:40:A6:monitor_FL pw-record:input_FL
pw-link bluez_output.30:50:75:16:40:A6:monitor_FR pw-record:input_FR
echo "Recording to $OUTPUT (PID $PID) — press Enter to stop"
read
kill $PID
echo "Done! Saved to $OUTPUT"
EOF
chmod +x ~/Music/record-desktop.sh

as for everything else:


[spiderunderurbed@daspidercave:~/Music]$ systemctl status --user pipewire-pulse.service 
● pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/etc/systemd/user/pipewire-pulse.service; linked-runtime; preset: ignored)
    Drop-In: /nix/store/admlblh3rvzwjyhvgl8wf5fdr44iqmgc-user-units/pipewire-pulse.service.d
             └─overrides.conf
     Active: active (running) since Thu 2026-02-26 18:55:45 NZDT; 23min ago
 Invocation: f234a6d525b844ba9ee769e0d46787ec
TriggeredBy: ● pipewire-pulse.socket
   Main PID: 3143 (pipewire-pulse)
      Tasks: 3 (limit: 18874)
     Memory: 14.5M (peak: 20.7M, swap: 2.5M, swap peak: 2.5M, zswap: 472.1K)
        CPU: 1.618s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
             └─3143 /nix/store/z8pz8hz2psggqsws4n7mzbbdghpcxm71-pipewire-1.4.9/bin/pipewire-pulse

Feb 26 18:55:45 daspidercave systemd[2666]: Started PipeWire PulseAudio.
Feb 26 18:55:45 daspidercave pipewire-pulse[3143]: mod.protocol-pulse: vm.overrides in pulse.properties are deprecated, use pulse.properties.ru>
Feb 26 18:55:45 daspidercave pipewire-pulse[3152]: pw.conf: execvp error 'pactl': No such file or directory
Feb 26 18:55:45 daspidercave pipewire-pulse[3154]: pw.conf: execvp error 'pactl': No such file or directory

[spiderunderurbed@daspidercave:~/Music]$ systemctl status --user pipewire-alsa
Unit pipewire-alsa.service could not be found.
[ble: exit 4]

[spiderunderurbed@daspidercave:~/Music]$ systemctl status --user pipewire-alsa.service
Unit pipewire-alsa.service could not be found.
[ble: exit 4]

[spiderunderurbed@daspidercave:~/Music]$ 
[–] SpiderUnderUrBed@lemmy.zip 1 points 1 month ago (1 children)

I managed to fix it for pw-record, I dont know how to get it working for audacity:

cat > ~/Music/record-desktop.sh << 'EOF'
#!/bin/bash
OUTPUT="${1:-$HOME/Music/Recordings/recording-$(date +%Y%m%d-%H%M%S).wav}"
pw-record --target 0 "$OUTPUT" &
PID=$!
sleep 0.5
pw-link bluez_output.30:50:75:16:40:A6:monitor_FL pw-record:input_FL
pw-link bluez_output.30:50:75:16:40:A6:monitor_FR pw-record:input_FR
echo "Recording to $OUTPUT (PID $PID) — press Enter to stop"
read
kill $PID
echo "Done! Saved to $OUTPUT"
EOF
chmod +x ~/Music/record-desktop.sh
 

I know this is application specific, but this relates to my overrall nix config i think, pipewire, wireplumber, all enabled. But I cannot record internal desktop audio, how do i fix this? is it a nix fix

I set the recording device to pipewire, I heard the host device needed to be set to pipewire or smthin, but only alsa shows up. If any logs are needed tell me.

EDIT: Not really solved but I found a script that worked for pw-record, now ideally I would like to fix it for audacity at some point, or just some other gui audio recorder

cat > ~/Music/record-desktop.sh << 'EOF'
#!/bin/bash
OUTPUT="${1:-$HOME/Music/Recordings/recording-$(date +%Y%m%d-%H%M%S).wav}"
pw-record --target 0 "$OUTPUT" &
PID=$!
sleep 0.5
pw-link bluez_output.30:50:75:16:40:A6:monitor_FL pw-record:input_FL
pw-link bluez_output.30:50:75:16:40:A6:monitor_FR pw-record:input_FR
echo "Recording to $OUTPUT (PID $PID) — press Enter to stop"
read
kill $PID
echo "Done! Saved to $OUTPUT"
EOF
chmod +x ~/Music/record-desktop.sh
 
flatpak run org.qbittorrent.qBittorrent
bwrap: Unable to open lock file /app/.ref: No such file or directory

I tried flatpak repair, with --user and --system, that did not fix it, and I did a system re-install, or rather reinstalled all the packages Nothing worked.

I am using nixos on unstable, recently I broke the nix part of my system, and was advised to do a re-install, I did a re-install which involved usb booting into nixos, and running a command to reinstall all the packages and rebuild in my nix directory, but afterwards, no flatpak is running. There is a possibility it broke beforehand and I didnt notice that, but i think it might have been after the re-install.

Flatpak version: 1.16.1

Distro: NixOS

Distro version: /nix/store/8hx8jwa24q6rkzhca9iqy5ckk9rbphi1-source

Architecture: x86_64

EDIT: Some flatpaks run but alot of them dont with the same error

EDIT (x2) SOLVED: I think the issue might have been the kde platform, as the apps that crashed were on kde platform 6.8 or 6.9, possibly some broken version, most likely the platform and bwrap didnt play well with nixos, these commands worked, I ran this for users (not system). Possible system might work, point is, I dont have the issue anymore.

flatpak uninstall org.inkscape.Inkscape org.qbittorrent.qBittorrent com.obsproject.Studio org.kde.kdenlive org.wireshark.Wireshark com.prusa3d.PrusaSlicer com.rafaelmardojai.Blanket io.github.seadve.Mousai net.codelogistics.clicker org.freefilesync.FreeFileSync

flatpak uninstall --runtime org.kde.Platform//6.8
flatpak uninstall --runtime org.kde.Platform//6.9
flatpak uninstall --runtime org.gnome.Platform//48

flatpak uninstall --unused -y

flatpak repair --system
flatpak repair --user

flatpak install flathub org.inkscape.Inkscape
flatpak install flathub org.qbittorrent.qBittorrent
flatpak install flathub com.obsproject.Studio
 

This was talked about before, but the settings location that was mentioned to enable thumbnails on remote files and stuff has changed. I have a mount of my android system over mtp, and I cannot see any of the thumbnails, making it impossible for me to sort my stuff, some into hard drives and etc. Image

How do i enable seeing mtp thumbnails in kde, is there issues with just mtp thumbnails in dolphin or what alternative file manager or image veiwer I can use so i can see the thumbnails and relocate the images.

 

Here is a volume I created with two nodes, not replicated but rather distributed:


[nix-shell:~/hdd]$ sudo gluster volume info gv0
 
Volume Name: gv0
Type: Distribute
Volume ID: 8db02f86-0d22-48d5-952e-192b5eb4397c
Status: Started
Snapshot Count: 0
Number of Bricks: 2
Transport-type: tcp
Bricks:
Brick1: hostnuc:/home/spiderunderurbed/hdd/gluster/brick2
Brick2: raspberrypi:/home/spiderunderurbed/hdd/gluster/brick2
Options Reconfigured:
storage.fips-mode-rchecksum: on
transport.address-family: inet
nfs.disable: on

[nix-shell:~/hdd]$ 

Respective partitions both the bricks are on: Rpi:

└─sdc2
       8:34   0   1.9T  0 part /home/spiderunderurbed/hdd

Hostnuc:

├─sda1
│      8:1    0   1.6T  0 part /home/spiderunderurbed/hdd

When i run df -h where i mounted it:

spiderunderurbed@raspberrypi:~/gluster-mount $ df -h .
Filesystem      Size  Used Avail Use% Mounted on
localhost:/gv0  1.9T   20G  1.9T   2% /home/spiderunderurbed/gluster-mount
spiderunderurbed@raspberrypi:~/gluster-mount $ 

I only see the size of my pi's partition, and not the full 3.5T i should be getting, why is this? and how to fix it.

 

Ncdu takes ages to run on my system, its like 500GB+ of storage space, but it takes roughly an hour to finish scanning, probably a bit less, is there any alternative which either constantly monitors my files so it always knows the sizes for me to navigate or is significantly faster than Ncdu?

 

is /run shared to the real filesystem after the initrd stage? like what directories are shared to the real filesystem after initrd, or what files. Or is everything just inaccessible in the real filesystem from the initrd phase.

 

Like how on Debian's website, you can find their ISO's and other related files in this very simple file browser layout which looks kind of old but I want that, know any projects or way to set something like that up? The modern self-hosted stuff just does not seem simple enough, and both aesthetically and from a functional perspective I would like something like what debain does with their own files. I also want it to be reliable, for some reason, with both immich and nextcloud, a relative of mine was unable to download alot of photos without the download not even starting on Nextcloud, or it stopping 30% of the way on immich, if reliable downloads necessitate a desktop app with their own unique file exchanging protocol I would be ok with that too (willing to compromise with the desired aesthetic and minimalist design)

The ideal thing is the thing here: https://cdimage.debian.org/debian-cd/

[–] SpiderUnderUrBed@lemmy.zip 1 points 9 months ago* (last edited 9 months ago)

I dont think i ever set AV1 encoding inside OBS, looking at my settings, it just shows h.264:
Picture

[–] SpiderUnderUrBed@lemmy.zip 1 points 9 months ago (3 children)

I tried nvidia-offload, as I set up PRIME awhile ago, it didnt help, here is the logs, if its useful: https://pastebin.com/CiJ4Zyjw

Idk if OBS would actually respect the GPU being handed to it, or if it'll do something weird with screen capture, its weird per-gpu settings is not a option with OBS, if this is a OBS bug, i can file a bug report. Hopefully it can be resolved here.

[–] SpiderUnderUrBed@lemmy.zip 1 points 9 months ago* (last edited 9 months ago) (5 children)

I have the hyprland portals installed, and the kde ones, due to some issue I had to explicitly install them so idk if that will mess with the way applications handle it, assuming not, and yes I have two gpus, one dgpu, and one igpu, the dgpu is directly connected to my hdmi, does OBS stuggle with 2 gpus? still, that sounds like it would be a issue with capturing the monitor managed by my igpu. Not a reason to stop a second pipewire capture.

What logs do you need? I provided some from running OBS but i assume it isnt enough, what logs should I collect, or is there a flag i need to run with OBS

 

How come when I try to create a new obs screen, it is black, whether or not i toggle off the visibility on Screen Capture and how do i get it to show the capture settings, like which monitor, or what portion of the screen, to be clear, the! first capture works, for some reason no other capture i try to create is letting me configure or display anything

^ Image
https://pastebin.com/AzKCZ8Tt
^ Logs
https://imgur.com/a/K7pMA4p
^ Video
There is a chance this might be related to another issue I had, but I dont know a fix (I have to manually add what portals I want to install due to a bug, but I have the plasma portals so that should be enough?)

[–] SpiderUnderUrBed@lemmy.zip 4 points 9 months ago

Weird it's called clicker when you can do key presses too, but I'll check it out. It looks like it fulfills my use case

[–] SpiderUnderUrBed@lemmy.zip 2 points 9 months ago (1 children)

If it works on wayland then yes

[–] SpiderUnderUrBed@lemmy.zip 3 points 9 months ago (1 children)

What's the difference between this and ydotool

[–] SpiderUnderUrBed@lemmy.zip 3 points 9 months ago (4 children)

Unfortunately it ain't a gui

 

There is xclicker which is a flatpak app, but it only automate mouse clicks, but there is nothing for key presses, I am surprised I could not find anything on this, but is there any GUI for this? Also is this possible on a technical level (in flatpak especially, I dont know if apps can simulate key presses). I know of ydotool, but that uses root, also its not a gui

[–] SpiderUnderUrBed@lemmy.zip 9 points 9 months ago (1 children)

Would signal also work?

 

From both a technical perspective and if the maintainers of these anti-cheat will consider porting or re-writing kernel level anti-cheat to work on linux, is it possible? Do you think that the maintainers of kernel level anti-cheat will be adamant in not doing it, or that the kernel even supports it or will support it. I think that if it ever happens, there will be a influx of people moving to linux, or abandoning their duelboots, and that alot of people will hate that such a thing is available on linux.

 

Hello, I am looking for a alternative to HA Proxy, as the GUI options for it, are both third-party and not very good looking, also I just want to know about the alternatives, what I am looking in a high availability setup is the ability to detect if a server is offline, and route to other servers, as well as other HA goodies.

view more: next ›