[-] cammelspit@lemm.ee 2 points 1 day ago

Currently I am playing round with the clock and timer settings hoping to get this working as close to 'real time' as possible.

[-] cammelspit@lemm.ee 4 points 1 day ago

I appreciate your input. Thankfully I did verify the rate changes were actually being applied. I could play around a bit more and see what I can pull off, fully disabling 48000 suppord I dont believe I have ever done so I will give it a go. At this point, anything is worth doing :D.

[-] cammelspit@lemm.ee 2 points 1 day ago

Whelp, it plays a 48000Hz sine wave through aplay just fine... I used sox to generate it. I'll be frank, I am not entirely sure how else to test the audio system aside from just playing something. I believe pipewire being chosen as the default audio subsystem means pulse audio itself inst even needed or installed by arch install since pipewire has inbuilt compatibility with it, right? If this is the case, then I do not have pulse audio installed separately.

I would post my VM config but for some reason it's not working? Ill try a pastebin...

[-] cammelspit@lemm.ee 2 points 1 day ago

Funny you mentioned that, I was just doing that exact thing for the third time about 3 minutes before I posted this. I guess I must have forgotten to clarify that it had been tried. Thanks for the tip.

24
submitted 1 day ago by cammelspit@lemm.ee to c/archlinux@lemmy.ml

Hey, so I am losing my mind here. I can NOT get rid of this severe popping and crackling I get on all audio on all sources and all outputs. I am running pipewire as the audio system but I just cant get it to stop. I have already altered my pipewire.conf as seems to be the only thing the internet at large will ever recommend, it has ZERO effect. as an example...

    default.clock.quantum       = 4096
    default.clock.min-quantum   = 4096
    default.clock.max-quantum   = 8192

I have used values starting at 16 and doubled it every time and tested it up to some pretty massive values, 8192 so far and nothing. Below is the output of pw-top just so you know I am not joking as to the values I have tried.

   ID  QUANT   RATE    WAIT    BUSY   W/Q   B/Q  ERR FORMAT           NAME
R   56   4096  48000  55.0us  11.1us  0.00  0.00    0    S16LE 2 48000 alsa_output.pci
R   61   3600  48000  22.9us  19.5us  0.00  0.00    0    F32LE 2 48000  + Firefox

Ive tried dozens of different value, I've tried different rates, nothing. I have already posted on Reddit, that didn't help because as soon as I tried the values and that didn't work, no one ever responded again.

For completeness, I am running in a VM but it's a unique situation. I am running an Arch guest on a Slackware host. I have a dedicated GPU passed through properly and it does indeed have multi-function enabled. I am running an AMD 7950X with half the cores dedicated to the gaming VM and the other half left for the host as it pulls double duty as a storage, container, and virtualization host. I have 64GB of DDR5 and it is running at 6000 with even matching the XMP profile. The system is under very little load during testing but it makes zero difference what the load is anyway.

As a sanity check I spun up a Windows VM with identical settings except for the TPM stuff and it ran fine. I used to run pop_OS for a short time and I don't recall this ever being an issue there but it's been a while. However, if it were doing it there, I would have noticed.

I predominantly use this setup in my living room as a gaming centric VM that also pulls double duty as a Media center type thing so the audio issues are a deal breaker. I do this since this just happens to be where my server and the desk shelf are located, in the living room, so it makes sense to use this kind of setup. 9x out of 10 I am using the HDMI output of the nVidia 3070 TI but I do use a USB DAC and I have tested it. I also have tested Bluetooth output which seems ALMOST unaffected but laggy by almost a second or more so essentially unusable so I stick with the USB DAC instead if I need to use headphones. I could have sworn I head the pops just quietly when Bluetooth audio was playing but I could have been imagining it.

Please help, I am at my wits end, google, Arch wiki, driver updates, downgrades, betas, different kernels, I have tried everything I can possibly think of and nothing works.

Any help you guys can provide would be purely awesome. I have been using Arch now for maybe 5-6 months now and I am getting used to it and starting to really love what it is but this audio issues has been a thorn in my side the whole time and I am about ready to start distro hopping to try and find something that doesn't have this issue. Please, help!

Thanks!

[-] cammelspit@lemm.ee 4 points 3 months ago

I already own the 3070ti because it was just what I had before switching to Linux. It works great and I'm not keen on trying to swap cards until I can afford one that is a reasonably large step up. Plus when I do upgrade I plan making this one a dedicated transcoding\ai card so I don't want to sell it. I do intend on never buying nVidia ever again after living through tons of driver bs while my other AMD system is a very smooth experience. Generally it seems to me the idea of selling the card and buying another when it's not needed is sorta throwing the baby out with the bathwater kind of situation.

12
submitted 3 months ago by cammelspit@lemm.ee to c/archlinux@lemmy.ml

