• zcd@lemmy.ca
    link
    fedilink
    arrow-up
    0
    ·
    16 days ago

    Switching over to a tiling windows manager has been really enjoyable. It feels like a futuristic paradigm shift

    • hellofriend@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      16 days ago

      Happen to know anything about how windowed games work with a tiling manager? I often stream a buddy’s Elden Ring gameplay while playing myself, but having only one screen means I have to have the Discord popout in the top corner and the gameplay in windowed.

      • Hexarei@programming.dev
        link
        fedilink
        arrow-up
        0
        ·
        15 days ago

        In i3wm you can set a key bind to float a window above the tiling and it’ll do just that; You can even automate it with some custom for_window rules if desired.

      • Statlerwaldorf@midwest.social
        link
        fedilink
        arrow-up
        0
        ·
        16 days ago

        I just started tinkering with this yesterday in Gnome on Pop! and it looked like there are options to exclude certain programs from tiling if that’s what you’re looking for.

      • zcd@lemmy.ca
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        16 days ago

        I haven’t tried that exact set up myself but in hyprland the default tiling would have your Elden Ring on one half and your friends the other half. Then if you opened up discord it would split one of the halves in half again. If you wanted to have discord instead floating and over top of the stream you could do that, or send it to the next “desktop” over if you don’t need to see it. You can customize each of the tiles however you like, border or no border, you can move them around…

  • TwiddleTwaddle@lemmy.blahaj.zone
    cake
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    15 days ago

    Edited my kernal parameters to prevent my CPU from going into a low power state that had been causing crashes for years apparently.

    Edit: if you use 1st gen ryzen and have been putting up with intermittent crashes thinking it was your shitty old used GPU like me, try disabling c-state 6.

    • funky-rodent [he/him]@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      14 days ago

      Ryzen crew, never rest, never sleep!

      I am so confused that this is still an issue, but be warned even with more “modern” Ryzen it is an issue. My Ryzen 5(?) Huawei matebook still can’t run Linux without this shit.

      • XTL@sopuli.xyz
        link
        fedilink
        arrow-up
        0
        ·
        11 days ago

        Weird. I’ve used 1000,2000,3000,4000 series without any issues ever.

  • minibyte@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    16 days ago

    Just flat out getting Debian to install. This was my first OS swap on a Dell Latitude. Holy whirlwind that bios is locked down with half a dozen secure boot “features”.

    My problem ended up being in storage configuration. After I set it from raid to achi Debian install was able to detect the drive. Why my laptop with a single m.2 slot was configured for raid, I’ll never know.

    • Telorand@reddthat.com
      link
      fedilink
      arrow-up
      0
      ·
      16 days ago

      I remember a time when that was a common thing for laptop drives to come preconfigured as Raid 0. Maybe the OEMs thought it would be easier to add storage that way…?

      • minibyte@sh.itjust.works
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        16 days ago

        I get that maybe it’s preconfigured which might make sense on dell pc’s that’d fit a few drives in empty sata slots, but it took me nearly two days to think of that solution.

        I figured throw it out there in case someone else has issues with an install locating the main drive on a Dell.

        • dave@hal9000@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          16 days ago

          I just got a Dell precision through work, and I am glad I accidentally stumbled on that in the bios menu, I would not have guessed either

  • mihnt@lemmy.ca
    link
    fedilink
    arrow-up
    0
    ·
    16 days ago

    I thought it was when I switched over to pipewire, but no. I’ve got severe audio crackling problems now and I want to go back to pulse for all it’s faults.

    • Telorand@reddthat.com
      link
      fedilink
      arrow-up
      0
      ·
      16 days ago

      Supposedly, you can correct that by modifying the config. There’s some kind of issue with the default settings.

      I wish I could give you more info, but somebody had the same problem, and another user said it was the default config that needed to be tweaked.

      • mihnt@lemmy.ca
        link
        fedilink
        arrow-up
        0
        ·
        16 days ago

        Oh, it’s got other issues than that, but the crackling is the most unnerving.

        Some of the audio from my Jellyfin media player (flatpak) just hasn’t been playing. So I check Helvum and sometimes it just doesn’t even patch it over. I got the deb of JMP installed and that seems to have made it behave, but the maintainer of JMP hasn’t made that easy with all sorts of weird patches and junk.

        My only issue with pulse audio was that I had to open Pulse effects each time I restarted my computer because it wouldn’t auto load the settings.

  • Valmond@lemmy.mindoki.com
    link
    fedilink
    arrow-up
    0
    ·
    16 days ago

    I just bought another (cheap quad core 256GB SSD) thinkcentre as a tinker platform.

    So I’m going to add that to my Linux uh setup (of machines).

    • Drasglaf@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      16 days ago

      I’ve been thinking about getting a thin client or similar for Hi-Res music listening for a while. I tried a Raspberry Pi 3b+ and the music sounded harsher and would crackle as soon as the Pi was doing anything else at the same time.

      Having my PC on all day in summer is a bit overwhelming.

  • timicin@lemmygrad.ml
    link
    fedilink
    arrow-up
    0
    ·
    16 days ago

    my employer gave us macbook pros’ to work on and it so much spyware/malware that it made my router go off like xmas lights; so i setup a linux vm using kvm/qemu on my own hardware and retired the macbook.

    i now fully expect my employer to somehow force a return to the macbook; but i’ve already returned it to the company so they’re going to have to buy me a new one when they do so.

    • ReallyZen@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      15 days ago

      I’m using Asahi daily these days; it is dual-boot by nature so you can rock your Linux OS everyday but still have “a macbook” (and be working on a work machine paid by your company, as should be).

      I’d be using it more if the keyboard wasn’t so shit. Battery is good, screen too, processing power… really just the keyboard is wrong, wrong and wrong. Oh, and I love the touchscreen on my other laptop.

      Did you guess my other machine is a Thinkpad? Yes it is. With a touchscreen!

  • Cirk2@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    16 days ago

    Bundling my two sata ssds into a single zfs volume, instead of manually moving stuff around between the nvme and two sata ssds. Combined with compression, and for my code folder deduplication it also resulted in a lot more usable space.

  • Lvxferre@mander.xyz
    link
    fedilink
    arrow-up
    0
    ·
    16 days ago

    A script full of functions that I perform often, like:

    • Probe every 5min for internet connection. Play Black Sabbath when there is. (My internet goes down often.)
    • Create individual tarballs/zips/rars for each subdir.
    • Extract all tarballs/zips/rars from a dir. (It detects the format on its own)
    • Extract all files of a DwarFS file into a dir.
    • Re-encode all vids from a dir.
    • Delete all thumbnail pictures from my user.
    • Find and remove all desktop.ini and thumbs.db files in a dir, recursively.

    My .bashrc then sources that script, so to use those functions I simply open a terminal. And if I ever need to delete my .bashrc and recreate it anew, they’re safely stored in my scripts directory.

    • sazey@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      14 days ago

      If you’re comfortable running Docker, check out net probe. It comes with an all in one logging/graphing stack that will probe your internet quality based on lag and packet loss. Default configs is good enough to get you going and you can tinker to your heart’s content from there. Probably won’t play Black Sabbath automatically though unfortunately!

    • dave@hal9000@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      16 days ago

      The black Sabbath for Internet connection is hilarious. Did you get that from the Bitcoin mining trigger bit on Silicon Valley?

      • Lvxferre@mander.xyz
        link
        fedilink
        arrow-up
        0
        ·
        16 days ago

        No, that’s a coincidence. I wanted something that: started loud, was easy to recognise, I don’t mind hearing, and my neighbours don’t listen to. Wicked World it is.

        Here’s the code by the way, with the echo translated:

        lvxInternetCheck () {
        	while [[ $(ping -c 5 8.8.8.8 | grep -o "100% packet loss") == "100% packet loss" ]]
        		do echo "No internet at $(date +%R)." ; sleep 300
        		done
        	echo "Internet came back at $(date +%R)."
        	cvlc /[redacted]/08\ -\ Wicked\ World.mp3 
        	}
        

        It’s dirty but it works. (My functions start with “lvx” to avoid the tiny chance that they might clash with system functions.)

  • LordCrom@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    16 days ago

    I bought a sager laptop, matching the models that system76 uses. Loaded pop os and away I go.

    So far, very stable. I am forced to use Nvidia performance mode if I want an external monitor which is slightly annoying, but I can reboot into normal mode when on battery.

    Its the poor battery usage that irks me. The battery life gets me 90 min of use, so not great.

    I got steam for some gaming, guitarix and ardour for music, libre office, IDE and git tools all good to go.

    Worth it

  • Vik@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    16 days ago

    I got VFIO/IOMMU + single GPU pass-through working on Fedora 40 with my RX 6800 xt into a win10 VM.

    More of a see if I could sort of thing, I don’t imagine I will actually need it much, but it may help if any of my friends are curious about switching over.

    • dave@hal9000@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      16 days ago

      Oh my god, I wish! I have tried unsuccessfully before, but I was trying to just pass my onboard AMD igpu to the VM and keep an NVIDIA on Linux.

      When you say single passthrough, you mean splitting the one GPU to host and client?

      I have tried through the arch wiki and a couple of YouTube tutorials with no luck. If you found any tutorials/resources that really, helped, please share!

      Also, I really wish I had the foresight to have bought AMD instead of NVIDIA a few years ago, but it was before I was on Linux as my main driver and didn’t know any better

      • Vik@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        15 days ago

        Hey there, just using a single GPU in this system. If you have multiple adapters, you can try something like LookingGlass instead. In my case, I would need a single GPU that supports SRIOV, which is typically relegated to data centre products (I believe someone actually managed this with an Intel iGPU + and experimental sriov driver!).

        I’m just passing my GPU through to a virtual machine; it takes precedence over the graphical session, leverages all connected displays and relevant peripherals, and gracefully resumes back into GDM / GNOME once the VM is powered off (can do this conventionally within W10).

        I mostly followed this video:

        https://www.youtube.com/watch?v=eTWf5D092VY

        key thing for AMD gfx is to set ROMBAR = 0 in virt config, this will allow you to actually get functioning display output once the VM is started up.

        As for your buying choices, consumer AMD GPUs have issues with GPU reset (unlike Intel or Nvidia). I think your experience with nvidia graphics here will be better than mine here with amd.

        Byt yeah, since you have multiple gfx adapters at your disposal, it should be possible to get started with LookingGlass (a VM in a movable, resizable window that is fully hw accelerated with shared memory). The Level1Techs forum for LG is very helpful, though I believe the creator of the video above also has a relevant guide for this.

        • dave@hal9000@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          15 days ago

          Thanks for sharing the details! I’m gonna check out the video. So if I understand correctly, when you start your VM, it completely takes over video, and you’re not seeing the host desktop at all, but then when you shut down the VM, it returns to your host desktop? So the resulting experience is like dual booting, but a lot faster? I Heard about looking glass, but hadn’t delved into it since I couldn’t even get the igpu to passthrough in the first place (testing with a cable going to another input in my monitor, which AFAIK, would be the part that looking glass solves)

          • Vik@lemmy.world
            link
            fedilink
            English
            arrow-up
            0
            ·
            15 days ago

            Very welcome! Yes, exactly as you described. The nice thing is that you have greater control over Windows in this virtualized environment, particularly with regards to limiting device and network access.

            I gather that display dummy plugs are pretty common in the looking glass community.

            • dave@hal9000@lemmy.world
              link
              fedilink
              arrow-up
              0
              ·
              15 days ago

              Ha, I was about to edit to say I watched the video. It’s a pretty smooth transition into the client machine!

              • Vik@lemmy.world
                link
                fedilink
                English
                arrow-up
                0
                ·
                15 days ago

                It’s kind of crazy to me how well it works! It’s hard for me to wrap my head around it sometimes.

                My end goal is to not have to eventually not need to use windows at all but I’m still very impressed with how this behaves.

                • dave@hal9000@lemmy.world
                  link
                  fedilink
                  arrow-up
                  0
                  ·
                  15 days ago

                  Yeah, I have one piece of software where I need Windows with a GPU (Fusion 360, got it running on wine once but an update broke it), and my wife needs my PC for Adobe stuff sometimes. I might buy a cheapo used older GPU, I don’t need much since it’s not for gaming. That said, the video showed something that might fix where I got stuck last time trying to pass the integrated GPU, so I’m trying that again. I have a Ryzen 9 with 24 cores, so plenty of juice to go around If that if I can pass the igpu through. Then I could try looking glass and be all set. Thanks for sharing, gave me some hope to try again haha

    • barsquid@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      16 days ago

      What are you using to run the VM? Regrettably, I need a Windows install to upgrade firmware on a USB device. I’m hoping I can get it done in a VM and at least not pay them anything. I tried a little yesterday but wasn’t able to install from the Win10 ISO.

      • Vik@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        15 days ago

        KVM/QEMU via virt-manager. I would imagine that your use case would work if you pass the USB device or the entire usb host controller through to the VM, but I’m not sure. Please check the video linked in my other comment for more information on the single GPU setup

      • Hexarei@programming.dev
        link
        fedilink
        arrow-up
        0
        ·
        15 days ago

        I dunno what you were using but I recommend virt-viewer.

        The main thing for this one is that you’ll want to get a PCIe USB controller card and pass that through directly to the VM so that unplugs/replugs/device resets don’t connect the device to the host machine briefly while if determines if it should pass through.

  • dave@hal9000@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    16 days ago

    This nice little one liner bash script, assigned to a shortcut Meta +Shift + O. It opens the flameshot GUI, let’s you select an area of text in your screen and click Ok. It OCRs the screenshot and puts it into the clipboard. It checks for whether you’re using Wayland or X11 to use the appropriate clipboard tool. Beyond the more typical text in an image scenario, it’s a convenient way to copy non-selectable text in error popups. Not my original idea, copied the concept from a suggestion in a GitHub comment thread and adapted it.

    exec &> /dev/null [ “$XDG_SESSION_TYPE” = “wayland” ] && (flameshot gui --raw | tesseract stdin stdout | wl-copy) || (flameshot gui --raw | tesseract stdin stdout | xclip -in -selection clipboard)