Hello, I'm facing some rather annoying issues with running KDE6 on Wayland. Despite consulting the Arch Wiki and various online resources, I haven't been able to get it working. X11 works fine, so I've been sticking with X exclusively due to my limited experience with desktop Linux and troubleshooting.

For context, my setup includes an AMD 7950x with Unraid as the main OS. My daily desktop runs on a mainline Arch VM with an RTX 3070ti and a dedicated USB controller card passed through. This setup has been stable for months, serving my gaming and media needs.

When attempting a Wayland session, I select it, observe a brief black screen flash, and then return to the login prompt. This issue persisted through upgrades and tests on different distributions like Manjaro and Endeavor. I've also tried multiple Wayland compositors, all with the same outcome.

The only success I've had with Wayland was on Garuda, which defaults to Wayland. I'm keen on using Wayland due to its evolving features, especially since it's essential for running Waydroid.

Any assistance would be greatly appreciated. While my use case may be unique, Waydroid is crucial for specific Android apps vital to my workflow.

Thanks in advance!

[-] cammelspit@lemm.ee 4 points 4 months ago

One of the main reasons I made the switch from 10 to 11 and I used it constantly. I have several services that simply don't work right from the web interface because of the drm BS. Being able to use the android apps worked great even if side loading an alternative store was a little bit of a pain on initial setup.

I am even more glad I recently made the switch to a 100% Linux environment at home. I have a simple waydroid install and it works much easier and is equally integrated into the desktop experience when compared to WSA. Only hassle is making sure you have a Wayland compositor since it won't work with x11 but that's just confirming a configuration essentially so par for the course really.

Regardless, this would be very disappointing if I hadn't already had an alternative.

[-] cammelspit@lemm.ee 3 points 4 months ago

Assassin's creed 3 remaster, Tomb Raider Trilogy, Just Cause... Its just a coincidence all im playing right now are old games, lol.

[-] cammelspit@lemm.ee 6 points 5 months ago* (last edited 5 months ago)

Oh, this is a flipping great question. So much fun as I've just settled on one distro. M$ won't allow me to transfer my transferrable Windows license and I refuse o pay yetagain for Windows so Linux is my sole OS from now on. I have had so many weird issues or configuration woes with a ton of OSs ive been trying. So I tell ya, I sure have installed my fair share of them in the last month or so.

GUI:

  • Steam (Gotta get my game on)
  • ProtonPlus
  • Lutris
  • Heroic
  • Winetricks
  • Protontricks
  • VLC
  • Brave
  • Bitwarden(Probably the second most important software in my life)
  • Authy
  • Krusader (No idea why but Ill use this before the built in file manager sometimes)
  • Plex htpc
  • Kate - Notepadqq (havent decided which one i like best yet)
  • PolyMC
  • LibreOffice
  • Flatpack (I always prefer the native package but flatpack has almost anything the repositories lack)-
  • Appimagelauncher (Just for ease of use, appimages are a always third fiddle but are a great backup as flatpacks can be - limited in available software compared)
  • Gimp (Almost exclusively because the name makes me giggle)
  • OBS Studio

CLI:

  • MC (100% always the first this I ever install no matter what)
  • HTOP (Not standard in all as many distros as i would think)
  • Openssh
  • Cifs-utils
  • Starship
  • Zsh
  • Neofetch
  • Tmux (Cant live without it)

Of course there are tons of other small things I add but those are the ones I will have installed likely before I go to reboot for the first time. The rest of what I interact with is generally running on my server so it's all web based stuff for the most part. I use VNC often to interact with virtual machines, do tech support for my son so i don't have to get up (disabled). I haven't really found a Linux VNC client i genuinely like. I used to use TightVNC with Windows and it's about the only thing I miss. I do have a Guacamole docker running on my network but unless you have a physical KB/M it's less than preferable to use. I'll find something I like eventually I'm sure. ๐Ÿ‘-----

[-] cammelspit@lemm.ee 5 points 5 months ago

I actually did try that but I messed it up somehow and didn't get it working. I then sawanexample similar to what I did here and since it seemed to work for them, I copied it. Would also be able to ping the NAS itself instead so you can not only confirm the network is up but also confirm the NAS is listening and replying properly. 100% sure there are better ways to do almost everything here but it was my first big win and I had to share. ๐Ÿ˜‚

[-] cammelspit@lemm.ee 7 points 5 months ago* (last edited 5 months ago)

Frankly, you are probably right. I am pretty new to all thisandwhat I have here is basically just cobbled together from nonsense examples I scrounged up off the internet. What's funny is, a good 20% of this I have no idea how it works! Lol

Originally i was juat going to make the script simply a list of all my mount commands and not even post anything about it at all. I spent a good two days playing around with about a dozen different ideas on how to accomplish my goal until this one, the first that worked at all. But yeah, I have been doinh a lot of fun stuff since I officially dropped Windows entirely a few weeks ago and a lot of the inner workings of how Linux works in general is just starting to make sense to me.

Pretty much the Arch wiki and the Gentoo wiki alongwith copious amounts of google fu have become an all encompasing hobby of mine as of late. I'll get there eventually. ๐Ÿ˜

46
submitted 5 months ago* (last edited 5 months ago) by cammelspit@lemm.ee to c/steamdeck@sopuli.xyz

https://pixelfed.de/p/cammelspit/657887422594974310

After using my Steam Deck for over a year, I had an idea regarding network storage when I was installing Emu Deck. Despite the portability of the Steam Deck, I wanted to mount ROMs, Media, and even a Steam Library from a network-attached storage (NAS) device at home.

Recently, due to health reasons, I find myself bed-bound, making the Steam Deck a great companion. However, It's storage options are rather limited so I attempted to find a solution.

I faced challenges due to SteamOS's immutable file system. To overcome these I explored using NFS shares for a Steam Library, as Samba shares had limitations and wouldnt work on Linux for a Steam Library. Mounting NFS shares worked as long as i used a specific option to make the files executable.

To automate this process I created a systemd service that loads on boot, triggering a script to mount the shares. However, SteamOS's immutable file system posed challenges for typical auto-start methods like the KDE autostart tool and especially fstab.

The key was leveraging the service that loads even in in gamemode so you wont have to do anything manually, not even switch to desktop mode at all. The solution involved that service checking network connectivity before mounting the shares. This ensures the script doesn't run before the wifi comes up, if it has no connectivity it rechecks every 30 seconds for connectivity until it does. Once this happens, the mount script itself is run. On a wired connectionwhile docked the mount is ready before Steam even loads for me so this hasnt been an issue but I felt it was a problem i needed to solve before putting it into production.

I've shared the service file and script as well as a handy script that I used to unmount those same shares during testing, noting that hard-coded paths will need to be modified. The script also logs successful and unsuccessful mounts for debugging but i liked the feature so i left it. Although not the final version, it offers a functional solution for now.

If you use Unraid, the script includes paths relevant to its shares. Server IP, share list, and mount points Will need to be modified to fit your needs or it likely won't work. The script lacks support for authenticated shares, but it persists between reboots and has shown reliability in my testing. I also realize that the script is basically just dumped on my desktop, that's where I created it and the pads are hard coded and I just don't care to change it so if you want it somewhere else you're going to have to do that alteration yourself.

Feel free to modify it or share improved versions and above all, have fun!!

  1. netmount.sh
#!/bin/sh

NFS_SERVER=10.10.10.99
SHARE_PATH="/mnt/user"
SHARES=("Media" "Emulation" "Steam" "Downloads" "DUMPBOX" "isos" "NSFWMedia" "Software" "Tools")

# Set up log file
LOG_FILE="/home/deck/Desktop/netmount.log"

# Loop through the shares and mount each one with -o exec
for SHARE_NAME in "${SHARES[@]}"; do
  MOUNT_POINT="/home/deck/mounts/$SHARE_NAME"
  mkdir -p $MOUNT_POINT  # Create the mount point directory

  TIMESTAMP=$(date +"%Y-%m-%d %H:%M:%S")
  mount -t nfs -o exec $NFS_SERVER:$SHARE_PATH/$SHARE_NAME $MOUNT_POINT

  # Log the results with timestamps
  if [ $? -eq 0 ]; then
    echo "$TIMESTAMP: NFS share '$SHARE_NAME' mounted successfully at $MOUNT_POINT" >> $LOG_FILE
  else
    echo "$TIMESTAMP: Failed to mount NFS share '$SHARE_NAME'" >> $LOG_FILE
  fi
done
  1. unmount.sh
#!/bin/sh

# Unmount all NFS shares
for MOUNT_POINT in /home/deck/mounts/*; do
  umount $MOUNT_POINT
done

echo "All NFS shares unmounted."

  1. netmount.service
[Unit]
Description=Netmount Script at Boot
After=graphical.target

[Service]
Type=simple
ExecStart=/bin/sh -c 'for i in {1..20}; do ping -c 1 google.com && /home/deck/Desktop/netmount.sh && break || sleep 30; done'

[Install]
WantedBy=default.target

You can use these clean versions for your scripts and service file. Adjust paths and configurations as needed.

[-] cammelspit@lemm.ee 18 points 5 months ago

Not surprised really. Netflix was part of my cellphone plan, when I switched plans, I just couldn't rationalize it anymore. I remember as a young working teenager loving how I could just mail those DVDs back and forth. I've never not had a Netflix since they first launched. Feels odd really, but ultimately I just can't abide their shenanigans.

view more: next โ€บ

cammelspit

joined 5 months ago